Question about editing aggressive npcs

Discussion in 'Scenarios' started by lucyrocketdog, Aug 24, 2018.

  1. lucyrocketdog

    lucyrocketdog Ensign

    Joined:
    Jul 4, 2018
    Messages:
    12
    Likes Received:
    23
    I've never made a scenario before but I want to try to make a "peaceful" scenario. A lot of people want to chill out and sight-see without the adrenaline rush of combat, and so I am trying to edit the NPC behavior. In the config file I see the following entry

    Item Id: 2555, Name: MeleeMegalonopsGrey, Ref: MeleeTemplate
    {
    ROF: 2, type: float
    Range: 6.5
    Damage: 100


    So I have some questions,
    1. What is ROF: 2 ?
    2. What is type: float ?
    3. What is range: 6.5 ?

    Damage I think I understand.

    I am thinking I could at least make the Damage: 0 so the animals can't hurt, but they'll still attack.
    Is the file Ref: MeleeTemplate available to edit?

    Thanks for any help, I've been searching but can't find the answers.
     
    #1
  2. Sparrowhawk65

    Sparrowhawk65 Captain

    Joined:
    Jan 6, 2017
    Messages:
    65
    Likes Received:
    160
    rof is rate of fire. Float possibly means floating point. Range usually means distance the object can affect... so a drill with a range of 2 means 2 metres.

    Why not switch out all predators with prey animals? Then there are no aggressive behaviours.
     
    #2
  3. lucyrocketdog

    lucyrocketdog Ensign

    Joined:
    Jul 4, 2018
    Messages:
    12
    Likes Received:
    23
    sparrowhawk65 thanks for the info. I didn't want to remove animals, I just want them to behave differently. I am thinking it might be easier to make the player invisible to the aggressive animals rather than editing the animals' behavior. I know I picked a tough project for a first scenario, but I'm really motivated to figure it out. I want something a bit different than the peaceful scenario Piddlefoot created a while ago.

    In the config file I see # Normal AI ( associated with Megalonopses, oviraptor, raptor, raptor night, and all of the Golems) and also # Behavioral AI (associated with triceratops, pangolins, alienbug03, Telluropods). I tried swapping them around to see what happened, and I think I affected the behavior of some animals but I need to tinker more.
     
    #3
  4. Sparrowhawk65

    Sparrowhawk65 Captain

    Joined:
    Jan 6, 2017
    Messages:
    65
    Likes Received:
    160
    There are a couple of entries with...

    IsEnemy: true

    Maybe if you added " IsEnemy: false" to some of the common predators and see what happens. Start with...

    { Entity Name: PredatorBAITemplate
    IsEnemy: true
    }

    to

    { Entity Name: PredatorBAITemplate
    IsEnemy: false
    }

    and maybe add to the spiders entry just below. Good luck. :)
     
    #4

Share This Page