Page 1 of 1
Set mob gender script
PostPosted: Fri Nov 17, 2017 8:44 am
by Wolfe
Hi all,
attached file contains updates for table mob and npctemplate to update the mob's gender depending on the model.
I tried my best to find out male and female models from the DOL model list.
Best regards
Wolfe
Re: Set mob gender script
PostPosted: Fri Nov 17, 2017 3:10 pm
by ontheDOL
thanks wolfe
It would be nice to figure out a system for npctemplates that have both male and female models in their selection
Re: Set mob gender script
PostPosted: Sat Nov 18, 2017 2:15 am
by Graveen
TY ! If you decompress the client, there are, in the CSV describing client models, a gender flag iirc. This is the one i used for the vamp/biped models
http://www.dolserver.net/models/list.php?type=Mob
Re: Set mob gender script
PostPosted: Mon Nov 05, 2018 7:02 pm
by PlanarChaosRvrtwo
thanks wolfe
It would be nice to figure out a system for npctemplates that have both male and female models in their selection
Wouldnt it be a way to just have the npctemplate x2 for such mobs becouse on mob spawn / server reboot it pick one randomly on things where db allow x2 the same key
Re: Set mob gender script
PostPosted: Tue Nov 06, 2018 7:01 pm
by ontheDOL
aye that would be a way to do it, but would be quite alot of work (duplicating the template and separating male/female models) unless you write a batch script for it. I ended up making a 'npcgender' manager script that gets called when mob spawns to set its gender based on its current model. Seems to work good and now you get the correct 'examine' message