Capture current mission, AI, map and administration development

Include the current addon, terrain integrations, tools, regression tests and recorded development evidence.
This commit is contained in:
2026-10-13 22:52:53 +02:00
parent a951a96edc
commit 6a667d8deb
8104 changed files with 2124945 additions and 2061 deletions
@@ -0,0 +1,18 @@
[WorkbenchPluginAttribute(name: "Build atlas model", wbModules: {"WorldEditor"})]
class ERR_BuildAtlasModel : WorldEditorPlugin
{
override void Run() { Build(); }
override void RunCommandline() { Build(); }
protected void Build()
{
ResourceManager resources = Workbench.GetModule(ResourceManager);
resources.RebuildResourceFiles({"Assets/Items/ERR_Atlas/ERR_Atlas.fbx", "Assets/Items/ERR_Atlas/ERR_AtlasLeaf.fbx"}, "PC");
Print("ERR ATLAS MODEL BUILD COMPLETE");
string probe;
if (System.GetCLIParam("errHeldMapProbe", probe) && probe == "1")
{
WorldEditor editor = Workbench.GetModule(WorldEditor);
editor.SwitchToGameMode(false, true);
}
}
}
@@ -46,6 +46,11 @@ class ERR_ValidateWorldPlugin : WorldEditorPlugin
}
PrintFormat("ERR SITE CANDIDATE: position=%1 elevationRange=%2", bestPosition, bestSlope);
string play;
if (System.GetCLIParam("errPlay", play) && play == "1") editor.SwitchToGameMode();
if (System.GetCLIParam("errPlay", play) && play == "1")
{
string heldMap;
bool fullPaper = System.GetCLIParam("errHeldMapProbe", heldMap) && heldMap == "1";
editor.SwitchToGameMode(false, fullPaper);
}
}
}