xmlspawner, forcing gender

Barclay

Well-Known Member
Jun 3, 2019
60
4
Shard Name
Warwickshire
I have added an XMLSPAWNER crystal and I've been able to specify the NPC type I want to spawn, along with a customer name. I cannot get the gender to stick though. I looked in the PROPS of an NPC and couldn't find a gender value but I did find a setting called 'female'. However, setting this to true or false does not seem to make any difference when the NPC spawns. What do I need to do?
 

Grimoric

Well-Known Member
Mar 21, 2015
144
29
43
I'm not mistaken, I'm not working with an era that uses this. But I think gender is used to check if a player can use gear or special mounts.
Have you tried BodyTyp? The value should be 400 or 401 depending on gender. Face attributes still need to be fixed or you can get a lady with a beard :D

Mage/BodyType/400/Name/Sofia


-Grim
 
Last edited:

Barclay

Well-Known Member
Jun 3, 2019
60
4
Shard Name
Warwickshire
Ah yes - I wondered about that. Thank-you. I will try it tonight.