Cars take no damageSolved

Hi everyone!
I'm using this plugin since yesterday and so far everything works just as I want it to - except one thing: cars take no damage. Or better: Not from all sources.

Players can damage cars, which is a good thing since you need to reduce their health in case you lose your keys. But they are impervious to damage from the environment. You can crash your car in trees, fall from hights and drive straight into walls - they do not lose even one HP.

I find that quiet unrealistic and makes driving cars too easy - easier than it already is. So I want to change that. I included the rule "anything can hurt cars" into my config, expecting that to be it - but apparently not. And as far as I'm concern there are no other rules that could negate that.

So what am I missing here?

there is a rule that says `nothing can hurt cars` so contradicting it with another rule won't work

default config should block it by default so just change nothing to anything. i believe there are a couple missing prefabs in the cars entity group due to new additions but i don't recall which. just use /tpve_prod on them and make sure it's in the entity group list already

nivex

there is a rule that says `nothing can hurt cars` so contradicting it with another rule won't work

Well, that's what I ment. I guess I said it wrong - I didn't add the rule, I changed the existing one from "nothing" to "anything".

And how exactly do I use the /tpve_prod command? I'm looking at cars, type that in but I always get "type=ModularCar" - no matter on what part or module I look. And ModularCar already is inside the cars group of my config. So how do I get the type of all the specific modules - if that is what I need.

 

alright, i've looked into it more for you

"cars cannot hurt anything",

this is blocking it. because collision damage means the car hurts itself.

so you would do this:

change nothing can hurt cars to anything can hurt cars
and add the rule cars can hurt cars to create an exception for the blocked rule

as for the /tpve_prod command try using it in different angles. though you won't need it with the above steps. i have confirmed this allows the car to damage itself on collision

Alright, now it works!
Thank you!

Locked automatically