Movecraft
Movecraft copied to clipboard
ExplodeOnSink and ExplodeOnSinkDelay Features
Is your feature request related to a problem? Please describe. When a skiff is shot down it usually flies pretty far away if it has the "KeepMovingOnSink" setting active. Another thing is that torpedoes sinking when they run out of range also sometimes aren't that nice of a sight.
Describe the solution you'd like Essentially two settings would be added:
ExplodeOnSink: (Blast Power Number Value Similar To How Collision Explosion Works)
- If set to anything higher than zero, blocks at random on the craft explode on each sinking movement with a blast strength being the power set.
- Setting it to zero disables the feature.
- This would be good for torpedoes to make them explode in the air when they reach their max range instead of sinking.
- Would not be recommended for larger crafts.
ExplodeOnSinkDelay: (Amount of Ticks Before ExplodeOnSink Begins)
- This could be nice to add some effect to sinking airskiffs so they don't fly far from the battlefield with "KeepMovingOnSink" making it so they start sinking and traveling for a bit before they explode.
- Ex: A skiff get shot down while cruising, it starts to sink while moving, travels for like 60 ticks (3 seconds), and then starts to explode mid-air which cleans up the wreck before it reaches the ground.
We do already have the following type flag:
| Key | Variable Type | Default | Description |
|---|---|---|---|
| explodeOnCrash | Float | 0.0 | If non-zero, causes an explosion when the craft collides with a solid object while sinking |
I'm not sure how high of a priority adding this feature will be.