Jump to content

Recommended Posts

Posted

Loes!

Something that's been bugging me recently and confirmed after a gander through the assets is that the Lieutenant rank is skipped.

My Sergeants seem to go straight to Captains when promoted. Has anyone else noticed this?

Posted
No, it is a NCO to commissioned officer joke. Or jab.

Indeed.

To explain, it basically circles around the fact LT's are normally fresh from Officer schools, whereas Sgt's normally have a good 6+ years in the job.

  • 2 months later...
Posted

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

Posted
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?

You'd need to change the entries in Strings.xml as well.

  • 3 weeks later...
Posted
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.

Posted
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)

Posted

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!

Posted
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.

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...