Modding Help Changing Mob Spawn Behavior

Discussion in 'Starbound Modding' started by LazerRay, Dec 16, 2016.

  1. LazerRay

    LazerRay Cosmic Narwhal

    I'm wondering what file or files should be changed to adjust the default spawn behavior of mobs, I'm mainly interested in changing if a mob spawns as passive or aggressive.

    Hopefully I don't need to patch or replace too many files, the fewer the better for high compatibility and low maintenance as Starbound updates.
     
  2. Tremerion

    Tremerion Existential Complex

    I already acomplished it in my Animal Guards mod.
    You need to edit .monstertype file or your monster.
    For making it friendly to you and all friendly npc you need to add or change this line to look like this:
    in sequence:
    "baseParameters" : {
    "damageTeamType" : "friendly",
    }
    that's all :)
     

Share This Page