How to make units female when applicable

General feedback and discussion of the game.

Moderators: Forum Moderators, Developers

Post Reply
Sintarus
Posts: 2
Joined: May 18th, 2018, 4:36 pm

How to make units female when applicable

Post by Sintarus » May 18th, 2018, 4:49 pm

Hello. I'd like to make it so that every unit which has a random gender always becomes female, including enemy units. This is for the purpose of playing through any campaign, not multiplayer.

How could I achieve this?

User avatar
Pentarctagon
Forum Administrator
Posts: 3453
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: How to make units female when applicable

Post by Pentarctagon » May 18th, 2018, 4:52 pm

Practically speaking, you can't, because not all units have a female sprite. The closest you could get is changing the gender=male,female attributes to gender=female for all applicable units in data/core/units.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code

Sintarus
Posts: 2
Joined: May 18th, 2018, 4:36 pm

Re: How to make units female when applicable

Post by Sintarus » May 18th, 2018, 5:33 pm

Thank you, it works.

After making the changes you suggested I recruited 100% female human mages and 100% female elf archers when I opened 2 campaigns and tested.

Post Reply