Merge pull request #406 from yapb/condition_zero_teamclass_select
add: 5th playerclass for condition zero
This commit is contained in:
commit
94f7f93995
3 changed files with 83 additions and 11 deletions
|
|
@ -18,7 +18,6 @@
|
||||||
|
|
||||||
0. Exit
|
0. Exit
|
||||||
|
|
||||||
|
|
||||||
[TRANSLATED]
|
[TRANSLATED]
|
||||||
\yГлавное меню\w
|
\yГлавное меню\w
|
||||||
|
|
||||||
|
|
@ -30,7 +29,6 @@
|
||||||
|
|
||||||
0. Выход
|
0. Выход
|
||||||
|
|
||||||
|
|
||||||
[ORIGINAL]
|
[ORIGINAL]
|
||||||
\yBots Features\w
|
\yBots Features\w
|
||||||
|
|
||||||
|
|
@ -55,7 +53,6 @@
|
||||||
|
|
||||||
0. Выход
|
0. Выход
|
||||||
|
|
||||||
|
|
||||||
[ORIGINAL]
|
[ORIGINAL]
|
||||||
\yBots Control Menu\w
|
\yBots Control Menu\w
|
||||||
|
|
||||||
|
|
@ -108,7 +105,6 @@
|
||||||
|
|
||||||
0. Выход
|
0. Выход
|
||||||
|
|
||||||
|
|
||||||
[ORIGINAL]
|
[ORIGINAL]
|
||||||
\yBots Personality\w
|
\yBots Personality\w
|
||||||
|
|
||||||
|
|
@ -129,7 +125,6 @@
|
||||||
|
|
||||||
0. Выход
|
0. Выход
|
||||||
|
|
||||||
|
|
||||||
[ORIGINAL]
|
[ORIGINAL]
|
||||||
\yBots Difficulty Level\w
|
\yBots Difficulty Level\w
|
||||||
|
|
||||||
|
|
@ -152,7 +147,6 @@
|
||||||
|
|
||||||
0. Выход
|
0. Выход
|
||||||
|
|
||||||
|
|
||||||
[ORIGINAL]
|
[ORIGINAL]
|
||||||
\ySelect a team\w
|
\ySelect a team\w
|
||||||
|
|
||||||
|
|
@ -173,7 +167,6 @@
|
||||||
|
|
||||||
0. Выход
|
0. Выход
|
||||||
|
|
||||||
|
|
||||||
[ORIGINAL]
|
[ORIGINAL]
|
||||||
\ySelect an appearance\w
|
\ySelect an appearance\w
|
||||||
1. Phoenix Connexion
|
1. Phoenix Connexion
|
||||||
|
|
@ -197,7 +190,6 @@
|
||||||
|
|
||||||
0. Выход
|
0. Выход
|
||||||
|
|
||||||
|
|
||||||
[ORIGINAL]
|
[ORIGINAL]
|
||||||
\ySelect an appearance\w
|
\ySelect an appearance\w
|
||||||
|
|
||||||
|
|
@ -222,6 +214,56 @@
|
||||||
|
|
||||||
0. Выход
|
0. Выход
|
||||||
|
|
||||||
|
[ORIGINAL]
|
||||||
|
\ySelect an appearance\w
|
||||||
|
1. Phoenix Connexion
|
||||||
|
2. L337 Krew
|
||||||
|
3. Arctic Avengers
|
||||||
|
4. Guerilla Warfare
|
||||||
|
5. Midwest Militia
|
||||||
|
|
||||||
|
6. Auto-select
|
||||||
|
|
||||||
|
0. Exit
|
||||||
|
|
||||||
|
[TRANSLATED]
|
||||||
|
\yВыбор класса\w
|
||||||
|
|
||||||
|
1. Подразделение Феникс
|
||||||
|
2. Элитное подразделение
|
||||||
|
3. Арктические мстители
|
||||||
|
4. Партизаны
|
||||||
|
5. Ополчение среднего запада
|
||||||
|
|
||||||
|
6. Авто-выбор
|
||||||
|
|
||||||
|
0. Выход
|
||||||
|
|
||||||
|
[ORIGINAL]
|
||||||
|
\ySelect an appearance\w
|
||||||
|
|
||||||
|
1. Seal Team 6 (DEVGRU)
|
||||||
|
2. German GSG-9
|
||||||
|
3. UK SAS
|
||||||
|
4. French GIGN
|
||||||
|
5. Russian Spetsnaz
|
||||||
|
|
||||||
|
6. Auto-select
|
||||||
|
|
||||||
|
0. Exit
|
||||||
|
|
||||||
|
[TRANSLATED]
|
||||||
|
\yВыбор класса\w
|
||||||
|
|
||||||
|
1. Seal Team 6 (DEVGRU)
|
||||||
|
2. Немецкий GSG-9
|
||||||
|
3. Великобританский SAS
|
||||||
|
4. Французский GIGN
|
||||||
|
5. Русский Спецназ
|
||||||
|
|
||||||
|
6. Авто-выбор
|
||||||
|
|
||||||
|
0. Выход
|
||||||
|
|
||||||
[ORIGINAL]
|
[ORIGINAL]
|
||||||
\yWaypoint Operations (Page 1)\w
|
\yWaypoint Operations (Page 1)\w
|
||||||
|
|
@ -255,7 +297,6 @@
|
||||||
|
|
||||||
0. Выход
|
0. Выход
|
||||||
|
|
||||||
|
|
||||||
[ORIGINAL]
|
[ORIGINAL]
|
||||||
\yWaypoint Operations (Page 2)\w
|
\yWaypoint Operations (Page 2)\w
|
||||||
|
|
||||||
|
|
@ -288,7 +329,6 @@
|
||||||
|
|
||||||
0. Выход
|
0. Выход
|
||||||
|
|
||||||
|
|
||||||
[ORIGINAL]
|
[ORIGINAL]
|
||||||
\yWaypoint Radius\w
|
\yWaypoint Radius\w
|
||||||
|
|
||||||
|
|
@ -1325,7 +1365,7 @@ Could not delete node %d.
|
||||||
Graph seems to be OK.
|
Graph seems to be OK.
|
||||||
|
|
||||||
[TRANSLATED]
|
[TRANSLATED]
|
||||||
Графы в порядке.
|
Граф в порядке.
|
||||||
|
|
||||||
[ORIGINAL]
|
[ORIGINAL]
|
||||||
Before calling for 'next' / 'end' camp point, you should hit 'begin'.
|
Before calling for 'next' / 'end' camp point, you should hit 'begin'.
|
||||||
|
|
|
||||||
|
|
@ -60,6 +60,8 @@ CR_DECLARE_SCOPED_ENUM (Menu,
|
||||||
TeamSelect,
|
TeamSelect,
|
||||||
TerroristSelect,
|
TerroristSelect,
|
||||||
CTSelect,
|
CTSelect,
|
||||||
|
TerroristSelectCZ,
|
||||||
|
CTSelectCZ,
|
||||||
Commands,
|
Commands,
|
||||||
NodeMainPage1,
|
NodeMainPage1,
|
||||||
NodeMainPage2,
|
NodeMainPage2,
|
||||||
|
|
|
||||||
|
|
@ -1123,6 +1123,9 @@ int BotControl::menuTeamSelect (int item) {
|
||||||
m_interMenuData[2] = item;
|
m_interMenuData[2] = item;
|
||||||
bots.addbot ("", m_interMenuData[0], m_interMenuData[3], m_interMenuData[1], m_interMenuData[2], true);
|
bots.addbot ("", m_interMenuData[0], m_interMenuData[3], m_interMenuData[1], m_interMenuData[2], true);
|
||||||
}
|
}
|
||||||
|
else if (game.is (GameFlags::ConditionZero)) {
|
||||||
|
showMenu (item == 1 ? Menu::TerroristSelectCZ : Menu::CTSelectCZ);
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
showMenu (item == 1 ? Menu::TerroristSelect : Menu::CTSelect);
|
showMenu (item == 1 ? Menu::TerroristSelect : Menu::CTSelect);
|
||||||
}
|
}
|
||||||
|
|
@ -1144,6 +1147,7 @@ int BotControl::menuClassSelect (int item) {
|
||||||
case 3:
|
case 3:
|
||||||
case 4:
|
case 4:
|
||||||
case 5:
|
case 5:
|
||||||
|
case 6:
|
||||||
m_interMenuData[2] = item;
|
m_interMenuData[2] = item;
|
||||||
bots.addbot ("", m_interMenuData[0], m_interMenuData[3], m_interMenuData[1], m_interMenuData[2], true);
|
bots.addbot ("", m_interMenuData[0], m_interMenuData[3], m_interMenuData[1], m_interMenuData[2], true);
|
||||||
break;
|
break;
|
||||||
|
|
@ -2217,6 +2221,32 @@ void BotControl::createMenus () {
|
||||||
"0. Exit",
|
"0. Exit",
|
||||||
&BotControl::menuClassSelect);
|
&BotControl::menuClassSelect);
|
||||||
|
|
||||||
|
// condition zero terrorist model select menu
|
||||||
|
m_menus.emplace (
|
||||||
|
Menu::TerroristSelectCZ, keys (6),
|
||||||
|
"\\ySelect an appearance\\w\n\n"
|
||||||
|
"1. Phoenix Connexion\n"
|
||||||
|
"2. L337 Krew\n"
|
||||||
|
"3. Arctic Avengers\n"
|
||||||
|
"4. Guerilla Warfare\n"
|
||||||
|
"5. Midwest Militia\n\n"
|
||||||
|
"6. Auto-select\n\n"
|
||||||
|
"0. Exit",
|
||||||
|
&BotControl::menuClassSelect);
|
||||||
|
|
||||||
|
// condition zero counter-terrorist model select menu
|
||||||
|
m_menus.emplace (
|
||||||
|
Menu::CTSelectCZ, keys (6),
|
||||||
|
"\\ySelect an appearance\\w\n\n"
|
||||||
|
"1. Seal Team 6 (DEVGRU)\n"
|
||||||
|
"2. German GSG-9\n"
|
||||||
|
"3. UK SAS\n"
|
||||||
|
"4. French GIGN\n"
|
||||||
|
"5. Russian Spetsnaz\n\n"
|
||||||
|
"6. Auto-select\n\n"
|
||||||
|
"0. Exit",
|
||||||
|
&BotControl::menuClassSelect);
|
||||||
|
|
||||||
// command menu
|
// command menu
|
||||||
m_menus.emplace (
|
m_menus.emplace (
|
||||||
Menu::Commands, keys (4),
|
Menu::Commands, keys (4),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue