Since I'm pretty much occupied with gfx lately, thought I propose another gfx-related idea.
One of the problem with customizing the creature gfx is that I had to try to keep the tiles gender neutral as there is currently no way to specify gfx for genders. So I will console myself with things like "all dwarves have beard, and we can't really tell males from females under all that facial hair" and things like "all elves are sissies so they look pretty much feminine" and also "All humans in this world are clean shaven."
Another related issues is for creatures with clear male/female gfx... example (throw in example here. my brain is not working fully.)
So my proposal is for an additional optional gender tag to be added to gfx text data, to be supported by a extended condition in tile selection codepath.
I think the current tile selection precedence order is CREATURE_TYPE > PROFESSION > VARIANT
CREATURE_TYPE is just the creature's species/race, currently represented by the creature tag.
PROFESSION is the creatures profession like DEFAULT, MINER, WRESTLER etc.
VARIANT is one of the following: DEFAULT | GUARD | ROYALGUARD | SKELETON | ZOMBIE | ADVENTURER
Gender tag can be of a precedence order after the variant.
E.g.
Consider this sample specification:
code:
[CREATURE_GRAPHICS:HUMAN]
[SWORDSMAN:MY_HUMAN_TILEPAGE:1:0:AS_IS : DEFAULT]
[SWORDSMAN:MY_HUMAN_TILEPAGE:2:0:AS_IS : DEFAULT:FEMALE]
[BOWMAN:MY_HUMAN_TILEPAGE:1:1:AS_IS : DEFAULT]
[BOWMAN:MY_HUMAN_TILEPAGE:2:1:AS_IS : DEFAULT:MALE]
[SPEARMAN:MY_HUMAN_TILEPAGE:1:2:AS_IS : DEFAULT]
In the above example, a female human swordsman will use tile 2:0 as specified, but a male human swordsman, for which there is no gender-specific tile specified, will use the gender-neutral tile 1:0.
For bowman, the opposite situation occurs where there is a male specific tile but no female specific tile. A male bowman takes 2:1 while the female takes the default at 1:1.
For spearman, no gender specific tile at all. This falls back to exactly the current situation where there is no gender gfx support.
Hope Toady can give this some consideration and perhaps estimate the amount of efforts required + conclude on the feasibility?
EDIT: damn smilies..... lol
[ January 02, 2008: Message edited by: sphr ]