void GivePromotionReward()
{
ref pchar = GetMainCharacter();
ref ch;
string qual = "";
if (ENABLE_WEAPONSMOD) qual = "+2";
switch(GetCurrentLocationNation())
{
case ENGLAND:
switch(GetRank(pchar, GetCurrentLocationNation()))
{
case 1: // Midshipman
switch(GetAttribute(pchar,"model"))
{
case "cnorrington": GiveModel2Player("Mdnorrington", true); break;
case "blaze": GiveModel2Player("47_Blaze_brtmds", true); break;
switch(rand(3))
{
case 0: GiveModel2Player("brtmds1_18", true); break;
case 1: GiveModel2Player("brtmds2_18", true); break;
case 2: GiveModel2Player("brtmds3_18", true); break;
case 3: GiveModel2Player("brtmds4_18", true); break;
}
}
Characters[GetCharacterIndex("Crewmember_01")].model = Nations[ENGLAND].fantomModel.m1;
Characters[GetCharacterIndex("Crewmember_01")].headmodel = Nations[ENGLAND].fantomModel.m1;
Characters[GetCharacterIndex("Crewmember_02")].model = Nations[ENGLAND].fantomModel.m2;
Characters[GetCharacterIndex("Crewmember_02")].headmodel = Nations[ENGLAND].fantomModel.m2;
Characters[GetCharacterIndex("Crewmember_03")].model = Nations[ENGLAND].fantomModel.m3;
Characters[GetCharacterIndex("Crewmember_03")].headmodel = Nations[ENGLAND].fantomModel.m3;
Characters[GetCharacterIndex("Crewmember_04")].model = Nations[ENGLAND].fantomModel.m4;
Characters[GetCharacterIndex("Crewmember_04")].headmodel = Nations[ENGLAND].fantomModel.m4;
Characters[GetCharacterIndex("Crewmember_05")].model = Nations[ENGLAND].fantomModel.m5;
Characters[GetCharacterIndex("Crewmember_05")].headmodel = Nations[ENGLAND].fantomModel.m5;
Characters[GetCharacterIndex("Treas_Crewmember_1")].model = Nations[ENGLAND].fantomModel.m1;
Characters[GetCharacterIndex("Treas_Crewmember_1")].headmodel = Nations[ENGLAND].fantomModel.m1;
Characters[GetCharacterIndex("Treas_Crewmember_2")].model = Nations[ENGLAND].fantomModel.m2;
Characters[GetCharacterIndex("Treas_Crewmember_2")].headmodel = Nations[ENGLAND].fantomModel.m2;
Characters[GetCharacterIndex("Treas_Crewmember_3")].model = Nations[ENGLAND].fantomModel.m3;
Characters[GetCharacterIndex("Treas_Crewmember_3")].headmodel = Nations[ENGLAND].fantomModel.m3;
Characters[GetCharacterIndex("Treas_Crewmember_4")].model = Nations[ENGLAND].fantomModel.m4;
Characters[GetCharacterIndex("Treas_Crewmember_4")].headmodel = Nations[ENGLAND].fantomModel.m4;
Characters[GetCharacterIndex("Treas_Crewmember_5")].model = Nations[ENGLAND].fantomModel.m5;
Characters[GetCharacterIndex("Treas_Crewmember_5")].headmodel = Nations[ENGLAND].fantomModel.m5;
Characters[GetCharacterIndex("Treas_Crewmember_6")].model = Nations[ENGLAND].fantomModel.m6;
Characters[GetCharacterIndex("Treas_Crewmember_6")].headmodel = Nations[ENGLAND].fantomModel.m6;
Characters[GetCharacterIndex("Treas_Crewmember_7")].model = Nations[ENGLAND].fantomModel.m6;
Characters[GetCharacterIndex("Treas_Crewmember_7")].headmodel = Nations[ENGLAND].fantomModel.m6;
Characters[GetCharacterIndex("Treas_Crewmember_8")].model = Nations[ENGLAND].fantomModel.m5;
Characters[GetCharacterIndex("Treas_Crewmember_8")].headmodel = Nations[ENGLAND].fantomModel.m5;
Characters[GetCharacterIndex("Treas_Crewmember_9")].model = Nations[ENGLAND].fantomModel.m4;
Characters[GetCharacterIndex("Treas_Crewmember_9")].headmodel = Nations[ENGLAND].fantomModel.m4;
Characters[GetCharacterIndex("Treas_Crewmember_10")].model = Nations[ENGLAND].fantomModel.m3;
Characters[GetCharacterIndex("Treas_Crewmember_10")].headmodel = Nations[ENGLAND].fantomModel.m3;
pchar.boardingmodels = "ENGLAND";
break;
case 2: // 3rd Lieutenant
switch(GetAttribute(pchar,"model"))
{
case "depp": GiveModel2Player("47_Ltsparrow", true); break;
case "jack": GiveModel2Player("47_Ltsparrow", true); break;
case "Mdnorrington": GiveModel2Player("Ltnorrington", true); break;
case "47_Blaze_brtmds": GiveModel2Player("47_Blaze_brtlt", true); break;
switch(rand(2))
{
case 0: GiveModel2Player("brtlut1_18", true); break;
case 1: GiveModel2Player("brtlut2_18", true); break;
case 2: GiveModel2Player("brtlut3_18", true); break;
}
}
GiveItem2Character(pchar,"blade24"+qual); // English Officer's Saber
EquipCharacterByItem(pchar,"blade24"+qual);
break;
case 3: // 2nd Lieutenant
break;
case 4: // 1st Lieutenant
break;
case 5: // Commander
CreateOfficer_Cheat(OFFIC_TYPE_CAPNAVY, "50_33_40Claire", 3, PERSONAL_NATION, false);
break;
case 6: // Captain
ch = CreateOfficer_Cheat(OFFIC_TYPE_CAPNAVY, "50_33_40Claire", 3, PERSONAL_NATION, false);
ExchangeCharacterShip(ch, pchar);
SetCompanionIndex(pchar, -1, GetCharacterIndex(ch.id)));
GiveShip2Character(pchar, "FR_SteamFrigate", "Jeanne d'Arc", -1, ENGLAND, true, true);
GiveItem2Character(pchar,"blade34+2"); // Dragon's Head
EquipCharacterByItem(pchar,"blade34+2");
switch(GetAttribute(pchar,"model"))
{
case "47_Ltsparrow": GiveModel2Player("47_Cptsparrow", true); break;
case "Ltnorrington": GiveModel2Player("Cpnorrington", true); break;
case "47_Blaze_brtlt": GiveModel2Player("47_Blaze_brtcpt", true); break;
switch(rand(1))
{
case 0: GiveModel2Player("brtcpt1_18", true); break;
case 1: GiveModel2Player("brtcpt2_18", true); break;
}
}
break;
case 7: // Commodore
switch(GetAttribute(pchar,"model"))
{
case "47_Cptsparrow": GiveModel2Player("47_Cosparrow", true); break;
case "Cpnorrington": GiveModel2Player("Conorrington", true); break;
case "47_Blaze_brtcpt": GiveModel2Player("47_Blaze_brtco", true); break;
}
GiveItem2Character(pchar,"blade22"+qual); // Corsair's Pride
EquipCharacterByItem(pchar,"blade22"+qual);
GiveModel2Player("brtbath_18", true);
break;
case 8: // Rear Admiral
break;
case 9: // Vice Admiral
break;
case 10: // Admiral
switch(GetAttribute(pchar,"model"))
{
case "47_Cosparrow": GiveModel2Player("47_Admsparrow", true); break;
case "47_Blaze_brtco": GiveModel2Player("47_Blaze_brtadm", true); break;
case "Conorrington": GiveModel2Player("Conorrington", true); break;
switch(rand(1))
{
case 0: GiveModel2Player("brtadm1_18", true); break;
case 1: GiveModel2Player("brtadm2_18", true); break;
}
}
break;
case 11: // Admiral of the Fleet
break;
case 12: // First Lord of the Admiralty
break;
}
break;
case HOLLAND:
switch(GetRank(pchar, GetCurrentLocationNation()))
{
case 1: // Cadet Officier
Characters[GetCharacterIndex("Crewmember_01")].model = Nations[HOLLAND].fantomModel.m1;
Characters[GetCharacterIndex("Crewmember_01")].headmodel = Nations[HOLLAND].fantomModel.m1;
Characters[GetCharacterIndex("Crewmember_02")].model = Nations[HOLLAND].fantomModel.m2;
Characters[GetCharacterIndex("Crewmember_02")].headmodel = Nations[HOLLAND].fantomModel.m2;
Characters[GetCharacterIndex("Crewmember_03")].model = Nations[HOLLAND].fantomModel.m3;
Characters[GetCharacterIndex("Crewmember_03")].headmodel = Nations[HOLLAND].fantomModel.m3;
Characters[GetCharacterIndex("Crewmember_04")].model = Nations[HOLLAND].fantomModel.m4;
Characters[GetCharacterIndex("Crewmember_04")].headmodel = Nations[HOLLAND].fantomModel.m4;
Characters[GetCharacterIndex("Crewmember_05")].model = Nations[HOLLAND].fantomModel.m5;
Characters[GetCharacterIndex("Crewmember_05")].headmodel = Nations[HOLLAND].fantomModel.m5;
Characters[GetCharacterIndex("Treas_Crewmember_1")].model = Nations[HOLLAND].fantomModel.m1;
Characters[GetCharacterIndex("Treas_Crewmember_1")].headmodel = Nations[HOLLAND].fantomModel.m1;
Characters[GetCharacterIndex("Treas_Crewmember_2")].model = Nations[HOLLAND].fantomModel.m2;
Characters[GetCharacterIndex("Treas_Crewmember_2")].headmodel = Nations[HOLLAND].fantomModel.m2;
Characters[GetCharacterIndex("Treas_Crewmember_3")].model = Nations[HOLLAND].fantomModel.m3;
Characters[GetCharacterIndex("Treas_Crewmember_3")].headmodel = Nations[HOLLAND].fantomModel.m3;
Characters[GetCharacterIndex("Treas_Crewmember_4")].model = Nations[HOLLAND].fantomModel.m4;
Characters[GetCharacterIndex("Treas_Crewmember_4")].headmodel = Nations[HOLLAND].fantomModel.m4;
Characters[GetCharacterIndex("Treas_Crewmember_5")].model = Nations[HOLLAND].fantomModel.m5;
Characters[GetCharacterIndex("Treas_Crewmember_5")].headmodel = Nations[HOLLAND].fantomModel.m5;
Characters[GetCharacterIndex("Treas_Crewmember_6")].model = Nations[HOLLAND].fantomModel.m6;
Characters[GetCharacterIndex("Treas_Crewmember_6")].headmodel = Nations[HOLLAND].fantomModel.m6;
Characters[GetCharacterIndex("Treas_Crewmember_7")].model = Nations[HOLLAND].fantomModel.m5;
Characters[GetCharacterIndex("Treas_Crewmember_7")].headmodel = Nations[HOLLAND].fantomModel.m5;
Characters[GetCharacterIndex("Treas_Crewmember_8")].model = Nations[HOLLAND].fantomModel.m4;
Characters[GetCharacterIndex("Treas_Crewmember_8")].headmodel = Nations[HOLLAND].fantomModel.m4;
Characters[GetCharacterIndex("Treas_Crewmember_9")].model = Nations[HOLLAND].fantomModel.m3;
Characters[GetCharacterIndex("Treas_Crewmember_9")].headmodel = Nations[HOLLAND].fantomModel.m3;
Characters[GetCharacterIndex("Treas_Crewmember_10")].model = Nations[HOLLAND].fantomModel.m2;
Characters[GetCharacterIndex("Treas_Crewmember_10")].headmodel = Nations[HOLLAND].fantomModel.m2;
pchar.boardingmodels = "DUTCH";
break;
case 2: // 3e Luitenant
GiveItem2Character(pchar,"blade23"+qual); // Dutch Admiralty Sword
EquipCharacterByItem(pchar,"blade23"+qual);
break;
case 3: // 2e Luitenant
break;
case 4: // 1e Luitenant
break;
case 5: // Schout-bij-Nacht
ExchangeCharacterShip(GetCharacter(cidx), pchar);
SetCompanionIndex(pchar, -1, cidx));
GiveShip2Character(pchar, "FR_SteamFrigate", "Jeanne d'Arc", -1, HOLLAND, true, true);
break;
case 6: // Kapitein-Luitenant
GiveItem2Character(pchar,"blade34+2"); // Dragon's Head
EquipCharacterByItem(pchar,"blade34+2");
break;
case 7: // Kapitein ter zee
break;
case 8: // Commandeur
CreateOfficer_Cheat(OFFIC_TYPE_CAPNAVY, "50_33_40Claire", 3, PERSONAL_NATION, false);
break;
case 9: // Vice-Admiraal
break;
case 10: // Luitenant-Admiraal
break;
case 11: // Admiraal
break;
case 12: // Generaal-Admiraal
break;
}
break;
case FRANCE:
switch(GetRank(pchar, GetCurrentLocationNation()))
{
case 1: // Enseigne
if(pchar.model == "blaze") GiveModel2Player("47_Blaze_france", true);
if(pchar.model == "depp" || pchar.model == "jack") GiveModel2Player("47_Sparrow_france", true);
Characters[GetCharacterIndex("Crewmember_01")].model = Nations[FRANCE].fantomModel.m1;
Characters[GetCharacterIndex("Crewmember_01")].headmodel = Nations[FRANCE].fantomModel.m1;
Characters[GetCharacterIndex("Crewmember_02")].model = Nations[FRANCE].fantomModel.m2;
Characters[GetCharacterIndex("Crewmember_02")].headmodel = Nations[FRANCE].fantomModel.m2;
Characters[GetCharacterIndex("Crewmember_03")].model = Nations[FRANCE].fantomModel.m3;
Characters[GetCharacterIndex("Crewmember_03")].headmodel = Nations[FRANCE].fantomModel.m3;
Characters[GetCharacterIndex("Crewmember_04")].model = Nations[FRANCE].fantomModel.m4;
Characters[GetCharacterIndex("Crewmember_04")].headmodel = Nations[FRANCE].fantomModel.m4;
Characters[GetCharacterIndex("Crewmember_05")].model = Nations[FRANCE].fantomModel.m5;
Characters[GetCharacterIndex("Crewmember_05")].headmodel = Nations[FRANCE].fantomModel.m5;
Characters[GetCharacterIndex("Treas_Crewmember_1")].model = Nations[FRANCE].fantomModel.m1;
Characters[GetCharacterIndex("Treas_Crewmember_1")].headmodel = Nations[FRANCE].fantomModel.m1;
Characters[GetCharacterIndex("Treas_Crewmember_2")].model = Nations[FRANCE].fantomModel.m2;
Characters[GetCharacterIndex("Treas_Crewmember_2")].headmodel = Nations[FRANCE].fantomModel.m2;
Characters[GetCharacterIndex("Treas_Crewmember_3")].model = Nations[FRANCE].fantomModel.m3;
Characters[GetCharacterIndex("Treas_Crewmember_3")].headmodel = Nations[FRANCE].fantomModel.m3;
Characters[GetCharacterIndex("Treas_Crewmember_4")].model = Nations[FRANCE].fantomModel.m4;
Characters[GetCharacterIndex("Treas_Crewmember_4")].headmodel = Nations[FRANCE].fantomModel.m4;
Characters[GetCharacterIndex("Treas_Crewmember_5")].model = Nations[FRANCE].fantomModel.m5;
Characters[GetCharacterIndex("Treas_Crewmember_5")].headmodel = Nations[FRANCE].fantomModel.m5;
Characters[GetCharacterIndex("Treas_Crewmember_6")].model = Nations[FRANCE].fantomModel.m6;
Characters[GetCharacterIndex("Treas_Crewmember_6")].headmodel = Nations[FRANCE].fantomModel.m6;
Characters[GetCharacterIndex("Treas_Crewmember_7")].model = Nations[FRANCE].fantomModel.m1;
Characters[GetCharacterIndex("Treas_Crewmember_7")].headmodel = Nations[FRANCE].fantomModel.m1;
Characters[GetCharacterIndex("Treas_Crewmember_8")].model = Nations[FRANCE].fantomModel.m2;
Characters[GetCharacterIndex("Treas_Crewmember_8")].headmodel = Nations[FRANCE].fantomModel.m2;
Characters[GetCharacterIndex("Treas_Crewmember_9")].model = Nations[FRANCE].fantomModel.m3;
Characters[GetCharacterIndex("Treas_Crewmember_9")].headmodel = Nations[FRANCE].fantomModel.m3;
Characters[GetCharacterIndex("Treas_Crewmember_10")].model = Nations[FRANCE].fantomModel.m4;
Characters[GetCharacterIndex("Treas_Crewmember_10")].headmodel = Nations[FRANCE].fantomModel.m4;
pchar.boardingmodels = "FRENCH";
break;
case 2: // Sous-Lieutenant de Vaisseau
switch(rand(2))
{
case 0: GiveModel2Player("fra_lut_18", true); break;
case 1: GiveModel2Player("fra_lut2_18", true); break;
case 2: GiveModel2Player("fra_lut3_18", true); break;
}
GiveItem2Character(pchar,"blade9"+qual); // French Admiralty Rapier
EquipCharacterByItem(pchar,"blade9"+qual);
break;
case 3: // Lieutenant de Vaisseau
break;
case 4: // Capitaine de Corvette
break;
case 5: // Capitaine de Fregate
ExchangeCharacterShip(GetCharacter(cidx), pchar);
SetCompanionIndex(pchar, -1, cidx));
GiveShip2Character(pchar, "FR_SteamFrigate", "Jeanne d'Arc", -1, FRANCE, true, true);
break;
case 6: // Capitaine de Vaisseau
GiveItem2Character(pchar,"blade34+2"); // Dragon's Head
EquipCharacterByItem(pchar,"blade34+2");
switch(rand(1))
{
case 0: GiveModel2Player("fra_cpt_18", true); break;
case 1: GiveModel2Player("fra_cpt2_18", true); break;
}
break;
case 7: // Contre-Amiral
CreateOfficer_Cheat(OFFIC_TYPE_CAPNAVY, "50_33_40Claire", 3, PERSONAL_NATION, false)
break;
case 8: // Vice-Amiral
break;
case 9: // Vice-Amiral d'Escadre
break;
case 10: // Amiral
GiveModel2Player("fra_adm_18", true);
break;
case 11: // Amiral d'Escadre
break;
case 12: // Amiral de France
break;
}
break;
case SPAIN:
switch(GetRank(pchar, GetCurrentLocationNation()))
{
case 1: // Alferez
switch(GetAttribute(pchar,"model"))
{
case "blaze": GiveModel2Player("47_Blaze_spain", true); break;
case "depp": GiveModel2Player("47_Sparrow_spain", true); break;
case "jack": GiveModel2Player("47_Sparrow_spain", true); break;
switch (rand(1))
{
case 0: GiveModel2Player("spa_mds1_18", true); break;
case 1: GiveModel2Player("spa_mds2_18", true); break;
}
}
Characters[GetCharacterIndex("Crewmember_01")].model = Nations[SPAIN].fantomModel.m1;
Characters[GetCharacterIndex("Crewmember_01")].headmodel = Nations[SPAIN].fantomModel.m1;
Characters[GetCharacterIndex("Crewmember_02")].model = Nations[SPAIN].fantomModel.m2;
Characters[GetCharacterIndex("Crewmember_02")].headmodel = Nations[SPAIN].fantomModel.m2;
Characters[GetCharacterIndex("Crewmember_03")].model = Nations[SPAIN].fantomModel.m3;
Characters[GetCharacterIndex("Crewmember_03")].headmodel = Nations[SPAIN].fantomModel.m3;
Characters[GetCharacterIndex("Crewmember_04")].model = Nations[SPAIN].fantomModel.m4;
Characters[GetCharacterIndex("Crewmember_04")].headmodel = Nations[SPAIN].fantomModel.m4;
Characters[GetCharacterIndex("Crewmember_05")].model = Nations[SPAIN].fantomModel.m5;
Characters[GetCharacterIndex("Crewmember_05")].headmodel = Nations[SPAIN].fantomModel.m5;
Characters[GetCharacterIndex("Treas_Crewmember_1")].model = Nations[SPAIN].fantomModel.m1;
Characters[GetCharacterIndex("Treas_Crewmember_1")].headmodel = Nations[SPAIN].fantomModel.m1;
Characters[GetCharacterIndex("Treas_Crewmember_2")].model = Nations[SPAIN].fantomModel.m2;
Characters[GetCharacterIndex("Treas_Crewmember_2")].headmodel = Nations[SPAIN].fantomModel.m2;
Characters[GetCharacterIndex("Treas_Crewmember_3")].model = Nations[SPAIN].fantomModel.m3;
Characters[GetCharacterIndex("Treas_Crewmember_3")].headmodel = Nations[SPAIN].fantomModel.m3;
Characters[GetCharacterIndex("Treas_Crewmember_4")].model = Nations[SPAIN].fantomModel.m4;
Characters[GetCharacterIndex("Treas_Crewmember_4")].headmodel = Nations[SPAIN].fantomModel.m4;
Characters[GetCharacterIndex("Treas_Crewmember_5")].model = Nations[SPAIN].fantomModel.m5;
Characters[GetCharacterIndex("Treas_Crewmember_5")].headmodel = Nations[SPAIN].fantomModel.m5;
Characters[GetCharacterIndex("Treas_Crewmember_6")].model = Nations[SPAIN].fantomModel.m6;
Characters[GetCharacterIndex("Treas_Crewmember_6")].headmodel = Nations[SPAIN].fantomModel.m6;
Characters[GetCharacterIndex("Treas_Crewmember_7")].model = Nations[SPAIN].fantomModel.m1;
Characters[GetCharacterIndex("Treas_Crewmember_7")].headmodel = Nations[SPAIN].fantomModel.m1;
Characters[GetCharacterIndex("Treas_Crewmember_8")].model = Nations[SPAIN].fantomModel.m2;
Characters[GetCharacterIndex("Treas_Crewmember_8")].headmodel = Nations[SPAIN].fantomModel.m2;
Characters[GetCharacterIndex("Treas_Crewmember_9")].model = Nations[SPAIN].fantomModel.m3;
Characters[GetCharacterIndex("Treas_Crewmember_9")].headmodel = Nations[SPAIN].fantomModel.m3;
Characters[GetCharacterIndex("Treas_Crewmember_10")].model = Nations[SPAIN].fantomModel.m4;
Characters[GetCharacterIndex("Treas_Crewmember_10")].headmodel = Nations[SPAIN].fantomModel.m4;
pchar.boardingmodels = "SPAIN";
break;
case 2: // Seg.-Tenente
switch (rand(2))
{
case 0: GiveModel2Player("spa_lut_18", true); break;
case 1: GiveModel2Player("spa_lut1_18", true); break;
case 2: GiveModel2Player("spa_lut2_18", true); break;
}
GiveItem2Character(pchar,"blade33"+qual); // Moorish Saber
EquipCharacterByItem(pchar,"blade33"+qual);
break;
case 3: // Teniente
break;
case 4: // Capitan de Corbeta
break;
case 5: // Capitan de Fragata
ExchangeCharacterShip(GetCharacter(cidx), pchar);
SetCompanionIndex(pchar, -1, cidx));
GiveShip2Character(pchar, "FR_SteamFrigate", "Jeanne d'Arc", -1, SPAIN, true, true);
break;
case 6: // Capitan de Navio
GiveItem2Character(pchar,"blade34+2"); // Dragon's Head
EquipCharacterByItem(pchar,"blade34+2");
switch(rand(2))
{
case 0: GiveModel2Player("spa_cpt_18", true); break;
case 1: GiveModel2Player("spa_cpt1_18", true); break;
case 2: GiveModel2Player("spa_cpt2_18", true); break;
}
GiveItem2Character(pchar,"blade14"+qual); // Spanish Nobility Longsword
EquipCharacterByItem(pchar,"blade14"+qual);
break;
case 7: // Contra Almirante
CreateOfficer_Cheat(OFFIC_TYPE_CAPNAVY, "50_33_40Claire", 3, PERSONAL_NATION, false)
break;
case 8: // Vice Almirante
break;
case 9: // Almirante
break;
case 10: // Capitan General
GiveModel2Player("spa_adm_18", true);
break;
case 11: // Almirante General
break;
case 12: // Almirante de Armada Espanola
break;
}
break;
case PORTUGAL:
switch(GetRank(pchar, GetCurrentLocationNation()))
{
case 1: // Aspirante
Characters[GetCharacterIndex("Crewmember_01")].model = Nations[PORTUGAL].fantomModel.m1;
Characters[GetCharacterIndex("Crewmember_01")].headmodel = Nations[PORTUGAL].fantomModel.m1;
Characters[GetCharacterIndex("Crewmember_02")].model = Nations[PORTUGAL].fantomModel.m2;
Characters[GetCharacterIndex("Crewmember_02")].headmodel = Nations[PORTUGAL].fantomModel.m2;
Characters[GetCharacterIndex("Crewmember_03")].model = Nations[PORTUGAL].fantomModel.m3;
Characters[GetCharacterIndex("Crewmember_03")].headmodel = Nations[PORTUGAL].fantomModel.m3;
Characters[GetCharacterIndex("Crewmember_04")].model = Nations[PORTUGAL].fantomModel.m4;
Characters[GetCharacterIndex("Crewmember_04")].headmodel = Nations[PORTUGAL].fantomModel.m4;
Characters[GetCharacterIndex("Crewmember_05")].model = Nations[PORTUGAL].fantomModel.m5;
Characters[GetCharacterIndex("Crewmember_05")].headmodel = Nations[PORTUGAL].fantomModel.m5;
Characters[GetCharacterIndex("Treas_Crewmember_1")].model = Nations[PORTUGAL].fantomModel.m1;
Characters[GetCharacterIndex("Treas_Crewmember_1")].headmodel = Nations[PORTUGAL].fantomModel.m1;
Characters[GetCharacterIndex("Treas_Crewmember_2")].model = Nations[PORTUGAL].fantomModel.m2;
Characters[GetCharacterIndex("Treas_Crewmember_2")].headmodel = Nations[PORTUGAL].fantomModel.m2;
Characters[GetCharacterIndex("Treas_Crewmember_3")].model = Nations[PORTUGAL].fantomModel.m3;
Characters[GetCharacterIndex("Treas_Crewmember_3")].headmodel = Nations[PORTUGAL].fantomModel.m3;
Characters[GetCharacterIndex("Treas_Crewmember_4")].model = Nations[PORTUGAL].fantomModel.m4;
Characters[GetCharacterIndex("Treas_Crewmember_4")].headmodel = Nations[PORTUGAL].fantomModel.m4;
Characters[GetCharacterIndex("Treas_Crewmember_5")].model = Nations[PORTUGAL].fantomModel.m5;
Characters[GetCharacterIndex("Treas_Crewmember_5")].headmodel = Nations[PORTUGAL].fantomModel.m5;
Characters[GetCharacterIndex("Treas_Crewmember_6")].model = Nations[PORTUGAL].fantomModel.m6;
Characters[GetCharacterIndex("Treas_Crewmember_6")].headmodel = Nations[PORTUGAL].fantomModel.m6;
Characters[GetCharacterIndex("Treas_Crewmember_7")].model = Nations[PORTUGAL].fantomModel.m1;
Characters[GetCharacterIndex("Treas_Crewmember_7")].headmodel = Nations[PORTUGAL].fantomModel.m1;
Characters[GetCharacterIndex("Treas_Crewmember_8")].model = Nations[PORTUGAL].fantomModel.m2;
Characters[GetCharacterIndex("Treas_Crewmember_8")].headmodel = Nations[PORTUGAL].fantomModel.m2;
Characters[GetCharacterIndex("Treas_Crewmember_9")].model = Nations[PORTUGAL].fantomModel.m3;
Characters[GetCharacterIndex("Treas_Crewmember_9")].headmodel = Nations[PORTUGAL].fantomModel.m3;
Characters[GetCharacterIndex("Treas_Crewmember_10")].model = Nations[PORTUGAL].fantomModel.m4;
Characters[GetCharacterIndex("Treas_Crewmember_10")].headmodel = Nations[PORTUGAL].fantomModel.m4;
pchar.boardingmodels = "PORTUGAL";
break;
case 2: // Seg.-Tenente
GiveItem2Character(pchar,"blade29"+qual); // Portugese Officer's Sword
EquipCharacterByItem(pchar,"blade29"+qual);
break;
case 3: // Tenente
break;
case 4: // Capitao-Tenente
break;
case 5: // Capitao-de-Fragata
ExchangeCharacterShip(GetCharacter(cidx), pchar);
SetCompanionIndex(pchar, -1, cidx));
GiveShip2Character(pchar, "FR_SteamFrigate", "Jeanne d'Arc", -1, PORTUGAL, true, true);
break;
case 6: // Capitao-de-Mar-e-Guerra
CreateOfficer_Cheat(OFFIC_TYPE_CAPNAVY, "50_33_40Claire", 3, PERSONAL_NATION, false);
break;
case 7: // Comodoro
break;
case 8: // Contra-Almirante
break;
case 9: // Vice-Almirante
break;
case 10: // Almirante
GiveItem2Character(pchar,"blade34+2"); // Dragon's Head
EquipCharacterByItem(pchar,"blade34+2");
break;
case 11: // Almirante da Armada
break;
case 12: // Almirante da Marinha de Guerra Portuguesa
break;
}
break;