Files
DarkflameServer/dGame/dComponents
Aaron Kimbrell 6e02fafbc6 feat(scripts): custom server script always wins over the row's
As the client picks its script component's script: a non-empty
custom_script_server in the level config always replaces the
ScriptComponent row's script_name, not only a missing one or
scripts\empty.lua. An empty or missing custom script keeps the row's.

An object whose custom script has no C++ port now runs no script even
when its row script was ported; that is logged once per LOT at debug
level ("custom server script ... (not ported) replaces its row script").
No level object or spawner in the shipped zones has both a row script
and a different custom server script, so nothing there changes.

CppScripts::IsPorted: a name in the loader map or the excluded list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 18:49:46 -06:00
..