New feature: turncoats can be created from enemies and ordered to switch sides

Requires GameDir >= r2535

For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=360191&#msg_360191

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8811 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2020-05-30 00:13:42 +00:00
parent 0f13599775
commit c5022fa1e5
44 changed files with 1587 additions and 140 deletions
+8
View File
@@ -1147,6 +1147,7 @@ enum
IMPROVEGEARPICKUPMAG_STR,
DISTRACT_STOP_STR,
DISTRACT_TRY_TO_TURNCOAT,
TEXT_NUM_TACTICAL_STR
};
@@ -2673,6 +2674,11 @@ enum
TEXT_SKILL_DENIAL_SINGLEMERC,
TEXT_SKILL_DENIAL_NOALARM,
TEXT_SKILL_DENIAL_DISGUISE_CIV_OR_MIL,
TEXT_SKILL_DENIAL_NOT_DURING_INTERRUPT,
TEXT_SKILL_DENIAL_TURNED_ENEMY,
TEXT_SKILL_DENIAL_ENEMY,
TEXT_SKILL_DENIAL_SURFACELEVEL,
TEXT_SKILL_DENIAL_STRATEGIC_SUSPICION,
TEXT_SKILL_DENIAL_MAX,
};
@@ -3093,6 +3099,8 @@ extern STR16 szMilitiaText[];
extern STR16 szFactoryText[];
extern STR16 szTurncoatText[];
#define TACTICAL_INVENTORY_DIALOG_NUM 16
#define TACTICAL_COVER_DIALOG_NUM 16
+15
View File
@@ -11597,6 +11597,21 @@ STR16 szFactoryText[] = // TODO.Translate
L"h/item",
};
STR16 szTurncoatText[] =
{
L"%s now secretly works for us!",
L"%s is not swayed by our offer. Suspicion against us rises...",
L"Suspicion against us is high. We should stop trying to turn more soldiers to our side and lay low for a while.",
L"Recruit approach (%d)",
L"Use seduction (%d)",
L"Bribe ($%d) (%d)", // 5
L"Offer %d intel (%d)",
L"How to convince the soldier to join your forces?",
L"Do it",
L"%d turncoats present",
};
// WANNE: Some Chinese specific strings that needs to be in unicode!
STR16 ChineseSpecString1 = L"%"; //defined in _ChineseText.cpp as this file is already unicode
STR16 ChineseSpecString2 = L"*%3d%%%"; //defined in _ChineseText.cpp as this file is already unicode
+15
View File
@@ -11613,4 +11613,19 @@ STR16 szFactoryText[] = // TODO.Translate
L"h/item",
};
STR16 szTurncoatText[] =
{
L"%s now secretly works for us!",
L"%s is not swayed by our offer. Suspicion against us rises...",
L"Suspicion against us is high. We should stop trying to turn more soldiers to our side and lay low for a while.",
L"Recruit approach (%d)",
L"Use seduction (%d)",
L"Bribe ($%d) (%d)", // 5
L"Offer %d intel (%d)",
L"How to convince the soldier to join your forces?",
L"Do it",
L"%d turncoats present",
};
#endif //DUTCH
+30
View File
@@ -2814,10 +2814,14 @@ STR16 pTraitSkillsMenuStrings[] =
L"Eavesdrop",
L"Call reinforcements",
L"Switch off radio set",
L"Radio: Activate all turncoats",
// spy
L"Hide assignment",
L"Get Intel assignment",
L"Recruit turncoat",
L"Activate turncoat",
L"Activate all turncoats",
// various
L"Spotter",
@@ -2835,10 +2839,14 @@ STR16 pTraitSkillsMenuDescStrings[] =
L"Use your radio equipment to continously listen for enemy movement.",
L"Call in reinforcements from neighbouring sectors.",
L"Turn off radio set.",
L"Order all previously turned soldiers in the sector to betray their comrades and join you.",
// spy
L"Assignment: hide among the population.",
L"Assignment: hide among the population and gather intel.",
L"Try to turn an enemy into a turncoat.",
L"Order previously turned soldier to betray their comrades and join you.",
L"Order all previously turned soldiers in the sector to betray their comrades and join you.",
// various
L"Observe an area, granting allied snipers a bonus to cth on anything you see.",
@@ -2867,6 +2875,11 @@ STR16 pTraitSkillsDenialStrings[] =
L" - single merc\n",
L" - no alarm raised\n",
L" - civilian or soldier disguise\n",
L" - being our turn\n",
L" - turned enemy soldier\n",
L" - enemy soldier\n",
L" - surface sector\n",
L" - not being under suspicion\n",
};
STR16 pSkillMenuStrings[] =
@@ -4075,6 +4088,7 @@ CHAR16 TacticalStr[][ MED_STRING_LENGTH ] =
L"%s picked up %s",
L"%s has stopped chatting with %s",
L"Attempt to turn",
};
//Varying helptext explains (for the "Go to Sector/Map" checkbox) what will happen given different circumstances in the "exiting sector" interface.
@@ -11260,6 +11274,7 @@ STR16 szIndividualMilitiaBattleReportText[] =
L"Hired from Kerberus on Day %d, %d:%02d in %s",
L"Defected to us on Day %d, %d:%02d in %s",
L"Contract terminated on Day %d, %d:%02d",
L"Defected to us on Day %d, %d:%02d in %s",
};
STR16 szIndividualMilitiaTraitRequirements[] =
@@ -11597,4 +11612,19 @@ STR16 szFactoryText[] =
L"h/item",
};
STR16 szTurncoatText[] =
{
L"%s now secretly works for us!",
L"%s is not swayed by our offer. Suspicion against us rises...",
L"Suspicion against us is high. We should stop trying to turn more soldiers to our side and lay low for a while.",
L"Recruit approach (%d)",
L"Use seduction (%d)",
L"Bribe ($%d) (%d)", // 5
L"Offer %d intel (%d)",
L"How to convince the soldier to join your forces?",
L"Do it",
L"%d turncoats present",
};
#endif //ENGLISH
+15
View File
@@ -11595,4 +11595,19 @@ STR16 szFactoryText[] = // TODO.Translate
L"h/item",
};
STR16 szTurncoatText[] =
{
L"%s now secretly works for us!",
L"%s is not swayed by our offer. Suspicion against us rises...",
L"Suspicion against us is high. We should stop trying to turn more soldiers to our side and lay low for a while.",
L"Recruit approach (%d)",
L"Use seduction (%d)",
L"Bribe ($%d) (%d)", // 5
L"Offer %d intel (%d)",
L"How to convince the soldier to join your forces?",
L"Do it",
L"%d turncoats present",
};
#endif //FRENCH
+15
View File
@@ -11425,4 +11425,19 @@ STR16 szFactoryText[] = // TODO.Translate
L"h/item",
};
STR16 szTurncoatText[] =
{
L"%s now secretly works for us!",
L"%s is not swayed by our offer. Suspicion against us rises...",
L"Suspicion against us is high. We should stop trying to turn more soldiers to our side and lay low for a while.",
L"Recruit approach (%d)",
L"Use seduction (%d)",
L"Bribe ($%d) (%d)", // 5
L"Offer %d intel (%d)",
L"How to convince the soldier to join your forces?",
L"Do it",
L"%d turncoats present",
};
#endif //GERMAN
+15
View File
@@ -11604,4 +11604,19 @@ STR16 szFactoryText[] = // TODO.Translate
L"h/item",
};
STR16 szTurncoatText[] =
{
L"%s now secretly works for us!",
L"%s is not swayed by our offer. Suspicion against us rises...",
L"Suspicion against us is high. We should stop trying to turn more soldiers to our side and lay low for a while.",
L"Recruit approach (%d)",
L"Use seduction (%d)",
L"Bribe ($%d) (%d)", // 5
L"Offer %d intel (%d)",
L"How to convince the soldier to join your forces?",
L"Do it",
L"%d turncoats present",
};
#endif //ITALIAN
+1
View File
@@ -259,6 +259,7 @@ STR16 gzIMPMajorTraitsHelpTextsCovertOps[]=
L"伪装状态下使用近战武器攻击时,命中率增加 +%d%s \n",//L"+%d%s CTH with covert melee weapons\n",
L"伪装状态下使用近战武器攻击时,秒杀几率增加 +%d%s \n",//L"+%d%s chance of instakill with covert melee weapons\n",
L"伪装动作消耗的行动点 -%d%s \n",//L"Disguise AP cost lowered by %d%s.\n",
L"Can convince enemy soldiers to secretly change sides.\n", // TODO.Translate
};
STR16 gzIMPMajorTraitsHelpTextsRadioOperator[]=
+1
View File
@@ -259,6 +259,7 @@ STR16 gzIMPMajorTraitsHelpTextsCovertOps[]=
L"+%d%s CtH with covert melee weapons\n",
L"+%d%s chance of instakill with covert melee weapons\n",
L"Disguise AP cost lowered by %d%s.\n",
L"Can convince enemy soldiers to secretly change sides.\n", // TODO.Translate
};
STR16 gzIMPMajorTraitsHelpTextsRadioOperator[]= // TODO.Translate
+1
View File
@@ -259,6 +259,7 @@ STR16 gzIMPMajorTraitsHelpTextsCovertOps[]=
L"+%d%s CtH with covert melee weapons\n",
L"+%d%s chance of instakill with covert melee weapons\n",
L"Disguise AP cost lowered by %d%s.\n",
L"Can convince enemy soldiers to secretly change sides.\n",
};
STR16 gzIMPMajorTraitsHelpTextsRadioOperator[]=
+1
View File
@@ -259,6 +259,7 @@ STR16 gzIMPMajorTraitsHelpTextsCovertOps[]=
L"+%d%s de chance de toucher avec une arme d'espion\n",
L"+%d%s de chance de tuer un ennemi instantanément avec une arme d'espion\n",
L"Le nombre de PA pour se déguiser, est réduit de %d%s\n",
L"Can convince enemy soldiers to secretly change sides.\n", // TODO.Translate
};
STR16 gzIMPMajorTraitsHelpTextsRadioOperator[]=
+1
View File
@@ -259,6 +259,7 @@ STR16 gzIMPMajorTraitsHelpTextsCovertOps[]=
L"+%d%s Trefferwahrscheinlichkeit mit verdeckten Nahkampfwaffen (z.B. Garotte)\n",
L"+%d%s Wahrscheinlichkeit für einen tödlichen Angriff mit verdeckten Nahkampfwaffen (z.B. Garotte)\n",
L"Um %d%s verringerte AP-Kosten zum Verkleiden\n",
L"Kann feindliche Soldaten zum Überlaufen überreden.\n",
};
STR16 gzIMPMajorTraitsHelpTextsRadioOperator[]=
+1
View File
@@ -257,6 +257,7 @@ STR16 gzIMPMajorTraitsHelpTextsCovertOps[]=
L"+%d%s CtH with covert melee weapons\n",
L"+%d%s chance of instakill with covert melee weapons\n",
L"Disguise AP cost lowered by %d%s.\n",
L"Can convince enemy soldiers to secretly change sides.\n", // TODO.Translate
};
STR16 gzIMPMajorTraitsHelpTextsRadioOperator[]= // TODO.Translate
+1
View File
@@ -259,6 +259,7 @@ STR16 gzIMPMajorTraitsHelpTextsCovertOps[]=
L"+%d%s CtH with covert melee weapons\n",
L"+%d%s chance of instakill with covert melee weapons\n",
L"Disguise AP cost lowered by %d%s.\n",
L"Can convince enemy soldiers to secretly change sides.\n", // TODO.Translate
};
STR16 gzIMPMajorTraitsHelpTextsRadioOperator[]= // TODO.Translate
+1
View File
@@ -259,6 +259,7 @@ STR16 gzIMPMajorTraitsHelpTextsCovertOps[]=
L"+%d%s к шансу попадания скрытным оружием ближнего боя.\n",
L"+%d%s к шансу на смертельный удар скрытным оружием ближнего боя.\n",
L"ОД на переодевание снижены на %d%s.\n",
L"Can convince enemy soldiers to secretly change sides.\n", // TODO.Translate
};
STR16 gzIMPMajorTraitsHelpTextsRadioOperator[]=
+15
View File
@@ -11617,4 +11617,19 @@ STR16 szFactoryText[] = // TODO.Translate
L"h/item",
};
STR16 szTurncoatText[] =
{
L"%s now secretly works for us!",
L"%s is not swayed by our offer. Suspicion against us rises...",
L"Suspicion against us is high. We should stop trying to turn more soldiers to our side and lay low for a while.",
L"Recruit approach (%d)",
L"Use seduction (%d)",
L"Bribe ($%d) (%d)", // 5
L"Offer %d intel (%d)",
L"How to convince the soldier to join your forces?",
L"Do it",
L"%d turncoats present",
};
#endif //POLISH
+15
View File
@@ -11597,4 +11597,19 @@ STR16 szFactoryText[] = // TODO.Translate
L"h/item",
};
STR16 szTurncoatText[] =
{
L"%s now secretly works for us!",
L"%s is not swayed by our offer. Suspicion against us rises...",
L"Suspicion against us is high. We should stop trying to turn more soldiers to our side and lay low for a while.",
L"Recruit approach (%d)",
L"Use seduction (%d)",
L"Bribe ($%d) (%d)", // 5
L"Offer %d intel (%d)",
L"How to convince the soldier to join your forces?",
L"Do it",
L"%d turncoats present",
};
#endif //RUSSIAN