New militia order: Move to (works in realtime only, switches militia soldier to DTATIONARY/DEFENSIVE).

Cancel current AI order when giving militia order.
Check if desired stance is possible here when ordering militia to crouch/prone.
Green AI: reworked climb code (only climb up, only at the start of the turn, disable for STATIONARY).

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8947 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Sevenfm
2021-02-26 12:14:11 +00:00
parent fe10587437
commit 1abb292f8e
15 changed files with 234 additions and 40 deletions
+1
View File
@@ -2798,6 +2798,7 @@ STR16 pMilitiaControlMenuStrings[] =
L"卧倒",
L"蹲下", // L"Crouch",
L"隐蔽",
L"Move to", // TODO. Translate
L"全体: 自动进攻",
L"全体: 原地坚守",
L"全体: 撤退",
+1
View File
@@ -2797,6 +2797,7 @@ STR16 pMilitiaControlMenuStrings[] =
L"Get down", // retreat militia
L"Crouch", // TODO.Translate
L"Take cover",
L"Move to", // TODO.Translate
L"All: Attack",
L"All: Hold Position",
L"All: Retreat",
+1
View File
@@ -2798,6 +2798,7 @@ STR16 pMilitiaControlMenuStrings[] =
L"Get down",
L"Crouch",
L"Take cover",
L"Move to",
L"All: Attack",
L"All: Hold Position",
L"All: Retreat",
+1
View File
@@ -2806,6 +2806,7 @@ STR16 pMilitiaControlMenuStrings[] =
L"Couchez-vous", // retreat militia
L"Accroupi",
L"À couvert !",
L"Move to", // TODO.Translate
L"Tous : Attaquez",
L"Tous : Tenez la position",
L"Tous : Retraite",
+1
View File
@@ -2827,6 +2827,7 @@ STR16 pMilitiaControlMenuStrings[] =
L"Auf den Boden", // retreat militia
L"Ducken",
L"In Deckung gehen",
L"Move to", // TODO.Translate
L"Alle: Angreifen",
L"Alle: Position halten",
L"Alle: Rückzug",
+1
View File
@@ -2792,6 +2792,7 @@ STR16 pMilitiaControlMenuStrings[] =
L"Get down", // retreat militia
L"Crouch", // TODO.Translate
L"Take cover",
L"Move to", // TODO.Translate
L"All: Attack",
L"All: Hold Position",
L"All: Retreat",
+1
View File
@@ -2804,6 +2804,7 @@ STR16 pMilitiaControlMenuStrings[] =
L"Padnij", // retreat militia
L"Crouch", // TODO.Translate
L"Kryj się",
L"Move to", // TODO.Translate
L"Wszyscy: Atakujcie",
L"Wszyscy: Utrzymajcie pozycje",
L"Wszyscy: Wycofajcie się",
+1
View File
@@ -2798,6 +2798,7 @@ STR16 pMilitiaControlMenuStrings[] =
L"Ложись",
L"Присесть",
L"В укрытие",
L"Двигаться в точку",
L"Все в атаку",
L"Всем держать оборону",
L"Всем отступать",