mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Enemy roles improvement:
- lowered ENEMYROLES_TURNSTOUNCOVER - increased ENEMY_MEDICS_SEARCHRADIUS - new option: ENEMY_MEDICS_WOUND_MINAMOUNT controls how serious a wound must be before a medic considers it worthy of attention - new option: ENEMY_MEDICS_HEAL_SELF: medics can heal themselves - new option: ENEMY_OFFICERS_SURRENDERSTRENGTHBONUS adds a team surrender strength bonus for officers git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1992 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
@@ -2033,7 +2033,12 @@ ENEMYROLES = TRUE
|
||||
; - radio operators
|
||||
; - snipers
|
||||
; - mortarmen
|
||||
ENEMYROLES_TURNSTOUNCOVER = 6
|
||||
; Default 4, values between 0 and 20.
|
||||
ENEMYROLES_TURNSTOUNCOVER = 4
|
||||
|
||||
;******************************************************************************************************************************
|
||||
; MEDIC
|
||||
;******************************************************************************************************************************
|
||||
|
||||
; 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.
|
||||
@@ -2046,14 +2051,26 @@ ENEMY_MEDICS = TRUE
|
||||
ENEMY_MEDICS_MEDKITDRAINFACTOR = 0.1
|
||||
|
||||
; radius in which a medic searches for patients. Targets farther away are ignored. It is required that the medic sees the patient
|
||||
; Default 20, values between 5 and 60.
|
||||
ENEMY_MEDICS_SEARCHRADIUS = 20
|
||||
; Default 40, values between 5 and 60.
|
||||
ENEMY_MEDICS_SEARCHRADIUS = 40
|
||||
|
||||
; medics only heal enemies with at least this much health lost, to prevent them from breaking position just to heal a tiny amount.
|
||||
; 100 is one hp. Default 500, values between 0 and 50000.
|
||||
ENEMY_MEDICS_WOUND_MINAMOUNT = 500
|
||||
|
||||
; allow enemy medic to heal himself
|
||||
ENEMY_MEDICS_HEAL_SELF = TRUE
|
||||
|
||||
;******************************************************************************************************************************
|
||||
; OFFICER
|
||||
;******************************************************************************************************************************
|
||||
|
||||
; 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:
|
||||
; For now, a officer grants boni to the entire enemy team present:
|
||||
; - a bonus to suppression resistance
|
||||
; - a percentage bonus to morale
|
||||
; - a bonus to team surrender strength
|
||||
; Important: Only the bonus of the highest officer present counts.
|
||||
; Requires ENEMYROLES to be TRUE.
|
||||
ENEMY_OFFICERS = TRUE
|
||||
@@ -2071,6 +2088,10 @@ 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
|
||||
|
||||
; bonus to surrender strength (used when the player asks the enemy to surrender).
|
||||
; 0.1 means a 10% bonus. Default 0.1, values between 0.0 and 1.0.
|
||||
ENEMY_OFFICERS_SURRENDERSTRENGTHBONUS = 0.1
|
||||
|
||||
;******************************************************************************************************************************
|
||||
;******************************************************************************************************************************
|
||||
|
||||
|
||||
Reference in New Issue
Block a user