Page 1 of 1
bots killed by fire sometimes change gender
Posted: Sat Jun 18, 2016 11:47 pm
by Zyfex
https://youtu.be/bkpOfkl1Rxk
notice how 3/4 of the male superfighters turn into female corpses after getting burnt
Re: bots killed by fire sometimes change gender
Posted: Sun Jun 19, 2016 9:45 am
by Creeper
I think 1.9.2 is causing this to happen. I dont know
Re: bots killed by fire sometimes change gender
Posted: Sun Jun 19, 2016 11:20 am
by Gurt
I can not repeat this even after burning over 30 male and female CPUs.
| ! | Message from: Gurt |
If the bug is related to custom map-making then include a download link to the map illustrating the problem.
The map should be bare-bone - only include what's necessary in the map to illustrate the problem. |
Re: bots killed by fire sometimes change gender
Posted: Sun Jun 19, 2016 5:02 pm
by Quinterball
Download link for a map with two CPU that have profile info to specify gender and a flamethrower. I found that sometimes, when you burn a CPU with a profile, it would change gender. This happens to both CPU created on startup and those created by button. Interestingly, when I spawned multiple CPU by a button,
they call changed gender upon being burnt simultaneously. The gender change also is not guaranteed, so keep trying until you see it happen.
Re: bots killed by fire sometimes change gender
Posted: Sun Jun 19, 2016 6:57 pm
by Gurt
Fixed after Pre-Alpha 1.9.2.
The Gender works as intended. Problem was PlayerProfileInfo not saving Gender unless edited since gender was added in SFD which results in a random gender. If the gender randomized to Female the female would still equip the Male equipment as that information was saved. PlayerProfileInfo will now default to gender type "Male" if gender is not stored and I'm checking that the loaded equipment is of the correct gender type.
Thanks for the link to the map.