individual SAR_HUMANITY_HOSTILE_LIMIT for every AI type

Discussion in 'Suggestions' started by Sharkking, Jul 9, 2013.

  1. Sharkking

    Sharkking Valued Member!

    Joined:
    Apr 24, 2013
    Messages:
    319
    Likes Received:
    26
    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
     
  2. Sarge

    Sarge OpenDayZ Guru! Staff Member

    Joined:
    Feb 25, 2013
    Messages:
    1,003
    Likes Received:
    206
    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
     
  3. Sharkking

    Sharkking Valued Member!

    Joined:
    Apr 24, 2013
    Messages:
    319
    Likes Received:
    26
    was just an idea ^ thanks anyways
     

Share This Page