SpaxscE / lvs_base

WIP full rework of LFS' framework to be more universal for later projects allowing for more unique vehicle types and hopefully more reliable handling even on low tickrate environments
28 stars 16 forks source link

Adding a check on the need for damage to the vehicle #45

Closed ivankostom closed 10 months ago

ivankostom commented 10 months ago

I think it's cool to be able to manipulate whether a certain vehicle should take damage from regular shots or only from RPG shots.

At a minimum, with this hook it will be possible to remove damage to spaceships from ordinary bullets.

Please forgive me if I haven't noticed the presence of this hook yet.

SpaxscE commented 10 months ago

damage is passed through https://wiki.facepunch.com/gmod/GM:EntityTakeDamage before it is received by LVS, iirc

ivankostom commented 10 months ago

Thanks, everything works fine without this hook.