Samsite can hurt minicopterSolved

In the latest version

"samsite cannot hurt minicopter",

I write this in the configuration

you don't use rules for that. use one of the flags, StaticSamSitesIgnorePlayers or PlayerSamSitesIgnorePlayers

prevent the targeting and the damage instead of just the damage. that's because there's no reason for them to target if they're not allowed to damage 

nivex

you don't use rules for that. use one of the flags, StaticSamSitesIgnorePlayers or PlayerSamSitesIgnorePlayers

prevent the targeting and the damage instead of just the damage. that's because there's no reason for them to target if they're not allowed to damage 

  "RuleSets": [
    {
      "name": "default",
      "enabled": true,
      "defaultAllowDamage": false,
      "flags": "HumanNPCDamage, LockedBoxesImmortal, TurretsIgnoreScientist, LockedDoorsImmortal, StaticSamSitesIgnorePlayers, TurretsIgnorePlayers",
      "rules": [
        "anything can hurt dispensers",
        "anything can hurt players",
        "players cannot hurt players",
        "mlrs cannot hurt players",
        "traps cannot hurt players",
        "samsite cannot hurt minicopter",
        "samsite cannot hurt players",
        "players can hurt barricades",
        "barricades cannot hurt players",
        "highwalls cannot hurt players",
        "anything can hurt npcs",
        "fire cannot hurt players",
        "players cannot hurt traps",
        "anything can hurt resources"
      ]
    }
  ],

I have a flag

wheres the rest of the config?

and that's for static samsites only. it's not going to block player samsites unless you use that flag

nivex

wheres the rest of the config?

and that's for static samsites only. it's not going to block player samsites unless you use that flag

{
  "Config Version": "2.0.8",
  "Default RuleSet": "default",
  "Configuration Options": {
    "handleDamage": true,
    "useZones": false,
    "Trace To Player Console": false,
    "Trace To Server Console": false,
    "Maximum Distance From Player To Trace": 0.0,
    "Prevent Water From Extinguishing BaseOven": false,
    "Prevent Players From Being Marked Hostile": false
  },
  "Mappings": {
    "default": "default",
    "32300594": "exclude"
  },
  "Schedule": {
    "enabled": false,
    "useRealtime": false,
    "broadcast": false,
    "entries": []
  },
  "RuleSets": [
    {
      "name": "default",
      "enabled": true,
      "defaultAllowDamage": false,
      "flags": "HumanNPCDamage, LockedBoxesImmortal, TurretsIgnoreScientist, LockedDoorsImmortal, StaticTurretsIgnorePlayers, TurretsIgnorePlayers",
      "rules": [
        "anything can hurt dispensers",
        "anything can hurt players",
        "players cannot hurt players",
        "mlrs cannot hurt players",
        "traps cannot hurt players",
        "samsite cannot hurt minicopter",
        "samsite cannot hurt players",
        "players can hurt barricades",
        "barricades cannot hurt players",
        "highwalls cannot hurt players",
        "anything can hurt npcs",
        "fire cannot hurt players",
        "players cannot hurt traps",
        "anything can hurt resources"
      ]
    }
  ],
  "Entity Groups": [
    {
      "name": "dispensers",
      "members": "BaseCorpse, HelicopterDebris",
      "exclusions": ""
    },
    {
      "name": "players",
      "members": "BasePlayer",
      "exclusions": ""
    },
    {
      "name": "traps",
      "members": "AutoTurret, BearTrap, FlameTurret, Landmine, GunTrap, ReactiveTarget, spikes.floor",
      "exclusions": ""
    },
    {
      "name": "barricades",
      "members": "Barricade",
      "exclusions": ""
    },
    {
      "name": "highwalls",
      "members": "wall.external.high.stone, wall.external.high.wood, gates.external.high.wood, gates.external.high.wood",
      "exclusions": ""
    },
    {
      "name": "npcs",
      "members": "NPCPlayerApex, BradleyAPC",
      "exclusions": ""
    },
    {
      "name": "fire",
      "members": "FireBall",
      "exclusions": ""
    },
    {
      "name": "minicopter",
      "members": "minicopter, minicopter.entity, scraptransporthelicopter, ch47.entity",
      "exclusions": ""
    },
    {
      "name": "samsite",
      "members": "sam_static, sam_site_turret_deployed",
      "exclusions": ""
    },
    {
      "name": "mlrs",
      "members": "rocket_mlrs, MLRSRocket",
      "exclusions": ""
    },
    {
      "name": "resources",
      "members": "ResourceEntity, TreeEntity, OreResourceEntity, LootContainer",
      "exclusions": ""
    }
  ],
  "Allow Killing Sleepers": false,
  "Allow Killing Sleepers (Ally Only)": false,
  "Ignore Firework Damage": true
}

I want to disable the player's air defense and enable the static air defense on the map

add PlayerSamSitesIgnorePlayers flag

nivex

add PlayerSamSitesIgnorePlayers flag


Thank you very much!You are a very good developer

no problem

Locked automatically