Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Giant Worm - possible?  (Read 2917 times)

joostheger

  • Bay Watcher
    • View Profile
Giant Worm - possible?
« on: September 06, 2024, 06:47:31 am »

Would it be possible to create a 'megabeast' type of creature, that is a giant worm? But then all the segments are seperate creatures.
When it visits your fortress, it spawns about 5 segments.
Those segments have a continious touch-interaction with the segment before then, and a numbered SYNC_CLASS let hem all behave in line, creating a string of segments.
The head-segments gives crazy high speed to the secundary segements, so that they are no longer than 1 tick seperated, when the head moves.
The main-segment is the head, and that one behaves like a normal megabeast
Then the head finds a corpse, it 'eats' it, spawning a new segment, that attaches itself to te last segment, so it grows.
The body-segments give healing powers to the segments before them, meaning that you can weaken it by destroying its body.

It would be terrifying seeing the thing slither though your hallways.
Oh yes and it leaves a trail of acidic slime.


Logged

Wolfkey

  • Bay Watcher
    • View Profile
Re: Giant Worm - possible?
« Reply #1 on: September 06, 2024, 09:45:39 pm »

Not possible, the acid trail part can be done, but it will do nothing against creatures that are wearing shoes.
Logged

xzaxza

  • Bay Watcher
    • View Profile
Re: Giant Worm - possible?
« Reply #2 on: September 11, 2024, 04:27:06 am »

You could make a giant worm that spawns smaller worms, for example.
Logged
Known issues
You may get a dwarf that likes bugged stockpiles.

joostheger

  • Bay Watcher
    • View Profile
Re: Giant Worm - possible?
« Reply #3 on: September 11, 2024, 05:19:08 am »

Yeah, but why would segments as seperated creatures not work? Are interactions not reliable enough?
Logged

brushapocalypse

  • Bay Watcher
  • creatures creaching
    • View Profile
Re: Giant Worm - possible?
« Reply #4 on: September 11, 2024, 10:28:29 am »

Interactions are unreliable. To my understanding, you can set an interaction to only work on things that are within reach, but you can't force the creatures to stay within reach of each other. Maybe DFHack could do it? But I don't have any personal experience with DFHack so I can't really say for sure.

Another concern is getting all parts of the creature to spawn, instead of just getting either one head/segment on its own, or a random assortment thereof. I suppose you could have the head show up on its own, and give it an interaction to summon the rest of the segments, but that runs into the issue of unreliable interactions. From my own experience with getting creatures to summon other creatures,  there aren't any usage hints that tell the creature to do it ASAP without any other creatures around; the closest you can get is assigning it as a GREETING and waiting for it to "greet" a friend, or perhaps DEFEND and only summoning them once it spots something it wants to fight. I'm a bit more confident that DFHack could possibly solve this, but again, no personal experience, and it doesn't fix the problem of segments not actually following each other closely.
Logged

joostheger

  • Bay Watcher
    • View Profile
Re: Giant Worm - possible?
« Reply #5 on: September 13, 2024, 02:03:41 am »

The within reach wouldn't be a problem, because segments are only a few tiles apart. And also we can add teh tag SENSE_CREATURE_CLASS:themself, giving them always eachothers location.
The interactions: you named two concerns that I share.

1. The interactions are used to connect the segments. And to be honest, those are unreliable. Maybe an option is that the creatuere's head spawn items or objects that have the same graphics / image as the segments. So when the head moves, the image of a segment stays behind for a few ticks, giving the segments time to reconnect.
2. The interaction to spawn the segments. What I was thinking, is to make te worm an ambusher. Meaning that when the worm gets visible, it is in combat, giving it a usage reason for the spawn-interactions. Also, that hostility can help keeping the segmetns attached.
So, what you said.

Also, another idea, If I make the worm SENSE_CREATURE_CLASS:GENERAL_POISON, than it has always enemies in sight, keeping it always in combat, and giving it always reasons for usage_hint ATTACK

I can give the attach-interaction like all the possible usages hints, so that in any case, the creature will try to do it.

I would prever to not use DFhack, because that makes the mod harder to 'sell'. So, i'll keep on thinking on it.
« Last Edit: September 13, 2024, 02:06:34 am by joostheger »
Logged

pisskop

  • Bay Watcher
  • Too old and stubborn to get a new avatar
    • View Profile
Re: Giant Worm - possible?
« Reply #6 on: September 13, 2024, 07:14:31 am »

I once had a modded mega who was a giant 'ball' with several jointed limbs that mirrored humanoid bodies.  They were attached with a special 'limb' that melted at room temperature.  The critter would then necromance those parts explicitly.

The idea was that it would show up, drop huge humanoids, and then create zombies of them.  In the arena it worked as intended.  In worldgen what happened was that the mega would actually become one of the animated pieces instead of the central ball.
Logged
Pisskop's Reblancing Mod - A C:DDA Mod to make life a little (lot) more brutal!
drealmerz7 - pk was supreme pick for traitor too I think, and because of how it all is and pk is he is just feeding into the trollfucking so well.
PKs DF Mod!

