Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Animated birds and corpse tiles (questions for codemonkeys from an artmonkey)  (Read 1619 times)

Obsidian Soul

  • Bay Watcher
  • ...and the severed part sails off in an arc!
    • View Profile

Hello folks

Question 1:

How do you use the ALTTILE creature token? Is it possible to use it to create the illusion of "animation" by making a creature blink between two graphics tiles? I particularly want to use it in birds, so they appear to be flapping their wings.

This: To this:

If not ALTTILE, is there any other way to accomplish the same thing?

Question 2:

Where (as in in what text file and what token) do I define the graphics tile used for creature corpses if I wish each animal or creature to show a unique corpse upon dying. e.g. Instead of a blinking "C"; I want to actually show a dead cyclops. Instead of a "d", I want to show a dead dog, etc.

This: To this:
« Last Edit: June 07, 2013, 12:14:12 am by Obsidian Soul »
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution

For the ALTTILE look at the vermin critter "MAGGOT_PURRING"
Spoiler: raws (click to show/hide)
ignore some of the mising "[" they are not needed for your research, however this means for birds flapping you need to set two tiles in the tileset aside for this (if you intend to do this can you make two versions of your set? As if you bundled it all up I'd have to make more filters for Slap Graphics (Just me plea-ing can ignore if so choose)

As for Q2:
I think all sprites work for dead creatures (just ANIMATED I believe) so unless you want to take more tiles out and assign them to be dead critters, then altering all the creature_tiles to fit your general dead, would be a bit of extra work.

Perhaps another RawMancer can come along and further elaborate on some answers for you.
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile

ALTTILE works with ascii only, also all creature corpses are their respective ASCII letters defined in raws. The best you can do is draw a corpse tile in your tileset and assign it to all creatures.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Obsidian Soul

  • Bay Watcher
  • ...and the severed part sails off in an arc!
    • View Profile

That's rather unfortunate. :( I was imagining all sorts of nice things I could do if they were possible. I was planning to make a tile for each of them, but as it seems they only work with the main ascii tileset, I guess that's a no go. Oh well. Thanks a lot, both of you. :)

And Hugo, afraid that won't be possible. There's at least only one character free left in the main ascii tileset it seems. And I don't know what to use it on yet. There are dozens of birds and flying animals, so it wouldn't be possible for them to fit.

Boltgun

  • Bay Watcher
  • [UTTERANCES]
    • View Profile

1 : You can use ALTTILE to blink between a graphic sprite and an ASCII tile. Ie you can have your bird with wings open in your graphics raw, then give it a neutral pose as an ALTTILE.

For more compatibility, you can probably define the creature tile and alt tile as the same then overwrite the regular tile with a graphic token. So it will display a neutral pose in special cases and will be animated when free.

Of course this is considering you have space in your ASCII tileset, this limitation is the biggest issue.

2 : Corpses only work with ascii tiles, you can define a corpse tile but I don't recommend it. Caged creatures blink between the cage and the creature's ascii tile. In that case, if a player cage your bird he will see a corpse and that will be confusing. It is an accepted convention that a creature tile on a red background is dead.
« Last Edit: June 07, 2013, 02:33:20 am by Boltgun »
Logged

Obsidian Soul

  • Bay Watcher
  • ...and the severed part sails off in an arc!
    • View Profile

1 : You can use ALTTILE to blink between a graphic sprite and an ASCII tile. Ie you can have your bird with wings open in your graphics raw, then give it a neutral pose as an ALTTILE.

For more compatibility, you can probably define the creature tile and alt tile as the same then overwrite the regular tile with a graphic token. So it will display a neutral pose in special cases and will be animated when free.

Of course this is considering you have space in your ASCII tileset, this limitation is the biggest issue.

2 : Corpses only work with ascii tiles, you can define a corpse tile but I don't recommend it. Caged creatures blink between the cage and the creature's ascii tile. In that case, if a player cage your bird he will see a corpse and that will be confusing. It is an accepted convention that a creature tile on a red background is dead.

1. Yep. The fact that there's no space left in the ascii tile basically makes the entire endeavor pointless. It would have been awesome though.

2. Hm. Actually I think that's incorrect. My caged animals actually show their graphic tiles. So maybe Phoebus edited it. I'm thinking of using up the free ascii tile for a generic corpse graphic for all creatures like Deon suggested (I'm just tired of looking at letters in my refuse pile :P). Creating one which can be used for all creatures is going to be a challenge though.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile

If the cages are BUILT it does not show graphic tiles, in stockpiles it shows em (or is it backwards?), Boltgun was correct there.

Quote
Creating one which can be used for all creatures is going to be a challenge though.
I just used a pile of bones.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Obsidian Soul

  • Bay Watcher
  • ...and the severed part sails off in an arc!
    • View Profile

If the cages are BUILT it does not show graphic tiles, in stockpiles it shows em (or is it backwards?), Boltgun was correct there.

Ah my bad then. I've never built cages really.

Quote
I just used a pile of bones.

Yeah, that's probably the best option. Maybe ribs with a bit of gore. XD