Male Female Units
-
- Posts: 112
- Joined: 27 Jun 2021, 16:10
- Has thanked: 45 times
- Been thanked: 13 times
Male Female Units
I'm curious if anyone knows how the game chooses a male or female unit when a citizen is created at the city center. Is this a hard coded feature?
- Dr.MonaLisa
- High Representative
- Posts: 8707
- Joined: 17 Jun 2010, 11:21
- Location: Poland
- Has thanked: 49 times
- Been thanked: 108 times
Re: Male Female Units
I personally don't know, but I think it's indeed hardcoded.
I had some bug in one of updates, which was fixed with: https://ee2.eu/patch/changes/#157007
I had some bug in one of updates, which was fixed with: https://ee2.eu/patch/changes/#157007
It's unrelated, but I still find it interesting that a single missing thing could create a bug like this. It also confirms that this gender separated production might really be hardcoded.— Fixed a bug where Citizen Female took 700% of damage from all units after 157006 update (Snipers rework change). It's because of the missing "UpgradeSet" for female "UnitType" version in EE2 files. Sincere apologies to all feminists.
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
- These users thanked the author Dr.MonaLisa for the post:
- PaulStretch
-
- Posts: 112
- Joined: 27 Jun 2021, 16:10
- Has thanked: 45 times
- Been thanked: 13 times
Re: Male Female Units
Seems like a weird thing to hard code. Like randomly selecting a unit from a set of units could've been used in a lot of places for this game. I wanted to create a set of houses and have the actual appearance of the house be randomly chosen from a set, similar to age of empires.