Traps continue to make damageSolved
same to sam turret this config:
"Schedule": {
  "enabled": false,
  "useRealtime": false,
  "broadcast": false,
  "entries": []
}, "RuleSets": [{
  "name": "default",
  "enabled": true,
  "defaultAllowDamage": false,
  "flags": "HumanNPCDamage, LockedBoxesImmortal, LockedDoorsImmortal",
  "rules": ["anything can hurt dispensers", "anything can hurt players", "players cannot hurt players", "anything can hurt traps", "traps can hurt players", "players can hurt barricades", "barricades can hurt players", "highwalls cannot hurt players", "anything can hurt heli", "anything can hurt npcs", "fire cannot hurt players", "anything can hurt resources", "samstatic can hurt airtransports", "murderers cannot hurt scientists", "scientists cannot hurt murderers", "murderers cannot hurt animals", "scientists cannot hurt npcs", "npcs can hurt buildings", "scientists can hurt buildings", "murderers can hurt buildings", "samplayers cannot hurt players", ]
}], "Allow Killing Sleepers": false, "Entity Groups": [{
  "name": "airtransports",
  "members": "minicopter, minicopter.entity, scraptransporthelicopter, hotairbaloon",
  "exclusions": ""
}, {
  "name": "samstatic",
  "members": "sam_static",
  "exclusions": ""
}, {
  "name": "animals",
  "members": "bear, boar, chicken, horse, stag, wolf",
  "exclusions": ""
}, {
  "name": "scientists",
  "members": "NPCScientist, Scientist, scientist_junkpile, scientist_gunner, scientistpeacekeeper, NPCscientist_junkpile, NPCscientist_gunner, NPCscientistpeacekeeper, NPCPlayerApex",
  "exclusions": ""
}, {
  "name": "murderers",
  "members": "murderer, NPCMurderer, NPCPlayerApex, scarecrow",
  "exclusions": ""
}, {
  "name": "dispensers",
  "members": "BaseCorpse, HelicopterDebris",
  "exclusions": ""
}, {
  "name": "players",
  "members": "BasePlayer",
  "exclusions": ""
}, {
  "name": "traps",
  "members": "AutoTurret, FlameTurret, GunTrap",
  "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": "heli",
  "members": "BaseHelicopter",
  "exclusions": ""
}, {
  "name": "npcs",
  "members": "NPCPlayerApex, BradleyAPC",
  "exclusions": ""
}, {
  "name": "fire",
  "members": "FireBall",
  "exclusions": ""
}, {
  "name": "resources",
  "members": "ResourceEntity, TreeEntity, OreResourceEntity",
  "exclusions": ""
}, {
  "name": "buildings",
  "members": "BuildingBlock, wall, wall.frame, wall.half, wall.low, wall.doorway, wall.frame.shopfront, wall.frame.shopfront.metal, wall.window, foundation, foundation, foundation.steps, foundation.triangle, floor.frame, floor.grill, floor, floor.triangle, wall.frame.garagedoor, wall.frame.fence, wall.frame.cell, wall.window.bars, shutter.metal.embrasure",
  "exclusions": ""
}, {
  "name": "samplayers",
  "members": "sam_site_turret_deployed",
  "exclusions": ""
}]
}​
Traps are dealing damage because your rule allows it: traps can hurt players. It should be traps cannot hurt players

as for samsites, you are missing an entity. delete what you have and use this:

    {
      "name": "samsites",
      "members": "sam_static, samsite_static",
      "exclusions": "sam_site_turret_deployed"
    },​

samsites cannot hurt players

player samsites will not hurt players, but static samsites such as launch site will

you also need to use the SamSitesIgnorePlayers flag I think
sorry you're right I send you the worst config file, I put traps cannot hurt players but still the same issue.

Merged post

for the samsite I'll go to check
The rule is never evaluated for AutoTurrets because of the way the NoTurretDamagePlayer flag was written. If the flag is not used then it will allow the damage without evaluating. This is an oversight of the developer that added it. This is fixed in 1.2.1
ok for samsite it's ok, traps still damage
I stand corrected, NoTurretDamagePlayer cannot be fixed without overcomplicating the code to use a different evaluation for turrets. The flag already exists, and it accomplishes the end goal

If you don't want turrets to hurt players then use the NoTurretDamagePlayer flag. Don't put it in the ruleset because it'll never be evaluated

I'll check out GunTrap now...

Merged post

I can verify that GunTrap does not deal damage when using your traps cannot hurt players rule

Merged post

I can also verify that FlameThrowers do not deal damage when using your traps cannot hurt players rule

So I don't know what trap you are taking damage from.
guntrap are not a real problem, real problems are spikes, landmine, bear traps etc. about NoTurretDamagePlayer it's ok I got it, but same as guntrap are not real problem
{
  "name": "traps",
  "members": "BearTrap, FlameTurret, Landmine, GunTrap, ReactiveTarget, spikes.floor",
  "exclusions": ""
},

here is a better entity group for traps, with AutoTurret removed as it is not evaluated and requires the NoTurretDamagePlayer flag to prevent damage from turrets

Merged post

You should view the pinned thread. It has a lot of good information for setting up the TruePVE config. I got this entity group from there. I will be modifying config defaults to be more user-friendly soon

Merged post

https://umod.org/community/true-pve/24865-perfect-truepve-settings-with-option-for-purge
Locked automatically