Jump to content

[v10.21] Rank Progression: Missing Lieutenants


Recommended Posts

  • 2 months later...

In gameconfig the captain and lieutenant ranks seem to be switched around

<soldierRanks>

<!-- Soldiers increase their ranking when they have a certain number of rank points. A rank point is gained each time an AP, strenght, accuracy, reflexes or bravery progress is done. -->

<Private rankPoints="0" />

<Corporal rankPoints="3" />

<Sergeant rankPoints="10" />

<Captain rankPoints="20" />

<Lieutenant rankPoints="40" />

<Major rankPoints="60" />

<Commander rankPoints="80" />

<Colonel rankPoints="110" />

</soldierRanks>

So changing them back around would fix it

Link to comment
Share on other sites

  • 3 weeks later...
In gameconfig the captain and lieutenant ranks seem to be switched around

<soldierRanks>

<!-- Soldiers increase their ranking when they have a certain number of rank points. A rank point is gained each time an AP, strenght, accuracy, reflexes or bravery progress is done. -->

<Private rankPoints="0" />

<Corporal rankPoints="3" />

<Sergeant rankPoints="10" />

<Captain rankPoints="20" />

<Lieutenant rankPoints="40" />

<Major rankPoints="60" />

<Commander rankPoints="80" />

<Colonel rankPoints="110" />

</soldierRanks>

So changing them back around would fix it

Just to point out Khall is correct, and they're still messed around in V14.

Link to comment
Share on other sites

So: could I drop the nancy boy commisioned officers, and replace them with Staff SGT, WO2, WO1 and RSM by just changing these names here?

No, you shouldn't touch the name of these tags, just the numeric values inside (and that's a general xml rule, as the program then searches the tag by name and saves the value inside, rather than reading all tags and remember the pair name/value).

To change the rank names, just search them in strings.xml and rename them there.

Note that you can't add more ranks, but you can reduce them by playing with the progress values in gameconfig.xml

(if you put <Colonel rankPoints="-1" />, for example, no soldier will ever be a colonel, if you also put <Commander rankPoints="-1" />, the maximum rank will be major, and so on)

Link to comment
Share on other sites

You shouldn't rename any tag in any xml configuration file, as a general rule.

That applies even to this case, so you'll just have to rename them in strings.xml.

Try it yourself, by searching in strings.xml rank.private, rank.corporal,.. rank.private.short, rank.corporal.short,.. and editing the values on the second column!

Link to comment
Share on other sites

In gameconfig the captain and lieutenant ranks seem to be switched around

The values were switched around everywhere in the code. Just fixed, so the right progression (Private, Corporal, Sergeant, Lieutenant, Captain, Major, Commander, Colonel) will be used from next build on.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...