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,30 @@
modded class ArmaReforgerScripted
{
protected RadioManagerEntity m_ERRRadioFixtureOriginal;
protected bool m_ERRRadioFixtureDone;
protected override void OnWorldPostProcess(World world)
{
SCR_BaseGameMode mode = SCR_BaseGameMode.Cast(GetGameMode());
ChimeraWorld chimera = ChimeraWorld.CastFrom(world);
RadioManagerEntity radio;
if (chimera) radio = chimera.GetRadioManager();
if (Replication.IsServer() && mode && !ERR_GameMode.Cast(mode) && radio)
{
m_ERRRadioFixtureOriginal = radio;
mode.AddChild(radio, -1);
PrintFormat("ERR RADIO FIXTURE SETUP: parent parent=%1", radio && radio.GetParent() == mode);
}
super.OnWorldPostProcess(world);
}
override void OnUpdate(BaseWorld world, float timeslice)
{
super.OnUpdate(world, timeslice);
ERR_GameMode mode = ERR_GameMode.Get();
if (m_ERRRadioFixtureDone || !mode || !mode.Active()) return;
m_ERRRadioFixtureDone = true;
ChimeraWorld chimera = ChimeraWorld.CastFrom(world);
RadioManagerEntity radio = chimera.GetRadioManager();
bool ok = radio && !radio.GetParent() && radio == m_ERRRadioFixtureOriginal;
PrintFormat("ERR RADIO FIXTURE RESULT: parent ok=%1 radio=%2", ok, radio);
}
}