Files
airdef/catalog/content.json
T
chexit 02f99c31f6
build / mod (push) Successful in 30m51s
Fire P1-SUN on network fire plots, make S-400/S-500 launchers only, give radars own models
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>
2026-12-05 23:38:14 +03:00

136 lines
3.0 KiB
JSON

{
"variants": [
{
"id": "radar_search",
"kind": "Radar",
"mode": "integrated",
"role": "search",
"label": "РЛС обзора",
"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",
"kind": "Radar",
"mode": "integrated",
"role": "engagement",
"label": "РЛС сопровождения",
"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",
"kind": "Radar",
"mode": "integrated",
"role": "height",
"label": "Мачтовая РЛС",
"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": [
{
"id": "designator",
"title": "Целеуказатель",
"color": [
220,
50,
50
]
},
{
"id": "deploy_radar_search",
"title": "Развернуть РЛС обзора",
"color": [
108,
110,
80
]
},
{
"id": "deploy_radar_track",
"title": "Развернуть РЛС сопровождения",
"color": [
108,
110,
80
]
},
{
"id": "deploy_radar_height",
"title": "Развернуть мачтовую РЛС",
"color": [
108,
110,
80
]
},
{
"id": "mover",
"title": "Пульт перемещения",
"color": [
60,
140,
220
]
},
{
"id": "flare_gun",
"title": "Осветительная ракета",
"color": [
255,
240,
180
]
},
{
"id": "remover",
"title": "Свернуть ПВО",
"color": [
200,
200,
200
]
}
]
}