From d3c474f51e0bcd2e8e4aa179b6a688e246802547 Mon Sep 17 00:00:00 2001 From: Flugente Date: Sun, 16 Mar 2014 18:16:37 +0000 Subject: [PATCH] New Feature: enemies roles allows the AI to use medics and officers, and the player can now identify high-value targets among the enemy. git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1987 4f8fa57e-7814-0410-bad4-adc449f26b7c --- Data-1.13/Ja2_Options.INI | 57 +++++++++++++++++++++++++++++++++++ Data/Interface/RoleIcons.sti | Bin 0 -> 1759 bytes 2 files changed, 57 insertions(+) create mode 100644 Data/Interface/RoleIcons.sti diff --git a/Data-1.13/Ja2_Options.INI b/Data-1.13/Ja2_Options.INI index f1263329b..d241f3e18 100644 --- a/Data-1.13/Ja2_Options.INI +++ b/Data-1.13/Ja2_Options.INI @@ -2005,6 +2005,63 @@ BACKPACKWEIGHT_LOWERS_AP = TRUE ;****************************************************************************************************************************** ;****************************************************************************************************************************** +[Tactical Enemy Role Settings] + +;****************************************************************************************************************************** +; These settings allow enemy soldiers to gain certain abilities that will allow them to play a number of roles and make combat harder. +;****************************************************************************************************************************** + +; allow enemy roles, required for the following settings +ENEMYROLES = TRUE + +; If player mercs observe enemy soldiers, they can uncover their role once they have been seen a least this many turns. +; The following roles will be indicated by small icon next to the soldiers (can be toggled in the [CTRL] + [c] menu): +; - officers +; - medics +; - radio operators +; - snipers +; - mortarmen +ENEMYROLES_TURNSTOUNCOVER = 6 + +; allow AI medics for the enemy team. A soldier spawning with a first aid or med kit can become a doctor. +; AI doctors bandage their wounded comrades and perform surgery on them. They do so much faster than the player mercs. +; Requires ENEMYROLES to be TRUE. +ENEMY_MEDICS = TRUE + +; As the AI will likely have a much higher consumption of medical supplies, you can reduce the med kit drain +; This allows the AI to heal more wounded before its medkits run out +; 0.1 means drain is only 10%. Default 0.1, values between 0.01 and 1.0. +ENEMY_MEDICS_MEDKITDRAINFACTOR = 0.1 + +; radius in which a medic searches for patients. Targets farer away are ignored. It is required that the medic sees the patient +; Default 20, values between 5 and 60. +ENEMY_MEDICS_SEARCHRAIUS = 20 + +; allow AI officers for the AI team. An officer is a soldier with the squadleader trait. There are two stages of this: +; a officer with squadleader trait is considered a lieutnant, an officer with squadleader(expert) is a captain. +; For now, a officer grants 2 boni to the entire enemy team present: +; - a bonus to suppression resistance +; - a percentage bonus to morale +; Important: Only the bonus of the highest officer present counts. +; Requires ENEMYROLES to be TRUE. +ENEMY_OFFICERS = TRUE + +; for every officer, the enemy team needs at least this many soldiers total +ENEMY_OFFICERS_REQUIREDTEAMSIZE = 10 + +; maximum number of officers the enemy team may ever have +ENEMY_OFFICERS_MAX = 4 + +; The boni listed here are for lieutnant, they are doubled for captains. +; bonus to suppression resistance of the entire enemy team if officer is present. Default 10, values between 0 and 50. +ENEMY_OFFICERS_SUPPRESSION_RESISTANCE_BONUS = 10 + +; bonus to morale of the entire enemy team if officer is present. 0.1 means a 10% bonus. Default 0.1, values between 0.0 and 1.0. +ENEMY_OFFICERS_MORALE_MODIFIER = 0.1 + +;****************************************************************************************************************************** +;****************************************************************************************************************************** + [Tactical Cover System Settings] ;****************************************************************************************************************************** diff --git a/Data/Interface/RoleIcons.sti b/Data/Interface/RoleIcons.sti new file mode 100644 index 0000000000000000000000000000000000000000..af75467125109341239c0a0913c5a9b75ee8d40f GIT binary patch literal 1759 zcmc&zOKu!T41FzGhzuh!lpAOlu%S}~7{IFlN%1P#vU+~9v(q&QU&41F7eRm^H|adi zsFfbuK(Y&`yI3Tv$j8T?U)qoFK>6vqR^SJ|e+~T#18{@e+uM`(ysY<&`_J!Z0TeL6 zfdIO|1u0-aMzpcQqELk?ToHY>1%mGQXWJzI4CgUX@ zr@M=|NQ%rNGD;f-Dx#t)rs680(oNhXO=c5bXeWHUrY`2ZS)JYMI0KH^dxZ}R^B zK99J|vy^ofOm8dpkK}~yw`*5!v3rw?Cv%6xH)ksk*uQ=W?4ONtB#l?xF22uBRibC6>K^a&p|e(y z1a6Nnn)OKA0iSDfRxT{MkS@Q8*$?NT>@gL?yW533_VL}aKWn1=!t=$Yi9(tiUI Cq8By* literal 0 HcmV?d00001