joostheger

  • Bay Watcher
    • View Profile
Re: Giant Worm - possible?
« Reply #7 on: September 14, 2024, 04:45:55 am »

Thats a clever way to generate additional creatures. However, you'll still need an interaction to get the necromancy working.
Logged

joostheger

  • Bay Watcher
    • View Profile
Re: Giant Worm - possible?
« Reply #8 on: September 18, 2024, 04:03:51 pm »

Interactions without usage-hint will always directly be performed if a creature is in combat. Would it be possible to create a creature that is immediatly in combat when it spawns?
Logged

Eric Blank

  • Bay Watcher
  • *Remain calm*
    • View Profile
Re: Giant Worm - possible?
« Reply #9 on: September 18, 2024, 09:43:18 pm »

only if it is CRAZED/OPPOSED_TO_LIFE and is summoned/animated by another creature that it then targets. Or if, for instance, it is summoned as a pet by a creature that is in combat and joins combat in aid of its summoner.
Logged
I make Spellcrafts!
I have no idea where anything is. I have no idea what anything does. This is not merely a madhouse designed by a madman, but a madhouse designed by many madmen, each with an intense hatred for the previous madman's unique flavour of madness.

joostheger

  • Bay Watcher
    • View Profile
Re: Giant Worm - possible?
« Reply #10 on: September 20, 2024, 04:42:42 am »

Yeah in that case it would be better to make the creature steath, so that the player wont notice him at all. Until he is revealed and hopefully immediatly is in combat.

And also, a megabeast probably is in combat rather quickly, due to the cave-live present
Logged

aradar

  • Bay Watcher
  • Legendary bullshitter
    • View Profile
    • my steam workshop
Re: Giant Worm - possible?
« Reply #11 on: September 23, 2024, 10:04:32 am »

Yeah in that case it would be better to make the creature steath, so that the player wont notice him at all. Until he is revealed and hopefully immediatly is in combat.

And also, a megabeast probably is in combat rather quickly, due to the cave-live present

Give the creature a modded liquid secretion and have it continuously secrete into the creature's mouth, have this liquid set to ingestion, have the material of the liquid have an interaction that summons a creature, if you want your mega base to be a good mega beast make the summon creature berserk if you want your mega beast to be evil make it berserk and have the summing creature be a good creature 😍✌️

pisskop

  • Bay Watcher
  • Too old and stubborn to get a new avatar
    • View Profile
Re: Giant Worm - possible?
« Reply #12 on: September 23, 2024, 10:22:24 am »

doesnt beserk make it  hostile to all critter not of its species and caste?
Logged
Pisskop's Reblancing Mod - A C:DDA Mod to make life a little (lot) more brutal!
drealmerz7 - pk was supreme pick for traitor too I think, and because of how it all is and pk is he is just feeding into the trollfucking so well.
PKs DF Mod!

joostheger

  • Bay Watcher
    • View Profile
Re: Giant Worm - possible?
« Reply #13 on: September 23, 2024, 02:21:41 pm »

Yeah in that case it would be better to make the creature steath, so that the player wont notice him at all. Until he is revealed and hopefully immediatly is in combat.

And also, a megabeast probably is in combat rather quickly, due to the cave-live present

Give the creature a modded liquid secretion and have it continuously secrete into the creature's mouth, have this liquid set to ingestion, have the material of the liquid have an interaction that summons a creature, if you want your mega base to be a good mega beast make the summon creature berserk if you want your mega beast to be evil make it berserk and have the summing creature be a good creature 😍✌️
The problem is that the interaction need to have a usage_hint. otherwise the interaction wont be executed by the creature.
Logged

aradar

  • Bay Watcher
  • Legendary bullshitter
    • View Profile
    • my steam workshop
Re: Giant Worm - possible?
« Reply #14 on: October 24, 2024, 03:44:30 pm »

Yeah in that case it would be better to make the creature steath, so that the player wont notice him at all. Until he is revealed and hopefully immediatly is in combat.

And also, a megabeast probably is in combat rather quickly, due to the cave-live present

Give the creature a modded liquid secretion and have it continuously secrete into the creature's mouth, have this liquid set to ingestion, have the material of the liquid have an interaction that summons a creature, if you want your mega base to be a good mega beast make the summon creature berserk if you want your mega beast to be evil make it berserk and have the summing creature be a good creature 😍✌️
The problem is that the interaction need to have a usage_hint. otherwise the interaction wont be executed by the creature.

Yea make it attack or defend if the creature is hostile it will find something to fight when it enters the map. Until the lua scripting goes live that's probably the best option.

Or make it also secrete sweat or some other liquid onto it's skin forcing the creature to clean it's self there's a usage hint for bathing i believe. I'm not 100% sure that megabeasts clean themselves tho so that might be a dead end.

Just thought of this as part of the ingestion syndrome add "undead" tag with timer so it periodically becomes undead and attacks every thing.