Fire P1-SUN on network fire plots, make S-400/S-500 launchers only, give radars own models
build / mod (push) Successful in 30m51s

Gameplay fixes and art from the owner's balance review of 2026-12-05.

- The P1-SUN never launched (0 launches in 12 seeds of a 196-target raid): it
  has no radar of its own and only a separate launcher could fire on another
  station's plot. A unit without its own radar now fires like one
  (`why::on_network`), on the fresh own fire plot of an engagement or
  multifunction radar within link reach. Seven P1-SUN then launch 26-42 and
  kill 13-24 per raid; the leak count does not change.
- The С-400 and С-500 exist only as separate launchers (`mode: "launcher"` in
  the catalog). The `s400_launcher`/`s500_launcher` variants and their remotes
  are gone: `deploy s400`/`s500` and their remotes place a launcher. A system
  saved with its own radar loads as a launcher; `battery <n> integrated` is
  refused for these kinds.
- Every radar role has its own model: a wide curved array (search), a
  parabolic dish (engagement), a small head on mast sections (height); the
  multifunction radar keeps its panel, the optical post gets its own post and
  a turning head with a lens. A variant may carry its own `parts` in
  `catalog/content.json`; `Sam::parts()` resolves them.
- The enemy remembers the sides each approach raided from: a raid ordered the
  same way and within 200 blocks of the same distance comes from the same
  sides, so its sites stand where the last ones did. A launch area the radars
  fixed is remembered (up to 32): a site placed there again is known before
  its first launch and can be struck at once. Neither is saved yet.
- `sim/balance.rs` flies several raids over one cluster with stocked depots
  (`supply_raids`). With the 16-block depot reach, depots 30 blocks from the
  batteries leave 10 / 36 / 80 leaks over three raids against 6 / 10 / 17 for
  depots within reach; the reach itself is unchanged by decision of the owner.

The saturation checkpoint is re-recorded (123 kills / 323 launches instead of
129 / 344): that loadout has no fire radar, so its С-400/С-500 fire less as
launchers.

Verified: airdef-core release 363 passed and 8 scenarios; airdef-mod 135 passed,
1 boundary, 2 saturation, 5 scenarios; gen_catalog/gen_models/gen_sounds --check;
test_gen_assets, test_model_bounds, test_web_panel; git diff --check. Not run:
the actual WASM contract, the models in game, CI.
Co-Authored-By: ZCode <zcode@localhost>
This commit is contained in:
2026-12-05 23:38:14 +03:00
parent 817b5b7e9f
commit 02f99c31f6
98 changed files with 4124 additions and 261 deletions
+45 -37
View File
@@ -1,28 +1,26 @@
{
"variants": [
{
"id": "s400_launcher",
"kind": "S400",
"mode": "launcher",
"role": "multi",
"label": "С-400 — отдельная пусковая",
"description": "Пусковая С-400 без своей РЛС: работает по данным сети."
},
{
"id": "s500_launcher",
"kind": "S500",
"mode": "launcher",
"role": "multi",
"label": "С-500 — отдельная пусковая",
"description": "Пусковая С-500 без своей РЛС: работает по данным сети."
},
{
"id": "radar_search",
"kind": "Radar",
"mode": "integrated",
"role": "search",
"label": "РЛС обзора",
"description": "Дальний обзор: редкие грубые отметки и область поиска; права на пуск не даёт."
"description": "Дальний обзор: редкие грубые отметки и область поиска; права на пуск не даёт.",
"parts": {
"body": "airdef:radar_trailer",
"launcher": null,
"pack": null,
"dish": null,
"fixed": [],
"spinner": [
"airdef:radar_search_array",
0.75,
0.0,
1.2,
-0.1
]
}
},
{
"id": "radar_track",
@@ -30,7 +28,21 @@
"mode": "integrated",
"role": "engagement",
"label": "РЛС сопровождения",
"description": "Сопровождение: локальный поиск, два канала точных треков; собственное измерение даёт право на пуск."
"description": "Сопровождение: локальный поиск, два канала точных треков; собственное измерение даёт право на пуск.",
"parts": {
"body": "airdef:radar_trailer",
"launcher": null,
"pack": null,
"dish": null,
"fixed": [],
"spinner": [
"airdef:radar_dish",
0.75,
0.0,
1.25,
-0.3
]
}
},
{
"id": "radar_height",
@@ -38,7 +50,21 @@
"mode": "integrated",
"role": "height",
"label": "Мачтовая РЛС",
"description": "Мачтовая: поднятая антенна уточняет низкие контакты над рельефом; права на пуск не даёт."
"description": "Мачтовая: поднятая антенна уточняет низкие контакты над рельефом; права на пуск не даёт.",
"parts": {
"body": "airdef:radar_trailer",
"launcher": null,
"pack": null,
"dish": null,
"fixed": [],
"spinner": [
"airdef:radar_height_head",
0.7,
0.0,
1.0,
0.0
]
}
}
],
"items": [
@@ -51,24 +77,6 @@
50
]
},
{
"id": "deploy_s400_launcher",
"title": "Развернуть С-400 (пусковая)",
"color": [
60,
80,
50
]
},
{
"id": "deploy_s500_launcher",
"title": "Развернуть С-500 (пусковая)",
"color": [
108,
110,
80
]
},
{
"id": "deploy_radar_search",
"title": "Развернуть РЛС обзора",