Prevent players being able to damage horses?Solved
So I added an entity group for the rideable horses
    {
      "name": "horse",
      "members": "testridablehorse.prefab, testridablehorse",
      "exclusions": ""
    },​

Because they're basically unkillable pony tanks without being in the config.

I used the Rules

        "npcs can hurt horse",
        "players cannot hurt horse",

Which seemed to do the job just fine.
But then I decided to add the flags
CupboardOwnership, AuthorizedDamage
And now they are killable by players.
I'm not sure what I did wrong here.

While posting to this forum seems to be a general gamble as to if you'll ever get a response from anyone. I'm desperate here.

Never managed to fix this issue. But that doesn't matter at this point.

But now horses are killable again.  I'm losing my fucking mind.

sorry for the late response. generally if an entity group doesn't work then it is missing an entity. try adding BaseRidableAnimal

This is the current group

    {
      "name": "horse",
      "members": "testridablehorse, testridablehorse.prefab, RidableHorse, BaseRidableAnimal",
      "exclusions": ""
    },
And this is what I've had for the default rules
"cars cannot hurt horse",
"fire cannot hurt horse",
"players cannot hurt horse",
 
I'm sure I'm missing something. But nothing I've tried has worked.
 
BaseRidableAnimal is redundant as RidableHorse inherits it

testridablehorse.prefab is also redundant with testridablehorse

are you using the newest version?

are these horses randomly spawned in the world, or purchased through a plugin?

So turns out it was the plugin I was using to spawn test horses. Never thought to try any other way of getting a horse.

It's a personal. So it's nothing on umod that's conflicting. If that's the right word.

Anything from the stables or spawned in through PortableVehicles is perfectly fine.

ok cool
Locked automatically