Home » MODDING HQ 1.13 » v1.13 General Development Talk » More females?
More females?[message #346811]
|
Mon, 05 September 2016 07:24
|
|
Darron Wyke |
|
Messages:5
Registered:August 2016 |
|
|
In the stock releases of 1.13, there's a limit of 5 male and 3 female IMPs. I've increased the female counter to 4 by changing both options:
IMP_MALE_CHARACTER_COUNT
IMP_FEMALE_CHARACTER_COUNT
I left the first at the default of 5, and did a simple increase of the latter to 4. Noted that the "max IMP characters" option on new game starts goes up to 9 now. Setting that to 9 and starting a new game still gets the "you already have the max number of characters of that gender" error on IMP, either with creating or using the IMP's codename on the IMP website. I even changed both to 8/8 and started a game with a 16 IMP max, and no joy.
Is this limit hardcoded into the engine irrespective of what the configuration files state, or am I missing configuration elsewhere? I was able to hire 3 more males for a total of 7/3, so the male limit is apparently being enforced.
Report message to a moderator
|
Private
|
|
|
Re: More females?[message #346812 is a reply to message #346811]
|
Mon, 05 September 2016 09:02
|
|
edmortimer |
|
Messages:1533
Registered:January 2015 Location: Home Free |
|
|
There is a max of 10 IMPs, 7 male and 3 female, in the stock 1.13. There are 7 male and 3 female voice sets included in the stock 1.13, so there can only be some combination that can be made from that configuration.
Other mods, such as mine, have included more female voice sets. Merc05 made a couple good ones which I included in my mod (the default there is 5 & 5), and they should be available somewhere on this forum. Once you have more female voice sets you'll have to remove some of the male voice sets to make room for them. You'll have to assign the female voice sets in the area just below where you changed the numbers of males and females. I think there's a couple more modifications you have to do, like change the gender of the IMP slots in MercProfiles.xml to reflect the new female designations, but it's late here and my brain isn't working correctly.
The short of it is, you need voice sets to expand the number of females.
Report message to a moderator
|
|
|
|
Re: More females?[message #346818 is a reply to message #346811]
|
Mon, 05 September 2016 15:01
|
|
ratpaz |
|
Messages:137
Registered:April 2015 Location: Italy |
|
|
This is what you need to add more 1 more female IMP, note that in 1.13
profile n° 51,52,53, 169, 192, 193, 194 are male IMP, while 54, 55, 56 are female.
Now, let's say we want to change male IMP 169 with a female IMP
in JA2_options.ini you need to do the following changes:
IMP_MALE_CHARACTER_COUNT = 6
IMP_FEMALE_CHARACTER_COUNT = 4
IMP_MALE_1 = 51
IMP_MALE_2 = 52
IMP_MALE_3 = 53
; The following 3 IMP Males have copied voice sets from IMP 51, 52, 53 (currently all 3 voice sets are in Russian)
IMP_MALE_4 = 192
IMP_MALE_5 = 193
IMP_MALE_6 = 194
;IMP_MALE_8 = 164
IMP_FEMALE_1 = 54
IMP_FEMALE_2 = 55
IMP_FEMALE_3 = 56
IMP_FEMALE_4 = 169
Then you need to locate the following lines in MercProfiles.xml
<PROFILE>
<uiIndex>169</uiIndex>
<Type>6</Type>
<zName></zName>
<zNickname>PGMale4</zNickname>
<ubFaceIndex>169</ubFaceIndex>
and change the following line like this:
<zNickname>PGLady4</zNickname>
Not sure if you also need to change all other males in Mercprofiles.xml to match the ones in ja2options.ini, do it if something goes wrong.
Then you need new female voice sets, you can find few here:
http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=22843&goto=345788&#msg_345788
you need to change the names of all the files that come with the voice set according with the number of the female you choosed to use in Ja2_options.ini
in this case the number of the new female IMP is 169.
To make your life easier merc05 added in his voice sets a batch file that may rename all the files automatically, you need to modify that batch file, instructions in merc05 readme.txt
If i don't forget nothing this should be all.
[Updated on: Mon, 05 September 2016 15:12] Report message to a moderator
|
Sergeant
|
|
|
|
|
|
|
|
Re: More females?[message #348235 is a reply to message #348225]
|
Fri, 13 January 2017 20:37
|
|
Flugente |
|
Messages:3509
Registered:April 2009 Location: Germany |
|
|
Absurdly hard. This would require increasing all variables that store profiles in the code, as well as all functions that use them. This requires changes in the entire game code. Apart from that, savegames will be broken. Much, much worse is that maps will also be broken, so you have to repair the code handling maps, which can be tricky.
The increased teamsize exes I do essentially solve a similar problem (max number of people in a sector increased from 256 to 65K), so I know how much work that is. A lot.
Mods wouldn't be incompatible (unless whoever does this also adds severe data changes).
I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.
If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Fri Apr 19 22:56:12 GMT+3 2024
Total time taken to generate the page: 0.01258 seconds
|