aboutsummaryrefslogtreecommitdiff
path: root/docs/appendices
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-11-25 13:03:31 +0300
committerValentin Popov <valentin@popov.link>2026-11-25 13:03:31 +0300
commit2656cca01b65745e9e6aa7b11d80414039e4cc67 (patch)
treeaca8b310eb3ecebfb9f2f9c19770a0fed838b235 /docs/appendices
parent3278b382a1580e45ba915b64ad283168ab9ea7e1 (diff)
downloadfparkan-2656cca01b65745e9e6aa7b11d80414039e4cc67.tar.xz
fparkan-2656cca01b65745e9e6aa7b11d80414039e4cc67.zip
feat(ai): select convoy targets using original class queries
Connect Handler(71) to least-defended hostile buildings of the requested class and Handler(72) to the object's prototype size class. The stock Convoy script now assigns its delayed attack instead of stopping at these queries. Keep descriptor binding, guard strength and candidate order explicit approximations with coverage counters. Execute the original ai.dll handlers and Behavior.dll class getter in native oracles, including strict radius, ties, missing objects and name classes. Add a Rust class rule test and a licensed stock-start test for the delayed attack; check owner independence separately with a debug change after the stock assertion. Validate fmt, workspace check/tests, licensed test, release simulation and the running mission with Vulkan validation. Accelerated scene time is a mechanic check, not mission-completion acceptance. Handler(30) message dispatch remains the next Convoy script stop.
Diffstat (limited to 'docs/appendices')
-rw-r--r--docs/appendices/knowledge-boundaries.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/appendices/knowledge-boundaries.md b/docs/appendices/knowledge-boundaries.md
index acb38f00..f426fc36 100644
--- a/docs/appendices/knowledge-boundaries.md
+++ b/docs/appendices/knowledge-boundaries.md
@@ -479,6 +479,10 @@ ID выпущенной машины внутренний. Подъезд, выÐ
`script_free_unit_approx` считает выбор через `Handler(13)` по клану, классу
и выбранному ID. Занятость берётся из текущих задач FParkan и производства;
переназначение с менее важных заявок в других режимах выбора открыто.
+`script_size_class_approx` считает `Handler(72)` по клану и ID. Тип дескриптора
+выводится из класса Unit DAT; источник через нативный интерфейс ещё не подключён.
+`script_class_target_approx` считает `Handler(71)` по клану, классу и цели.
+Порядок кандидатов и сила охраны используют текущий реестр FParkan.
`script_combat_strength_approx` считает запросы `Handler(38)` по паре кланов.
Оценка использует текущую прочность Control и проектные боезапасы.
Масштабирование `0x36` и остатки боеприпасов требуют сверки.