mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +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 - tanks cannot become medics, and can't be treated by them either - Menubutton for Role symbol toggle is red if off and green if on - wounded soldiers seek medics, max range is ENEMY_MEDICS_SEARCHRADIUS / 2 - direct sight line between medic and target is no longer required - if hostile civilians allied to the army are in sector, their surrender strength is added to the enemy team git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7080 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -105,6 +105,7 @@ typedef enum
|
||||
AI_ACTION_FREE_PRISONER, // added by Flugente: free a prisoner
|
||||
AI_ACTION_USE_SKILL, // added by Flugente: perform a skill, which one is stored in usAISkillUse
|
||||
AI_ACTION_DOCTOR, // added by Flugente: AI-ONLY! bandage/surgery on fellow AI. DO NOT USE THIS FOR MERCS!!!
|
||||
AI_ACTION_DOCTOR_SELF, // added by Flugente: AI-ONLY! bandage/surgery on self. DO NOT USE THIS FOR MERCS!!!
|
||||
} ActionType;
|
||||
|
||||
|
||||
@@ -266,4 +267,7 @@ UINT8 GetClosestFlaggedSoldierID( SOLDIERTYPE * pSoldier, INT16 aRange, UINT8 au
|
||||
// get the id of the closest soldier (closer than x tiles) of a specific team that is wounded that we can currently see
|
||||
UINT8 GetClosestWoundedSoldierID( SOLDIERTYPE * pSoldier, INT16 aRange, UINT8 auTeam );
|
||||
|
||||
// get the id of the closest medic (closer than x tiles) of a specific team
|
||||
UINT8 GetClosestMedicSoldierID( SOLDIERTYPE * pSoldier, INT16 aRange, UINT8 auTeam );
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user