Disable damage/ragdoll when hitting a horse or bike?

So since todays update, players ragdoll when their horse or bike gets hit by a car, downing them briefly and/or killing them.

Is there a way to prevent this from happening?

I dont understand

nivex

I dont understand

What part? :D

See https://rust.facepunch.com/news/primitive#Ragdolls

 

This is a new feature since this wipe - and some people on my PvE server are now actively 'hunting' horse/bike riders with cars.

Will see if I can trace the damage type if I find the time

I'm not aware of these ragdolls :p
I haven't had time to look

Merged post

did Facepunch fix this? I am not being thrown from my horse when struck by a vehicle

Merged post

I am thrown from the bike, but took no damage

Merged post

looks like you could get killed by the server if struck and thrown off at an area with no dismount point. the server would use Suicide as the damage type which makes it tricky to prevent. Ill see what I can do but let me know what you find out

Merged post

Added Prevent ragdolling when struck by another vehicle (true) for bikes and horses

Save as TruePVE.cs
https://pastebin.com/shZvWQya

oxide users must have publicizer enabled (it is enabled by default) for this to work with horses. it will work for bikes regardless.