New feature: radio operator trait allows calling in artillery, requesting reinforcements, scanning for enemies and a few other skills.

Also includes mechansim for easy implementation of new skills.

For more info see http://www.bears-pit.com/board/ubbthreads.php/topics/327348.html#Post327348

Requires GameDir >= r1848.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6547 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2013-10-30 23:05:37 +00:00
parent bef4e7b52b
commit f17829fac9
80 changed files with 4722 additions and 243 deletions
+63 -4
View File
@@ -1646,6 +1646,7 @@ STR16 pAssignmentStrings[] =
L"Транспорт", // in a vehicle
L"В пути", // in transit - abbreviated form
L"Ремонт", // repairing
L"Radio Scan", // scanning for nearby patrols // TODO.Translate
L"Практика", // training themselves
L"Ополчение", // training a town to revolt
L"Мобил.гр.", //training moving militia units //M.Militia
@@ -1734,6 +1735,7 @@ STR16 pPersonnelAssignmentStrings[] =
L"Транспорт",
L"В пути",
L"Ремонт",
L"Radio Scan", // radio scan // TODO.Translate
L"Практика",
L"Ополчение",
L"Тренирует мобильную группу", //Training Mobile Militia
@@ -1782,6 +1784,7 @@ STR16 pLongAssignmentStrings[] =
L"В транспорте",
L"В пути",
L"Ремонтирует",
L"Radio Scan", // radio scan // TODO.Translate
L"Практикуется",
L"Тренирует ополчение",
L"Тренирует мобильную группу", //Train Mobiles
@@ -1911,6 +1914,7 @@ STR16 pAssignMenuStrings[] =
L"Пациент", // the merc is receiving medical attention
L"Машина", // the merc is in a vehicle
L"Ремонт", // the merc is repairing items
L"Radio Scan", // Flugente: the merc is scanning for patrols in neighbouring sectors
L"Обучение", // the merc is training
L"Move Item", // move items // TODO.Translate
L"Удобства", // the merc is using/staffing a facility //Facility
@@ -1939,6 +1943,44 @@ STR16 pMilitiaControlMenuStrings[] =
L"Отмена", // cancel this menu
};
//Flugente
STR16 pTraitSkillsMenuStrings[] = // TODO.Translate
{
// radio operator
L"Artillery Strike",
L"Jam communications",
L"Scan frequencies",
L"Eavesdrop",
L"Call reinforcements",
L"Switch off radio set",
};
//Flugente: short description of the above skills for the skill selection menu
STR16 pTraitSkillsMenuDescStrings[] =
{
// radio operator
L"Order an artillery strike from sector...",
L"Fill all radio frequencies with white noise, making communications impossible.",
L"Scan for jamming signals.",
L"Use your radio equipment to continously listen for enemy movement",
L"Call in reinforcements from neighbouring sectors.",
L"Turn off radio set to save batteries.",
};
STR16 pTraitSkillsDenialStrings[] =
{
L"Requires:\n",
L" - %d AP\n",
L" - %s\n",
L" - %s or higher\n",
L" - %s or higher or\n",
L" - %d minutes to be ready\n",
L" - mortar positions in neighbouring sectors\n",
L" - %s |o|r %s |a|n|d %s or %s or higher\n"
L" - posession by a demon",
};
//STR16 pTalkToAllMenuStrings[] =
//{
// L"В атаку", // set militia to aggresive
@@ -2151,6 +2193,8 @@ STR16 gzMercSkillTextNew[] =
L"Разведчик", //Scouting
// covert ops is a major trait that was added later
L"Covert Ops", // 20 // TODO.Translate
// new minor traits
L"Radio Operator", // 21
// second names for major skills
L"Пулемётчик", //Machinegunner
L"Артиллерист", //Bombardier
@@ -2161,17 +2205,18 @@ STR16 gzMercSkillTextNew[] =
L"Командир", //Squadleader
L"Инженер", //Engineer
L"Доктор", //Doctor
L"Placeholder", // 30
L"Placeholder", // 31
L"Placeholder",
L"Placeholder",
L"Placeholder",
L"Placeholder",
L"Placeholder", // 35
L"Placeholder", // 36
L"Placeholder",
L"Placeholder",
L"Placeholder",
L"Placeholder", // 39
L"Шпион", // 30
L"Placeholder", // 40
L"Шпион", // 41
L"Placeholder", // for radio operator (minor trait)
L"Ещё...",
};
//////////////////////////////////////////////////////////
@@ -6356,6 +6401,8 @@ STR16 MissingIMPSkillsDescriptions[] =
L"Разведчик: Ничто не скроется от вашего зоркого взгляда! ± ", //Scouting: Nothing can escape your notice!
// Covert ops
L"Covert Operations: You make 007 look like an amateur! ± ", // TODO.Translate
// Radio Operator
L"Radio Operator: Your usage of communication devices broaden your team's tactical and strategic skills. ± ", // TOO.Translate
};
STR16 NewInvMessage[] =
@@ -7845,4 +7892,16 @@ STR16 szSexistText[]=
L"a Gentleman",
};
// Flugente: power pack texts
STR16 gPowerPackDesc[] =
{
L"Batteries are ",
L"full",
L"good",
L"at half",
L"low",
L"depleted",
L"."
};
#endif //RUSSIAN