Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Multiple tile creatures  (Read 1474 times)

Skid

  • Bay Watcher
    • View Profile
Multiple tile creatures
« on: February 09, 2010, 12:27:34 pm »

i know this kind of goes against the grain of roguelikes in general, but I'd like my dragons to be a bit larger than other stuff on the map. I'm going to skip most of the argument on why we should or shouldn't do it (You're welcome to argue that though) and get straight to one possible implementation.

Code: [Select]
oD~      Dragon

 ~
~O~  Giant octopus thing
 ~

s~~     Really large snake

Extra body part would trail behind the "head" of the creatures on a possible to fit basis.  If a dragon is stuck in a 1x1 pit, the head and tail will simply retract into the body.  Same goes for the giant octopus, if it enters a narrow hallway the side tentacles are pulled back into the body tile.

In combat, aiming at a particular tile will only harm those body parts that are within that tile.  A dragon with lots of room to move around could have the head, body and tail targeted separately. In more cramped quarters you would simply attack the normal dragon tile. Likewise, melee attacks would rely on the body part with the attack being adjacent to the target.  A dragon could wedge themself in a narrow hallway and defend themself from the front by breathing fire and from the back with tail slaps, while their vital organs are perfectly safe in the middle tile, unless some fool really wants to crawl under the dragon to get at its belly.

The system would be limited in that it would not prevent the dragon from moving its head back across its body and turning around in one place.

In the raws the creature would be created using a tiling system of leading, trailing, left, and right tile parts.  Body parts would then be assigned by tag to whichever tile they would appear in.

Figuring out stance might be more difficult, as a creature with a long neck should theoretically be able to reach across a moat and attack thing on the other side, but must be limited in its movement away from the supporting leg structure, which would cause the whole creature to fall into the moat if it tried to follow the head.

Logged
Playing a cheesemaker in an average Fortress 'round here would be. Freaking. Terrifying.

wilsonns

  • Bay Watcher
  • Golden hair?Green eyes?Spiky beard?Super Dorf Jin!
    • View Profile
Re: Multiple tile creatures
« Reply #1 on: February 09, 2010, 12:34:02 pm »

It's a really great idea!I would love to see multitiled creatures...
Logged

Euld

  • Bay Watcher
  • There's coffee in that nebula ಠ_ರೃ
    • View Profile
Re: Multiple tile creatures
« Reply #2 on: February 09, 2010, 12:37:36 pm »

Wow, really cool idea.  This could be especially useful for hydras, since you'd actually see their multiple heads.

Silverionmox

  • Bay Watcher
    • View Profile
Re: Multiple tile creatures
« Reply #4 on: February 09, 2010, 03:18:10 pm »

I'll just remark that thinking about multi-tile creatures and potential problems with them will be the easiest starting starting with trees and other large plants, because they're static.
Logged
Dwarf Fortress cured my savescumming.