On a side note, It is possible to become a "female servant" player if you are playing in Wizard mode...
1. First drop your stuff (except a scroll of taming) and lower your stats (makes step 6 easier)
2. Summon a female servant
3. Tame her with the scroll
4. Name her your playername
5. Posess her
6. Kill your original self (On the "really attack, answer yes")
7. Pick up your stuff
Considering that this is possible, perhaps it is possible to implement female players by using a "female human" monster instead of the regular "human." Before the game starts, prompt for a gender right after the one for the name. If they choose female, start them as a "female human" instead of the usual "human."
For the female human's sprite, you could probably just use the regular "female servant" sprite (It looked like a female version of the player to me). The only problem I can see is if you want to show the armor sprites. You might only have to add a female version of the armor sprite and just color it in so the armor overlay works. Weapons already work, because I can see the Sword and Shield I use on the female servant I "posessed."
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=647947
On a side note, It is possible to become a "female servant" player if you are playing in Wizard mode...
1. First drop your stuff (except a scroll of taming) and lower your stats (makes step 6 easier)
2. Summon a female servant
3. Tame her with the scroll
4. Name her your playername
5. Posess her
6. Kill your original self (On the "really attack, answer yes")
7. Pick up your stuff
Considering that this is possible, perhaps it is possible to implement female players by using a "female human" monster instead of the regular "human." Before the game starts, prompt for a gender right after the one for the name. If they choose female, start them as a "female human" instead of the usual "human."
For the female human's sprite, you could probably just use the regular "female servant" sprite (It looked like a female version of the player to me). The only problem I can see is if you want to show the armor sprites. You might only have to add a female version of the armor sprite and just color it in so the armor overlay works. Weapons already work, because I can see the Sword and Shield I use on the female servant I "posessed."
Logged In: YES
user_id=647947
I hope this helps...
You could try adding these to the game and seeing if they work.
char.dat in the human section (Removing redundant segments):
human
{
DefaultArmStrength = 10;
DefaultLegStrength = 10;
DefaultDexterity = 10;
DefaultAgility = 10;
DefaultEndurance = 10;
DefaultPerception = 10;
DefaultIntelligence = 10;
DefaultWisdom = 10;
DefaultCharisma = 10;
DefaultMana = 10;
DefaultMoney = 200;
/* BitmapPoses overridden */
CanRead = true;
NameSingular = "human";
AttachedGod = SEGES;
PanicLevel = 50;
/* Replies overridden */
Config MALE;
{
Adjective = "male";
Sex = MALE;
HeadBitmapPos = 96, 0;
TorsoBitmapPos = 32, 0;
ArmBitmapPos = 64, 0;
LegBitmapPos = 0, 288;
TotalVolume = 80000;
TotalSize = 175;
}
Config FEMALE;
{
Adjective = "female";
Sex = FEMALE;
HeadBitmapPos = 112, 80;
TorsoBitmapPos = 32, 208;
ArmBitmapPos = 64, 208;
LegBitmapPos = 0, 144;
TotalVolume = 79000; /* Females are lighter than males */
TotalSize = 170; /* and a little smaller */
}
}
Game.cpp:
Add a prompt to sets a PlayerGender variable.
Replace "SetPlayer(new human);" with:
if(PlayerGender == CHOICE_MALE)
SetPlayer(new human(MALE));
else
SetPlayer(new human(FEMALE));
The armor coloring routines should cover for the armor pieces, if I am reading your code correctly.