however, I registered an account there, but did not receive an activation e-mail from the forum administrators.

At any rate, I'm working on implementing 15 soldier ranks instead of the default 12.
I extracted system.xbg and geoscape.xbg using Xbig extractor v101. which I d/l from
Activating_Modifications
Once extracted, I edited the following files as such:
ResourceBundle.dat
SOLDIER_RANK1=Recruit
SOLDIER_RANK2=Private
SOLDIER_RANK3=Private first class
SOLDIER_RANK4=Corporal
SOLDIER_RANK5=Lance Corporal
SOLDIER_RANK6=Sergeant
SOLDIER_RANK7=Sergeant first class
SOLDIER_RANK8=1st Sergeant
SOLDIER_RANK9=Sergeant Major
SOLDIER_RANK10=2nd Lieutenant
SOLDIER_RANK11=1st Lieutenant
SOLDIER_RANK12=Captain
SOLDIER_RANK13=Major
SOLDIER_RANK14=Lt. Colonel
SOLDIER_RANK15=Colonel
rpgValues.config
levels
{
className CVector
0 15 //Recruit 15
1 35 //Private 37
2 65 //Private 1st Class 49
3 115 //Corporal 66
4 170 //Lance Corporal 91
5 260 //Sergeant 129
6 530 //Sergeant First Class 196
7 850 //1st Sergeant 271
8 1325 //Sergeant Major 399
9 1850 //2nd Lt.
10 2450 //1st. Lt.
11 3125 //Captain
12 3850 //Major
13 4500 //Lt. Colonel 592
14 5200 //Colonel 880
}
Mission.xscr
checkPromotion(unit) {
if (unit.typeName != "MissionHumanUnit" && (!unit.hasProperty("unitTypeID") || unit.unitTypeID != "human")) return false;
if (unit.rank == 15) return false;
object rpgValues = getGlobalVariable( "rpgValues");
int levelExperience = rpgValues.levels.get(unit.rank-1);
return (unit.experience >= levelExperience);
}
++and++
("DIALOG_MISSION_RESULTS_PROMOTED_LINE", unit.name), "arial11.xfn", NORMAL_FONT_SIZE, x1, promotedY + (space * count));
label1.setColor(0xffffffff);
object label2 = fsd.createLabel("promoted2" + i, rankName, "arial11.xfn", NORMAL_FONT_SIZE, label1.getPosition().x + label1.getTextWidth() + 6, promotedY + (space * count));
label2.setColor(0xffDBD795);
count++;
if (count > 15)
break;
---------------
Also, I added 3 new *.tga graphic files for the new ranks in the \\data\gui.new\ranks folder
named as:
rank13.tga
rank14.tga
rank15.tga
--------------
Everything worked beautifully up till Captain rank. The rank names showed up properly in the UI and the soldier was promoted at the experience values I specified.
The problem now is after the soldier receives 3850 experience, he's getting a promotion after every mission, but his new rank (which should be Major) is not registering properly. The game still shows him to be Captain and the next mission end he gets another promotion again. This process repeats until eventually the game is frozen in the promotion screen because "not all the points have been spent."
What have I missed in order to get the game to register and remember his rank promotion past rank 12 and to utilize the new rank graphics files I added?
Many thanks,
Alz