Stage the cold launch and spool every interceptor's motor (#129)
The interceptor's launch is one sequence: the cap opens, the round is thrown out unlit and slows under linear gas drag (`cold` ticks), the motor lights where it has reached, it turns with a growing rate while thrust spools up (`boost` ticks), and full guidance starts only at `cold + boost`. A rail launch lights at once but spools over the same `boost` ticks; the electric P1-SUN has no rocket spool or plume. S-400/500 now hold the unlit ejection for 20/24 ticks (1.00/1.20 s at 20 Hz); IRIS-T/Tor keep shorter 8-tick throws. Ignition, its sound, flame and recorded MotorIgnition event all use the missile's current position. The RM48U strike follows the same 20-tick choreography, counts the throw in its flight time and starts its recorded smoke at ignition. Maximum speed, turn, accel, pk and every collision rule are unchanged. Co-Authored-By: Kimi Code <noreply@kimi.com>
This commit is contained in:
@@ -300,6 +300,8 @@ const MISSILE_SPEC_PAC3: MissileSpec = MissileSpec {
|
||||
turn: 0.3,
|
||||
boost: 8,
|
||||
cold: 0,
|
||||
eject: 0.0,
|
||||
eject_drag: 0.0,
|
||||
pk: 0.9,
|
||||
fuse: 4.0,
|
||||
life: 240,
|
||||
@@ -318,6 +320,8 @@ const MISSILE_SPEC_M57E6: MissileSpec = MissileSpec {
|
||||
turn: 0.32,
|
||||
boost: 5,
|
||||
cold: 0,
|
||||
eject: 0.0,
|
||||
eject_drag: 0.0,
|
||||
pk: 0.82,
|
||||
fuse: 3.0,
|
||||
life: 160,
|
||||
@@ -335,7 +339,9 @@ const MISSILE_SPEC_M48N6: MissileSpec = MissileSpec {
|
||||
accel: 0.5,
|
||||
turn: 0.22,
|
||||
boost: 8,
|
||||
cold: 5,
|
||||
cold: 20,
|
||||
eject: 2.4,
|
||||
eject_drag: 0.07,
|
||||
pk: 0.9,
|
||||
fuse: 5.0,
|
||||
life: 300,
|
||||
@@ -353,7 +359,9 @@ const MISSILE_SPEC_M77N6: MissileSpec = MissileSpec {
|
||||
accel: 0.6,
|
||||
turn: 0.22,
|
||||
boost: 8,
|
||||
cold: 5,
|
||||
cold: 24,
|
||||
eject: 2.6,
|
||||
eject_drag: 0.07,
|
||||
pk: 0.95,
|
||||
fuse: 6.0,
|
||||
life: 320,
|
||||
@@ -371,7 +379,9 @@ const MISSILE_SPEC_IRIST: MissileSpec = MissileSpec {
|
||||
accel: 0.5,
|
||||
turn: 0.35,
|
||||
boost: 6,
|
||||
cold: 4,
|
||||
cold: 8,
|
||||
eject: 1.8,
|
||||
eject_drag: 0.1,
|
||||
pk: 0.9,
|
||||
fuse: 4.0,
|
||||
life: 260,
|
||||
@@ -390,6 +400,8 @@ const MISSILE_SPEC_AMRAAM: MissileSpec = MissileSpec {
|
||||
turn: 0.3,
|
||||
boost: 6,
|
||||
cold: 0,
|
||||
eject: 0.0,
|
||||
eject_drag: 0.0,
|
||||
pk: 0.85,
|
||||
fuse: 4.0,
|
||||
life: 260,
|
||||
@@ -408,6 +420,8 @@ const MISSILE_SPEC_M9M317: MissileSpec = MissileSpec {
|
||||
turn: 0.25,
|
||||
boost: 8,
|
||||
cold: 0,
|
||||
eject: 0.0,
|
||||
eject_drag: 0.0,
|
||||
pk: 0.85,
|
||||
fuse: 5.0,
|
||||
life: 300,
|
||||
@@ -425,7 +439,9 @@ const MISSILE_SPEC_M9M338: MissileSpec = MissileSpec {
|
||||
accel: 0.6,
|
||||
turn: 0.4,
|
||||
boost: 4,
|
||||
cold: 4,
|
||||
cold: 8,
|
||||
eject: 1.6,
|
||||
eject_drag: 0.1,
|
||||
pk: 0.9,
|
||||
fuse: 3.0,
|
||||
life: 160,
|
||||
@@ -444,6 +460,8 @@ const MISSILE_SPEC_P1SUN: MissileSpec = MissileSpec {
|
||||
turn: 0.3,
|
||||
boost: 4,
|
||||
cold: 0,
|
||||
eject: 0.0,
|
||||
eject_drag: 0.0,
|
||||
pk: 0.8,
|
||||
fuse: 3.0,
|
||||
life: 900,
|
||||
|
||||
Reference in New Issue
Block a user