Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [39e] DIPLOMAT gfx tile problem  (Read 445 times)

sphr

  • Bay Watcher
    • View Profile
[39e] DIPLOMAT gfx tile problem
« on: August 09, 2008, 04:47:58 am »

I got a human diplomat visiting the fort.  For some reasons, it uses the default or standard human zombie tile I defined.  I've looked at the creature details and it only says that it is "human"

I've double checked my custom gfx tile stuff and found only 2 reference to that particular tile:

Code: [Select]
[DEFAULT:HUMANS:0:19:AS_IS:ZOMBIE]
[STANDARD:HUMANS:0:19:AS_IS:ZOMBIE]

I DO have the tile for human diplomat declared somewhere
Code: [Select]
[DIPLOMAT:HUMANS:8:3:AS_IS:DEFAULT]
I figured that either DEFAULT ignores modifier tags or there's something in the tile resolution that is either misunderstood by me or bugged?

What I did was I removed the line for [DEFAULT:HUMANS:0:19:AS_IS:ZOMBIE] and reloaded the game.
Now I see the diplomat as .... a Skeleton.

After fiddling and reloading the game many times, I realised that DEFAULT/STANDARD has special processing rules that I am not sure I understand.  So next I do, I removed all other DEFAULT/STANDARD tiles specifications for ZOMBIE and SKELETON.  Now, the DEFAULT:HUMANS tile is shown instead.  Still not the DIPLOMAT tile...

Anyways, the main question is : despite all the mess up with DEFAULT/STANDARD tile with subtype specified, why is DF not using the DIPLOMAT tile I defined?  could there be a possible spelling error (I rem copying the tag from the graphics_example.txt in the raw).  There are no reports in error log of an unrecognized tile token, so I guess DIPLOMAT is recognized.

In addition to the possible bug, will appreciate if anybody can clarify on the tile selection resolution scheme (based on Race,SkillType,SpecialAppointment,Subtype[guards, royal guards, zombie, skeleton) ? (well, best will be if Toady One has some free time to clarify).  this should be a nice addition to the wiki.

Links:
image on map archive : http://mkv25.net/dfma/poi-6585
human tilepage and tile text data I'm using : http://www.dwarffortresswiki.net/index.php/Image:Sphr_humans.png