missile flight‐logic - BuiltBrokenModding/ICBM-Classic GitHub Wiki
Flight Logic
Flight logic system can be thought of as scripts doing dedicated actions. Allowing the missile to be programmatically setup for different flight missions. Without the need to manually define each check or action per flight type.
Logic Name |
ID |
Version |
Usage |
Dead |
4.2.0 |
icbmclassic:dead |
No movement, just let gravity take over |
Direct |
4.2.0 |
icbmclassic:direct |
Simple forward movement until fuel has run out |
Engine Warmup |
5.4.0 |
icbmclassic:engine.warmup |
Timer with animation to simulate engine starting |
Follow Target |
4.2.0 |
icbmclassic:direct.follow |
Moves towards the target in direct path with no prediction |
Arc |
5.4.0 |
icbmclassic:path.arc |
Ballistic Flight logic |
Move Facing |
5.4.0 |
|
Fixed distance movement on an axis, allows relative and exact distance checks |
Move for ticks |
5.4.0 |
|
Fixed time movement on an axis |
History
Date |
Version |
Notes |
|
Before 4.2.0 |
flight logic was hardcode as an enum. Featuring ballistic, cruise, dummy, and rpg. |
|
Before 4.2.0 |
flight logic abstraction was introduced to promote reusability and customization |
5/15/2023 |
5.4.0 |
Ballistic flight logic was broken out to Engine Warmup, Move Facing, and Arc logic |