Are Flags applied inside zones?Solved

I'm having some trouble configuring an area where players can raid our fortress building. I've got all of the damage working the way that I want except SelfDamage. It seems as if the flag is ignored if you are inside a mapped zone and the ruleset takes priority?

See links below to pastebin config file and rule trace.

https://pastebin.com/AVi2uMGN - Config File

https://pastebin.com/1EBZnTQN TPVE Trace

heya

your rulesets are very bloated. if defaultAllowDamage is true, like it is with FFA, then you do not create rules that allow damage since it is allowed by default. the only time you create rules that allow damage is when another rule is contradictory

for example:
anything can hurt players - allows literally anything to hurt players
players cannot hurt players - contradicts the above rule and overrides it

"cars cannot hurt anything",
"cars cannot hurt players",

you don't need both of these rules. anything includes players. so you can remove the second rule

"Players can hurt barricades",

this should be in lowercase

animals entity group should be removed since it is not used

fireworks entity group should use type names instead of prefab names to improve performance

many issues with the config that need resolved. mainly the redundancies

it does seem that the flag is ignored though. it is using the correct FFA ruleset which has SelfDamage so that is very odd. it'd make sense if it was using the wrong ruleset

either way, your rules need to be fixed so do that and then try it again and post me the new config file and the trace, and we'll go from there

Thanks, will do. Most rules were defined while I had the default damage set to false, when I thought how much stuff I would have to define to take damage I switched to defualt damage true but didn't change the rules.

I'll whizz through them now.

Merged post

I'm not sure what worked, but slimming the rules right down has sorted it. I know get what you would expect from the trace.

Thanks Nivex

======================
== STARTING TRACE ==
== 14:21:45.94450 ==
======================
From: BasePlayer, player
To: BasePlayer, player
Checking exclusions between [998, Fortress_FFA] and [998, Fortress_FFA]
Shared locations: 998
No shared locations, or no matching exclusion mapping - no exclusions
No exclusion found - looking up RuleSet...
Beginning RuleSet lookup for [998, Fortress_FFA] and [998, Fortress_FFA]
Shared locations: 998
Found 1 location names, with 1 mapped RuleSets
Found RuleSet: Fortress_FFA
Using RuleSet "Fortress_FFA"
SelfDamage flag; player inflicted damage to self; allow and return

Locked automatically