individual SAR_HUMANITY_HOSTILE_LIMIT for every AI type

Sharkking

Valued Member!
Hello Sarge,

topic should say it. Wish to have it like this to configure different values

SAR_BANDIT_HUMANITY_HOSTILE_LIMIT = +2500; (OVER THIS LIMMIT)
SAR_SURIVOR_HUMANITY_HOSTILE_LIMIT = -2500; (BELOW THIS LIMMIT)
.. this would create a "save zone" for not beeing aggroed as a fresh spawn
SAR_SOLDIER_HOSTILE_LIMIT = 99999; eg for protected areas to attack everyone

thanks
Sharkking
 

Sarge

OpenDayZ Guru!
Staff member
as soon as you mix Ai types you are screwed with this approach.

In theory, as long as you separate surv / band and soldier AI, this would be possible.

The issue is that once a player gets downrated to "enemy", all AI will see him as that. Would need to implement an "uprate" functionality as well, and that one will interfere with the inbuilt enemy detection by Arma 2.

Could have a function running on the player that resets that state every n seconds, but thats not really elegant as well.

Long story short - will not work, sry.

Sarge
 
Top