Fix raid gameplay, finite ammunition and truck routing
Check launch terrain, reserve ballistic targets for marked objectives, tune in-game reach and fallback fire, and support bounded terrain work on supply routes. Co-Authored-By: Codex <noreply@openai.com>
This commit is contained in:
@@ -8,7 +8,7 @@ const NAMED_TUBE_PIVOT: DVec3 = DVec3::new(0.0, -0.5, 1.5);
|
||||
const UNIT_SPEC_PATRIOT: SamSpec = SamSpec {
|
||||
name: "Patriot",
|
||||
key: "patriot",
|
||||
missile: Some(MissileLoad { kind: MissileKind::Pac3, magazine: 4, min: 10.0, max: 450.0, interval: 16 }),
|
||||
missile: Some(MissileLoad { kind: MissileKind::Pac3, magazine: 4, min: 10.0, max: 950.0, interval: 16 }),
|
||||
gun: None,
|
||||
reload: 220,
|
||||
scale: 1.3,
|
||||
@@ -26,7 +26,7 @@ const UNIT_SPEC_PATRIOT: SamSpec = SamSpec {
|
||||
mount: (0.69, 1.2),
|
||||
pivot: DVec3::new(0.0, -0.5, 1.375),
|
||||
muzzle: Muzzle::Patriot,
|
||||
sensor: 585.0,
|
||||
sensor: 1350.0,
|
||||
mast: 5.0,
|
||||
};
|
||||
|
||||
@@ -34,7 +34,7 @@ const UNIT_SPEC_GEPARD: SamSpec = SamSpec {
|
||||
name: "Гепард",
|
||||
key: "gepard",
|
||||
missile: None,
|
||||
gun: Some(GunSpec { range: 135.0, track: 195.0, p: 0.3, bursts: 160, shell: 10.0, slew: (0.22, 0.16) }),
|
||||
gun: Some(GunSpec { range: 180.0, track: 260.0, p: 0.3, bursts: 160, shell: 10.0, slew: (0.22, 0.16) }),
|
||||
reload: 160,
|
||||
scale: 1.25,
|
||||
rest_pitch: 0.0,
|
||||
@@ -51,15 +51,15 @@ const UNIT_SPEC_GEPARD: SamSpec = SamSpec {
|
||||
mount: (1.55, 0.25),
|
||||
pivot: DVec3::ZERO,
|
||||
muzzle: Muzzle::None,
|
||||
sensor: 255.0,
|
||||
sensor: 335.0,
|
||||
mast: 3.0,
|
||||
};
|
||||
|
||||
const UNIT_SPEC_PANTSIR: SamSpec = SamSpec {
|
||||
name: "Панцирь-С1",
|
||||
key: "pantsir",
|
||||
missile: Some(MissileLoad { kind: MissileKind::M57e6, magazine: 12, min: 25.0, max: 225.0, interval: 14 }),
|
||||
gun: Some(GunSpec { range: 90.0, track: 135.0, p: 0.25, bursts: 140, shell: 9.0, slew: (0.25, 0.18) }),
|
||||
missile: Some(MissileLoad { kind: MissileKind::M57e6, magazine: 12, min: 25.0, max: 330.0, interval: 14 }),
|
||||
gun: Some(GunSpec { range: 125.0, track: 185.0, p: 0.25, bursts: 140, shell: 9.0, slew: (0.25, 0.18) }),
|
||||
reload: 280,
|
||||
scale: 1.3,
|
||||
rest_pitch: 0.0,
|
||||
@@ -76,14 +76,14 @@ const UNIT_SPEC_PANTSIR: SamSpec = SamSpec {
|
||||
mount: (1.35, 0.69),
|
||||
pivot: DVec3::ZERO,
|
||||
muzzle: Muzzle::Pantsir,
|
||||
sensor: 292.0,
|
||||
sensor: 450.0,
|
||||
mast: 4.0,
|
||||
};
|
||||
|
||||
const UNIT_SPEC_S400: SamSpec = SamSpec {
|
||||
name: "С-400",
|
||||
key: "s400",
|
||||
missile: Some(MissileLoad { kind: MissileKind::M48n6, magazine: 4, min: 30.0, max: 720.0, interval: 20 }),
|
||||
missile: Some(MissileLoad { kind: MissileKind::M48n6, magazine: 4, min: 30.0, max: 1300.0, interval: 20 }),
|
||||
gun: None,
|
||||
reload: 420,
|
||||
scale: 1.5,
|
||||
@@ -101,14 +101,14 @@ const UNIT_SPEC_S400: SamSpec = SamSpec {
|
||||
mount: (0.7, 1.45),
|
||||
pivot: NAMED_TUBE_PIVOT,
|
||||
muzzle: Muzzle::Grid(2, 2, 7.0),
|
||||
sensor: 936.0,
|
||||
sensor: 1750.0,
|
||||
mast: 5.0,
|
||||
};
|
||||
|
||||
const UNIT_SPEC_S500: SamSpec = SamSpec {
|
||||
name: "С-500",
|
||||
key: "s500",
|
||||
missile: Some(MissileLoad { kind: MissileKind::M77n6, magazine: 2, min: 40.0, max: 1050.0, interval: 20 }),
|
||||
missile: Some(MissileLoad { kind: MissileKind::M77n6, magazine: 2, min: 40.0, max: 1850.0, interval: 20 }),
|
||||
gun: None,
|
||||
reload: 520,
|
||||
scale: 1.6,
|
||||
@@ -126,7 +126,7 @@ const UNIT_SPEC_S500: SamSpec = SamSpec {
|
||||
mount: (0.7, 1.45),
|
||||
pivot: NAMED_TUBE_PIVOT,
|
||||
muzzle: Muzzle::Grid(2, 1, 9.5),
|
||||
sensor: 1365.0,
|
||||
sensor: 2450.0,
|
||||
mast: 5.0,
|
||||
};
|
||||
|
||||
@@ -208,7 +208,7 @@ const UNIT_SPEC_BUK: SamSpec = SamSpec {
|
||||
const UNIT_SPEC_TOR: SamSpec = SamSpec {
|
||||
name: "Тор-М2",
|
||||
key: "tor",
|
||||
missile: Some(MissileLoad { kind: MissileKind::M9m338, magazine: 8, min: 8.0, max: 240.0, interval: 8 }),
|
||||
missile: Some(MissileLoad { kind: MissileKind::M9m338, magazine: 8, min: 8.0, max: 350.0, interval: 8 }),
|
||||
gun: None,
|
||||
reload: 300,
|
||||
scale: 1.3,
|
||||
@@ -226,7 +226,7 @@ const UNIT_SPEC_TOR: SamSpec = SamSpec {
|
||||
mount: (1.5, 0.0),
|
||||
pivot: DVec3::ZERO,
|
||||
muzzle: Muzzle::Cells,
|
||||
sensor: 315.0,
|
||||
sensor: 475.0,
|
||||
mast: 3.5,
|
||||
};
|
||||
|
||||
@@ -276,7 +276,7 @@ const UNIT_SPEC_RADAR: SamSpec = SamSpec {
|
||||
mount: (0.0, 0.0),
|
||||
pivot: DVec3::ZERO,
|
||||
muzzle: Muzzle::None,
|
||||
sensor: 2550.0,
|
||||
sensor: 3800.0,
|
||||
mast: 16.0,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user