How to make units female when applicable

General feedback and discussion of the game.

Moderator: Forum Moderators

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

How to make units female when applicable

Post by Sintarus »

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
Project Manager
Posts: 5531
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: How to make units female when applicable

Post by Pentarctagon »

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 »

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