CntoDev / cnto-additions

Other
0 stars 1 forks source link

add safe_ied that destroys wheels/windows #40

Closed freghar closed 2 years ago

freghar commented 2 years ago

Add a "safe IED" object that does very little actual vehicle damage (barely enough to kill/damage a soldier), but runs additional scripting to destroy the wheels of a nearest vehicle that presumably triggered the mine.

The intended use case is to reliably paralyze a player convoy (or any vehicle) without actually destroying the vehicle or injuring the crew.

There is some medium engine damage done each time a vehicle hits this IED (so a wheel change isn't a guaranteed fix), but gun/turret/body is never damaged, so the vehicle should never explode (unless we enable ACE Advanced Vehicle Damage).

The IED itself looks like an AT mine, but that's only because the AT mine model can be hidden really well on a road, so it doesn't have to be "cheaty" (invisible) for players to accidentally hit it, but still gives them a chance to spot it.

The mine does not have anything else in common with AT mines - a custom config was created that:

For the record, the mine can be disarmed using ACE interaction as usual, and even re-planted by the player, though that makes it more visible due to ACE mine positioning bugs.