ScriptGenerator Module
Generates Spring engine startup scripts from an EngineConfig.
Functions and values
| Function or value |
Description
|
Full Usage:
generate config
Parameters:
EngineConfig
-
The engine configuration specifying map, factions, socket path, and opponent AI.
Returns: string
A complete TDF-format script string ready to be written to disk for engine launch.
|
Generates a Spring engine TDF-format startup script that configures a two-team game with the HighBar V2 AI proxy on team 0 and the specified opponent AI on team 1. The script includes mod options for faction selection, game speed, and debug commands.
|
Full Usage:
generateSpringSettings config
Parameters:
EngineConfig
-
The engine configuration.
Returns: string
A complete springsettings.cfg text body (each entry terminated by \n).
|
Generates the contents of
|
FSBarV1_Archived