Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
828bb0a1a7 | ||
|
|
4f02ad64b4 | ||
|
|
6ba3036de6 | ||
|
|
b8dfa9184e | ||
|
|
0e1e7790f9 | ||
|
|
2c2158702d | ||
|
|
d21adb90d5 | ||
|
|
6738eda748 | ||
|
|
2dcbe3107d | ||
|
|
3ec882dc4e | ||
|
|
08e5cbf5ea | ||
|
|
681d5e5eae | ||
|
|
213c31dfb2 | ||
|
|
5453159867 | ||
|
|
c6ee764c6c | ||
|
|
970dd338f5 | ||
|
|
95d21b06ff | ||
|
|
9233320fd1 | ||
|
|
6397fe89b6 | ||
|
|
3768ce7ed8 | ||
|
|
253dde90cd |
+111
-1
@@ -1,6 +1,116 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
Latest published Workshop version: **0.0.118**
|
Latest published Workshop version: **0.0.139**
|
||||||
|
|
||||||
|
## 2026-11-03 — Spectator body camera and player names
|
||||||
|
|
||||||
|
- Spectator cycling now includes your own unconscious body, with ground-level framing and orbit controls.
|
||||||
|
- The statistics dashboard now shows player names alongside their account IDs.
|
||||||
|
|
||||||
|
## 2026-11-01 — Dedicated-server names
|
||||||
|
|
||||||
|
- Server-name telemetry now reads the running dedicated-server configuration before checking lobby metadata.
|
||||||
|
|
||||||
|
## 2026-11-01 — Statistics dashboard
|
||||||
|
|
||||||
|
- Added a private statistics webpage with server win/loss records, last received reports, mission details, player totals and event history, with manual refresh.
|
||||||
|
- Mission telemetry automatically reports server names and keeps dashboard labels updated when servers are renamed.
|
||||||
|
|
||||||
|
## 2026-11-01 — Checkpoints and reconnects
|
||||||
|
|
||||||
|
- Added larger checkpoints with eight guards, extra sandbags and longer barrier approaches on wide roads.
|
||||||
|
- Added separate small/large checkpoint counts and a road-width cutoff under Forces → Checkpoints.
|
||||||
|
- Fixed saving mission settings on fresh profiles.
|
||||||
|
- Returning players receive a fresh soldier when their reserved body is gone, until extraction begins.
|
||||||
|
|
||||||
|
## 2026-10-31 — Terrain mission text
|
||||||
|
|
||||||
|
- Terrain takeover now shows Escape’s mission description on the loading screen instead of the original terrain scenario’s text.
|
||||||
|
|
||||||
|
## 2026-10-31 — Extraction finish
|
||||||
|
|
||||||
|
- Escape statistics open after 30 seconds of airborne evacuation instead of a long flight across the escape boundary.
|
||||||
|
- Rescue helicopters remain safely in place while the results screen is open.
|
||||||
|
|
||||||
|
## 2026-10-31 — Recovery forecast
|
||||||
|
|
||||||
|
- All-down rounds now check whether anyone can wake within five minutes before starting the defeat countdown, while preserving usable self-epinephrine opportunities.
|
||||||
|
|
||||||
|
## 2026-10-30 — Passenger handbrake
|
||||||
|
|
||||||
|
- The front passenger can hold Space to apply the handbrake and release it to let go.
|
||||||
|
|
||||||
|
## 2026-10-30 — Roadblocks, fuel pumps and garage vehicles
|
||||||
|
|
||||||
|
- Added civilian cars and optional motorbikes to garages near exploring players, with gradual spawning, retention of used vehicles, and menu controls for count, chance, radius and spawn delay.
|
||||||
|
- Reduced roadside checkpoint width and length to fit more locations while retaining four guards and a clear vehicle passage.
|
||||||
|
- Fixed existing petrol-station pumps losing their refuelling service when Escape starts on a terrain scenario.
|
||||||
|
|
||||||
|
## 2026-10-30 — Community statistics delivery
|
||||||
|
|
||||||
|
- Fixed rejected mission reports so wins, defeats and queued results can update community statistics.
|
||||||
|
- Game servers now report the loaded island name in statistics instead of the Game Master scenario path.
|
||||||
|
|
||||||
|
## 2026-10-30 — Quieter AI traffic
|
||||||
|
|
||||||
|
- Limited AI drivers to short horn beeps with a 30-second cooldown to reduce repeated honking.
|
||||||
|
|
||||||
|
## 2026-10-30 — Results reading time and spectator hints
|
||||||
|
|
||||||
|
- Kept mission results open for two minutes before automatic restart.
|
||||||
|
- Prevented objective hints from interrupting unconscious spectators and stabilized recovery messages to reduce repeated switching.
|
||||||
|
|
||||||
|
## 2026-10-30 — Results panel visibility
|
||||||
|
|
||||||
|
- Fixed the blank end-of-mission panel so victory, failure and mission statistics are visible before restart.
|
||||||
|
|
||||||
|
## 2026-10-30 — Community mission statistics
|
||||||
|
|
||||||
|
- Mission statistics now connect automatically on community servers without manual registration.
|
||||||
|
- Server administrators can disable reporting under Mission → Statistics.
|
||||||
|
- Victory and failure screens show the current map's wins, failures and win rate on this server and across all reporting servers.
|
||||||
|
|
||||||
|
## 2026-10-30 — Mission results
|
||||||
|
|
||||||
|
- Added an after-mission summary with duration, kills, friendly kills, deaths, times downed and recoveries for each participant.
|
||||||
|
- Results show who escaped and retain the records of players who disconnected.
|
||||||
|
|
||||||
|
## 2026-10-28 — Extraction landing zones
|
||||||
|
|
||||||
|
- Extraction can use suitable clear ground anywhere on the terrain, including original Everon, without prioritizing airports.
|
||||||
|
- Landing zones retain terrain, obstacle, aircraft-space and escape-boundary checks.
|
||||||
|
|
||||||
|
## 2026-10-28 — Starting supplies and mission statistics
|
||||||
|
|
||||||
|
- Oversized starting weapons and other items remain available beside the backpack instead of delaying preparation and being removed.
|
||||||
|
- Choose whether each starting item spawns inside the backpack or on the ground beside it, with separate quantities for each destination.
|
||||||
|
|
||||||
|
- Added optional mission statistics reporting for starts, restarts, terrain, mods, player participation and mission results.
|
||||||
|
- Statistics are enabled by default and can be disabled under Mission → Statistics; player escape records distinguish actual escapees from spectators.
|
||||||
|
|
||||||
|
## 2026-10-25 — Startup error screen
|
||||||
|
|
||||||
|
- Failed mission starts now show an interactive error screen with a Return to main menu button.
|
||||||
|
- Esc opens the normal pause menu from the error screen, so leaving no longer requires closing Arma.
|
||||||
|
|
||||||
|
## 2026-10-25 — Small-terrain startup
|
||||||
|
|
||||||
|
- Fixed low-lying dry terrain being rejected during site placement, player spawning and mortar setup; water checks now use the actual ground surface.
|
||||||
|
- Helicopter landing sites can use clear ground near roads and use the landing-pad flatness limit instead of the stricter camp limit.
|
||||||
|
- Fixed aircraft clearance checks using the wrong ground height during extraction placement.
|
||||||
|
|
||||||
|
## 2026-10-24 — Placement on smaller terrains
|
||||||
|
|
||||||
|
- Improved mission placement on small maps with shorter airport separation for prisons and support for terrain bounds down to 1 km.
|
||||||
|
- Extraction searches can find a clear landing zone elsewhere when an airport has no suitable space.
|
||||||
|
- Difficult terrain searches try more positions for longer before giving up.
|
||||||
|
- Startup failures show their cause directly on the loading screen, including placement rejection reasons.
|
||||||
|
|
||||||
|
## 2026-10-21 — Radio intel progression
|
||||||
|
|
||||||
|
- Radio intel unlocks after five distinct non-radio sites are fully identified; finding and using radios in person remains unrestricted.
|
||||||
|
- Configure the requirement under Intel → Radio intel, with live progress and a zero option to disable it for the next round.
|
||||||
|
- Early ordinary folders reveal other sites; fixed radio documents stay available and are read automatically after unlocking.
|
||||||
|
|
||||||
## 2026-10-21 — Recon drones, body burial and spectator camera
|
## 2026-10-21 — Recon drones, body burial and spectator camera
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
MenuManager {
|
MenuManager {
|
||||||
MenuPresets {
|
MenuPresets {
|
||||||
|
MenuPreset ERR_PreparationFailure {
|
||||||
|
Layout "{28DD8E27B1CF40C5}UI/layouts/ERR/PreparationFailure.layout"
|
||||||
|
ActionContext "MenuContext"
|
||||||
|
Class "ERR_PreparationFailureMenu"
|
||||||
|
}
|
||||||
MenuPreset ERR_AdminPanel {
|
MenuPreset ERR_AdminPanel {
|
||||||
Layout "{AE761C0439D25FB8}UI/layouts/ERR/AdminMenu.layout"
|
Layout "{AE761C0439D25FB8}UI/layouts/ERR/AdminMenu.layout"
|
||||||
ActionContext "MenuContext"
|
ActionContext "MenuContext"
|
||||||
|
|||||||
@@ -70,12 +70,13 @@ ERR_ScenarioDefinition {
|
|||||||
}
|
}
|
||||||
ERR_SiteDefinition {
|
ERR_SiteDefinition {
|
||||||
Id "everon-extraction-1"
|
Id "everon-extraction-1"
|
||||||
Label "Initial helicopter pickup site"
|
Label "Extraction landing zone"
|
||||||
Kind 2
|
Kind 2
|
||||||
Prefab "{033503110AC34EAC}Prefabs/ERR/Extraction.et"
|
Prefab "{033503110AC34EAC}Prefabs/ERR/Extraction.et"
|
||||||
Position 4800.953 0 11487.412
|
Position 4800.953 0 11487.412
|
||||||
AircraftOffset 0 0 0
|
AircraftOffset 0 0 0
|
||||||
RequireAirfield 1
|
RequireAirfield 0
|
||||||
|
RandomClear 1
|
||||||
Guarded 1
|
Guarded 1
|
||||||
GuardOffset 30 0 0
|
GuardOffset 30 0 0
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ SCR_GameOverScreenConfig : "{651583FFFB7FC765}Configs/GameOverScreen/BaseGameOve
|
|||||||
m_aGameOverScreens {
|
m_aGameOverScreens {
|
||||||
ERR_EscapeGameOverScreenInfo "{6B193DC8DDC63507}" {
|
ERR_EscapeGameOverScreenInfo "{6B193DC8DDC63507}" {
|
||||||
m_GameOverScreenId VICTORY
|
m_GameOverScreenId VICTORY
|
||||||
m_GameOverContentLayout "{C4507D07F3C54831}UI/layouts/HUD/GameOver/EndScreen/EndScreenContent_NoImage.layout"
|
m_GameOverContentLayout "{C63B4D1E09A572F8}UI/layouts/ERR/RoundResults.layout"
|
||||||
m_OptionalParams SCR_BaseGameOverScreenInfoOptional "{4984A5C1BFEFC04E}" {
|
m_OptionalParams SCR_BaseGameOverScreenInfoOptional "{4984A5C1BFEFC04E}" {
|
||||||
m_sTitle "Escape complete"
|
m_sTitle "Escape complete"
|
||||||
m_sAudioOneShot "SOUND_ONVICTORY"
|
m_sAudioOneShot "SOUND_ONVICTORY"
|
||||||
@@ -10,7 +10,7 @@ SCR_GameOverScreenConfig : "{651583FFFB7FC765}Configs/GameOverScreen/BaseGameOve
|
|||||||
}
|
}
|
||||||
ERR_FailureGameOverScreenInfo "{E66F29A7A8AD7438}" {
|
ERR_FailureGameOverScreenInfo "{E66F29A7A8AD7438}" {
|
||||||
m_GameOverScreenId LOOSE
|
m_GameOverScreenId LOOSE
|
||||||
m_GameOverContentLayout "{C4507D07F3C54831}UI/layouts/HUD/GameOver/EndScreen/EndScreenContent_NoImage.layout"
|
m_GameOverContentLayout "{C63B4D1E09A572F8}UI/layouts/ERR/RoundResults.layout"
|
||||||
m_OptionalParams SCR_BaseGameOverScreenInfoOptional "{3DBF0BDE715945FA}" {
|
m_OptionalParams SCR_BaseGameOverScreenInfoOptional "{3DBF0BDE715945FA}" {
|
||||||
m_sTitle "Escape failed"
|
m_sTitle "Escape failed"
|
||||||
m_sDebriefing "No surviving prisoners can complete the escape, or the extraction helicopter has been lost."
|
m_sDebriefing "No surviving prisoners can complete the escape, or the extraction helicopter has been lost."
|
||||||
|
|||||||
@@ -1,5 +1,16 @@
|
|||||||
ActionManager : "{795184CF9AD764DB}Configs/System/chimeraInputCommon.conf" {
|
ActionManager : "{795184CF9AD764DB}Configs/System/chimeraInputCommon.conf" {
|
||||||
Contexts {
|
Contexts {
|
||||||
|
ActionContext ERR_PassengerBrakeContext {
|
||||||
|
Priority 60
|
||||||
|
Flags 0xa 0
|
||||||
|
Actions {
|
||||||
|
Action ERR_PassengerBrake {
|
||||||
|
InputSource InputSourceValue "{A7B19F416E541030}" {
|
||||||
|
Input "keyboard:KC_SPACE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
ActionContext ERR_FieldMapContext {
|
ActionContext ERR_FieldMapContext {
|
||||||
Priority 60
|
Priority 60
|
||||||
Flags 0xa 0
|
Flags 0xa 0
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
ERR_TelemetryConfig {
|
||||||
|
Endpoint "https://co10escape-telemetry.zacekjakub.workers.dev/api/mission-events"
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
MetaFileClass {
|
||||||
|
Name "{E72B130684FA492C}Configs/ERR/Telemetry.conf"
|
||||||
|
Configurations {
|
||||||
|
CONFResourceClass PC { }
|
||||||
|
CONFResourceClass HEADLESS : PC { }
|
||||||
|
CONFResourceClass XBOX_ONE : PC { }
|
||||||
|
CONFResourceClass XBOX_SERIES : PC { }
|
||||||
|
CONFResourceClass PS4 : PC { }
|
||||||
|
CONFResourceClass PS5 : PC { }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -11,6 +11,6 @@ ERR_GameMode : "{0F307326459A1395}Prefabs/MP/Modes/GameMode_Base.et" {
|
|||||||
m_SpawnLogic ERR_SpawnLogic "{79AD722B2EFD595F}" {}
|
m_SpawnLogic ERR_SpawnLogic "{79AD722B2EFD595F}" {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
m_fAutoReloadTime 10
|
m_fAutoReloadTime 120
|
||||||
m_bUseSpawnPreload 1
|
m_bUseSpawnPreload 1
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -78,6 +78,15 @@ class ERR_Actors
|
|||||||
return position;
|
return position;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Map altitude is not water depth. Query the terrain surface itself, without
|
||||||
|
// Ground's 10cm spawn lift, so even shallow water remains unsuitable.
|
||||||
|
static bool DryGround(vector position)
|
||||||
|
{
|
||||||
|
position[1] = GetGame().GetWorld().GetSurfaceY(position[0], position[2]);
|
||||||
|
if (!ERR_ForceRules.Finite(position[1])) return false;
|
||||||
|
return !ChimeraWorldUtils.TryGetWaterSurfaceSimple(GetGame().GetWorld(), position);
|
||||||
|
}
|
||||||
|
|
||||||
static void Players(out array<IEntity> players, bool conscious = false)
|
static void Players(out array<IEntity> players, bool conscious = false)
|
||||||
{
|
{
|
||||||
players.Clear();
|
players.Clear();
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ class ERR_AdminMenu : ChimeraMenuBase
|
|||||||
m_Controller = SCR_PlayerController.Cast(GetGame().GetPlayerController());
|
m_Controller = SCR_PlayerController.Cast(GetGame().GetPlayerController());
|
||||||
m_Mode = ERR_GameMode.Cast(GetGame().GetGameMode());
|
m_Mode = ERR_GameMode.Cast(GetGame().GetGameMode());
|
||||||
if (!m_Controller) { Close(); return; }
|
if (!m_Controller) { Close(); return; }
|
||||||
array<string> names = {"SitesOn", "SitesOff", "PlaneOn", "PlaneOff", "Close", "PauseJournal", "JournalDetails", "LatestJournal", "KeepWeaponOn", "KeepWeaponOff", "SelfEpiOn", "SelfEpiOff", "IntelSummary", "RerollIntel", "RandomDay_startTimeMinutes", "Default_viewDistanceMetres", "RestartEmptyOn", "RestartEmptyOff", "RecommendedPlane", "RecommendedWeapons", "RecommendedDrones"};
|
array<string> names = {"TelemetryOn", "TelemetryOff","SitesOn", "SitesOff", "PlaneOn", "PlaneOff", "Close", "PauseJournal", "JournalDetails", "LatestJournal", "KeepWeaponOn", "KeepWeaponOff", "SelfEpiOn", "SelfEpiOff", "IntelSummary", "RerollIntel", "RandomDay_startTimeMinutes", "Default_viewDistanceMetres", "RestartEmptyOn", "RestartEmptyOff", "RecommendedPlane", "RecommendedWeapons", "RecommendedDrones"};
|
||||||
foreach (string mainButton : ERR_AdminMenuPages.MainButtons()) names.Insert(mainButton);
|
foreach (string mainButton : ERR_AdminMenuPages.MainButtons()) names.Insert(mainButton);
|
||||||
foreach (string pageButton : Navigation()) names.Insert(pageButton);
|
foreach (string pageButton : Navigation()) names.Insert(pageButton);
|
||||||
for (int density = 1; density <= 4; density++) names.Insert("GuardEvery_" + density.ToString());
|
for (int density = 1; density <= 4; density++) names.Insert("GuardEvery_" + density.ToString());
|
||||||
@@ -156,8 +156,10 @@ class ERR_AdminMenu : ChimeraMenuBase
|
|||||||
protected int m_SelfEpiState = -1;
|
protected int m_SelfEpiState = -1;
|
||||||
protected int m_SitesState = -1;
|
protected int m_SitesState = -1;
|
||||||
protected int m_RestartEmptyState = -1;
|
protected int m_RestartEmptyState = -1;
|
||||||
|
protected int m_TelemetryState = -1;
|
||||||
protected void UpdateActions()
|
protected void UpdateActions()
|
||||||
{
|
{
|
||||||
|
ERR_SelectionStyle.Pair(GetRootWidget(), "TelemetryOn", "TelemetryOff", m_TelemetryState);
|
||||||
ERR_SelectionStyle.Pair(GetRootWidget(), "SitesOn", "SitesOff", m_SitesState);
|
ERR_SelectionStyle.Pair(GetRootWidget(), "SitesOn", "SitesOff", m_SitesState);
|
||||||
ERR_SelectionStyle.Pair(GetRootWidget(), "SelfEpiOn", "SelfEpiOff", m_SelfEpiState);
|
ERR_SelectionStyle.Pair(GetRootWidget(), "SelfEpiOn", "SelfEpiOff", m_SelfEpiState);
|
||||||
ERR_SelectionStyle.Pair(GetRootWidget(), "KeepWeaponOn", "KeepWeaponOff", m_KeepWeaponState);
|
ERR_SelectionStyle.Pair(GetRootWidget(), "KeepWeaponOn", "KeepWeaponOff", m_KeepWeaponState);
|
||||||
@@ -176,6 +178,8 @@ class ERR_AdminMenu : ChimeraMenuBase
|
|||||||
else if (name.IndexOf("GuardHQ_") == 0) button.SetEnabled(m_Ready && m_HQ && m_AvailableFields.Contains("objectGuardHQMode"));
|
else if (name.IndexOf("GuardHQ_") == 0) button.SetEnabled(m_Ready && m_HQ && m_AvailableFields.Contains("objectGuardHQMode"));
|
||||||
else if (name == "RerollIntel" || name == "IntelSummary") button.SetEnabled(m_Ready && m_Intel);
|
else if (name == "RerollIntel" || name == "IntelSummary") button.SetEnabled(m_Ready && m_Intel);
|
||||||
else if (name == "LatestJournal") button.SetEnabled(m_Ready && m_HQ);
|
else if (name == "LatestJournal") button.SetEnabled(m_Ready && m_HQ);
|
||||||
|
else if (name == "TelemetryOn") button.SetEnabled(m_Ready && m_TelemetryState == 0);
|
||||||
|
else if (name == "TelemetryOff") button.SetEnabled(m_Ready && m_TelemetryState == 1);
|
||||||
else if (name == "RestartEmptyOn") button.SetEnabled(m_Ready && m_RestartEmptyState == 0);
|
else if (name == "RestartEmptyOn") button.SetEnabled(m_Ready && m_RestartEmptyState == 0);
|
||||||
else if (name == "RestartEmptyOff") button.SetEnabled(m_Ready && m_RestartEmptyState == 1);
|
else if (name == "RestartEmptyOff") button.SetEnabled(m_Ready && m_RestartEmptyState == 1);
|
||||||
else if (name == "SitesOn") button.SetEnabled(m_Ready && m_SitesState == 0);
|
else if (name == "SitesOn") button.SetEnabled(m_Ready && m_SitesState == 0);
|
||||||
@@ -190,7 +194,7 @@ class ERR_AdminMenu : ChimeraMenuBase
|
|||||||
{
|
{
|
||||||
if (!authorized) { Close(); return; }
|
if (!authorized) { Close(); return; }
|
||||||
if (!values) return;
|
if (!values) return;
|
||||||
m_HQ = false; m_Intel = false; m_AvailableFields.Clear(); m_KeepWeaponState = -1; m_SelfEpiState = -1; m_RestartEmptyState = -1;
|
m_HQ = false; m_Intel = false; m_AvailableFields.Clear(); m_KeepWeaponState = -1; m_SelfEpiState = -1; m_RestartEmptyState = -1; m_TelemetryState = -1;
|
||||||
foreach (string entry : values)
|
foreach (string entry : values)
|
||||||
{
|
{
|
||||||
if (entry == "supports=hq") { m_HQ = true; continue; }
|
if (entry == "supports=hq") { m_HQ = true; continue; }
|
||||||
@@ -198,6 +202,7 @@ class ERR_AdminMenu : ChimeraMenuBase
|
|||||||
int divider = entry.IndexOf("=");
|
int divider = entry.IndexOf("=");
|
||||||
if (divider <= 0) continue;
|
if (divider <= 0) continue;
|
||||||
string key = entry.Substring(0, divider);
|
string key = entry.Substring(0, divider);
|
||||||
|
if (key == "radioIntelProgress") { SetText("RadioIntelProgress", entry.Substring(divider + 1, entry.Length() - divider - 1)); continue; }
|
||||||
if (key == "droneRuntime") { SetText("DroneRuntime", entry.Substring(divider + 1, entry.Length() - divider - 1)); continue; }
|
if (key == "droneRuntime") { SetText("DroneRuntime", entry.Substring(divider + 1, entry.Length() - divider - 1)); continue; }
|
||||||
if (key == "recommendedBikeRuntime") { SetText("RecommendedBikeRuntime", entry.Substring(divider + 1, entry.Length() - divider - 1)); continue; }
|
if (key == "recommendedBikeRuntime") { SetText("RecommendedBikeRuntime", entry.Substring(divider + 1, entry.Length() - divider - 1)); continue; }
|
||||||
if (key.IndexOf("recommended_") == 0)
|
if (key.IndexOf("recommended_") == 0)
|
||||||
@@ -227,6 +232,15 @@ class ERR_AdminMenu : ChimeraMenuBase
|
|||||||
ERR_SelectionStyle.Pair(GetRootWidget(), "PlaneOn", "PlaneOff", planeState);
|
ERR_SelectionStyle.Pair(GetRootWidget(), "PlaneOn", "PlaneOff", planeState);
|
||||||
m_AvailableFields.Insert(key); continue;
|
m_AvailableFields.Insert(key); continue;
|
||||||
}
|
}
|
||||||
|
if (key == "telemetryStatus") { SetText("TelemetryStatus", entry.Substring(divider + 1, entry.Length() - divider - 1)); continue; }
|
||||||
|
if (key == "telemetryEnabled")
|
||||||
|
{
|
||||||
|
m_TelemetryState = entry.Substring(divider + 1, entry.Length() - divider - 1).ToInt();
|
||||||
|
string telemetryState = "Disabled";
|
||||||
|
if (m_TelemetryState == 1) telemetryState = "Enabled";
|
||||||
|
SetText("Saved_telemetryEnabled", "Saved: " + telemetryState);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (key == "restartOnEmpty")
|
if (key == "restartOnEmpty")
|
||||||
{
|
{
|
||||||
m_RestartEmptyState = entry.Substring(divider + 1, entry.Length() - divider - 1).ToInt();
|
m_RestartEmptyState = entry.Substring(divider + 1, entry.Length() - divider - 1).ToInt();
|
||||||
@@ -391,6 +405,12 @@ class ERR_AdminMenu : ChimeraMenuBase
|
|||||||
m_ClickDelay = 0.3; SetText("Feedback", "Saving reconnaissance plane selection for next round...");
|
m_ClickDelay = 0.3; SetText("Feedback", "Saving reconnaissance plane selection for next round...");
|
||||||
m_Controller.ERR_AdminSubmit("mission plane set " + enabled, true); return;
|
m_Controller.ERR_AdminSubmit("mission plane set " + enabled, true); return;
|
||||||
}
|
}
|
||||||
|
if (name == "TelemetryOn" || name == "TelemetryOff")
|
||||||
|
{
|
||||||
|
if (m_TelemetryState < 0) return;
|
||||||
|
string enabled = "0"; if (name == "TelemetryOn") enabled = "1";
|
||||||
|
m_Controller.ERR_AdminSubmit("mission telemetry set " + enabled, true); return;
|
||||||
|
}
|
||||||
if (name == "RestartEmptyOn" || name == "RestartEmptyOff")
|
if (name == "RestartEmptyOn" || name == "RestartEmptyOff")
|
||||||
{
|
{
|
||||||
if (m_RestartEmptyState < 0) return;
|
if (m_RestartEmptyState < 0) return;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ class ERR_AdminMenuFields
|
|||||||
{
|
{
|
||||||
static array<string> Keys()
|
static array<string> Keys()
|
||||||
{
|
{
|
||||||
return {"aiDoctrine", "aiShadow", "automaticEquipmentChancePercent", "sarkaAngerPerCar", "motorbikeCount", "droneReconCount", "droneCooldownSeconds", "planeAltitudeMetres", "planeReplacementSeconds", "planeSectorSeconds", "fieldCampCount", "fieldHospitalCount", "startWeaponCount", "startMagazineCount", "objectGuardCount", "objectGuardEvery", "objectGuardHQMode", "hunterSpawnDistanceMetres", "roadblockCount", "civilianTrafficCount", "emptyRestartHours", "startMode", "radioDefenceSeconds", "aiIntelChancePercent", "intelRevealChancePercent", "startTimeMinutes", "timeMultiplier", "startDateCode", "weatherProfile", "viewDistanceMetres", "reportIntervalSeconds", "supportSquadLimit", "responseRadiusMetres", "convoyCount", "antiAirChancePercent", "antiPersonnelMineChancePercent", "heliTimerMinutes"};
|
return {"aiDoctrine", "aiShadow", "automaticEquipmentChancePercent", "sarkaAngerPerCar", "motorbikeCount", "droneReconCount", "droneCooldownSeconds", "planeAltitudeMetres", "planeReplacementSeconds", "planeSectorSeconds", "fieldCampCount", "fieldHospitalCount", "startWeaponCount", "startMagazineCount", "objectGuardCount", "objectGuardEvery", "objectGuardHQMode", "hunterSpawnDistanceMetres", "roadblockCount", "largeRoadblockCount", "mainRoadWidthMetres", "civilianTrafficCount", "garageVehicleCount", "garageChancePercent", "garageRadiusMetres", "garageSpawnIntervalSeconds", "emptyRestartHours", "startMode", "radioDefenceSeconds", "aiIntelChancePercent", "intelRevealChancePercent", "radioIntelSiteCount", "startTimeMinutes", "timeMultiplier", "startDateCode", "weatherProfile", "viewDistanceMetres", "reportIntervalSeconds", "supportSquadLimit", "responseRadiusMetres", "convoyCount", "antiAirChancePercent", "antiPersonnelMineChancePercent", "heliTimerMinutes"};
|
||||||
}
|
}
|
||||||
static bool Available(string key, bool hq, bool intel)
|
static bool Available(string key, bool hq, bool intel)
|
||||||
{
|
{
|
||||||
@@ -63,12 +63,19 @@ class ERR_AdminMenuFields
|
|||||||
else if (key == "fieldCampCount") prefix = "mission camps";
|
else if (key == "fieldCampCount") prefix = "mission camps";
|
||||||
else if (key == "fieldHospitalCount") prefix = "mission hospitals";
|
else if (key == "fieldHospitalCount") prefix = "mission hospitals";
|
||||||
else if (key == "roadblockCount") prefix = "mission roadblocks";
|
else if (key == "roadblockCount") prefix = "mission roadblocks";
|
||||||
|
else if (key == "largeRoadblockCount") prefix = "mission largeroadblocks";
|
||||||
|
else if (key == "mainRoadWidthMetres") prefix = "mission mainroadwidth";
|
||||||
else if (key == "emptyRestartHours") prefix = "mission emptyhours";
|
else if (key == "emptyRestartHours") prefix = "mission emptyhours";
|
||||||
|
else if (key == "garageChancePercent") prefix = "mission garagechance";
|
||||||
|
else if (key == "garageRadiusMetres") prefix = "mission garageradius";
|
||||||
|
else if (key == "garageSpawnIntervalSeconds") prefix = "mission garageinterval";
|
||||||
|
else if (key == "garageVehicleCount") prefix = "mission garagevehicles";
|
||||||
else if (key == "civilianTrafficCount") prefix = "mission traffic";
|
else if (key == "civilianTrafficCount") prefix = "mission traffic";
|
||||||
else if (key == "startMode") prefix = "mission start";
|
else if (key == "startMode") prefix = "mission start";
|
||||||
else if (key == "radioDefenceSeconds") prefix = "mission radio";
|
else if (key == "radioDefenceSeconds") prefix = "mission radio";
|
||||||
else if (key == "aiIntelChancePercent") prefix = "intel carrying";
|
else if (key == "aiIntelChancePercent") prefix = "intel carrying";
|
||||||
else if (key == "intelRevealChancePercent") prefix = "intel reveal";
|
else if (key == "intelRevealChancePercent") prefix = "intel reveal";
|
||||||
|
else if (key == "radioIntelSiteCount") prefix = "intel radiosites";
|
||||||
else if (key == "startTimeMinutes") prefix = "mission time";
|
else if (key == "startTimeMinutes") prefix = "mission time";
|
||||||
else if (key == "timeMultiplier") prefix = "mission speed";
|
else if (key == "timeMultiplier") prefix = "mission speed";
|
||||||
else if (key == "startDateCode") prefix = "mission date";
|
else if (key == "startDateCode") prefix = "mission date";
|
||||||
|
|||||||
@@ -24,17 +24,21 @@ enum ERR_AdminPage
|
|||||||
STARTER = 20,
|
STARTER = 20,
|
||||||
SARKA = 21,
|
SARKA = 21,
|
||||||
DRONES = 22,
|
DRONES = 22,
|
||||||
|
RADIO_INTEL = 23,
|
||||||
|
TELEMETRY = 24,
|
||||||
|
VEHICLES = 25,
|
||||||
|
CHECKPOINTS = 26,
|
||||||
}
|
}
|
||||||
|
|
||||||
class ERR_AdminMenuPages
|
class ERR_AdminMenuPages
|
||||||
{
|
{
|
||||||
static array<string> Pages() { return {"SettingsPage", "HQPage", "JournalPage", "ModsPage", "FactionsPage", "WorldPage", "IntelPage", "StatusPage", "TerrainsPage", "ItemsPage", "TTSPage", "ForcesPage", "GuardsPage", "SitesPage", "PlanePage", "RecommendationsPage", "WeightsPage", "AllowedItemsPage", "ItemPresetsPage", "AIPage", "StarterPage", "SarkaPage", "DronesPage"}; }
|
static array<string> Pages() { return {"SettingsPage", "HQPage", "JournalPage", "ModsPage", "FactionsPage", "WorldPage", "IntelPage", "StatusPage", "TerrainsPage", "ItemsPage", "TTSPage", "ForcesPage", "GuardsPage", "SitesPage", "PlanePage", "RecommendationsPage", "WeightsPage", "AllowedItemsPage", "ItemPresetsPage", "AIPage", "StarterPage", "SarkaPage", "DronesPage", "RadioIntelPage", "TelemetryPage", "VehiclesPage", "CheckpointsPage"}; }
|
||||||
static array<string> Navigation() { return {"OpenSettings", "OpenHQ", "OpenJournal", "OpenMods", "OpenFactions", "OpenWorld", "OpenIntel", "OpenStatus", "OpenTerrains", "OpenItems", "OpenTTS", "OpenForces", "OpenGuards", "OpenSites", "OpenPlane", "OpenRecommendations", "OpenWeights", "OpenAllowedItems", "OpenItemPresets", "OpenAI", "OpenStarter", "OpenSarka", "OpenDrones"}; }
|
static array<string> Navigation() { return {"OpenSettings", "OpenHQ", "OpenJournal", "OpenMods", "OpenFactions", "OpenWorld", "OpenIntel", "OpenStatus", "OpenTerrains", "OpenItems", "OpenTTS", "OpenForces", "OpenGuards", "OpenSites", "OpenPlane", "OpenRecommendations", "OpenWeights", "OpenAllowedItems", "OpenItemPresets", "OpenAI", "OpenStarter", "OpenSarka", "OpenDrones", "OpenRadioIntel", "OpenTelemetry", "OpenVehicles", "OpenCheckpoints"}; }
|
||||||
static array<string> MainButtons() { return {"Main_Mission", "Main_Forces", "Main_HQ", "Main_Intel", "Main_Items", "Main_Mods", "Main_Audio", "Main_Status"}; }
|
static array<string> MainButtons() { return {"Main_Mission", "Main_Forces", "Main_HQ", "Main_Intel", "Main_Items", "Main_Mods", "Main_Audio", "Main_Status"}; }
|
||||||
static array<string> Sidebars() { return {"Sidebar_Mission", "Sidebar_Forces", "Sidebar_HQ", "Sidebar_Intel", "Sidebar_Items", "Sidebar_Mods", "Sidebar_Audio", "Sidebar_Status"}; }
|
static array<string> Sidebars() { return {"Sidebar_Mission", "Sidebar_Forces", "Sidebar_HQ", "Sidebar_Intel", "Sidebar_Items", "Sidebar_Mods", "Sidebar_Audio", "Sidebar_Status"}; }
|
||||||
static int Group(int page)
|
static int Group(int page)
|
||||||
{
|
{
|
||||||
array<int> groups = {0, 2, 7, 5, 1, 0, 3, 7, 0, 4, 6, 1, 1, 1, 2, 5, 4, 4, 4, 2, 4, 1, 2};
|
array<int> groups = {0, 2, 7, 5, 1, 0, 3, 7, 0, 4, 6, 1, 1, 1, 2, 5, 4, 4, 4, 2, 4, 1, 2, 3, 0, 0, 1};
|
||||||
if (page < 0 || page >= groups.Count()) return -1;
|
if (page < 0 || page >= groups.Count()) return -1;
|
||||||
return groups[page];
|
return groups[page];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ class ERR_CommandArguments
|
|||||||
{
|
{
|
||||||
static string CoreSetting(string section, string option)
|
static string CoreSetting(string section, string option)
|
||||||
{
|
{
|
||||||
|
if (section == "mission" && option == "telemetry") return "telemetryEnabled";
|
||||||
if (section == "mission" && option == "doctrine") return "aiDoctrine";
|
if (section == "mission" && option == "doctrine") return "aiDoctrine";
|
||||||
if (section == "mission" && option == "aishadow") return "aiShadow";
|
if (section == "mission" && option == "aishadow") return "aiShadow";
|
||||||
if (section == "mission" && option == "sarkapoints") return "sarkaAngerPerCar";
|
if (section == "mission" && option == "sarkapoints") return "sarkaAngerPerCar";
|
||||||
@@ -23,6 +24,12 @@ class ERR_CommandArguments
|
|||||||
if (section == "mission" && option == "objectguards") return "objectGuardCount";
|
if (section == "mission" && option == "objectguards") return "objectGuardCount";
|
||||||
if (section == "mission" && option == "hunterdistance") return "hunterSpawnDistanceMetres";
|
if (section == "mission" && option == "hunterdistance") return "hunterSpawnDistanceMetres";
|
||||||
if (section == "mission" && option == "roadblocks") return "roadblockCount";
|
if (section == "mission" && option == "roadblocks") return "roadblockCount";
|
||||||
|
if (section == "mission" && option == "largeroadblocks") return "largeRoadblockCount";
|
||||||
|
if (section == "mission" && option == "mainroadwidth") return "mainRoadWidthMetres";
|
||||||
|
if (section == "mission" && option == "garagechance") return "garageChancePercent";
|
||||||
|
if (section == "mission" && option == "garageradius") return "garageRadiusMetres";
|
||||||
|
if (section == "mission" && option == "garageinterval") return "garageSpawnIntervalSeconds";
|
||||||
|
if (section == "mission" && option == "garagevehicles") return "garageVehicleCount";
|
||||||
if (section == "mission" && option == "traffic") return "civilianTrafficCount";
|
if (section == "mission" && option == "traffic") return "civilianTrafficCount";
|
||||||
if (section == "mission" && option == "start") return "startMode";
|
if (section == "mission" && option == "start") return "startMode";
|
||||||
if (section == "mission" && option == "selfepi") return "selfEpinephrine";
|
if (section == "mission" && option == "selfepi") return "selfEpinephrine";
|
||||||
@@ -31,6 +38,7 @@ class ERR_CommandArguments
|
|||||||
if (section == "mission" && option == "emptyhours") return "emptyRestartHours";
|
if (section == "mission" && option == "emptyhours") return "emptyRestartHours";
|
||||||
if (section == "mission" && option == "radio") return "radioDefenceSeconds";
|
if (section == "mission" && option == "radio") return "radioDefenceSeconds";
|
||||||
if (section == "intel" && option == "sites") return "showAllSites";
|
if (section == "intel" && option == "sites") return "showAllSites";
|
||||||
|
if (section == "intel" && option == "radiosites") return "radioIntelSiteCount";
|
||||||
if (section == "intel" && option == "reveal") return "intelRevealChancePercent";
|
if (section == "intel" && option == "reveal") return "intelRevealChancePercent";
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
@@ -188,23 +196,32 @@ class ERR_AdminService
|
|||||||
if (key == "objectGuardHQMode") return "0: all hold their posts; 1: half hold, half respond to HQ; 2: all may respond to HQ. All report contacts. Next round.";
|
if (key == "objectGuardHQMode") return "0: all hold their posts; 1: half hold, half respond to HQ; 2: all may respond to HQ. All report contacts. Next round.";
|
||||||
if (key == "objectGuardCount") return "0..16 soldiers per factory/industrial, military or infrastructure site; default 8, zero off. Next round. HQ participation is configured separately; all report. Towers and chimneys use suitable platforms. Lost guards are not replaced.";
|
if (key == "objectGuardCount") return "0..16 soldiers per factory/industrial, military or infrastructure site; default 8, zero off. Next round. HQ participation is configured separately; all report. Towers and chimneys use suitable platforms. Lost guards are not replaced.";
|
||||||
if (key == "hunterSpawnDistanceMetres") return "Opening UAZ and troop-truck patrol placement. Applies next round.";
|
if (key == "hunterSpawnDistanceMetres") return "Opening UAZ and troop-truck patrol placement. Applies next round.";
|
||||||
if (key == "roadblockCount") return "Set 0..30 roadblocks (default 4; 0 disables). Applies next round. Each has four guards; unsuitable sites are skipped.";
|
if (key == "largeRoadblockCount") return "Set 0..30 main-road checkpoints (default 4; 0 disables large posts). Eight guards per post. Applies next round; unsuitable sites are skipped.";
|
||||||
|
if (key == "mainRoadWidthMetres") return "Set main-road minimum width to 5..12 metres (default 6). Wider roads use large checkpoints; narrower roads use small ones. Applies next round.";
|
||||||
|
if (key == "roadblockCount") return "Set 0..30 small-road checkpoints (default 4; 0 disables small posts). Four guards per post. Applies next round; unsuitable sites are skipped.";
|
||||||
|
if (key == "telemetryEnabled") return "Default on. Sends mission results and player identities to the configured statistics service. Disabling clears unsent events immediately.";
|
||||||
if (key == "restartOnEmpty") return "On (1) restarts after the last disconnect; Off (0) preserves the round for reconnects. Default On. Applies immediately; normal round endings still apply.";
|
if (key == "restartOnEmpty") return "On (1) restarts after the last disconnect; Off (0) preserves the round for reconnects. Default On. Applies immediately; normal round endings still apply.";
|
||||||
if (key == "emptyRestartHours") return "0 disables idle restarts; 1..168 real hours continuously empty. Default 5. Applies immediately, measured from mission start or the last disconnect. Connected players, including spectators, prevent idle restarts.";
|
if (key == "emptyRestartHours") return "0 disables idle restarts; 1..168 real hours continuously empty. Default 5. Applies immediately, measured from mission start or the last disconnect. Connected players, including spectators, prevent idle restarts.";
|
||||||
|
if (key == "garageChancePercent") return "Garage selection chance (0-100%). Default 70%; 100 selects every suitable garage. Next round.";
|
||||||
|
if (key == "garageRadiusMetres") return "Spawn radius (250-1500 metres). Distance around players; default 1000 m. Next round.";
|
||||||
|
if (key == "garageSpawnIntervalSeconds") return "Time between spawns (5-60 seconds). Default 5 s. Increase to spread out spawning. Next round.";
|
||||||
|
if (key == "garageVehicleCount") return "0..24 unclaimed garage vehicles near players; default 16. Used vehicles are kept; distant unused vehicles retire. Optional bikes. Applies next round.";
|
||||||
if (key == "civilianTrafficCount") return "Set 0..6 civilian cars (default 3). Zero disables new traffic. Unclaimed cars retire only far from all players and out of sight; player-entered cars are preserved.";
|
if (key == "civilianTrafficCount") return "Set 0..6 civilian cars (default 3). Zero disables new traffic. Unclaimed cars retire only far from all players and out of sight; player-entered cars are preserved.";
|
||||||
if (key == "showAllSites") return "0 disabled (default), 1 enabled. Show prepared sites at their positions as question marks; recovered intel identifies their types. Applies immediately to everyone.";
|
if (key == "showAllSites") return "0 disabled (default), 1 enabled. Show prepared sites at their positions as question marks; recovered intel identifies their types. Applies immediately to everyone.";
|
||||||
if (key == "selfEpinephrine") return "0 disabled (default), 1 enabled. Unconscious players can press Space to use a carried epinephrine injector. Applies immediately; consumes the item and keeps its normal medical effect.";
|
if (key == "selfEpinephrine") return "0 disabled (default), 1 enabled. Unconscious players can press Space to use a carried epinephrine injector. Applies immediately; consumes the item and keeps its normal medical effect.";
|
||||||
if (key == "keepWeaponOnUnconscious") return "Set 1 to retain the held firearm during unconsciousness and equip it after recovery; 0 keeps normal dropping. Applies to the next knockout.";
|
if (key == "keepWeaponOnUnconscious") return "Set 1 to retain the held firearm during unconsciousness and equip it after recovery; 0 keeps normal dropping. Applies to the next knockout.";
|
||||||
if (key == "antiAirChancePercent" || key == "antiPersonnelMineChancePercent")
|
if (key == "antiAirChancePercent" || key == "antiPersonnelMineChancePercent")
|
||||||
return "Set 0..100 percent or Random. Applies to newly equipped enemy soldiers; existing loadouts are not rerolled or replenished.";
|
return "Set 0..100 percent or Random. Applies to newly equipped enemy soldiers; existing loadouts are not rerolled or replenished.";
|
||||||
|
if (key == "radioIntelSiteCount") return "Sites required before radio intel: 0..20, default 5; 0 disables. Fully identify distinct non-radio sites; starting reveals do not count. Applies next round. Finding and using radios in person remains unrestricted.";
|
||||||
if (key == "intelRevealChancePercent")
|
if (key == "intelRevealChancePercent")
|
||||||
return "Use /esc intel reveal set N (0-100) or random. This is the chance that a first document identifies its location exactly; otherwise it gives a rough location. A second document for that location always identifies it. With all sites shown, the first document always identifies the type. Changes affect newly recovered documents immediately; known locations and spent documents remain unchanged.";
|
return "Use /esc intel reveal set N (0-100) or random. This is the chance that a first document identifies its location exactly; otherwise it gives a rough location. A second document for that location always identifies it. With all sites shown, the first document always identifies the type. Changes affect newly recovered documents immediately; known locations and spent documents remain unchanged.";
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
protected string RoadblockTiming(string key)
|
protected string RoadblockTiming(string key)
|
||||||
{
|
{
|
||||||
|
if (key == "radioIntelSiteCount" || key == "garageVehicleCount" || key == "garageChancePercent" || key == "garageRadiusMetres" || key == "garageSpawnIntervalSeconds") return " for next round";
|
||||||
if (key == "aiDoctrine" || key == "aiShadow" || key == "droneReconCount" || key == "droneCooldownSeconds") return " for next round";
|
if (key == "aiDoctrine" || key == "aiShadow" || key == "droneReconCount" || key == "droneCooldownSeconds") return " for next round";
|
||||||
if (key == "motorbikeCount" || key == "planeAltitudeMetres" || key == "planeReplacementSeconds" || key == "planeSectorSeconds" || key == "planeReconEnabled" || key == "fieldCampCount" || key == "fieldHospitalCount" || key == "startWeaponCount" || key == "startMagazineCount" || key == "objectGuardCount" || key == "objectGuardEvery" || key == "objectGuardHQMode" || key == "hunterSpawnDistanceMetres" || key == "roadblockCount") return " for next round";
|
if (key == "motorbikeCount" || key == "planeAltitudeMetres" || key == "planeReplacementSeconds" || key == "planeSectorSeconds" || key == "planeReconEnabled" || key == "fieldCampCount" || key == "fieldHospitalCount" || key == "startWeaponCount" || key == "startMagazineCount" || key == "objectGuardCount" || key == "objectGuardEvery" || key == "objectGuardHQMode" || key == "hunterSpawnDistanceMetres" || key == "roadblockCount" || key == "largeRoadblockCount" || key == "mainRoadWidthMetres") return " for next round";
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
protected void SettingCommand(ERR_Settings settings, string key, array<string> parts, array<string> replies)
|
protected void SettingCommand(ERR_Settings settings, string key, array<string> parts, array<string> replies)
|
||||||
|
|||||||
@@ -80,19 +80,24 @@ class ERR_AdminSession
|
|||||||
ERR_StartBackpack supplies = GetGame().ERR_StartingSupplies();
|
ERR_StartBackpack supplies = GetGame().ERR_StartingSupplies();
|
||||||
bool saved;
|
bool saved;
|
||||||
if (parts.Count() == 3 && parts[1] == "mode" && (parts[2] == "default" || parts[2] == "custom")) saved = supplies.SetMode(parts[2] == "custom");
|
if (parts.Count() == 3 && parts[1] == "mode" && (parts[2] == "default" || parts[2] == "custom")) saved = supplies.SetMode(parts[2] == "custom");
|
||||||
else if (parts.Count() == 3 && parts[1] == "remove") saved = supplies.Remove(parts[2]);
|
else if ((parts.Count() == 3 || parts.Count() == 4) && parts[1] == "remove")
|
||||||
else if (parts.Count() == 5 && parts[1] == "set")
|
{
|
||||||
|
string removeDestination = "backpack"; if (parts.Count() == 4) removeDestination = parts[3];
|
||||||
|
saved = supplies.Remove(parts[2], removeDestination);
|
||||||
|
}
|
||||||
|
else if ((parts.Count() == 5 || parts.Count() == 6) && parts[1] == "set")
|
||||||
{
|
{
|
||||||
ERR_ServerItemCatalog catalog = GetGame().ERR_ServerItems(); catalog.Start(m_Mode);
|
ERR_ServerItemCatalog catalog = GetGame().ERR_ServerItems(); catalog.Start(m_Mode);
|
||||||
int count;
|
int count;
|
||||||
if (catalog.Contains(parts[2], parts[3]) && ERR_CommandArguments.Integer(parts[4], count))
|
if (catalog.Contains(parts[2], parts[3]) && ERR_CommandArguments.Integer(parts[4], count))
|
||||||
{
|
{
|
||||||
ERR_ServerItem item = catalog.Item(parts[3]);
|
ERR_ServerItem item = catalog.Item(parts[3]);
|
||||||
if (item) saved = supplies.Set(item.Prefab, count);
|
string destination = "backpack"; if (parts.Count() == 6) destination = parts[5];
|
||||||
|
if (item) saved = supplies.Set(item.Prefab, count, destination);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (saved) replies.Insert("Starting backpack saved for next round. Custom contents are used only when Custom is selected.");
|
if (saved) replies.Insert("Starting supplies saved for next round. Custom contents are used only when Custom is selected.");
|
||||||
else replies.Insert("Not saved. Choose a catalog item and quantity 0-48; maximum 32 item types and 64 items total. Check configuration if read-only.");
|
else replies.Insert("Not saved. Choose a catalog item and quantity 0-48; maximum 32 entries and 64 items across both destinations. Check configuration if read-only.");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// Per-session paging: another administrator cannot change this menu's selection.
|
// Per-session paging: another administrator cannot change this menu's selection.
|
||||||
@@ -154,6 +159,7 @@ class ERR_AdminSession
|
|||||||
if (key == "convoyCount" || key == "startTimeMinutes" || key == "timeMultiplier" || key == "startDateCode" || key == "weatherProfile") continue;
|
if (key == "convoyCount" || key == "startTimeMinutes" || key == "timeMultiplier" || key == "startDateCode" || key == "weatherProfile") continue;
|
||||||
if (m_Mode.Settings().Get(key) == -1) values.Insert("resolved_" + key + "=" + m_Mode.Settings().Runtime(key).ToString());
|
if (m_Mode.Settings().Get(key) == -1) values.Insert("resolved_" + key + "=" + m_Mode.Settings().Runtime(key).ToString());
|
||||||
}
|
}
|
||||||
|
if (m_Mode.Discovery()) values.Insert("radioIntelProgress=" + m_Mode.Discovery().RadioIntelStatus());
|
||||||
m_Mode.Admin().Capabilities(values);
|
m_Mode.Admin().Capabilities(values);
|
||||||
ERR_RecommendedAddons.Snapshot(m_Mode, values);
|
ERR_RecommendedAddons.Snapshot(m_Mode, values);
|
||||||
GetGame().ERR_ServerItems().Snapshot(m_Mode, values, m_ItemAddon, m_ItemPage);
|
GetGame().ERR_ServerItems().Snapshot(m_Mode, values, m_ItemAddon, m_ItemPage);
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ class ERR_AirfieldPlacement
|
|||||||
}
|
}
|
||||||
static bool Clear(vector position)
|
static bool Clear(vector position)
|
||||||
{
|
{
|
||||||
if (!Replication.IsServer() || position[1] < 2 || ChimeraWorldUtils.TryGetWaterSurfaceSimple(GetGame().GetWorld(), position)) return false;
|
if (!Replication.IsServer() || !ERR_Actors.DryGround(position)) return false;
|
||||||
ERR_AirfieldPlacement survey = new ERR_AirfieldPlacement();
|
ERR_AirfieldPlacement survey = new ERR_AirfieldPlacement();
|
||||||
array<vector> authored = {};
|
array<vector> authored = {};
|
||||||
AuthoredAirports(authored);
|
AuthoredAirports(authored);
|
||||||
@@ -49,12 +49,12 @@ class ERR_AirfieldPlacement
|
|||||||
// Same aircraft footprint/vertical sweep, without requiring airport scenery.
|
// Same aircraft footprint/vertical sweep, without requiring airport scenery.
|
||||||
static bool ClearGround(vector position)
|
static bool ClearGround(vector position)
|
||||||
{
|
{
|
||||||
if (!Replication.IsServer() || ChimeraWorldUtils.TryGetWaterSurfaceSimple(GetGame().GetWorld(), position)) return false;
|
if (!Replication.IsServer() || !ERR_Actors.DryGround(position)) return false;
|
||||||
for (int edge = 0; edge < 4; edge++)
|
for (int edge = 0; edge < 4; edge++)
|
||||||
{
|
{
|
||||||
float side = edge * Math.PI / 2;
|
float side = edge * Math.PI / 2;
|
||||||
vector sample = position + Vector(Math.Cos(side) * 14, 0, Math.Sin(side) * 14);
|
vector sample = position + Vector(Math.Cos(side) * 14, 0, Math.Sin(side) * 14);
|
||||||
if (Math.AbsFloat(SCR_TerrainHelper.GetTerrainY(sample) - position[1]) > 0.8) return false;
|
if (!ERR_Actors.DryGround(sample) || Math.AbsFloat(SCR_TerrainHelper.GetTerrainY(sample) - position[1]) > 0.8) return false;
|
||||||
}
|
}
|
||||||
if (!SCR_WorldTools.TraceCilinderUtil(position + "0 2.5 0", 40, 4, TraceFlags.ENTS)) return false;
|
if (!SCR_WorldTools.TraceCilinderUtil(position + "0 2.5 0", 40, 4, TraceFlags.ENTS)) return false;
|
||||||
TraceBox clearance = new TraceBox();
|
TraceBox clearance = new TraceBox();
|
||||||
|
|||||||
@@ -0,0 +1,44 @@
|
|||||||
|
class ERR_CommunityMapRecord
|
||||||
|
{
|
||||||
|
int wins = -1;
|
||||||
|
int losses = -1;
|
||||||
|
int completed = -1;
|
||||||
|
int partialMissions = -1;
|
||||||
|
bool Valid()
|
||||||
|
{
|
||||||
|
return wins >= 0 && wins <= 1000000000 && losses >= 0 && losses <= 1000000000 && completed == wins + losses && completed > 0 && partialMissions >= 0 && partialMissions <= completed;
|
||||||
|
}
|
||||||
|
string Line(string label)
|
||||||
|
{
|
||||||
|
int rate = Math.Round(100.0 * wins / completed);
|
||||||
|
return string.Format("%1: %2 wins | %3 failures | ", label, wins, losses) + rate.ToString() + "% win rate";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
class ERR_CommunityStatistics
|
||||||
|
{
|
||||||
|
int schemaVersion;
|
||||||
|
string terrain;
|
||||||
|
string serverId;
|
||||||
|
string missionId;
|
||||||
|
string eventId;
|
||||||
|
string outcome;
|
||||||
|
ref ERR_CommunityMapRecord server;
|
||||||
|
ref ERR_CommunityMapRecord allServers;
|
||||||
|
bool Matches(string expectedServer, string expectedMission, string expectedEvent, string expectedTerrain, string expectedOutcome)
|
||||||
|
{
|
||||||
|
if (schemaVersion != 1 || serverId != expectedServer || missionId != expectedMission || eventId != expectedEvent || terrain != expectedTerrain || outcome != expectedOutcome) return false;
|
||||||
|
if (outcome != "victory" && outcome != "defeat") return false;
|
||||||
|
if (!server || !allServers || !server.Valid() || !allServers.Valid()) return false;
|
||||||
|
if (server.wins > allServers.wins || server.losses > allServers.losses) return false;
|
||||||
|
if (outcome == "victory" && server.wins == 0) return false;
|
||||||
|
if (outcome == "defeat" && server.losses == 0) return false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
string Summary()
|
||||||
|
{
|
||||||
|
string text = "This map's record (including this round)\n";
|
||||||
|
text += server.Line("This server") + "\n" + allServers.Line("All reporting servers");
|
||||||
|
if (allServers.partialMissions > 0) text += "\nIncludes rounds with partial statistics.";
|
||||||
|
return text;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -29,7 +29,58 @@ class ERR_DiscoveryService
|
|||||||
protected int m_CleanupCursor;
|
protected int m_CleanupCursor;
|
||||||
protected float m_CleanupNow;
|
protected float m_CleanupNow;
|
||||||
protected bool m_Stopped;
|
protected bool m_Stopped;
|
||||||
void ERR_DiscoveryService(ERR_GameMode mode) { m_Mode = mode; }
|
protected int m_RadioIntelRequired;
|
||||||
|
protected int m_RadioIntelIdentified;
|
||||||
|
protected bool m_RadioIntelFinalized;
|
||||||
|
protected bool m_RadioIntelUnlocked;
|
||||||
|
void ERR_DiscoveryService(ERR_GameMode mode)
|
||||||
|
{
|
||||||
|
m_Mode = mode;
|
||||||
|
// Freeze the saved setting for this round; menu edits affect the next one.
|
||||||
|
m_RadioIntelRequired = mode.Settings().Get("radioIntelSiteCount");
|
||||||
|
m_RadioIntelUnlocked = m_RadioIntelRequired == 0;
|
||||||
|
}
|
||||||
|
protected bool CountsForRadioIntel(ERR_LocationComponent location)
|
||||||
|
{
|
||||||
|
if (!location || !location.Prepared() || location.Kind() == ERR_LocationKind.RADIO || location.Kind() == ERR_LocationKind.PRISON || location.Kind() == ERR_LocationKind.EXTRACTION) return false;
|
||||||
|
ERR_SiteService sites = m_Mode.Sites();
|
||||||
|
ERR_SiteRuntime site;
|
||||||
|
if (sites) site = sites.Find(location.Id());
|
||||||
|
return !site || !site.Definition || !site.Definition.RevealOnEscape;
|
||||||
|
}
|
||||||
|
protected void RefreshRadioIntel()
|
||||||
|
{
|
||||||
|
if (m_Stopped || !m_Mode || !Replication.IsServer()) return;
|
||||||
|
array<ERR_LocationComponent> locations = {};
|
||||||
|
m_Mode.Locations(locations);
|
||||||
|
set<string> available = new set<string>();
|
||||||
|
set<string> identified = new set<string>();
|
||||||
|
foreach (ERR_LocationComponent location : locations)
|
||||||
|
{
|
||||||
|
if (!CountsForRadioIntel(location)) continue;
|
||||||
|
available.Insert(location.Id());
|
||||||
|
if (location.Knowledge() == 2) identified.Insert(location.Id());
|
||||||
|
}
|
||||||
|
m_RadioIntelIdentified = identified.Count();
|
||||||
|
// Background generation can still add eligible sites. Finalize only once
|
||||||
|
// the active world's preparation has finished, including sparse terrains.
|
||||||
|
if (!m_RadioIntelFinalized && m_Mode.Active() && !m_Mode.WorldPreparing())
|
||||||
|
{
|
||||||
|
m_RadioIntelRequired = Math.Min(m_RadioIntelRequired, available.Count());
|
||||||
|
m_RadioIntelFinalized = true;
|
||||||
|
}
|
||||||
|
if (m_RadioIntelIdentified >= m_RadioIntelRequired) m_RadioIntelUnlocked = true;
|
||||||
|
}
|
||||||
|
bool RadioIntelAllowed() { RefreshRadioIntel(); return m_RadioIntelUnlocked; }
|
||||||
|
string RadioIntelStatus()
|
||||||
|
{
|
||||||
|
RefreshRadioIntel();
|
||||||
|
string state = "locked";
|
||||||
|
if (m_RadioIntelUnlocked) state = "unlocked";
|
||||||
|
string progress = string.Format("Radio intel %1: %2 / %3 non-radio sites identified this round.", state, m_RadioIntelIdentified, m_RadioIntelRequired);
|
||||||
|
if (!m_RadioIntelFinalized) progress += " Site preparation is still in progress.";
|
||||||
|
return progress;
|
||||||
|
}
|
||||||
// Shared ledger for recovered and administratively retired documents.
|
// Shared ledger for recovered and administratively retired documents.
|
||||||
bool IsSpent(IEntity folder) { return folder && m_Spent.Contains(folder); }
|
bool IsSpent(IEntity folder) { return folder && m_Spent.Contains(folder); }
|
||||||
bool CanMarkSpent(IEntity folder)
|
bool CanMarkSpent(IEntity folder)
|
||||||
@@ -145,10 +196,22 @@ class ERR_DiscoveryService
|
|||||||
array<ERR_LocationComponent> eligible = {};
|
array<ERR_LocationComponent> eligible = {};
|
||||||
ERR_DocumentComponent document = ERR_DocumentComponent.Cast(folder.FindComponent(ERR_DocumentComponent));
|
ERR_DocumentComponent document = ERR_DocumentComponent.Cast(folder.FindComponent(ERR_DocumentComponent));
|
||||||
string sealedTarget = m_Mode.Evidence().Target(folder);
|
string sealedTarget = m_Mode.Evidence().Target(folder);
|
||||||
|
bool radioAllowed = RadioIntelAllowed();
|
||||||
|
bool redirectRadio;
|
||||||
|
if (!radioAllowed && !document && !sealedTarget.IsEmpty())
|
||||||
|
{
|
||||||
|
foreach (ERR_LocationComponent target : locations)
|
||||||
|
if (target && target.Id() == sealedTarget && target.Kind() == ERR_LocationKind.RADIO) redirectRadio = true;
|
||||||
|
}
|
||||||
foreach (ERR_LocationComponent location : locations)
|
foreach (ERR_LocationComponent location : locations)
|
||||||
{
|
{
|
||||||
if (!location || location.Knowledge() >= 2) continue;
|
if (!location || location.Knowledge() >= 2) continue;
|
||||||
if (!sealedTarget.IsEmpty() && location.Id() != sealedTarget) continue;
|
if (!radioAllowed && location.Kind() == ERR_LocationKind.RADIO)
|
||||||
|
{
|
||||||
|
if (document && location.Id() == document.TargetId()) m_Mode.ERR_RadioIntelWaiting();
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
if (!redirectRadio && !sealedTarget.IsEmpty() && location.Id() != sealedTarget) continue;
|
||||||
if (document)
|
if (document)
|
||||||
{
|
{
|
||||||
if (location.Id() == document.TargetId()) eligible.Insert(location);
|
if (location.Id() == document.TargetId()) eligible.Insert(location);
|
||||||
@@ -157,7 +220,7 @@ class ERR_DiscoveryService
|
|||||||
}
|
}
|
||||||
if (eligible.IsEmpty())
|
if (eligible.IsEmpty())
|
||||||
{
|
{
|
||||||
if (!document && !m_Mode.WorldPreparing() && MarkSpent(folder))
|
if (!document && radioAllowed && !m_Mode.WorldPreparing() && MarkSpent(folder))
|
||||||
{
|
{
|
||||||
QueueCleanup(folder, m_CleanupNow);
|
QueueCleanup(folder, m_CleanupNow);
|
||||||
if (!mineRecovered) m_Mode.ERR_IntelExhausted(!sealedTarget.IsEmpty());
|
if (!mineRecovered) m_Mode.ERR_IntelExhausted(!sealedTarget.IsEmpty());
|
||||||
@@ -166,6 +229,7 @@ class ERR_DiscoveryService
|
|||||||
}
|
}
|
||||||
ERR_LocationComponent chosen = eligible.GetRandomElement();
|
ERR_LocationComponent chosen = eligible.GetRandomElement();
|
||||||
if (!chosen.Discover(Math.RandomInt(0, 100), m_Mode.Settings().Runtime("intelRevealChancePercent"))) continue;
|
if (!chosen.Discover(Math.RandomInt(0, 100), m_Mode.Settings().Runtime("intelRevealChancePercent"))) continue;
|
||||||
|
if (redirectRadio) m_Mode.Evidence().Retarget(folder, chosen.Id());
|
||||||
m_Spent.Insert(folder);
|
m_Spent.Insert(folder);
|
||||||
PrintFormat("Reintroduced [intel]: player %1 recovered folder; location=%2 knowledge=%3", GetGame().GetPlayerManager().GetPlayerIdFromControlledEntity(player), chosen.Id(), chosen.Knowledge());
|
PrintFormat("Reintroduced [intel]: player %1 recovered folder; location=%2 knowledge=%3", GetGame().GetPlayerManager().GetPlayerIdFromControlledEntity(player), chosen.Id(), chosen.Knowledge());
|
||||||
|
|
||||||
|
|||||||
@@ -33,13 +33,22 @@ class ERR_EscapeGameOverScreenInfo : SCR_BaseGameOverScreenInfo
|
|||||||
modded class SCR_GameOverScreenContentUIComponent
|
modded class SCR_GameOverScreenContentUIComponent
|
||||||
{
|
{
|
||||||
protected bool m_ERREscapeContent;
|
protected bool m_ERREscapeContent;
|
||||||
|
protected ERR_GameMode m_ERRStatisticsMode;
|
||||||
protected ERR_GameMode m_ERRFailureMode;
|
protected ERR_GameMode m_ERRFailureMode;
|
||||||
override void InitContent(SCR_GameOverScreenUIContentData endScreenUIContent)
|
override void InitContent(SCR_GameOverScreenUIContentData endScreenUIContent)
|
||||||
{
|
{
|
||||||
SCR_PlayerController.ERR_OnEscapeResultChanged().Remove(ERR_RefreshEscapeContent);
|
SCR_PlayerController.ERR_OnEscapeResultChanged().Remove(ERR_RefreshEscapeContent);
|
||||||
if (m_ERRFailureMode) m_ERRFailureMode.OnEndReasonChanged().Remove(ERR_RefreshFailureContent);
|
if (m_ERRFailureMode) m_ERRFailureMode.OnEndReasonChanged().Remove(ERR_RefreshFailureContent);
|
||||||
m_ERRFailureMode = null;
|
m_ERRFailureMode = null;
|
||||||
|
if (m_ERRStatisticsMode) m_ERRStatisticsMode.ERR_OnStatisticsChanged().Remove(ERR_RefreshStatistics);
|
||||||
|
m_ERRStatisticsMode = null;
|
||||||
super.InitContent(endScreenUIContent);
|
super.InitContent(endScreenUIContent);
|
||||||
|
if (ERR_EscapeGameOverScreenInfo.Cast(endScreenUIContent.m_GameOverInfo) || ERR_FailureGameOverScreenInfo.Cast(endScreenUIContent.m_GameOverInfo))
|
||||||
|
{
|
||||||
|
m_ERRStatisticsMode = ERR_GameMode.Get();
|
||||||
|
if (m_ERRStatisticsMode) m_ERRStatisticsMode.ERR_OnStatisticsChanged().Insert(ERR_RefreshStatistics);
|
||||||
|
ERR_RefreshStatistics();
|
||||||
|
}
|
||||||
if (ERR_FailureGameOverScreenInfo.Cast(endScreenUIContent.m_GameOverInfo))
|
if (ERR_FailureGameOverScreenInfo.Cast(endScreenUIContent.m_GameOverInfo))
|
||||||
{
|
{
|
||||||
m_ERRFailureMode = ERR_GameMode.Get();
|
m_ERRFailureMode = ERR_GameMode.Get();
|
||||||
@@ -71,10 +80,21 @@ modded class SCR_GameOverScreenContentUIComponent
|
|||||||
TextWidget debrief = TextWidget.Cast(m_wRoot.FindAnyWidget(m_sDebriefingName));
|
TextWidget debrief = TextWidget.Cast(m_wRoot.FindAnyWidget(m_sDebriefingName));
|
||||||
if (debrief) debrief.SetText(info.GetDebriefing(-1, null));
|
if (debrief) debrief.SetText(info.GetDebriefing(-1, null));
|
||||||
}
|
}
|
||||||
|
protected void ERR_RefreshStatistics()
|
||||||
|
{
|
||||||
|
if (!m_wRoot || !m_ERRStatisticsMode || m_ERRStatisticsMode != ERR_GameMode.Get()) return;
|
||||||
|
TextWidget text = TextWidget.Cast(m_wRoot.FindAnyWidget("RoundStatistics"));
|
||||||
|
if (!text) return;
|
||||||
|
string summary = m_ERRStatisticsMode.ERR_RoundSummary();
|
||||||
|
if (summary.IsEmpty()) summary = "Waiting for mission statistics...";
|
||||||
|
text.SetText(summary);
|
||||||
|
}
|
||||||
override void HandlerDeattached(Widget w)
|
override void HandlerDeattached(Widget w)
|
||||||
{
|
{
|
||||||
SCR_PlayerController.ERR_OnEscapeResultChanged().Remove(ERR_RefreshEscapeContent);
|
SCR_PlayerController.ERR_OnEscapeResultChanged().Remove(ERR_RefreshEscapeContent);
|
||||||
m_ERREscapeContent = false;
|
m_ERREscapeContent = false;
|
||||||
|
if (m_ERRStatisticsMode) m_ERRStatisticsMode.ERR_OnStatisticsChanged().Remove(ERR_RefreshStatistics);
|
||||||
|
m_ERRStatisticsMode = null;
|
||||||
if (m_ERRFailureMode) m_ERRFailureMode.OnEndReasonChanged().Remove(ERR_RefreshFailureContent);
|
if (m_ERRFailureMode) m_ERRFailureMode.OnEndReasonChanged().Remove(ERR_RefreshFailureContent);
|
||||||
m_ERRFailureMode = null;
|
m_ERRFailureMode = null;
|
||||||
super.HandlerDeattached(w);
|
super.HandlerDeattached(w);
|
||||||
|
|||||||
@@ -8,6 +8,16 @@ class ERR_RescueRules
|
|||||||
if (since < 0 || now < since) return now;
|
if (since < 0 || now < since) return now;
|
||||||
return since;
|
return since;
|
||||||
}
|
}
|
||||||
|
static float AirborneSince(bool airborne, float since, float now)
|
||||||
|
{
|
||||||
|
if (!airborne || now < 0) return -1;
|
||||||
|
if (since < 0 || now < since) return now;
|
||||||
|
return since;
|
||||||
|
}
|
||||||
|
static bool FlightComplete(float since, float now)
|
||||||
|
{
|
||||||
|
return since >= 0 && now >= since && now - since >= 30000;
|
||||||
|
}
|
||||||
static bool CanDepart(float since, float now)
|
static bool CanDepart(float since, float now)
|
||||||
{
|
{
|
||||||
return since >= 0 && now >= since && now - since >= 8000;
|
return since >= 0 && now >= since && now - since >= 8000;
|
||||||
@@ -234,6 +244,7 @@ class ERR_ExtractionService
|
|||||||
protected bool m_Stopped;
|
protected bool m_Stopped;
|
||||||
protected vector m_Center;
|
protected vector m_Center;
|
||||||
protected float m_Radius;
|
protected float m_Radius;
|
||||||
|
protected float m_AirborneSince = -1;
|
||||||
protected ERR_ExtractionState m_State;
|
protected ERR_ExtractionState m_State;
|
||||||
protected ref set<UUID> m_Escapees = new set<UUID>();
|
protected ref set<UUID> m_Escapees = new set<UUID>();
|
||||||
protected int m_ParticipantCount;
|
protected int m_ParticipantCount;
|
||||||
@@ -328,8 +339,12 @@ class ERR_ExtractionService
|
|||||||
if (m_State != ERR_ExtractionState.WAITING || !m_Assigned) return;
|
if (m_State != ERR_ExtractionState.WAITING || !m_Assigned) return;
|
||||||
if (!FleetAlive()) { Resolve(ERR_ExtractionState.LOST); return; }
|
if (!FleetAlive()) { Resolve(ERR_ExtractionState.LOST); return; }
|
||||||
if (m_Stage != 5 || phase != ERR_Phase.EXTRACTION) return;
|
if (m_Stage != 5 || phase != ERR_Phase.EXTRACTION) return;
|
||||||
|
bool airborne = !m_Transports.IsEmpty();
|
||||||
foreach (ERR_RescueFlightComponent departing : m_Transports)
|
foreach (ERR_RescueFlightComponent departing : m_Transports)
|
||||||
if (vector.DistanceXZ(departing.Aircraft().GetOrigin(), m_Pickup) < 1000 || vector.DistanceXZ(departing.Aircraft().GetOrigin(), m_Center) <= m_Radius) return;
|
if (!departing || !departing.AirborneAfterPickup()) airborne = false;
|
||||||
|
float now = GetGame().GetWorld().GetWorldTime();
|
||||||
|
m_AirborneSince = ERR_RescueRules.AirborneSince(airborne, m_AirborneSince, now);
|
||||||
|
if (!ERR_RescueRules.FlightComplete(m_AirborneSince, now)) return;
|
||||||
array<ref ERR_PlayerLife> lives = {};
|
array<ref ERR_PlayerLife> lives = {};
|
||||||
m_Roster.Participants(lives);
|
m_Roster.Participants(lives);
|
||||||
foreach (ERR_PlayerLife life : lives)
|
foreach (ERR_PlayerLife life : lives)
|
||||||
@@ -359,6 +374,13 @@ class ERR_ExtractionService
|
|||||||
}
|
}
|
||||||
void Stop()
|
void Stop()
|
||||||
{
|
{
|
||||||
|
// Capture the final aircraft state before terminal cleanup releases autopilots
|
||||||
|
// and removes the AI groups. Keep the same occupied airframes until reload.
|
||||||
|
if (m_State == ERR_ExtractionState.ESCAPED)
|
||||||
|
{
|
||||||
|
foreach (ERR_RescueFlightComponent safeTransport : m_Transports) if (safeTransport) safeTransport.HoldForResults();
|
||||||
|
foreach (ERR_RescueFlightComponent safeEscort : m_Escorts) if (safeEscort && !safeEscort.Lost()) safeEscort.HoldForResults();
|
||||||
|
}
|
||||||
m_Stopped = true; m_RadioPending = ""; m_PreviousSignals.Clear();
|
m_Stopped = true; m_RadioPending = ""; m_PreviousSignals.Clear();
|
||||||
foreach (ERR_RescueFlightComponent transport : m_Transports) if (transport) transport.Release(false);
|
foreach (ERR_RescueFlightComponent transport : m_Transports) if (transport) transport.Release(false);
|
||||||
foreach (ERR_RescueFlightComponent escort : m_Escorts) if (escort) escort.Release(false);
|
foreach (ERR_RescueFlightComponent escort : m_Escorts) if (escort) escort.Release(false);
|
||||||
|
|||||||
@@ -65,6 +65,7 @@ class ERR_GameMode : SCR_BaseGameMode
|
|||||||
protected ref ERR_Performance m_Performance;
|
protected ref ERR_Performance m_Performance;
|
||||||
ERR_Performance Performance() { return m_Performance; }
|
ERR_Performance Performance() { return m_Performance; }
|
||||||
protected ref ERR_CivilianTraffic m_CivilianTraffic;
|
protected ref ERR_CivilianTraffic m_CivilianTraffic;
|
||||||
|
protected ref ERR_GarageVehicles m_GarageVehicles;
|
||||||
protected ref ERR_ForceLedger m_Forces = new ERR_ForceLedger();
|
protected ref ERR_ForceLedger m_Forces = new ERR_ForceLedger();
|
||||||
protected ref ERR_ForceSimulation m_ForceSimulation;
|
protected ref ERR_ForceSimulation m_ForceSimulation;
|
||||||
protected ref array<AIAgent> m_ForceAgents = {};
|
protected ref array<AIAgent> m_ForceAgents = {};
|
||||||
@@ -143,6 +144,7 @@ class ERR_GameMode : SCR_BaseGameMode
|
|||||||
ERR_ForceLedger Forces() { return m_Forces; }
|
ERR_ForceLedger Forces() { return m_Forces; }
|
||||||
ERR_CommandService Command() { return m_Command; }
|
ERR_CommandService Command() { return m_Command; }
|
||||||
ERR_CivilianTraffic CivilianTraffic() { return m_CivilianTraffic; }
|
ERR_CivilianTraffic CivilianTraffic() { return m_CivilianTraffic; }
|
||||||
|
ERR_GarageVehicles GarageVehicles() { return m_GarageVehicles; }
|
||||||
ERR_Objectives Objectives() { return m_Objectives; }
|
ERR_Objectives Objectives() { return m_Objectives; }
|
||||||
ERR_ExtractionService Extraction() { return m_Extraction; }
|
ERR_ExtractionService Extraction() { return m_Extraction; }
|
||||||
string EndReason() { return m_EndReason; }
|
string EndReason() { return m_EndReason; }
|
||||||
@@ -546,6 +548,9 @@ class ERR_GameMode : SCR_BaseGameMode
|
|||||||
m_Command = CreateCommandService();
|
m_Command = CreateCommandService();
|
||||||
m_CivilianTraffic = new ERR_CivilianTraffic(this);
|
m_CivilianTraffic = new ERR_CivilianTraffic(this);
|
||||||
OnStop().Insert(m_CivilianTraffic.Stop);
|
OnStop().Insert(m_CivilianTraffic.Stop);
|
||||||
|
m_GarageVehicles = new ERR_GarageVehicles(this);
|
||||||
|
OnStop().Insert(m_GarageVehicles.Stop);
|
||||||
|
m_GarageVehicles.Start();
|
||||||
GetGame().GetCallqueue().CallLater(ServerTick, 1000, true);
|
GetGame().GetCallqueue().CallLater(ServerTick, 1000, true);
|
||||||
GetGame().GetCallqueue().CallLater(StartScenario, 1500, false);
|
GetGame().GetCallqueue().CallLater(StartScenario, 1500, false);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
class ERR_CampTerrain
|
class ERR_CampTerrain
|
||||||
{
|
{
|
||||||
protected ref array<vector> m_Airfields = {};
|
protected ref array<vector> m_Airfields = {};
|
||||||
|
protected string m_Rejection;
|
||||||
|
string Rejection() { return m_Rejection; }
|
||||||
|
protected bool Reject(string reason) { m_Rejection = reason; return false; }
|
||||||
protected bool Airport(IEntity entity)
|
protected bool Airport(IEntity entity)
|
||||||
{
|
{
|
||||||
if (!entity || !entity.GetPrefabData()) return false;
|
if (!entity || !entity.GetPrefabData()) return false;
|
||||||
@@ -27,21 +30,19 @@ class ERR_CampTerrain
|
|||||||
}
|
}
|
||||||
bool Clear(vector center, float heading, float halfSize, float maximumRange, out float lowest, float clearanceHeight = 4)
|
bool Clear(vector center, float heading, float halfSize, float maximumRange, out float lowest, float clearanceHeight = 4)
|
||||||
{
|
{
|
||||||
|
m_Rejection = "";
|
||||||
lowest = float.MAX; float highest = -float.MAX;
|
lowest = float.MAX; float highest = -float.MAX;
|
||||||
for (int x = -1; x <= 1; x++)
|
|
||||||
for (int z = -1; z <= 1; z++)
|
|
||||||
{
|
|
||||||
vector corner = center + Rotate(Vector(x * halfSize, 0, z * halfSize), heading);
|
|
||||||
if (ChimeraWorldUtils.TryGetWaterSurfaceSimple(GetGame().GetWorld(), corner)) return false;
|
|
||||||
}
|
|
||||||
// A 2m grid covers the walls, door approach, furniture and all interior slots.
|
// A 2m grid covers the walls, door approach, furniture and all interior slots.
|
||||||
for (float dx = -halfSize; dx <= halfSize; dx += 2)
|
for (float dx = -halfSize; dx <= halfSize; dx += 2)
|
||||||
for (float dz = -halfSize; dz <= halfSize; dz += 2)
|
for (float dz = -halfSize; dz <= halfSize; dz += 2)
|
||||||
{
|
{
|
||||||
vector sample = center + Rotate(Vector(dx, 0, dz), heading);
|
vector sample = center + Rotate(Vector(dx, 0, dz), heading);
|
||||||
float height = GetGame().GetWorld().GetSurfaceY(sample[0], sample[2]);
|
float height = GetGame().GetWorld().GetSurfaceY(sample[0], sample[2]);
|
||||||
|
if (!ERR_ForceRules.Finite(height)) return Reject("invalid terrain height");
|
||||||
|
sample[1] = height;
|
||||||
|
if (ChimeraWorldUtils.TryGetWaterSurfaceSimple(GetGame().GetWorld(), sample)) return Reject("water");
|
||||||
lowest = Math.Min(lowest, height); highest = Math.Max(highest, height);
|
lowest = Math.Min(lowest, height); highest = Math.Max(highest, height);
|
||||||
if (lowest < 1 || highest - lowest > maximumRange) return false;
|
if (highest - lowest > maximumRange) return Reject("uneven ground");
|
||||||
}
|
}
|
||||||
for (float cx = -halfSize + 1; cx < halfSize; cx += 2)
|
for (float cx = -halfSize + 1; cx < halfSize; cx += 2)
|
||||||
for (float cz = -halfSize + 1; cz < halfSize; cz += 2)
|
for (float cz = -halfSize + 1; cz < halfSize; cz += 2)
|
||||||
@@ -53,33 +54,42 @@ class ERR_CampTerrain
|
|||||||
// Bounding the rotated cell conservatively also protects the exit corridor.
|
// Bounding the rotated cell conservatively also protects the exit corridor.
|
||||||
trace.Mins = "-1.42 0 -1.42"; trace.Maxs = "1.42 0.1 1.42";
|
trace.Mins = "-1.42 0 -1.42"; trace.Maxs = "1.42 0.1 1.42";
|
||||||
trace.Flags = TraceFlags.ENTS | TraceFlags.WORLD;
|
trace.Flags = TraceFlags.ENTS | TraceFlags.WORLD;
|
||||||
if (GetGame().GetWorld().TraceMove(trace, null) < 1) return false;
|
if (GetGame().GetWorld().TraceMove(trace, null) < 1) return Reject("obstructed footprint");
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
bool Site(ERR_SiteDefinition site, vector position, float heading, out float baseHeight)
|
bool Site(ERR_SiteDefinition site, vector position, float heading, out float baseHeight, float airportBuffer = 1500)
|
||||||
{
|
{
|
||||||
|
m_Rejection = "";
|
||||||
bool prison = site.Kind == ERR_LocationKind.PRISON;
|
bool prison = site.Kind == ERR_LocationKind.PRISON;
|
||||||
if (prison)
|
if (prison)
|
||||||
{
|
{
|
||||||
foreach (vector airport : m_Airfields) if (vector.DistanceXZ(position, airport) < 1500) return false;
|
foreach (vector airport : m_Airfields) if (vector.DistanceXZ(position, airport) < airportBuffer) return Reject("airport separation");
|
||||||
}
|
}
|
||||||
|
bool extraction = site.Kind == ERR_LocationKind.EXTRACTION;
|
||||||
|
// Camps must stay off roads; a helicopter pad may use clear paved ground.
|
||||||
|
// Its physical terrain, obstacle and fleet checks still decide acceptance.
|
||||||
|
if (!extraction)
|
||||||
|
{
|
||||||
SCR_AIWorld aiWorld = SCR_AIWorld.Cast(GetGame().GetAIWorld());
|
SCR_AIWorld aiWorld = SCR_AIWorld.Cast(GetGame().GetAIWorld());
|
||||||
if (!aiWorld || !aiWorld.GetRoadNetworkManager()) return false;
|
if (!aiWorld || !aiWorld.GetRoadNetworkManager()) return Reject("road network unavailable");
|
||||||
BaseRoad road; float distance;
|
BaseRoad road; float distance;
|
||||||
aiWorld.GetRoadNetworkManager().GetClosestRoad(position, road, distance, skipNavlinks: true);
|
aiWorld.GetRoadNetworkManager().GetClosestRoad(position, road, distance, skipNavlinks: true);
|
||||||
if (road && distance < 12) return false;
|
if (road && distance < 12) return Reject("road proximity");
|
||||||
if (!Clear(position, heading, 10, 0.6, baseHeight)) return false;
|
}
|
||||||
|
float maximumRange = 0.6;
|
||||||
|
if (extraction) maximumRange = 0.8;
|
||||||
|
if (!Clear(position, heading, 10, maximumRange, baseHeight)) return false;
|
||||||
if (ERR_StartSetup.IsCrash(site))
|
if (ERR_StartSetup.IsCrash(site))
|
||||||
{
|
{
|
||||||
vector offset, center; float halfSize, height;
|
vector offset, center; float halfSize, height;
|
||||||
if (!ERR_StartSetup.Geometry(offset, center, halfSize, height)) return false;
|
if (!ERR_StartSetup.Geometry(offset, center, halfSize, height)) return Reject("crash footprint unavailable");
|
||||||
float wreckFloor;
|
float wreckFloor;
|
||||||
if (!Clear(position + Rotate(center, heading), heading, halfSize, 0.6, wreckFloor, height)) return false;
|
if (!Clear(position + Rotate(center, heading), heading, halfSize, 0.6, wreckFloor, height)) return Reject("wreck area: " + m_Rejection);
|
||||||
}
|
}
|
||||||
float guardHeight;
|
float guardHeight;
|
||||||
if (site.Guarded && !Clear(position + Rotate(site.GuardOffset, heading), heading, 6, 0.6, guardHeight)) return false;
|
if (site.Guarded && !Clear(position + Rotate(site.GuardOffset, heading), heading, 6, 0.6, guardHeight)) return Reject("guard area: " + m_Rejection);
|
||||||
if (site.ResponseCount > 0 && !Clear(position + Rotate(site.ResponseOffset, heading), heading, 6, 0.6, guardHeight)) return false;
|
if (site.ResponseCount > 0 && !Clear(position + Rotate(site.ResponseOffset, heading), heading, 6, 0.6, guardHeight)) return Reject("patrol area: " + m_Rejection);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -90,6 +100,38 @@ class ERR_GeneratedSites
|
|||||||
protected ref array<ERR_SiteDefinition> m_Pending = {};
|
protected ref array<ERR_SiteDefinition> m_Pending = {};
|
||||||
protected vector m_Low, m_High;
|
protected vector m_Low, m_High;
|
||||||
protected int m_Index, m_Attempts, m_Began;
|
protected int m_Index, m_Attempts, m_Began;
|
||||||
|
protected int m_NextDiagnostic;
|
||||||
|
protected ref map<string, int> m_Rejections = new map<string, int>();
|
||||||
|
protected void RecordRejection(string reason)
|
||||||
|
{
|
||||||
|
if (reason.IsEmpty()) reason = "unspecified terrain clearance";
|
||||||
|
int count;
|
||||||
|
m_Rejections.Find(reason, count);
|
||||||
|
m_Rejections.Set(reason, count + 1);
|
||||||
|
}
|
||||||
|
protected string RejectionSummary()
|
||||||
|
{
|
||||||
|
string summary;
|
||||||
|
foreach (string reason, int count : m_Rejections)
|
||||||
|
{
|
||||||
|
if (!summary.IsEmpty()) summary += "; ";
|
||||||
|
summary += reason + "=" + count.ToString();
|
||||||
|
}
|
||||||
|
if (summary.IsEmpty()) return "none recorded";
|
||||||
|
return summary;
|
||||||
|
}
|
||||||
|
protected void ReportSearch(ERR_SiteDefinition site, string stage)
|
||||||
|
{
|
||||||
|
PrintFormat("Reintroduced [placement search]: stage=%1 site=%2 (%3) attempts=%4 elapsedMs=%5 failed/deferred checks: %6", stage, site.Id, site.Label, m_Attempts, System.GetTickCount() - m_Began, RejectionSummary());
|
||||||
|
}
|
||||||
|
protected void ReportProgress(ERR_SiteDefinition site)
|
||||||
|
{
|
||||||
|
int now = System.GetTickCount();
|
||||||
|
if (now - m_Began < 30000 || now < m_NextDiagnostic) return;
|
||||||
|
ReportSearch(site, "still searching");
|
||||||
|
m_NextDiagnostic = now + 30000;
|
||||||
|
}
|
||||||
|
protected void ClearDiagnostics() { m_Rejections.Clear(); m_NextDiagnostic = 0; }
|
||||||
protected bool m_Started;
|
protected bool m_Started;
|
||||||
protected ERR_PrepareResult m_Result = ERR_PrepareResult.PENDING;
|
protected ERR_PrepareResult m_Result = ERR_PrepareResult.PENDING;
|
||||||
protected string m_Error;
|
protected string m_Error;
|
||||||
@@ -144,6 +186,7 @@ class ERR_GeneratedSites
|
|||||||
if (candidate.Kind == ERR_LocationKind.RADIO && other.Kind == ERR_LocationKind.PRISON) minimum = 1000;
|
if (candidate.Kind == ERR_LocationKind.RADIO && other.Kind == ERR_LocationKind.PRISON) minimum = 1000;
|
||||||
if (vector.DistanceXZ(position, other.Position) < minimum) return false;
|
if (vector.DistanceXZ(position, other.Position) < minimum) return false;
|
||||||
if (candidate.Kind == ERR_LocationKind.PRISON && other.Kind == ERR_LocationKind.EXTRACTION && vector.DistanceXZ(position, other.Position) + 100 >= ERR_GameMode.Get().EscapeRadius()) return false;
|
if (candidate.Kind == ERR_LocationKind.PRISON && other.Kind == ERR_LocationKind.EXTRACTION && vector.DistanceXZ(position, other.Position) + 100 >= ERR_GameMode.Get().EscapeRadius()) return false;
|
||||||
|
if (candidate.Kind == ERR_LocationKind.EXTRACTION && other.Kind == ERR_LocationKind.PRISON && vector.DistanceXZ(position, other.Position) + 100 >= ERR_GameMode.Get().EscapeRadius()) return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -169,6 +212,10 @@ class ERR_GeneratedSites
|
|||||||
{
|
{
|
||||||
if (site.Kind != ERR_LocationKind.EXTRACTION) return true;
|
if (site.Kind != ERR_LocationKind.EXTRACTION) return true;
|
||||||
vector primary = ERR_Actors.Ground(position + ERR_CampTerrain.Rotate(site.AircraftOffset, heading));
|
vector primary = ERR_Actors.Ground(position + ERR_CampTerrain.Rotate(site.AircraftOffset, heading));
|
||||||
|
// Validate the primary pad before committing a random candidate, so an
|
||||||
|
// obstructed clearing is retried instead of failing later during site creation.
|
||||||
|
if (site.RequireAirfield) { if (!ERR_AirfieldPlacement.Clear(primary)) return false; }
|
||||||
|
else if (!ERR_AirfieldPlacement.ClearGround(primary)) return false;
|
||||||
return ERR_RescueLanding.Fits(primary);
|
return ERR_RescueLanding.Fits(primary);
|
||||||
}
|
}
|
||||||
ERR_PrepareResult Tick()
|
ERR_PrepareResult Tick()
|
||||||
@@ -180,6 +227,7 @@ class ERR_GeneratedSites
|
|||||||
{
|
{
|
||||||
if (m_StartupOnly && StartupReady()) return ERR_PrepareResult.PENDING;
|
if (m_StartupOnly && StartupReady()) return ERR_PrepareResult.PENDING;
|
||||||
ERR_SiteDefinition site = m_Pending[m_Index];
|
ERR_SiteDefinition site = m_Pending[m_Index];
|
||||||
|
ReportProgress(site);
|
||||||
bool fallback = m_Attempts >= 12000 || System.GetTickCount() - m_Began >= 30000;
|
bool fallback = m_Attempts >= 12000 || System.GetTickCount() - m_Began >= 30000;
|
||||||
vector position = site.Position; float heading = site.Heading;
|
vector position = site.Position; float heading = site.Heading;
|
||||||
if (!fallback)
|
if (!fallback)
|
||||||
@@ -188,22 +236,30 @@ class ERR_GeneratedSites
|
|||||||
heading = Math.RandomFloat(0, 360); m_Attempts++;
|
heading = Math.RandomFloat(0, 360); m_Attempts++;
|
||||||
}
|
}
|
||||||
float floor;
|
float floor;
|
||||||
if (Separated(site, position, fallback) && m_Terrain.Site(site, position, heading, floor) && RescueFits(site, position, heading))
|
bool fits;
|
||||||
|
if (!Separated(site, position, fallback)) RecordRejection("site spacing / escape boundary");
|
||||||
|
else if (!m_Terrain.Site(site, position, heading, floor)) RecordRejection(m_Terrain.Rejection());
|
||||||
|
else if (!RescueFits(site, position, heading)) RecordRejection("aircraft landing clearance / fleet space");
|
||||||
|
else fits = true;
|
||||||
|
if (fits)
|
||||||
{
|
{
|
||||||
position[1] = floor + 0.02;
|
position[1] = floor + 0.02;
|
||||||
site.Position = position; site.Heading = heading; site.PlacementResolved = true;
|
site.Position = position; site.Heading = heading; site.PlacementResolved = true;
|
||||||
PrintFormat("Co10 Escape Reintroduced [generated site]: id=%1 position=%2 heading=%3 attempts=%4 fallback=%5", site.Id, position, heading, m_Attempts, fallback);
|
PrintFormat("Co10 Escape Reintroduced [generated site]: id=%1 position=%2 heading=%3 attempts=%4 fallback=%5", site.Id, position, heading, m_Attempts, fallback);
|
||||||
|
ReportSearch(site, "placed"); ClearDiagnostics();
|
||||||
m_Index++; m_Attempts = 0; m_Began = System.GetTickCount();
|
m_Index++; m_Attempts = 0; m_Began = System.GetTickCount();
|
||||||
}
|
}
|
||||||
else if (fallback)
|
else if (fallback)
|
||||||
{
|
{
|
||||||
|
ReportSearch(site, "exhausted; authored fallback rejected");
|
||||||
if (SkipOptional(site))
|
if (SkipOptional(site))
|
||||||
{
|
{
|
||||||
|
ClearDiagnostics();
|
||||||
m_Index++; m_Attempts = 0; m_Began = System.GetTickCount();
|
m_Index++; m_Attempts = 0; m_Began = System.GetTickCount();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_Error = "No safe terrain or valid authored fallback for required site " + site.Id;
|
m_Error = "No safe terrain or valid authored fallback for required site " + site.Id + ". Checks: " + RejectionSummary();
|
||||||
m_Result = ERR_PrepareResult.FAILED; return m_Result;
|
m_Result = ERR_PrepareResult.FAILED; return m_Result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ modded class ERR_GameMode
|
|||||||
if (!ERR_MortarIntelReady()) return;
|
if (!ERR_MortarIntelReady()) return;
|
||||||
if (!ERR_AirfieldCheck(!Sites().Find("everon-supply-2"), "guarded car-and-crate site absent")) return;
|
if (!ERR_AirfieldCheck(!Sites().Find("everon-supply-2"), "guarded car-and-crate site absent")) return;
|
||||||
ERR_SiteRuntime extraction = Sites().Find("everon-extraction-1");
|
ERR_SiteRuntime extraction = Sites().Find("everon-extraction-1");
|
||||||
if (!ERR_AirfieldCheck(extraction.Definition.RequireAirfield && vector.DistanceXZ(ExtractionVehicle().GetOrigin(), "4800.953 0 11487.412") < 3 && ERR_CasualtyLoadingRules.AircraftReady(ExtractionVehicle()), "production aircraft settled intact on validated Everon airfield pad")) return;
|
if (!ERR_AirfieldCheck(!extraction.Definition.RequireAirfield && extraction.Definition.PlacementResolved && vector.DistanceXZ(ExtractionVehicle().GetOrigin(), extraction.Definition.Position) < 3 && ERR_CasualtyLoadingRules.AircraftReady(ExtractionVehicle()), "production aircraft settled intact on validated generated landing zone")) return;
|
||||||
if (!ERR_AirfieldCheck(!ERR_AirfieldPlacement.Clear(ERR_Actors.Ground("7012 0 7500")), "old off-airfield helicopter position rejected")) return;
|
if (!ERR_AirfieldCheck(!ERR_AirfieldPlacement.Clear(ERR_Actors.Ground("7012 0 7500")), "old off-airfield helicopter position rejected")) return;
|
||||||
if (!ERR_AirfieldCheck(!ERR_AirfieldPlacement.Clear(ExtractionVehicle().GetOrigin()), "occupied airfield pad rejected")) return;
|
if (!ERR_AirfieldCheck(!ERR_AirfieldPlacement.Clear(ExtractionVehicle().GetOrigin()), "occupied airfield pad rejected")) return;
|
||||||
if (!ERR_AirfieldCheck(Sites().Find("everon-medical-1").Definition.RevealOnEscape && Sites().Find("everon-supply-1").Definition.RevealOnEscape, "two reachable intel sites retained")) return;
|
if (!ERR_AirfieldCheck(Sites().Find("everon-medical-1").Definition.RevealOnEscape && Sites().Find("everon-supply-1").Definition.RevealOnEscape, "two reachable intel sites retained")) return;
|
||||||
|
|||||||
@@ -775,6 +775,10 @@ modded class ERR_GameMode
|
|||||||
ERR_SiteRuntime medical = Sites().Find("everon-medical-1");
|
ERR_SiteRuntime medical = Sites().Find("everon-medical-1");
|
||||||
if (!ERR_BaseCheck(medical.Location.Knowledge() == 2 && medical.Location.Label() == "Medical stash" && m_ERRMedicalDiscoveries == 1, "conscious nearby player visually discovers named medical stash once")) return;
|
if (!ERR_BaseCheck(medical.Location.Knowledge() == 2 && medical.Location.Label() == "Medical stash" && m_ERRMedicalDiscoveries == 1, "conscious nearby player visually discovers named medical stash once")) return;
|
||||||
if (!ERR_BaseCheck(!Sites().CanObserve(m_ERRBasePlayer, Sites().Find("everon-radio-1")), "distant medical-site discovery does not reveal the radio")) return;
|
if (!ERR_BaseCheck(!Sites().CanObserve(m_ERRBasePlayer, Sites().Find("everon-radio-1")), "distant medical-site discovery does not reveal the radio")) return;
|
||||||
|
// This sparse historical fixture has two eligible sites. Arrange the
|
||||||
|
// remaining identification before testing document ownership and recovery.
|
||||||
|
Sites().Find("everon-outpost-1").Location.Discover(0, 100);
|
||||||
|
if (!ERR_BaseCheck(Discovery().RadioIntelAllowed(), "identified optional sites unlock the historical radio documents")) return;
|
||||||
m_ERRBaseStep = 1;
|
m_ERRBaseStep = 1;
|
||||||
}
|
}
|
||||||
else if (m_ERRBaseStep == 1 || m_ERRBaseStep == 2)
|
else if (m_ERRBaseStep == 1 || m_ERRBaseStep == 2)
|
||||||
|
|||||||
@@ -3,14 +3,14 @@
|
|||||||
modded class ERR_CampTerrain
|
modded class ERR_CampTerrain
|
||||||
{
|
{
|
||||||
static bool s_ERROptionalSiteRefused;
|
static bool s_ERROptionalSiteRefused;
|
||||||
override bool Site(ERR_SiteDefinition site, vector position, float heading, out float baseHeight)
|
override bool Site(ERR_SiteDefinition site, vector position, float heading, out float baseHeight, float airportBuffer = 1500)
|
||||||
{
|
{
|
||||||
string outcome;
|
string outcome;
|
||||||
if ((site.Id == "everon-camp-5" || site.Id == "everon-outpost-1") && System.GetCLIParam("errSmokeOutcome", outcome) && outcome == "optional-site-skip")
|
if ((site.Id == "everon-camp-5" || site.Id == "everon-outpost-1") && System.GetCLIParam("errSmokeOutcome", outcome) && outcome == "optional-site-skip")
|
||||||
{
|
{
|
||||||
s_ERROptionalSiteRefused = true; return false;
|
s_ERROptionalSiteRefused = true; return false;
|
||||||
}
|
}
|
||||||
return super.Site(site, position, heading, baseHeight);
|
return super.Site(site, position, heading, baseHeight, airportBuffer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
modded class ERR_GameMode
|
modded class ERR_GameMode
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ modded class ERR_GameMode
|
|||||||
float now = GetWorld().GetWorldTime();
|
float now = GetWorld().GetWorldTime();
|
||||||
if (Phase() == ERR_Phase.VICTORY)
|
if (Phase() == ERR_Phase.VICTORY)
|
||||||
{
|
{
|
||||||
ERR_RescueCheck(Extraction().EscapedCount() == 1, "native flight carried the original prisoner across the escape boundary");
|
ERR_RescueCheck(Extraction().EscapedCount() == 1, "native flight carried the original prisoner through thirty seconds of airborne evacuation");
|
||||||
Print("ERR RESCUE COMPLETE"); GetGame().GetCallqueue().Remove(ERR_RescueProbeTick); return;
|
Print("ERR RESCUE COMPLETE"); GetGame().GetCallqueue().Remove(ERR_RescueProbeTick); return;
|
||||||
}
|
}
|
||||||
if (!PreparationError().IsEmpty() || Phase() == ERR_Phase.DEFEAT) { ERR_RescueCheck(false, "mission failed: " + PreparationError()); return; }
|
if (!PreparationError().IsEmpty() || Phase() == ERR_Phase.DEFEAT) { ERR_RescueCheck(false, "mission failed: " + PreparationError()); return; }
|
||||||
|
|||||||
@@ -1,12 +1,22 @@
|
|||||||
#ifdef WORKBENCH
|
#ifdef WORKBENCH
|
||||||
class ERR_RoadblockProbeRules
|
class ERR_RoadblockProbeRules
|
||||||
{
|
{
|
||||||
static int Target()
|
static int SmallTarget()
|
||||||
{
|
{
|
||||||
string value;
|
string value;
|
||||||
if (System.GetCLIParam("errRoadblockProbeCount", value)) return Math.Clamp(value.ToInt(), 1, 30);
|
if (System.GetCLIParam("errRoadblockProbeCount", value)) return Math.Clamp(value.ToInt(), 0, 30);
|
||||||
return 30;
|
return 30;
|
||||||
}
|
}
|
||||||
|
static int LargeTarget()
|
||||||
|
{
|
||||||
|
string value;
|
||||||
|
if (System.GetCLIParam("errLargeRoadblockProbeCount", value)) return Math.Clamp(value.ToInt(), 0, 30);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
static int Target() { return SmallTarget() + LargeTarget(); }
|
||||||
|
static int Guards() { return SmallTarget() * 4 + LargeTarget() * 8; }
|
||||||
|
static int Props() { return SmallTarget() * 8 + LargeTarget() * 14; }
|
||||||
|
|
||||||
}
|
}
|
||||||
modded class ERR_HQ
|
modded class ERR_HQ
|
||||||
{
|
{
|
||||||
@@ -23,7 +33,11 @@ modded class ERR_Roadblocks
|
|||||||
{
|
{
|
||||||
string outcome;
|
string outcome;
|
||||||
if (!m_Begun && System.GetCLIParam("errSmokeOutcome", outcome) && outcome == "roadblocks")
|
if (!m_Begun && System.GetCLIParam("errSmokeOutcome", outcome) && outcome == "roadblocks")
|
||||||
m_Mode.Settings().Set("roadblockCount", ERR_RoadblockProbeRules.Target());
|
{
|
||||||
|
m_Mode.Settings().Set("roadblockCount", ERR_RoadblockProbeRules.SmallTarget());
|
||||||
|
m_Mode.Settings().Set("largeRoadblockCount", ERR_RoadblockProbeRules.LargeTarget());
|
||||||
|
m_Mode.Settings().Set("mainRoadWidthMetres", 6);
|
||||||
|
}
|
||||||
return super.Prepare(definition);
|
return super.Prepare(definition);
|
||||||
}
|
}
|
||||||
protected int m_ERRLayoutPosts;
|
protected int m_ERRLayoutPosts;
|
||||||
@@ -40,7 +54,7 @@ modded class ERR_Roadblocks
|
|||||||
for (int i = 0; i < m_BuildCovers.Count() && valid; i++)
|
for (int i = 0; i < m_BuildCovers.Count() && valid; i++)
|
||||||
{
|
{
|
||||||
ERR_RoadblockProp prop = m_BuildCovers[i];
|
ERR_RoadblockProp prop = m_BuildCovers[i];
|
||||||
IEntity entity = m_BuildSpawned[i + 4];
|
IEntity entity = m_BuildSpawned[i + m_BuildPositions.Count()];
|
||||||
vector low, high; entity.GetBounds(low, high);
|
vector low, high; entity.GetBounds(low, high);
|
||||||
if (m_ERRLayoutPosts == 0) PrintFormat("ERR ROADBLOCK PROP NATIVE: prefab=%1 low=%2 high=%3", prop.Prefab, low, high);
|
if (m_ERRLayoutPosts == 0) PrintFormat("ERR ROADBLOCK PROP NATIVE: prefab=%1 low=%2 high=%3", prop.Prefab, low, high);
|
||||||
if (Math.Max(Math.AbsFloat(low[0]), Math.AbsFloat(high[0])) > prop.HalfWidth
|
if (Math.Max(Math.AbsFloat(low[0]), Math.AbsFloat(high[0])) > prop.HalfWidth
|
||||||
@@ -102,28 +116,29 @@ modded class ERR_Roadblocks
|
|||||||
foreach (SCR_AIGroup group : m_Groups)
|
foreach (SCR_AIGroup group : m_Groups)
|
||||||
{
|
{
|
||||||
ERR_ForceRecord record = m_Mode.Forces().FindGroup(group);
|
ERR_ForceRecord record = m_Mode.Forces().FindGroup(group);
|
||||||
if (!group || !record || record.Kind != ERR_ForceKind.CHECKPOINT || record.InitialStrength != 4 || m_Mode.ForceLiving(group) != 4) return false;
|
if (!group || !record || record.Kind != ERR_ForceKind.CHECKPOINT || (record.InitialStrength != 4 && record.InitialStrength != 8) || m_Mode.ForceLiving(group) != record.InitialStrength) return false;
|
||||||
if (group.GetFaction() != m_Mode.EnemyFaction() || !ERR_HQ.Get().ERR_ProbeRoadblockGroup(group)) return false;
|
if (group.GetFaction() != m_Mode.EnemyFaction() || !ERR_HQ.Get().ERR_ProbeRoadblockGroup(group)) return false;
|
||||||
}
|
}
|
||||||
|
if (m_SmallPlaced != ERR_RoadblockProbeRules.SmallTarget() || m_LargePlaced != ERR_RoadblockProbeRules.LargeTarget()) return false;
|
||||||
int count = m_Positions.Count();
|
int count = m_Positions.Count();
|
||||||
BackgroundStep();
|
BackgroundStep();
|
||||||
PrintFormat("ERR ROADBLOCK BACKGROUND NATIVE: posts=%1 guards=%2 steps=%3 workMs=%4 maxStepMs=%5 attempts=%6", count, count * 4, m_BackgroundSteps, m_BackgroundWork, m_MaxBackgroundStep, m_Attempts);
|
PrintFormat("ERR ROADBLOCK BACKGROUND NATIVE: posts=%1 guards=%2 steps=%3 workMs=%4 maxStepMs=%5 attempts=%6", count, ERR_RoadblockProbeRules.Guards(), m_BackgroundSteps, m_BackgroundWork, m_MaxBackgroundStep, m_Attempts);
|
||||||
return m_Positions.Count() == count && m_BackgroundSteps > 0;
|
return m_Positions.Count() == count && (m_BackgroundSteps > 0 || ERR_RoadblockProbeRules.Target() <= 4);
|
||||||
}
|
}
|
||||||
bool ERR_ProbePreparedRoadblocks()
|
bool ERR_ProbePreparedRoadblocks()
|
||||||
{
|
{
|
||||||
if (!m_Ready || m_Target != 4 || m_Groups.IsEmpty() || m_Groups.Count() > m_Target || m_Groups.Count() != m_Positions.Count()) return false;
|
if (!m_Ready || m_Target != m_SmallTarget + m_LargeTarget || m_Groups.IsEmpty() || m_Groups.Count() > m_Target || m_Groups.Count() != m_Positions.Count()) return false;
|
||||||
int count = m_Groups.Count();
|
int count = m_Groups.Count();
|
||||||
foreach (SCR_AIGroup group : m_Groups)
|
foreach (SCR_AIGroup group : m_Groups)
|
||||||
{
|
{
|
||||||
ERR_ForceRecord record = m_Mode.Forces().FindGroup(group);
|
ERR_ForceRecord record = m_Mode.Forces().FindGroup(group);
|
||||||
if (!record || record.Kind != ERR_ForceKind.CHECKPOINT || record.InitialStrength != 4 || m_Mode.ForceLiving(group) != 4
|
if (!record || record.Kind != ERR_ForceKind.CHECKPOINT || (record.InitialStrength != 4 && record.InitialStrength != 8) || m_Mode.ForceLiving(group) != record.InitialStrength
|
||||||
|| group.GetFaction() != m_Mode.EnemyFaction() || !ERR_HQ.Get().ERR_ProbeRoadblockGroup(group)) return false;
|
|| group.GetFaction() != m_Mode.EnemyFaction() || !ERR_HQ.Get().ERR_ProbeRoadblockGroup(group)) return false;
|
||||||
}
|
}
|
||||||
ERR_ScenarioDefinition definition = ERR_ScenarioDefinition.Cast(SCR_BaseContainerTools.CreateInstanceFromPrefab("{ACA98B44E2173605}Configs/ERR/Tests/LegacySites.conf"));
|
ERR_ScenarioDefinition definition = ERR_ScenarioDefinition.Cast(SCR_BaseContainerTools.CreateInstanceFromPrefab("{ACA98B44E2173605}Configs/ERR/Tests/LegacySites.conf"));
|
||||||
// Repeated preparation cannot replenish or create another squad.
|
// Repeated preparation cannot replenish or create another squad.
|
||||||
if (Prepare(definition) != ERR_PrepareResult.READY || m_Groups.Count() != count) return false;
|
if (Prepare(definition) != ERR_PrepareResult.READY || m_Groups.Count() != count) return false;
|
||||||
PrintFormat("ERR ROADBLOCK NATIVE: posts=%1 soldiers=%2 ledger=checkpoint HQ=available repeatedPrepare=unchanged", count, count * 4);
|
PrintFormat("ERR ROADBLOCK NATIVE: posts=%1 soldiers=%2 ledger=checkpoint HQ=available repeatedPrepare=unchanged", count, m_SmallPlaced * 4 + m_LargePlaced * 8);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -156,13 +171,13 @@ modded class ERR_GameMode
|
|||||||
IEntity player; if (controller) player = controller.GetControlledEntity();
|
IEntity player; if (controller) player = controller.GetControlledEntity();
|
||||||
if (!player || !Players().CurrentActor(player)) return;
|
if (!player || !Players().CurrentActor(player)) return;
|
||||||
DamageManagerComponent.Cast(player.FindComponent(DamageManagerComponent)).EnableDamageHandling(false);
|
DamageManagerComponent.Cast(player.FindComponent(DamageManagerComponent)).EnableDamageHandling(false);
|
||||||
if (!posts.ERR_ProbeBackgroundPending() || posts.ERR_ProbePostCount() >= ERR_RoadblockProbeRules.Target() || !UnlockPrison(player)) { ERR_RoadblockProbeFail("did not enter background search with prison unlocked"); return; }
|
if ((ERR_RoadblockProbeRules.Target() > 4 && (!posts.ERR_ProbeBackgroundPending() || posts.ERR_ProbePostCount() >= ERR_RoadblockProbeRules.Target())) || !UnlockPrison(player)) { ERR_RoadblockProbeFail("did not enter background search with prison unlocked"); return; }
|
||||||
m_ERRRoadblockInitial = posts.ERR_ProbePostCount();
|
m_ERRRoadblockInitial = posts.ERR_ProbePostCount();
|
||||||
PrintFormat("ERR SMOKE PASS: roadblocks prison unlocked with %1/%2 posts; background still pending", m_ERRRoadblockInitial, ERR_RoadblockProbeRules.Target());
|
PrintFormat("ERR SMOKE PASS: roadblocks prison unlocked with %1/%2 posts; placement observation started", m_ERRRoadblockInitial, ERR_RoadblockProbeRules.Target());
|
||||||
}
|
}
|
||||||
if (posts.ERR_ProbeBackgroundPending()) return;
|
if (posts.ERR_ProbeBackgroundPending()) return;
|
||||||
if (!posts.ERR_ProbeCompleteRoadblocks() || posts.ERR_ProbePostCount() <= m_ERRRoadblockInitial) { ERR_RoadblockProbeFail("physical four-guard posts, replicated props, ledger and HQ admission"); return; }
|
if (!posts.ERR_ProbeCompleteRoadblocks() || (ERR_RoadblockProbeRules.Target() > 4 && posts.ERR_ProbePostCount() <= m_ERRRoadblockInitial)) { ERR_RoadblockProbeFail("physical small/large posts, independent quotas, replicated props, ledger and HQ admission"); return; }
|
||||||
PrintFormat("ERR SMOKE PASS: roadblocks %1 physical posts / %2 guards / %3 replicated checkpoint props with distance streaming disabled; verified model footprints and centre lane; background completed after prison unlock, no extra posts on repeat tick", posts.ERR_ProbePostCount(), posts.ERR_ProbePostCount() * 4, posts.ERR_ProbePostCount() * ERR_RoadblockRules.PropCount());
|
PrintFormat("ERR SMOKE PASS: roadblocks %1 physical posts / %2 guards / %3 replicated checkpoint props with distance streaming disabled; verified model footprints and centre lane; placement complete after prison unlock, no extra posts on repeat tick", posts.ERR_ProbePostCount(), ERR_RoadblockProbeRules.Guards(), ERR_RoadblockProbeRules.Props());
|
||||||
ERR_StopRoadblockProbe();
|
ERR_StopRoadblockProbe();
|
||||||
Transition(ERR_Phase.DEFEAT);
|
Transition(ERR_Phase.DEFEAT);
|
||||||
Print("ERR SMOKE COMPLETE: roadblocks background completion on Everon; scripted local fixture");
|
Print("ERR SMOKE COMPLETE: roadblocks background completion on Everon; scripted local fixture");
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ class ERR_ObjectiveText
|
|||||||
ERR_Phase phase = mode.Phase();
|
ERR_Phase phase = mode.Phase();
|
||||||
if (phase == ERR_Phase.PREPARING)
|
if (phase == ERR_Phase.PREPARING)
|
||||||
{
|
{
|
||||||
if (!mode.PreparationError().IsEmpty()) return "The mission could not start. An administrator can use /esc status for the cause. Spawning is disabled until the configuration is corrected and the scenario restarted.";
|
if (!mode.PreparationError().IsEmpty()) return "Reason: " + mode.PreparationError() + "\n\nAn administrator must correct the problem and restart the scenario before players can spawn.";
|
||||||
return "Preparing mission sites and equipment. You will spawn when the mission is ready.";
|
return "Preparing mission sites and equipment. You will spawn when the mission is ready.";
|
||||||
}
|
}
|
||||||
if (phase == ERR_Phase.PRISON)
|
if (phase == ERR_Phase.PRISON)
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ class ERR_ObserverGuidance
|
|||||||
}
|
}
|
||||||
if (!survivorAvailable)
|
if (!survivorAvailable)
|
||||||
return message + " No teammate or body is currently available to follow. Use camera look controls to orbit the last known position and zoom controls to change distance.";
|
return message + " No teammate or body is currently available to follow. Use camera look controls to orbit the last known position and zoom controls to change distance.";
|
||||||
return message + " Press Left / Right arrow to change teammate or body (or /esc spectate next / /esc spectate previous). Press Enter to switch between third-person and the living teammate's camera. Player view waits in third-person if no live camera stream is available. Use camera look controls to orbit and zoom controls to change distance in third-person.";
|
return message + " Press Left / Right arrow to change teammate or body, including your own (or /esc spectate next / /esc spectate previous). Press Enter to switch between third-person and the living teammate's camera. Player view waits in third-person if no live camera stream is available. Use camera look controls to orbit and zoom controls to change distance in third-person.";
|
||||||
}
|
}
|
||||||
static bool Refresh(bool shown, int previousReason, int reason, bool previousAvailable, bool survivorAvailable)
|
static bool Refresh(bool shown, int previousReason, int reason, bool previousAvailable, bool survivorAvailable)
|
||||||
{
|
{
|
||||||
@@ -225,7 +225,7 @@ class ERR_FollowSurvivorCameraComponent : SCR_BaseManualCameraComponent
|
|||||||
{
|
{
|
||||||
target.GetWorldTransform(transform);
|
target.GetWorldTransform(transform);
|
||||||
aim = transform[3] + "0 1.5 0";
|
aim = transform[3] + "0 1.5 0";
|
||||||
if (!ERR_Actors.Alive(target)) aim = transform[3] + "0 0.4 0";
|
if (!ERR_Actors.CanFight(target)) aim = transform[3] + "0 0.4 0";
|
||||||
}
|
}
|
||||||
if (target != m_Target || vehicle != m_Vehicle)
|
if (target != m_Target || vehicle != m_Vehicle)
|
||||||
{
|
{
|
||||||
@@ -242,7 +242,7 @@ class ERR_FollowSurvivorCameraComponent : SCR_BaseManualCameraComponent
|
|||||||
m_Target = null; m_Vehicle = null;
|
m_Target = null; m_Vehicle = null;
|
||||||
m_Distance = Math.Clamp(m_Distance, 2, 12);
|
m_Distance = Math.Clamp(m_Distance, 2, 12);
|
||||||
}
|
}
|
||||||
if ((!m_PlayerView || !target || !ERR_Actors.Alive(target)) && param.isManualInputEnabled)
|
if ((!m_PlayerView || !target || !ERR_Actors.CanFight(target)) && param.isManualInputEnabled)
|
||||||
{
|
{
|
||||||
m_Yaw += GetInputManager().GetActionValue("ManualCameraRotateYaw") * 90 * param.timeSlice;
|
m_Yaw += GetInputManager().GetActionValue("ManualCameraRotateYaw") * 90 * param.timeSlice;
|
||||||
m_Pitch = Math.Clamp(m_Pitch - GetInputManager().GetActionValue("ManualCameraRotatePitch") * 90 * param.timeSlice, 5, 75);
|
m_Pitch = Math.Clamp(m_Pitch - GetInputManager().GetActionValue("ManualCameraRotatePitch") * 90 * param.timeSlice, 5, 75);
|
||||||
@@ -284,6 +284,8 @@ modded class SCR_PlayerController
|
|||||||
protected ERR_ObserverReason m_ERRShownObserverReason;
|
protected ERR_ObserverReason m_ERRShownObserverReason;
|
||||||
protected bool m_ERRShownObserverAvailable;
|
protected bool m_ERRShownObserverAvailable;
|
||||||
protected string m_ERRShownRecoveryStatus;
|
protected string m_ERRShownRecoveryStatus;
|
||||||
|
protected string m_ERRPendingRecoveryStatus;
|
||||||
|
protected int m_ERRRecoveryStatusSince;
|
||||||
protected float m_ERRLastCycle = -1000;
|
protected float m_ERRLastCycle = -1000;
|
||||||
protected IEntity m_ERRRecoveryBody;
|
protected IEntity m_ERRRecoveryBody;
|
||||||
protected float m_ERRRecoveryDeadline = -1;
|
protected float m_ERRRecoveryDeadline = -1;
|
||||||
@@ -364,10 +366,13 @@ modded class SCR_PlayerController
|
|||||||
if (survivors[i] == body || (casualty && !ERR_Actors.CanFight(survivors[i])) || !friendly || !mode.Players() || !mode.Players().CurrentActor(survivors[i]) || SCR_FactionManager.SGetFaction(survivors[i]) != friendly) survivors.RemoveOrdered(i);
|
if (survivors[i] == body || (casualty && !ERR_Actors.CanFight(survivors[i])) || !friendly || !mode.Players() || !mode.Players().CurrentActor(survivors[i]) || SCR_FactionManager.SGetFaction(survivors[i]) != friendly) survivors.RemoveOrdered(i);
|
||||||
// Dead teammates remain selectable alongside survivors, including our own body.
|
// Dead teammates remain selectable alongside survivors, including our own body.
|
||||||
ERR_ObserverTargets.Bodies(mode, survivors);
|
ERR_ObserverTargets.Bodies(mode, survivors);
|
||||||
|
// Lethal damage normally leaves a treatable casualty, not a native corpse.
|
||||||
|
// Keep that player's own canonical body in the cycle without possessing it.
|
||||||
|
if (casualty && !survivors.Contains(body)) survivors.Insert(body);
|
||||||
int index = survivors.Find(m_ERRServerObserved);
|
int index = survivors.Find(m_ERRServerObserved);
|
||||||
if (index < 0)
|
if (index < 0)
|
||||||
{
|
{
|
||||||
if (life && life.Actor) index = survivors.Find(life.Actor);
|
if (!casualty && life && life.Actor) index = survivors.Find(life.Actor);
|
||||||
if (index < 0) index = 0;
|
if (index < 0) index = 0;
|
||||||
}
|
}
|
||||||
else index += direction;
|
else index += direction;
|
||||||
@@ -468,13 +473,24 @@ modded class SCR_PlayerController
|
|||||||
string recovery = mode.RecoveryStatus();
|
string recovery = mode.RecoveryStatus();
|
||||||
string selfEpiHint = ERR_SelfEpinephrineHint();
|
string selfEpiHint = ERR_SelfEpinephrineHint();
|
||||||
if (!selfEpiHint.IsEmpty()) recovery += "\n" + selfEpiHint;
|
if (!selfEpiHint.IsEmpty()) recovery += "\n" + selfEpiHint;
|
||||||
if (ERR_ObserverGuidance.Refresh(m_ERRObserverReady, m_ERRShownObserverReason, m_ERRObserverReason, m_ERRShownObserverAvailable, survivorAvailable) || m_ERRShownRecoveryStatus != recovery)
|
bool contextChanged = ERR_ObserverGuidance.Refresh(m_ERRObserverReady, m_ERRShownObserverReason, m_ERRObserverReason, m_ERRShownObserverAvailable, survivorAvailable);
|
||||||
|
int now = System.GetTickCount();
|
||||||
|
// Medical samples can alternate between improving and stalled. Keep the
|
||||||
|
// accepted hint readable until the new status has remained stable for 3s.
|
||||||
|
// This affects presentation only, never the authoritative defeat timer.
|
||||||
|
if (m_ERRPendingRecoveryStatus != recovery || now < m_ERRRecoveryStatusSince)
|
||||||
|
{
|
||||||
|
m_ERRPendingRecoveryStatus = recovery;
|
||||||
|
m_ERRRecoveryStatusSince = now;
|
||||||
|
}
|
||||||
|
if (!contextChanged && m_ERRShownRecoveryStatus != recovery && now - m_ERRRecoveryStatusSince < 3000) return;
|
||||||
|
if (contextChanged || m_ERRShownRecoveryStatus != recovery)
|
||||||
{
|
{
|
||||||
SCR_HintManagerComponent hints = SCR_HintManagerComponent.GetInstance();
|
SCR_HintManagerComponent hints = SCR_HintManagerComponent.GetInstance();
|
||||||
if (!hints) return; // retry on the existing monitor; do not lose the first hint
|
if (!hints) return; // retry on the existing monitor; do not lose the first hint
|
||||||
string message = ERR_ObserverGuidance.Message(m_ERRObserverReason, survivorAvailable);
|
string message = ERR_ObserverGuidance.Message(m_ERRObserverReason, survivorAvailable);
|
||||||
if (!recovery.IsEmpty()) message += "\n" + recovery;
|
if (!recovery.IsEmpty()) message += "\n" + recovery;
|
||||||
if (!hints.ShowCustom(message, "Spectating", 12)) return;
|
if (!hints.ShowCustom(message, "Spectating", 12, m_ERRObserverReady)) return;
|
||||||
m_ERRObserverReady = true;
|
m_ERRObserverReady = true;
|
||||||
m_ERRShownObserverReason = m_ERRObserverReason;
|
m_ERRShownObserverReason = m_ERRObserverReason;
|
||||||
m_ERRShownObserverAvailable = survivorAvailable;
|
m_ERRShownObserverAvailable = survivorAvailable;
|
||||||
@@ -510,6 +526,8 @@ modded class SCR_PlayerController
|
|||||||
{
|
{
|
||||||
m_ERRObserverReady = false;
|
m_ERRObserverReady = false;
|
||||||
m_ERRShownRecoveryStatus = "";
|
m_ERRShownRecoveryStatus = "";
|
||||||
|
m_ERRPendingRecoveryStatus = "";
|
||||||
|
m_ERRRecoveryStatusSince = 0;
|
||||||
if (!m_ERRObserverCamera) return;
|
if (!m_ERRObserverCamera) return;
|
||||||
if (GetGame().GetPlayerController() == this) m_ERRObserverCamera.TrySwitchToControlledEntityCamera();
|
if (GetGame().GetPlayerController() == this) m_ERRObserverCamera.TrySwitchToControlledEntityCamera();
|
||||||
m_ERRObserverCamera.Terminate();
|
m_ERRObserverCamera.Terminate();
|
||||||
|
|||||||
@@ -0,0 +1,148 @@
|
|||||||
|
// Front-seat passenger assistance is an extra held input, not a parking-brake
|
||||||
|
// toggle. The driver's persistent brake, gears and service brake stay native.
|
||||||
|
class ERR_PassengerHandbrake
|
||||||
|
{
|
||||||
|
static bool Beside(vector delta)
|
||||||
|
{
|
||||||
|
float lateral = Math.AbsFloat(delta[0]);
|
||||||
|
return lateral >= 0.35 && lateral <= 1.7 && Math.AbsFloat(delta[1]) <= 0.5 && Math.AbsFloat(delta[2]) <= 0.65;
|
||||||
|
}
|
||||||
|
static bool FrontSeat(IEntity vehicle, BaseCompartmentSlot slot)
|
||||||
|
{
|
||||||
|
if (!vehicle || !slot || slot.GetType() != ECompartmentType.CARGO) return false;
|
||||||
|
CarControllerComponent car = CarControllerComponent.Cast(vehicle.FindComponent(CarControllerComponent));
|
||||||
|
if (!car) return false;
|
||||||
|
BaseCompartmentSlot pilot = car.GetPilotCompartmentSlot();
|
||||||
|
if (!pilot || pilot == slot || !slot.GetOwner() || slot.GetOwner().GetRootParent() != vehicle.GetRootParent()) return false;
|
||||||
|
PointInfo passengerPoint = slot.GetPassengerPointInfo(), pilotPoint = pilot.GetPassengerPointInfo();
|
||||||
|
if (!passengerPoint || !pilotPoint) return false;
|
||||||
|
vector passenger = vehicle.CoordToLocal(passengerPoint.GetWorldTransformAxis(3));
|
||||||
|
vector driver = vehicle.CoordToLocal(pilotPoint.GetWorldTransformAxis(3));
|
||||||
|
return Beside(passenger - driver);
|
||||||
|
}
|
||||||
|
static IEntity VehicleFor(IEntity actor)
|
||||||
|
{
|
||||||
|
if (!ERR_Actors.CanFight(actor)) return null;
|
||||||
|
CompartmentAccessComponent access = CompartmentAccessComponent.Cast(actor.FindComponent(CompartmentAccessComponent));
|
||||||
|
if (!access) return null;
|
||||||
|
BaseCompartmentSlot slot = access.GetCompartment();
|
||||||
|
IEntity vehicle = CompartmentAccessComponent.GetVehicleIn(actor);
|
||||||
|
if (!slot || slot.GetOccupant() != actor || !FrontSeat(vehicle, slot)) return null;
|
||||||
|
return vehicle;
|
||||||
|
}
|
||||||
|
static bool Requested(IEntity driver)
|
||||||
|
{
|
||||||
|
IEntity vehicle = CompartmentAccessComponent.GetVehicleIn(driver);
|
||||||
|
if (!vehicle) return false;
|
||||||
|
CarControllerComponent car = CarControllerComponent.Cast(vehicle.FindComponent(CarControllerComponent));
|
||||||
|
if (!car || !car.GetPilotCompartmentSlot() || car.GetPilotCompartmentSlot().GetOccupant() != driver) return false;
|
||||||
|
// Native held-handbrake input releases the parking latch. A parked car
|
||||||
|
// already satisfies the passenger's demand, so leave that latch untouched.
|
||||||
|
if (car.GetPersistentHandBrake()) return false;
|
||||||
|
BaseCompartmentManagerComponent manager = BaseCompartmentManagerComponent.Cast(vehicle.FindComponent(BaseCompartmentManagerComponent));
|
||||||
|
if (!manager) return false;
|
||||||
|
array<BaseCompartmentSlot> slots = {};
|
||||||
|
manager.GetCompartments(slots);
|
||||||
|
foreach (BaseCompartmentSlot slot : slots)
|
||||||
|
{
|
||||||
|
IEntity actor = slot.GetOccupant();
|
||||||
|
if (!actor || actor == driver) continue;
|
||||||
|
SCR_CharacterControllerComponent character = SCR_CharacterControllerComponent.Cast(actor.FindComponent(SCR_CharacterControllerComponent));
|
||||||
|
if (character && character.ERR_PassengerBrakeHeld() && VehicleFor(actor) == vehicle) return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
modded class SCR_PlayerController
|
||||||
|
{
|
||||||
|
protected SCR_CharacterControllerComponent m_ERRBrakingPassenger;
|
||||||
|
// No caller-supplied body, seat or vehicle: authority derives all three.
|
||||||
|
void ERR_SendPassengerBrake(bool held)
|
||||||
|
{
|
||||||
|
if (this != GetGame().GetPlayerController()) return;
|
||||||
|
if (Replication.IsServer()) ERR_RequestPassengerBrake(held);
|
||||||
|
else Rpc(ERR_RequestPassengerBrake, held);
|
||||||
|
}
|
||||||
|
[RplRpc(RplChannel.Reliable, RplRcver.Server)]
|
||||||
|
protected void ERR_RequestPassengerBrake(bool held)
|
||||||
|
{
|
||||||
|
if (!Replication.IsServer()) return;
|
||||||
|
ERR_GameMode mode = ERR_GameMode.Get();
|
||||||
|
IEntity actor = GetControlledEntity();
|
||||||
|
SCR_CharacterControllerComponent character;
|
||||||
|
if (actor) character = SCR_CharacterControllerComponent.Cast(actor.FindComponent(SCR_CharacterControllerComponent));
|
||||||
|
if (m_ERRBrakingPassenger && (m_ERRBrakingPassenger != character || !held)) m_ERRBrakingPassenger.ERR_SetPassengerBrake(false);
|
||||||
|
m_ERRBrakingPassenger = null;
|
||||||
|
if (!character) return;
|
||||||
|
bool allowed = held && mode && mode.Active() && mode.Players() && mode.Players().CurrentActor(actor) && ERR_PassengerHandbrake.VehicleFor(actor);
|
||||||
|
character.ERR_SetPassengerBrake(allowed);
|
||||||
|
if (allowed) m_ERRBrakingPassenger = character;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
modded class SCR_CharacterControllerComponent
|
||||||
|
{
|
||||||
|
[RplProp()] protected bool m_ERRPassengerBrake;
|
||||||
|
protected int m_ERRPassengerBrakeHeartbeat;
|
||||||
|
protected bool m_ERRPassengerBrakeSent;
|
||||||
|
protected int m_ERRPassengerBrakeNextSend;
|
||||||
|
protected IEntity m_ERRPassengerBrakeHintVehicle;
|
||||||
|
|
||||||
|
bool ERR_PassengerBrakeHeld() { return m_ERRPassengerBrake; }
|
||||||
|
void ERR_SetPassengerBrake(bool held)
|
||||||
|
{
|
||||||
|
if (!Replication.IsServer()) return;
|
||||||
|
m_ERRPassengerBrakeHeartbeat = System.GetTickCount();
|
||||||
|
if (held == m_ERRPassengerBrake) return;
|
||||||
|
m_ERRPassengerBrake = held;
|
||||||
|
Replication.BumpMe();
|
||||||
|
GetGame().GetCallqueue().Remove(ERR_ExpirePassengerBrake);
|
||||||
|
if (held) GetGame().GetCallqueue().CallLater(ERR_ExpirePassengerBrake, 250, true);
|
||||||
|
}
|
||||||
|
protected void ERR_ExpirePassengerBrake()
|
||||||
|
{
|
||||||
|
if (!Replication.IsServer() || !m_ERRPassengerBrake) return;
|
||||||
|
ERR_GameMode mode = ERR_GameMode.Get();
|
||||||
|
int age = System.GetTickCount() - m_ERRPassengerBrakeHeartbeat;
|
||||||
|
if (!mode || !mode.Active() || age < 0 || age > 1000 || !ERR_PassengerHandbrake.VehicleFor(GetOwner())) ERR_SetPassengerBrake(false);
|
||||||
|
}
|
||||||
|
void ~SCR_CharacterControllerComponent()
|
||||||
|
{
|
||||||
|
if (GetGame() && GetGame().GetCallqueue()) GetGame().GetCallqueue().Remove(ERR_ExpirePassengerBrake);
|
||||||
|
}
|
||||||
|
override void OnPrepareControls(IEntity owner, ActionManager am, float dt, bool player)
|
||||||
|
{
|
||||||
|
ERR_GameMode mode = ERR_GameMode.Get();
|
||||||
|
// Feed the actor's native action before it prepares driving controls. The
|
||||||
|
// device/AI refreshes this value each tick; only add a held demand, never
|
||||||
|
// write a release over the driver's own handbrake or parking-brake input.
|
||||||
|
if (am && mode && mode.Active() && !am.GetActionTriggered("CarHandBrakePersistent") && ERR_PassengerHandbrake.Requested(owner)) am.SetActionValue("CarHandBrake", 1);
|
||||||
|
super.OnPrepareControls(owner, am, dt, player);
|
||||||
|
SCR_PlayerController controller = SCR_PlayerController.Cast(GetGame().GetPlayerController());
|
||||||
|
if (!controller || controller.GetControlledEntity() != owner) return;
|
||||||
|
IEntity vehicle;
|
||||||
|
if (mode && mode.Active()) vehicle = ERR_PassengerHandbrake.VehicleFor(owner);
|
||||||
|
bool held;
|
||||||
|
InputManager input = GetGame().GetInputManager();
|
||||||
|
if (vehicle && input && GetGame().GetMenuManager() && !GetGame().GetMenuManager().GetTopMenu() && !ERR_ObserverChatInput.Capture())
|
||||||
|
{
|
||||||
|
input.ActivateContext("ERR_PassengerBrakeContext", 1);
|
||||||
|
held = input.GetActionValue("ERR_PassengerBrake") > 0.5;
|
||||||
|
if (m_ERRPassengerBrakeHintVehicle != vehicle)
|
||||||
|
{
|
||||||
|
SCR_HintManagerComponent hints = SCR_HintManagerComponent.GetInstance();
|
||||||
|
if (hints) hints.ShowCustom("Hold Space to apply the handbrake. Release Space to let go.", "Passenger handbrake", 5);
|
||||||
|
m_ERRPassengerBrakeHintVehicle = vehicle;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!vehicle) m_ERRPassengerBrakeHintVehicle = null;
|
||||||
|
int now = System.GetTickCount();
|
||||||
|
if (held != m_ERRPassengerBrakeSent || (held && now >= m_ERRPassengerBrakeNextSend))
|
||||||
|
{
|
||||||
|
controller.ERR_SendPassengerBrake(held);
|
||||||
|
m_ERRPassengerBrakeSent = held;
|
||||||
|
m_ERRPassengerBrakeNextSend = now + 250;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -40,7 +40,9 @@ modded class SCR_PlayerController
|
|||||||
}
|
}
|
||||||
ERR_GameMode mode = ERR_GameMode.Get();
|
ERR_GameMode mode = ERR_GameMode.Get();
|
||||||
if (!mode) return;
|
if (!mode) return;
|
||||||
if (mode.Phase() != ERR_Phase.PREPARING && (ERR_ObserverState() != ERR_ObserverReason.NONE || !ERR_Actors.Alive(GetControlledEntity()))) return;
|
// Local unconsciousness can arrive before the replicated observer reason.
|
||||||
|
// Do not let objective hints compete with casualty/spectator guidance then.
|
||||||
|
if (mode.Phase() != ERR_Phase.PREPARING && (ERR_ObserverState() != ERR_ObserverReason.NONE || !ERR_Actors.CanFight(GetControlledEntity()))) return;
|
||||||
string message = ERR_ObjectiveText.Description(mode, false);
|
string message = ERR_ObjectiveText.Description(mode, false);
|
||||||
if (message.IsEmpty()) return;
|
if (message.IsEmpty()) return;
|
||||||
if (m_ERRGuidePhase == mode.Phase() && m_ERRGuideMessage == message) return;
|
if (m_ERRGuidePhase == mode.Phase() && m_ERRGuideMessage == message) return;
|
||||||
|
|||||||
@@ -43,6 +43,22 @@ modded class SCR_ReconnectComponent
|
|||||||
PrintFormat("Reintroduced [reconnect]: player %1 original body reserved; timeoutSeconds=%2", playerId, seconds);
|
PrintFormat("Reintroduced [reconnect]: player %1 original body reserved; timeoutSeconds=%2", playerId, seconds);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
// Only an actual disconnected account may receive a replacement. Retire an
|
||||||
|
// orphaned living body through native cleanup before admitting a fresh one.
|
||||||
|
protected void PrepareReplacement(int playerId, ERR_GameMode mode, ERR_PlayerLife life)
|
||||||
|
{
|
||||||
|
if (!life.ReconnectPending || !ERR_PlayerLifeRules.CanEnter(false, mode.Phase())) return;
|
||||||
|
if (GetGame().GetPlayerManager().GetPlayerControlledEntity(playerId)) return;
|
||||||
|
if (life.Actor && GetGame().GetPlayerManager().GetPlayerIdFromControlledEntity(life.Actor) > 0) return;
|
||||||
|
if (ERR_Actors.Alive(life.Actor))
|
||||||
|
{
|
||||||
|
SCR_ReconnectData orphan = new SCR_ReconnectData();
|
||||||
|
orphan.m_ReservedEntity = life.Actor;
|
||||||
|
HandleDataExpiery(orphan);
|
||||||
|
}
|
||||||
|
if (mode.Players().AllowReconnectReplacement(playerId, mode.Phase()))
|
||||||
|
PrintFormat("Reintroduced [reconnect]: player %1 has no recoverable reservation; fresh admission allowed", playerId);
|
||||||
|
}
|
||||||
override bool HandlePlayerReconnect(int playerId)
|
override bool HandlePlayerReconnect(int playerId)
|
||||||
{
|
{
|
||||||
ERR_GameMode mode = ERR_GameMode.Get();
|
ERR_GameMode mode = ERR_GameMode.Get();
|
||||||
@@ -54,11 +70,21 @@ modded class SCR_ReconnectComponent
|
|||||||
UUID identity = SCR_PlayerIdentityUtils.GetPlayerIdentityId(playerId);
|
UUID identity = SCR_PlayerIdentityUtils.GetPlayerIdentityId(playerId);
|
||||||
if (!life || !life.Connected || !life.UsedLife || identity.IsNull() || life.AccountId != identity) return false;
|
if (!life || !life.Connected || !life.UsedLife || identity.IsNull() || life.AccountId != identity) return false;
|
||||||
SCR_ReconnectData data;
|
SCR_ReconnectData data;
|
||||||
if (!m_mReconnectData.Find(identity, data)) return false;
|
if (!m_mReconnectData.Find(identity, data))
|
||||||
|
{
|
||||||
|
PrepareReplacement(playerId, mode, life);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
IEntity actor = data.m_ReservedEntity;
|
IEntity actor = data.m_ReservedEntity;
|
||||||
int owner;
|
int owner;
|
||||||
if (actor) owner = GetGame().GetPlayerManager().GetPlayerIdFromControlledEntity(actor);
|
if (actor) owner = GetGame().GetPlayerManager().GetPlayerIdFromControlledEntity(actor);
|
||||||
if (!actor || actor != life.Actor || (owner > 0 && owner != playerId))
|
if (!actor)
|
||||||
|
{
|
||||||
|
m_mReconnectData.Remove(identity); UpdateExpieryCheck();
|
||||||
|
PrepareReplacement(playerId, mode, life);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (actor != life.Actor || (owner > 0 && owner != playerId))
|
||||||
{
|
{
|
||||||
m_mReconnectData.Remove(identity); UpdateExpieryCheck();
|
m_mReconnectData.Remove(identity); UpdateExpieryCheck();
|
||||||
PrintFormat("Reintroduced [reconnect]: player %1 rejected mismatched body reservation", playerId);
|
PrintFormat("Reintroduced [reconnect]: player %1 rejected mismatched body reservation", playerId);
|
||||||
@@ -69,7 +95,7 @@ modded class SCR_ReconnectComponent
|
|||||||
if (IsDataExpired(data, GetGame().GetWorld().GetTimestamp()) || !IsDataRelevant(data))
|
if (IsDataExpired(data, GetGame().GetWorld().GetTimestamp()) || !IsDataRelevant(data))
|
||||||
{
|
{
|
||||||
m_mReconnectData.Remove(identity); HandleDataExpiery(data); UpdateExpieryCheck();
|
m_mReconnectData.Remove(identity); HandleDataExpiery(data); UpdateExpieryCheck();
|
||||||
PrintFormat("Reintroduced [reconnect]: player %1 reservation expired or body lost; no replacement life", playerId);
|
PrepareReplacement(playerId, mode, life);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
bool restored = super.HandlePlayerReconnect(playerId);
|
bool restored = super.HandlePlayerReconnect(playerId);
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ class ERR_PlayerLife
|
|||||||
int ConnectionId;
|
int ConnectionId;
|
||||||
bool Connected;
|
bool Connected;
|
||||||
bool UsedLife;
|
bool UsedLife;
|
||||||
|
bool ReconnectPending;
|
||||||
IEntity Actor;
|
IEntity Actor;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -66,6 +67,18 @@ class ERR_PlayerRoster
|
|||||||
ERR_PlayerLife life = Get(playerId);
|
ERR_PlayerLife life = Get(playerId);
|
||||||
return life && life.Connected && ERR_PlayerLifeRules.CanEnter(life.UsedLife, phase);
|
return life && life.Connected && ERR_PlayerLifeRules.CanEnter(life.UsedLife, phase);
|
||||||
}
|
}
|
||||||
|
bool AllowReconnectReplacement(int playerId, int phase)
|
||||||
|
{
|
||||||
|
if (!Replication.IsServer()) return false;
|
||||||
|
ERR_PlayerLife life = Get(playerId);
|
||||||
|
if (!life || !life.Connected || !life.UsedLife || !life.ReconnectPending || !ERR_PlayerLifeRules.CanEnter(false, phase)) return false;
|
||||||
|
if (ERR_Actors.Alive(life.Actor)) return false;
|
||||||
|
life.Actor = null;
|
||||||
|
life.UsedLife = false;
|
||||||
|
life.ReconnectPending = false;
|
||||||
|
m_OnChanged.Invoke(playerId);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
void Spawned(int playerId, IEntity actor)
|
void Spawned(int playerId, IEntity actor)
|
||||||
{
|
{
|
||||||
if (!Replication.IsServer() || !actor) return;
|
if (!Replication.IsServer() || !actor) return;
|
||||||
@@ -73,13 +86,18 @@ class ERR_PlayerRoster
|
|||||||
if (!life) return;
|
if (!life) return;
|
||||||
life.Actor = actor;
|
life.Actor = actor;
|
||||||
life.UsedLife = true;
|
life.UsedLife = true;
|
||||||
|
life.ReconnectPending = false;
|
||||||
m_OnChanged.Invoke(playerId);
|
m_OnChanged.Invoke(playerId);
|
||||||
}
|
}
|
||||||
void Disconnect(int playerId)
|
void Disconnect(int playerId)
|
||||||
{
|
{
|
||||||
if (!Replication.IsServer()) return;
|
if (!Replication.IsServer()) return;
|
||||||
ERR_PlayerLife life = Get(playerId);
|
ERR_PlayerLife life = Get(playerId);
|
||||||
if (life) life.Connected = false;
|
if (life)
|
||||||
|
{
|
||||||
|
life.Connected = false;
|
||||||
|
life.ReconnectPending = life.UsedLife;
|
||||||
|
}
|
||||||
m_Connections.Remove(playerId);
|
m_Connections.Remove(playerId);
|
||||||
m_OnChanged.Invoke(playerId);
|
m_OnChanged.Invoke(playerId);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,92 @@
|
|||||||
|
modded enum ChimeraMenuPreset
|
||||||
|
{
|
||||||
|
ERR_PreparationFailure
|
||||||
|
}
|
||||||
|
|
||||||
|
// The native loading placeholder is not a menu and has no focus/input lifetime.
|
||||||
|
// Use a real local menu on failure; never grant admission or change server state.
|
||||||
|
class ERR_PreparationFailureMenu : ChimeraMenuBase
|
||||||
|
{
|
||||||
|
protected ERR_GameMode m_Mode;
|
||||||
|
protected SCR_ButtonTextComponent m_ReturnButton, m_PauseButton;
|
||||||
|
protected TextWidget m_Description;
|
||||||
|
protected string m_LastError;
|
||||||
|
protected bool m_Bound, m_Leaving;
|
||||||
|
|
||||||
|
static bool Failed(ERR_GameMode mode)
|
||||||
|
{
|
||||||
|
return mode && mode == ERR_GameMode.Get() && mode.Phase() == ERR_Phase.PREPARING && !mode.PreparationError().IsEmpty();
|
||||||
|
}
|
||||||
|
static bool Show(ERR_GameMode mode)
|
||||||
|
{
|
||||||
|
if (System.IsConsoleApp() || !Failed(mode) || !GetGame() || !GetGame().GetMenuManager()) return false;
|
||||||
|
MenuManager manager = GetGame().GetMenuManager();
|
||||||
|
// Leave existing menus and exit confirmation dialogs in control of focus.
|
||||||
|
if (manager.IsAnyMenuOpen() || manager.IsAnyDialogOpen()) return true;
|
||||||
|
if (manager.OpenMenu(ChimeraMenuPreset.ERR_PreparationFailure)) return true;
|
||||||
|
// A missing custom layout must not trap the player on the loading overlay.
|
||||||
|
GetGame().OpenPauseMenu(false, true);
|
||||||
|
return manager.FindMenuByPreset(ChimeraMenuPreset.PauseMenu) != null;
|
||||||
|
}
|
||||||
|
override void OnMenuOpen()
|
||||||
|
{
|
||||||
|
super.OnMenuOpen();
|
||||||
|
m_Mode = ERR_GameMode.Get();
|
||||||
|
if (!Failed(m_Mode)) { Close(); return; }
|
||||||
|
m_Description = TextWidget.Cast(GetRootWidget().FindAnyWidget("FailureDescription"));
|
||||||
|
m_ReturnButton = SCR_ButtonTextComponent.GetButtonText("ReturnToMainMenu", GetRootWidget());
|
||||||
|
m_PauseButton = SCR_ButtonTextComponent.GetButtonText("OpenPauseMenu", GetRootWidget());
|
||||||
|
if (m_ReturnButton) m_ReturnButton.m_OnClicked.Insert(OnReturn);
|
||||||
|
if (m_PauseButton) m_PauseButton.m_OnClicked.Insert(OnPause);
|
||||||
|
GetGame().GetInputManager().AddActionListener(UIConstants.MENU_ACTION_BACK, EActionTrigger.PRESSED, OnBack);
|
||||||
|
m_Bound = true;
|
||||||
|
Refresh();
|
||||||
|
}
|
||||||
|
protected void Refresh()
|
||||||
|
{
|
||||||
|
string detail = ERR_ObjectiveText.Description(m_Mode, false);
|
||||||
|
if (m_Description && detail != m_LastError) { m_Description.SetText(detail); m_LastError = detail; }
|
||||||
|
}
|
||||||
|
override void OnMenuUpdate(float tDelta)
|
||||||
|
{
|
||||||
|
super.OnMenuUpdate(tDelta);
|
||||||
|
if (!Failed(m_Mode)) { Close(); return; }
|
||||||
|
if (!m_Leaving) Refresh();
|
||||||
|
}
|
||||||
|
protected void OpenPause()
|
||||||
|
{
|
||||||
|
if (!IsFocused() || m_Leaving || !Failed(m_Mode)) return;
|
||||||
|
GetGame().OpenPauseMenu(false, true);
|
||||||
|
}
|
||||||
|
protected void OnBack() { OpenPause(); }
|
||||||
|
protected void OnPause(SCR_ButtonBaseComponent button) { OpenPause(); }
|
||||||
|
protected void OnReturn(SCR_ButtonBaseComponent button)
|
||||||
|
{
|
||||||
|
if (!IsFocused() || m_Leaving || !Failed(m_Mode)) return;
|
||||||
|
m_Leaving = true;
|
||||||
|
if (m_ReturnButton) m_ReturnButton.SetEnabled(false);
|
||||||
|
if (m_PauseButton) m_PauseButton.SetEnabled(false);
|
||||||
|
ChimeraWorld world = GetGame().GetWorld();
|
||||||
|
if (world) world.PauseGameTime(false);
|
||||||
|
// Same local exit transition as vanilla's pause-menu exit. No mission RPC.
|
||||||
|
GameStateTransitions.RequestGameplayEndTransition();
|
||||||
|
}
|
||||||
|
override void OnMenuClose()
|
||||||
|
{
|
||||||
|
if (m_Bound && GetGame() && GetGame().GetInputManager())
|
||||||
|
GetGame().GetInputManager().RemoveActionListener(UIConstants.MENU_ACTION_BACK, EActionTrigger.PRESSED, OnBack);
|
||||||
|
m_Bound = false;
|
||||||
|
if (m_ReturnButton) m_ReturnButton.m_OnClicked.Remove(OnReturn);
|
||||||
|
if (m_PauseButton) m_PauseButton.m_OnClicked.Remove(OnPause);
|
||||||
|
m_ReturnButton = null; m_PauseButton = null; m_Description = null; m_Mode = null;
|
||||||
|
super.OnMenuClose();
|
||||||
|
}
|
||||||
|
#ifdef WORKBENCH
|
||||||
|
static bool Visible(ERR_GameMode mode)
|
||||||
|
{
|
||||||
|
if (!Failed(mode)) return false;
|
||||||
|
ERR_PreparationFailureMenu menu = ERR_PreparationFailureMenu.Cast(GetGame().GetMenuManager().FindMenuByPreset(ChimeraMenuPreset.ERR_PreparationFailure));
|
||||||
|
return menu && menu.m_Mode == mode && menu.GetRootWidget().IsVisible() && menu.m_Description && menu.m_ReturnButton && menu.m_PauseButton && menu.m_Description.GetText() == ERR_ObjectiveText.Description(mode, false);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
}
|
||||||
@@ -109,6 +109,10 @@ modded class SCR_RespawnSystemComponent
|
|||||||
if (m_ERRPreparationSpinner) m_ERRPreparationSpinner.SetVisible(m_ERRPreparationSpinnerWasVisible);
|
if (m_ERRPreparationSpinner) m_ERRPreparationSpinner.SetVisible(m_ERRPreparationSpinnerWasVisible);
|
||||||
m_ERRPreparationSpinnerHidden = false;
|
m_ERRPreparationSpinnerHidden = false;
|
||||||
}
|
}
|
||||||
|
// The placeholder's high-Z black layer would obscure even the pause menu.
|
||||||
|
// Hide it only after an interactive menu is available; native updates restore
|
||||||
|
// it if preparation recovers. The failed round still admits no players.
|
||||||
|
if (failed && ERR_PreparationFailureMenu.Show(mode)) m_wLoadingPlaceholder.SetVisible(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
override void DestroyLoadingPlaceholder()
|
override void DestroyLoadingPlaceholder()
|
||||||
@@ -130,6 +134,7 @@ modded class SCR_RespawnSystemComponent
|
|||||||
// Inspect the actual production-created widgets, without creating or changing them.
|
// Inspect the actual production-created widgets, without creating or changing them.
|
||||||
bool ERR_ProbePreparationVisible(ERR_GameMode mode, bool failed)
|
bool ERR_ProbePreparationVisible(ERR_GameMode mode, bool failed)
|
||||||
{
|
{
|
||||||
|
if (failed && ERR_PreparationFailureMenu.Visible(mode)) return true;
|
||||||
if (!mode || mode != ERR_GameMode.Get() || m_pGameMode != mode || !m_wLoadingPlaceholder || !m_wLoadingPlaceholder.IsVisible()) return false;
|
if (!mode || mode != ERR_GameMode.Get() || m_pGameMode != mode || !m_wLoadingPlaceholder || !m_wLoadingPlaceholder.IsVisible()) return false;
|
||||||
if (!m_ERRPreparationRoot || m_ERRPreparationParent != m_wLoadingPlaceholder || m_ERRPreparationRoot.GetParent() != m_wLoadingPlaceholder || !m_ERRPreparationRoot.IsVisible()) return false;
|
if (!m_ERRPreparationRoot || m_ERRPreparationParent != m_wLoadingPlaceholder || m_ERRPreparationRoot.GetParent() != m_wLoadingPlaceholder || !m_ERRPreparationRoot.IsVisible()) return false;
|
||||||
if (!ERR_PreparationWidgetVisible(m_ERRPreparationTitle) || !ERR_PreparationWidgetVisible(m_ERRPreparationDescription) || !ERR_PreparationWidgetVisible(m_ERRPreparationRoot)) return false;
|
if (!ERR_PreparationWidgetVisible(m_ERRPreparationTitle) || !ERR_PreparationWidgetVisible(m_ERRPreparationDescription) || !ERR_PreparationWidgetVisible(m_ERRPreparationRoot)) return false;
|
||||||
|
|||||||
@@ -0,0 +1,154 @@
|
|||||||
|
// Immutable snapshots only: never tick native effects or alter a patient's zones.
|
||||||
|
// Seconds: >=0 = predicted wake, -1 = beyond horizon, -2 = unsupported/uncertain.
|
||||||
|
class ERR_RecoveryFlow
|
||||||
|
{
|
||||||
|
bool Passive;
|
||||||
|
float BloodRate;
|
||||||
|
float ResilienceRate;
|
||||||
|
float Delay;
|
||||||
|
float End = 301;
|
||||||
|
}
|
||||||
|
class ERR_RecoveryForecast
|
||||||
|
{
|
||||||
|
static bool KeepsRound(float forecast, bool selfRescue, bool existingRecovery)
|
||||||
|
{
|
||||||
|
return selfRescue || forecast >= 0 || (forecast == -2 && existingRecovery);
|
||||||
|
}
|
||||||
|
static float Horizon() { return 300; }
|
||||||
|
static bool Awake(float blood, float resilience, float bloodThreshold, float resilienceThreshold)
|
||||||
|
{
|
||||||
|
return blood > bloodThreshold && resilience > resilienceThreshold;
|
||||||
|
}
|
||||||
|
static float Overlap(float start, float end, float delay, float expires)
|
||||||
|
{
|
||||||
|
return Math.Max(0, Math.Min(end, expires) - Math.Max(start, delay));
|
||||||
|
}
|
||||||
|
static float Predict(float blood, float resilience, float bloodThreshold, float resilienceThreshold, array<ref ERR_RecoveryFlow> flows)
|
||||||
|
{
|
||||||
|
if (Awake(blood, resilience, bloodThreshold, resilienceThreshold)) return 0;
|
||||||
|
for (int second = 0; second < 300; second++)
|
||||||
|
{
|
||||||
|
// All flow starts/ends partition this second, including finite medicines.
|
||||||
|
float time = second;
|
||||||
|
while (time < second + 1)
|
||||||
|
{
|
||||||
|
float next = second + 1;
|
||||||
|
foreach (ERR_RecoveryFlow flow : flows)
|
||||||
|
{
|
||||||
|
if (flow.Delay > time && flow.Delay < next) next = flow.Delay;
|
||||||
|
if (flow.End > time && flow.End < next) next = flow.End;
|
||||||
|
}
|
||||||
|
float db, dr;
|
||||||
|
foreach (ERR_RecoveryFlow rate : flows)
|
||||||
|
{
|
||||||
|
float duration = Overlap(time, next, rate.Delay, rate.End);
|
||||||
|
db += rate.BloodRate * duration; dr += rate.ResilienceRate * duration;
|
||||||
|
}
|
||||||
|
blood = Math.Clamp(blood + db, 0, 1);
|
||||||
|
resilience = Math.Clamp(resilience + dr, 0, 1);
|
||||||
|
if (Awake(blood, resilience, bloodThreshold, resilienceThreshold)) return next;
|
||||||
|
time = next;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
static float Estimate(SCR_CharacterDamageManagerComponent damage)
|
||||||
|
{
|
||||||
|
if (!damage || !damage.ERR_IsRevivablePlayer()) return -2;
|
||||||
|
return damage.ERR_ForecastRecovery();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
modded class SCR_PassiveHitZoneRegenDamageEffect
|
||||||
|
{
|
||||||
|
float ERR_RemainingRegenDelay() { return Math.Max(0, m_fLocalRegenDelayTime - m_fDelayTimer); }
|
||||||
|
}
|
||||||
|
modded class SCR_CharacterDamageManagerComponent
|
||||||
|
{
|
||||||
|
float ERR_ForecastRecovery()
|
||||||
|
{
|
||||||
|
SCR_CharacterBloodHitZone blood = GetBloodHitZone();
|
||||||
|
SCR_CharacterResilienceHitZone resilience = GetResilienceHitZone();
|
||||||
|
if (!blood || !resilience || blood.GetMaxHealth() <= 0 || resilience.GetMaxHealth() <= 0) return -2;
|
||||||
|
if (m_aBeingHealedGroup && !m_aBeingHealedGroup.IsEmpty()) return -2;
|
||||||
|
array<ref ERR_RecoveryFlow> flows = {};
|
||||||
|
array<ref SCR_PersistentDamageEffect> effects = GetAllPersistentEffectsOfType(SCR_PersistentDamageEffect, true);
|
||||||
|
bool bloodChanges, passiveResilience, unknown, pausedNatural;
|
||||||
|
foreach (SCR_PersistentDamageEffect effect : effects)
|
||||||
|
{
|
||||||
|
DotDamageEffect dot = DotDamageEffect.Cast(effect);
|
||||||
|
if (!dot) { unknown = true; continue; }
|
||||||
|
HitZone zone = dot.GetAffectedHitZone();
|
||||||
|
typename kind = effect.Type();
|
||||||
|
bool bleeding = kind == SCR_BleedingDamageEffect;
|
||||||
|
bool passive = kind == SCR_PassiveHitZoneRegenDamageEffect;
|
||||||
|
bool saline = kind == SCR_SalineDamageEffect;
|
||||||
|
bool epi = kind == ERR_EpinephrineEffect;
|
||||||
|
// Physical wound regen and native morphine do not restore consciousness.
|
||||||
|
if (kind == SCR_PhysicalHitZonesRegenDamageEffect || kind == SCR_MorphineDamageEffect) continue;
|
||||||
|
if (passive && !effect.IsActive()) { pausedNatural = true; continue; }
|
||||||
|
if (!effect.IsActive()) { unknown = true; continue; }
|
||||||
|
if (!bleeding && !passive && !saline && !epi) { unknown = true; continue; }
|
||||||
|
if (!bleeding && zone != blood && zone != resilience) continue;
|
||||||
|
ERR_RecoveryFlow flow = new ERR_RecoveryFlow();
|
||||||
|
flow.Passive = passive;
|
||||||
|
float maximum = dot.GetMaxDuration();
|
||||||
|
if (maximum > 0) flow.End = Math.Max(0, maximum - dot.GetCurrentDuration());
|
||||||
|
HitZone target = zone;
|
||||||
|
if (bleeding) target = blood;
|
||||||
|
float rate = -dot.GetDPS() * target.GetBaseDamageMultiplier() * target.GetDamageMultiplier(dot.GetDamageType());
|
||||||
|
if (passive)
|
||||||
|
{
|
||||||
|
flow.Delay = SCR_PassiveHitZoneRegenDamageEffect.Cast(effect).ERR_RemainingRegenDelay();
|
||||||
|
// A terminated blood regen can still be visible until native cleanup.
|
||||||
|
if (IsBleeding()) rate = 0;
|
||||||
|
if (zone == resilience) passiveResilience = true;
|
||||||
|
}
|
||||||
|
if (bleeding)
|
||||||
|
{
|
||||||
|
SCR_CharacterHitZone wound = SCR_CharacterHitZone.Cast(zone);
|
||||||
|
if (!wound) { unknown = true; continue; }
|
||||||
|
if (GetGroupTourniquetted(wound.GetHitZoneGroup())) rate *= GetTourniquetStrengthMultiplier();
|
||||||
|
flow.BloodRate = rate / blood.GetMaxHealth();
|
||||||
|
// Expiring bleeding can create new delayed native regen: do not declare
|
||||||
|
// hopelessness based on a snapshot that cannot yet contain that effect.
|
||||||
|
if (flow.End <= 300) unknown = true;
|
||||||
|
}
|
||||||
|
else if (zone == blood) flow.BloodRate = rate / blood.GetMaxHealth();
|
||||||
|
else flow.ResilienceRate = rate / resilience.GetMaxHealth();
|
||||||
|
if (flow.BloodRate != 0) bloodChanges = true;
|
||||||
|
flows.Insert(flow);
|
||||||
|
}
|
||||||
|
// Native treatment suppresses passive resilience regeneration while the
|
||||||
|
// medicine acts. Do not add both DPS values as simultaneous recovery.
|
||||||
|
bool treatmentOverlap;
|
||||||
|
foreach (ERR_RecoveryFlow regen : flows)
|
||||||
|
{
|
||||||
|
if (!regen.Passive || regen.ResilienceRate <= 0) continue;
|
||||||
|
foreach (ERR_RecoveryFlow medicine : flows)
|
||||||
|
{
|
||||||
|
if (medicine.Passive || medicine.ResilienceRate <= 0) continue;
|
||||||
|
regen.Delay = Math.Max(regen.Delay, medicine.End);
|
||||||
|
treatmentOverlap = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
float bt = blood.GetDamageStateThreshold(ECharacterBloodState.UNCONSCIOUS);
|
||||||
|
float rt = resilience.GetDamageStateThreshold(ECharacterResilienceState.WEAKENED);
|
||||||
|
float predicted = ERR_RecoveryForecast.Predict(blood.GetHealthScaled(), resilience.GetHealthScaled(), bt, rt, flows);
|
||||||
|
if (unknown || (pausedNatural && predicted < 0)) return -2;
|
||||||
|
// If the estimate needs post-treatment passive recovery, the native delay
|
||||||
|
// reset may move that start later. Retain safeguards instead of inventing it.
|
||||||
|
if (treatmentOverlap)
|
||||||
|
foreach (ERR_RecoveryFlow treatment : flows)
|
||||||
|
if (!treatment.Passive && treatment.ResilienceRate > 0 && (predicted < 0 || predicted > treatment.End)) return -2;
|
||||||
|
// Native resilience rates depend on changing blood-state bands. A snapshot's
|
||||||
|
// DPS cannot establish that future rate. Use an optimistic blood-only bound
|
||||||
|
// to prove impossibility; otherwise defer rather than kill a viable casualty.
|
||||||
|
if (bloodChanges && passiveResilience)
|
||||||
|
{
|
||||||
|
float optimistic = ERR_RecoveryForecast.Predict(blood.GetHealthScaled(), 1, bt, rt, flows);
|
||||||
|
if (optimistic < 0) return -1;
|
||||||
|
return -2;
|
||||||
|
}
|
||||||
|
return predicted;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -42,6 +42,7 @@ class ERR_RecoveryService
|
|||||||
protected float m_NextMedicalLog;
|
protected float m_NextMedicalLog;
|
||||||
protected string m_MedicalDetails;
|
protected string m_MedicalDetails;
|
||||||
protected bool m_DefeatLogged;
|
protected bool m_DefeatLogged;
|
||||||
|
protected float m_NextForecast;
|
||||||
protected ref ScriptInvoker m_OnChanged = new ScriptInvoker();
|
protected ref ScriptInvoker m_OnChanged = new ScriptInvoker();
|
||||||
void ERR_RecoveryService(ERR_GameMode mode) { m_Mode = mode; }
|
void ERR_RecoveryService(ERR_GameMode mode) { m_Mode = mode; }
|
||||||
ScriptInvoker OnChanged() { return m_OnChanged; }
|
ScriptInvoker OnChanged() { return m_OnChanged; }
|
||||||
@@ -55,7 +56,7 @@ class ERR_RecoveryService
|
|||||||
if (due && !m_DefeatLogged)
|
if (due && !m_DefeatLogged)
|
||||||
{
|
{
|
||||||
m_DefeatLogged = true;
|
m_DefeatLogged = true;
|
||||||
ERR_HQ.Event("MEDICAL DEFEAT", "30 seconds without a viable rescuer or recovery; " + m_MedicalDetails);
|
ERR_HQ.Event("MEDICAL DEFEAT", "30 seconds without a viable rescuer, self-injection or recovery within five minutes; " + m_MedicalDetails);
|
||||||
}
|
}
|
||||||
return due;
|
return due;
|
||||||
}
|
}
|
||||||
@@ -70,9 +71,11 @@ class ERR_RecoveryService
|
|||||||
{
|
{
|
||||||
if (!Replication.IsServer() || m_Stopped || !m_Mode || !m_Mode.Active()) return;
|
if (!Replication.IsServer() || m_Stopped || !m_Mode || !m_Mode.Active()) return;
|
||||||
float now = GetGame().GetWorld().GetWorldTime();
|
float now = GetGame().GetWorld().GetWorldTime();
|
||||||
|
if (now >= m_NextForecast - 1000 && now < m_NextForecast) return;
|
||||||
|
m_NextForecast = now + 1000;
|
||||||
bool logMedical = now >= m_NextMedicalLog;
|
bool logMedical = now >= m_NextMedicalLog;
|
||||||
string medicalDetails;
|
string medicalDetails;
|
||||||
int conscious, incapacitated, reserved, reservedRescuers, recovering;
|
int conscious, incapacitated, reserved, reservedRescuers, recovering, selfRescuers, uncertain;
|
||||||
map<IEntity, ref ERR_RecoverySample> nextSamples = new map<IEntity, ref ERR_RecoverySample>();
|
map<IEntity, ref ERR_RecoverySample> nextSamples = new map<IEntity, ref ERR_RecoverySample>();
|
||||||
array<ref ERR_PlayerLife> lives = {};
|
array<ref ERR_PlayerLife> lives = {};
|
||||||
m_Mode.Players().Participants(lives);
|
m_Mode.Players().Participants(lives);
|
||||||
@@ -99,7 +102,12 @@ class ERR_RecoveryService
|
|||||||
bool improving = previous && (sample.Blood > previous.Blood + 0.001 || sample.Resilience > previous.Resilience + 0.001);
|
bool improving = previous && (sample.Blood > previous.Blood + 0.001 || sample.Resilience > previous.Resilience + 0.001);
|
||||||
bool treatment = medical.ERR_TreatmentInProgress();
|
bool treatment = medical.ERR_TreatmentInProgress();
|
||||||
bool natural = medical.ERR_CanRecoverNaturally();
|
bool natural = medical.ERR_CanRecoverNaturally();
|
||||||
if (improving || treatment || natural) recovering++;
|
float forecast = ERR_RecoveryForecast.Estimate(medical);
|
||||||
|
bool selfRescue = life.Connected && controlled == life.Actor && m_Mode.Settings().Get("selfEpinephrine") == 1 && ERR_SelfEpinephrineInventory.FindUsable(life.Actor);
|
||||||
|
if (selfRescue) selfRescuers++;
|
||||||
|
if (forecast == -2) uncertain++;
|
||||||
|
if (ERR_RecoveryForecast.KeepsRound(forecast, selfRescue, improving || treatment || natural)) recovering++;
|
||||||
|
medicalDetails += string.Format("forecastSeconds=%1 selfInjection=%2; ", forecast, selfRescue);
|
||||||
medicalDetails += string.Format("player=%1 connected=%2 blood=%3 resilience=%4 bleeding=%5 improving=%6 treatment=%7 naturalRecovery=%8; ", life.ConnectionId, life.Connected, sample.Blood, sample.Resilience, medical.IsBleeding(), improving, treatment, natural);
|
medicalDetails += string.Format("player=%1 connected=%2 blood=%3 resilience=%4 bleeding=%5 improving=%6 treatment=%7 naturalRecovery=%8; ", life.ConnectionId, life.Connected, sample.Blood, sample.Resilience, medical.IsBleeding(), improving, treatment, natural);
|
||||||
nextSamples.Insert(life.Actor, sample);
|
nextSamples.Insert(life.Actor, sample);
|
||||||
}
|
}
|
||||||
@@ -122,9 +130,11 @@ class ERR_RecoveryService
|
|||||||
{
|
{
|
||||||
message = "No conscious prisoner is currently available to help.";
|
message = "No conscious prisoner is currently available to help.";
|
||||||
if (evacuating) message += " The rescue crew is carrying all living prisoners to safety; evacuation continues.";
|
if (evacuating) message += " The rescue crew is carrying all living prisoners to safety; evacuation continues.";
|
||||||
else if (recovering > 0) message += " Treatment or natural recovery is possible; the round continues.";
|
else if (selfRescuers > 0) message += " Self epinephrine is available. Press Space to use your carried injector; the round continues.";
|
||||||
|
else if (recovering > 0 && uncertain > 0) message += " Recovery timing is uncertain; existing treatment and recovery safeguards remain active.";
|
||||||
|
else if (recovering > 0) message += " A prisoner is expected to wake within five minutes under current medical conditions.";
|
||||||
else if (reservedRescuers > 0) message += " A conscious prisoner's reconnection may provide help.";
|
else if (reservedRescuers > 0) message += " A conscious prisoner's reconnection may provide help.";
|
||||||
else message += " Everyone is unconscious with no treatment or recovery progressing. The mission fails after 30 uninterrupted seconds in this state.";
|
else message += " Nobody is expected to wake within five minutes and no self-injection is available. The mission fails after 30 uninterrupted seconds in this state.";
|
||||||
}
|
}
|
||||||
Publish(message);
|
Publish(message);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,158 @@
|
|||||||
|
// Round-local statistics are always available, independently of telemetry.
|
||||||
|
// Only authoritative participant bodies own records; transient connection IDs
|
||||||
|
// and native winner-ID lists never decide kill credit or escape results.
|
||||||
|
class ERR_RoundPlayerStats
|
||||||
|
{
|
||||||
|
UUID Account;
|
||||||
|
string Name;
|
||||||
|
IEntity Actor;
|
||||||
|
bool Connected;
|
||||||
|
bool Down;
|
||||||
|
int Kills;
|
||||||
|
int FriendlyKills;
|
||||||
|
int Deaths;
|
||||||
|
int Downed;
|
||||||
|
int Recoveries;
|
||||||
|
}
|
||||||
|
class ERR_RoundStatistics
|
||||||
|
{
|
||||||
|
protected ERR_GameMode m_Mode;
|
||||||
|
protected ref array<ref ERR_RoundPlayerStats> m_Players = {};
|
||||||
|
protected bool m_Finished;
|
||||||
|
protected bool m_Truncated;
|
||||||
|
protected int m_StartedAt = -1;
|
||||||
|
void ERR_RoundStatistics(ERR_GameMode mode) { m_Mode = mode; }
|
||||||
|
ERR_RoundPlayerStats Find(UUID account)
|
||||||
|
{
|
||||||
|
foreach (ERR_RoundPlayerStats row : m_Players) if (row.Account == account) return row;
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
protected ERR_RoundPlayerStats Body(IEntity actor)
|
||||||
|
{
|
||||||
|
if (!actor) return null;
|
||||||
|
foreach (ERR_RoundPlayerStats row : m_Players) if (row.Actor == actor) return row;
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
static string DisplayName(string name)
|
||||||
|
{
|
||||||
|
name.Replace("\n", " "); name.Replace("\r", " "); name.Replace("\t", " ");
|
||||||
|
if (name.Length() > 48) name = name.Substring(0, 48);
|
||||||
|
if (name.IsEmpty()) return "Player";
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
void RosterChanged(int playerId) { Sync(); }
|
||||||
|
void Sync()
|
||||||
|
{
|
||||||
|
if (!Replication.IsServer() || m_Finished || !m_Mode || !m_Mode.Players()) return;
|
||||||
|
array<ref ERR_PlayerLife> lives = {}; m_Mode.Players().Participants(lives);
|
||||||
|
foreach (ERR_PlayerLife life : lives)
|
||||||
|
{
|
||||||
|
ERR_RoundPlayerStats row = Find(life.AccountId);
|
||||||
|
if (!row)
|
||||||
|
{
|
||||||
|
if (m_Players.Count() >= 128) { m_Truncated = true; continue; }
|
||||||
|
row = new ERR_RoundPlayerStats(); row.Account = life.AccountId; m_Players.Insert(row);
|
||||||
|
}
|
||||||
|
row.Connected = life.Connected;
|
||||||
|
if (life.Connected) row.Name = DisplayName(GetGame().GetPlayerManager().GetPlayerName(life.ConnectionId));
|
||||||
|
if (row.Actor != life.Actor) { row.Actor = life.Actor; row.Down = false; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// A consciousness edge is a down/recovery, not a death. Repeated callbacks
|
||||||
|
// cannot count the same incapacitation twice; corpse deletion is not a kill.
|
||||||
|
static void Consciousness(ERR_RoundPlayerStats row, bool conscious)
|
||||||
|
{
|
||||||
|
if (!row) return;
|
||||||
|
if (!conscious && !row.Down) row.Downed++;
|
||||||
|
if (conscious && row.Down) row.Recoveries++;
|
||||||
|
row.Down = !conscious;
|
||||||
|
}
|
||||||
|
void ConsciousnessChanged(IEntity actor, bool conscious)
|
||||||
|
{
|
||||||
|
if (!Replication.IsServer() || m_Finished || !m_Mode || !m_Mode.Active() || !ERR_Actors.Alive(actor)) return;
|
||||||
|
Sync(); Consciousness(Body(actor), conscious);
|
||||||
|
}
|
||||||
|
static void CountDeath(ERR_RoundPlayerStats victim, ERR_RoundPlayerStats killer, bool friendly, bool credit)
|
||||||
|
{
|
||||||
|
if (victim) { victim.Deaths++; victim.Down = false; }
|
||||||
|
if (!credit || !killer || victim == killer) return;
|
||||||
|
if (friendly) killer.FriendlyKills++;
|
||||||
|
else killer.Kills++;
|
||||||
|
}
|
||||||
|
void Killed(IEntity victim, IEntity killerEntity, Instigator instigator)
|
||||||
|
{
|
||||||
|
if (!Replication.IsServer() || m_Finished || !m_Mode || !m_Mode.Active() || !ChimeraCharacter.Cast(victim)) return;
|
||||||
|
SCR_CharacterDamageManagerComponent damage = SCR_CharacterDamageManagerComponent.Cast(victim.FindComponent(SCR_CharacterDamageManagerComponent));
|
||||||
|
if (!damage || !damage.IsDestroyed()) return;
|
||||||
|
Sync();
|
||||||
|
ERR_RoundPlayerStats killed = Body(victim);
|
||||||
|
// Native damage normally provides the original instigator body, including
|
||||||
|
// delayed explosives. Never recover credit from a possibly recycled player ID.
|
||||||
|
IEntity source = killerEntity;
|
||||||
|
if (!ChimeraCharacter.Cast(source) && instigator) source = instigator.GetInstigatorEntity();
|
||||||
|
ERR_RoundPlayerStats killer = Body(source);
|
||||||
|
if (!killed && !killer) return;
|
||||||
|
if (!damage.ERR_ClaimRoundDeath()) return;
|
||||||
|
bool credit = instigator && instigator.GetInstigatorType() != InstigatorType.INSTIGATOR_GM;
|
||||||
|
bool friendly = killed != null;
|
||||||
|
Faction faction = SCR_FactionManager.SGetFaction(victim);
|
||||||
|
if (faction && faction == m_Mode.PlayerFaction()) friendly = true;
|
||||||
|
CountDeath(killed, killer, friendly, credit);
|
||||||
|
}
|
||||||
|
void PhaseChanged(ERR_Phase previous, ERR_Phase current)
|
||||||
|
{
|
||||||
|
if (!Replication.IsServer() || m_Finished) return;
|
||||||
|
if (m_StartedAt < 0 && current >= ERR_Phase.PRISON && current <= ERR_Phase.EXTRACTION) m_StartedAt = System.GetTickCount();
|
||||||
|
if (ERR_MissionRules.Terminal(current)) Finish();
|
||||||
|
}
|
||||||
|
protected string Outcome(ERR_RoundPlayerStats row)
|
||||||
|
{
|
||||||
|
if (m_Mode.Extraction() && m_Mode.Extraction().DidEscape(row.Account)) return "Escaped";
|
||||||
|
if (row.Deaths > 0 && !ERR_Actors.Alive(row.Actor)) return "Dead";
|
||||||
|
if (!row.Connected) return "Disconnected - did not escape";
|
||||||
|
if (row.Down) return "Down - did not escape";
|
||||||
|
return "Did not escape";
|
||||||
|
}
|
||||||
|
void Finish()
|
||||||
|
{
|
||||||
|
if (!Replication.IsServer() || m_Finished || !m_Mode) return;
|
||||||
|
Sync(); m_Finished = true;
|
||||||
|
int seconds;
|
||||||
|
if (m_StartedAt >= 0) seconds = Math.Max(0, (System.GetTickCount() - m_StartedAt) / 1000);
|
||||||
|
int kills, friendly, deaths, downed, recovered, escaped;
|
||||||
|
string rows;
|
||||||
|
foreach (ERR_RoundPlayerStats row : m_Players)
|
||||||
|
{
|
||||||
|
kills += row.Kills; friendly += row.FriendlyKills; deaths += row.Deaths; downed += row.Downed; recovered += row.Recoveries;
|
||||||
|
if (m_Mode.Extraction() && m_Mode.Extraction().DidEscape(row.Account)) escaped++;
|
||||||
|
if (!rows.IsEmpty()) rows += "\n\n";
|
||||||
|
rows += DisplayName(row.Name) + " - " + Outcome(row) + "\n";
|
||||||
|
rows += string.Format("Kills: %1 Friendly kills: %2 Deaths: %3 Downed: %4 Recoveries: %5", row.Kills, row.FriendlyKills, row.Deaths, row.Downed, row.Recoveries);
|
||||||
|
}
|
||||||
|
string summary = string.Format("Duration: %1m %2s Participants: %3 Escaped: %4\n", seconds / 60, Math.Mod(seconds, 60), m_Players.Count(), escaped);
|
||||||
|
summary += string.Format("Total kills: %1 Friendly kills: %2 Deaths: %3 Downed: %4 Recoveries: %5\n\n", kills, friendly, deaths, downed, recovered);
|
||||||
|
summary += "Downed counts unconscious episodes; recoveries include self-recovery. Deaths count fatal losses.\n\n";
|
||||||
|
if (rows.IsEmpty()) rows = "No players participated in this round.";
|
||||||
|
summary += rows;
|
||||||
|
if (m_Truncated) summary += "\n\nOnly the first 128 participants are shown; totals cover those players.";
|
||||||
|
m_Mode.ERR_PublishRoundStatistics(summary);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
modded class SCR_CharacterDamageManagerComponent
|
||||||
|
{
|
||||||
|
protected bool m_ERRRoundDeathCounted;
|
||||||
|
bool ERR_ClaimRoundDeath()
|
||||||
|
{
|
||||||
|
if (!Replication.IsServer() || m_ERRRoundDeathCounted) return false;
|
||||||
|
m_ERRRoundDeathCounted = true; return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
modded class SCR_CharacterControllerComponent
|
||||||
|
{
|
||||||
|
override void OnConsciousnessChanged(bool conscious)
|
||||||
|
{
|
||||||
|
super.OnConsciousnessChanged(conscious);
|
||||||
|
ERR_GameMode mode = ERR_GameMode.Get();
|
||||||
|
if (mode && mode.ERR_Statistics()) mode.ERR_Statistics().ConsciousnessChanged(GetOwner(), conscious);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
modded class ERR_GameMode
|
||||||
|
{
|
||||||
|
protected ref ERR_RoundStatistics m_ERRStatistics;
|
||||||
|
[RplProp(onRplName: "ERR_OnRoundStatisticsReplicated")]
|
||||||
|
protected string m_ERRRoundSummary;
|
||||||
|
[RplProp(onRplName: "ERR_OnRoundStatisticsReplicated")]
|
||||||
|
protected string m_ERRCommunitySummary = "Community map records unavailable.";
|
||||||
|
protected ref ScriptInvoker m_ERRStatisticsChanged = new ScriptInvoker();
|
||||||
|
ERR_RoundStatistics ERR_Statistics() { return m_ERRStatistics; }
|
||||||
|
string ERR_RoundSummary()
|
||||||
|
{
|
||||||
|
if (m_ERRRoundSummary.IsEmpty()) return "";
|
||||||
|
return m_ERRCommunitySummary + "\n\n" + m_ERRRoundSummary;
|
||||||
|
}
|
||||||
|
void ERR_PublishCommunityStatistics(string summary)
|
||||||
|
{
|
||||||
|
if (!Replication.IsServer() || summary.Length() > 2048 || m_ERRCommunitySummary == summary) return;
|
||||||
|
m_ERRCommunitySummary = summary;
|
||||||
|
Replication.BumpMe(); ERR_OnRoundStatisticsReplicated();
|
||||||
|
}
|
||||||
|
ScriptInvoker ERR_OnStatisticsChanged() { return m_ERRStatisticsChanged; }
|
||||||
|
protected void ERR_OnRoundStatisticsReplicated() { m_ERRStatisticsChanged.Invoke(); }
|
||||||
|
void ERR_PublishRoundStatistics(string summary)
|
||||||
|
{
|
||||||
|
if (!Replication.IsServer() || !m_ERRRoundSummary.IsEmpty()) return;
|
||||||
|
m_ERRRoundSummary = summary;
|
||||||
|
Replication.BumpMe(); ERR_OnRoundStatisticsReplicated();
|
||||||
|
}
|
||||||
|
protected override void EOnInit(IEntity owner)
|
||||||
|
{
|
||||||
|
super.EOnInit(owner);
|
||||||
|
if (!Replication.IsServer() || SCR_Global.IsEditMode() || !Players()) return;
|
||||||
|
m_ERRStatistics = new ERR_RoundStatistics(this);
|
||||||
|
OnPhaseChanged().Insert(m_ERRStatistics.PhaseChanged);
|
||||||
|
Players().OnChanged().Insert(m_ERRStatistics.RosterChanged);
|
||||||
|
}
|
||||||
|
protected override void OnControllableDestroyed(IEntity entity, IEntity killerEntity, notnull Instigator instigator)
|
||||||
|
{
|
||||||
|
if (m_ERRStatistics) m_ERRStatistics.Killed(entity, killerEntity, instigator);
|
||||||
|
super.OnControllableDestroyed(entity, killerEntity, instigator);
|
||||||
|
}
|
||||||
|
protected override void OnPlayerKilled(int playerId, IEntity playerEntity, IEntity killerEntity, notnull Instigator killer)
|
||||||
|
{
|
||||||
|
if (m_ERRStatistics) m_ERRStatistics.Killed(playerEntity, killerEntity, killer);
|
||||||
|
super.OnPlayerKilled(playerId, playerEntity, killerEntity, killer);
|
||||||
|
}
|
||||||
|
protected override void OnGameModeEnd(SCR_GameModeEndData endData)
|
||||||
|
{
|
||||||
|
// Freeze before native shutdown can detach bodies or remove roster ownership.
|
||||||
|
if (m_ERRStatistics) m_ERRStatistics.Finish();
|
||||||
|
super.OnGameModeEnd(endData);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -51,10 +51,34 @@ modded class SCR_PlayerController
|
|||||||
if (mode && mode.Players()) life = mode.Players().Get(GetPlayerId());
|
if (mode && mode.Players()) life = mode.Players().Get(GetPlayerId());
|
||||||
if (!mode || !ERR_SelfEpinephrineRules.Allowed(mode.Active(), mode.Settings().Get("selfEpinephrine") == 1,
|
if (!mode || !ERR_SelfEpinephrineRules.Allowed(mode.Active(), mode.Settings().Get("selfEpinephrine") == 1,
|
||||||
life && life.Actor == actor && mode.Players().CurrentActor(actor) == life, ERR_Actors.Alive(actor), controller && controller.IsUnconscious())) return "";
|
life && life.Actor == actor && mode.Players().CurrentActor(actor) == life, ERR_Actors.Alive(actor), controller && controller.IsUnconscious())) return "";
|
||||||
|
IEntity injector = ERR_SelfEpinephrineInventory.FindUsable(actor);
|
||||||
|
if (!injector) return "No usable epinephrine injector in your inventory, or treatment is already active.";
|
||||||
|
SCR_ConsumableItemComponent item = SCR_ConsumableItemComponent.Cast(injector.FindComponent(SCR_ConsumableItemComponent));
|
||||||
|
SCR_ConsumableMorphine effect = SCR_ConsumableMorphine.Cast(item.GetConsumableEffect());
|
||||||
|
item.ApplyItemEffect(actor, actor, effect.GetAnimationParameters(injector, actor), injector, effect.GetDeleteOnUse());
|
||||||
|
return "Epinephrine administered. Its normal medical effect is active.";
|
||||||
|
}
|
||||||
|
|
||||||
|
[RplRpc(RplChannel.Reliable, RplRcver.Owner)]
|
||||||
|
protected void ERR_SelfEpinephrineResponse(string message)
|
||||||
|
{
|
||||||
|
if (this != GetGame().GetPlayerController()) return;
|
||||||
|
SCR_HintManagerComponent hints = SCR_HintManagerComponent.GetInstance();
|
||||||
|
if (hints) hints.ShowCustom(message, "Self epinephrine", 6);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Shared read-only eligibility: defeat prediction and the actual Space action
|
||||||
|
// must agree, including native duplicate-dose rejection and item preference.
|
||||||
|
class ERR_SelfEpinephrineInventory
|
||||||
|
{
|
||||||
|
static IEntity FindUsable(IEntity actor)
|
||||||
|
{
|
||||||
|
if (!ERR_Actors.Alive(actor) || ERR_Actors.CanFight(actor)) return null;
|
||||||
InventoryStorageManagerComponent inventory = InventoryStorageManagerComponent.Cast(actor.FindComponent(InventoryStorageManagerComponent));
|
InventoryStorageManagerComponent inventory = InventoryStorageManagerComponent.Cast(actor.FindComponent(InventoryStorageManagerComponent));
|
||||||
array<IEntity> items = {};
|
array<IEntity> items = {};
|
||||||
if (inventory) inventory.GetItems(items);
|
if (inventory) inventory.GetItems(items);
|
||||||
if (items.Count() > 512) return "Unable to inspect your medical supplies.";
|
if (items.Count() > 512) return null;
|
||||||
// Prefer the standard injector; preserve each item's ordinary medical effect.
|
// Prefer the standard injector; preserve each item's ordinary medical effect.
|
||||||
for (int kind = 0; kind < 2; kind++)
|
for (int kind = 0; kind < 2; kind++)
|
||||||
foreach (IEntity injector : items)
|
foreach (IEntity injector : items)
|
||||||
@@ -68,18 +92,8 @@ modded class SCR_PlayerController
|
|||||||
if (kind == 1 && !ERR_ConsumableCombatEpinephrine.Cast(effect)) continue;
|
if (kind == 1 && !ERR_ConsumableCombatEpinephrine.Cast(effect)) continue;
|
||||||
SCR_EConsumableFailReason reason;
|
SCR_EConsumableFailReason reason;
|
||||||
if (!effect.CanApplyEffect(actor, actor, reason)) continue;
|
if (!effect.CanApplyEffect(actor, actor, reason)) continue;
|
||||||
// An unconscious player cannot perform the standing injection animation.
|
return injector;
|
||||||
// Use the native effect/consumption path on this exact carried item once.
|
|
||||||
item.ApplyItemEffect(actor, actor, effect.GetAnimationParameters(injector, actor), injector, effect.GetDeleteOnUse());
|
|
||||||
return "Epinephrine administered. Its normal medical effect is active.";
|
|
||||||
}
|
}
|
||||||
return "No usable epinephrine injector in your inventory, or treatment is already active.";
|
return null;
|
||||||
}
|
|
||||||
[RplRpc(RplChannel.Reliable, RplRcver.Owner)]
|
|
||||||
protected void ERR_SelfEpinephrineResponse(string message)
|
|
||||||
{
|
|
||||||
if (this != GetGame().GetPlayerController()) return;
|
|
||||||
SCR_HintManagerComponent hints = SCR_HintManagerComponent.GetInstance();
|
|
||||||
if (hints) hints.ShowCustom(message, "Self epinephrine", 6);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,12 +9,13 @@ class ERR_Settings
|
|||||||
|
|
||||||
static array<string> Keys()
|
static array<string> Keys()
|
||||||
{
|
{
|
||||||
return {"aiDoctrine", "aiShadow", "sarkaAngerPerCar", "motorbikeCount", "planeAltitudeMetres", "planeReplacementSeconds", "planeSectorSeconds", "planeReconEnabled", "droneReconCount", "droneCooldownSeconds", "fieldCampCount", "fieldHospitalCount", "startWeaponCount", "startMagazineCount", "objectGuardCount", "objectGuardEvery", "objectGuardHQMode", "hunterSpawnDistanceMetres", "roadblockCount", "civilianTrafficCount", "startMode", "keepWeaponOnUnconscious", "selfEpinephrine", "restartOnEmpty", "emptyRestartHours", "reportIntervalSeconds", "supportSquadLimit", "responseRadiusMetres", "aiIntelChancePercent", "intelRevealChancePercent", "showAllSites", "radioDefenceSeconds", "startTimeMinutes", "timeMultiplier", "startDateCode", "weatherProfile", "viewDistanceMetres", "antiAirChancePercent", "antiPersonnelMineChancePercent", "automaticEquipmentChancePercent", "automaticConvoyEnabled", "convoyCount", "heliTimerMinutes"};
|
return {"telemetryEnabled", "aiDoctrine", "aiShadow", "sarkaAngerPerCar", "motorbikeCount", "planeAltitudeMetres", "planeReplacementSeconds", "planeSectorSeconds", "planeReconEnabled", "droneReconCount", "droneCooldownSeconds", "fieldCampCount", "fieldHospitalCount", "startWeaponCount", "startMagazineCount", "objectGuardCount", "objectGuardEvery", "objectGuardHQMode", "hunterSpawnDistanceMetres", "roadblockCount", "largeRoadblockCount", "mainRoadWidthMetres", "civilianTrafficCount", "garageVehicleCount", "garageChancePercent", "garageRadiusMetres", "garageSpawnIntervalSeconds", "startMode", "keepWeaponOnUnconscious", "selfEpinephrine", "restartOnEmpty", "emptyRestartHours", "reportIntervalSeconds", "supportSquadLimit", "responseRadiusMetres", "aiIntelChancePercent", "intelRevealChancePercent", "radioIntelSiteCount", "showAllSites", "radioDefenceSeconds", "startTimeMinutes", "timeMultiplier", "startDateCode", "weatherProfile", "viewDistanceMetres", "antiAirChancePercent", "antiPersonnelMineChancePercent", "automaticEquipmentChancePercent", "automaticConvoyEnabled", "convoyCount", "heliTimerMinutes"};
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool Valid(string key, int value)
|
static bool Valid(string key, int value)
|
||||||
{
|
{
|
||||||
if (key == "aiDoctrine" || key == "aiShadow") return value == 0 || value == 1;
|
if (key == "telemetryEnabled" || key == "aiDoctrine" || key == "aiShadow") return value == 0 || value == 1;
|
||||||
|
if (key == "radioIntelSiteCount") return value >= 0 && value <= 20;
|
||||||
if (key == "sarkaAngerPerCar") return value >= 0 && value <= 30;
|
if (key == "sarkaAngerPerCar") return value >= 0 && value <= 30;
|
||||||
if (key == "motorbikeCount") return value >= 0 && value <= 6;
|
if (key == "motorbikeCount") return value >= 0 && value <= 6;
|
||||||
if (key == "droneReconCount") return value >= 0 && value <= 3;
|
if (key == "droneReconCount") return value >= 0 && value <= 3;
|
||||||
@@ -32,6 +33,12 @@ class ERR_Settings
|
|||||||
if (key == "objectGuardCount") return value >= 0 && value <= 16;
|
if (key == "objectGuardCount") return value >= 0 && value <= 16;
|
||||||
if (key == "hunterSpawnDistanceMetres") return value >= 800 && value <= 3000;
|
if (key == "hunterSpawnDistanceMetres") return value >= 800 && value <= 3000;
|
||||||
if (key == "roadblockCount") return value >= 0 && value <= 30;
|
if (key == "roadblockCount") return value >= 0 && value <= 30;
|
||||||
|
if (key == "largeRoadblockCount") return value >= 0 && value <= 30;
|
||||||
|
if (key == "mainRoadWidthMetres") return value >= 5 && value <= 12;
|
||||||
|
if (key == "garageChancePercent") return value >= 0 && value <= 100;
|
||||||
|
if (key == "garageRadiusMetres") return value >= 250 && value <= 1500;
|
||||||
|
if (key == "garageSpawnIntervalSeconds") return value >= 5 && value <= 60;
|
||||||
|
if (key == "garageVehicleCount") return value >= 0 && value <= 24;
|
||||||
if (key == "civilianTrafficCount") return value >= 0 && value <= 6;
|
if (key == "civilianTrafficCount") return value >= 0 && value <= 6;
|
||||||
if (key == "startMode") return value == 0 || value == 1;
|
if (key == "startMode") return value == 0 || value == 1;
|
||||||
if (key == "showAllSites") return value == 0 || value == 1;
|
if (key == "showAllSites") return value == 0 || value == 1;
|
||||||
@@ -121,6 +128,7 @@ class ERR_Settings
|
|||||||
static int AddedDefault(string key)
|
static int AddedDefault(string key)
|
||||||
{
|
{
|
||||||
if (key == "aiDoctrine" || key == "aiShadow") return 0;
|
if (key == "aiDoctrine" || key == "aiShadow") return 0;
|
||||||
|
if (key == "radioIntelSiteCount") return 5;
|
||||||
if (key == "sarkaAngerPerCar") return 3;
|
if (key == "sarkaAngerPerCar") return 3;
|
||||||
if (key == "motorbikeCount") return 2;
|
if (key == "motorbikeCount") return 2;
|
||||||
if (key == "droneReconCount") return 0;
|
if (key == "droneReconCount") return 0;
|
||||||
@@ -138,10 +146,16 @@ class ERR_Settings
|
|||||||
if (key == "objectGuardCount") return 8;
|
if (key == "objectGuardCount") return 8;
|
||||||
if (key == "hunterSpawnDistanceMetres") return 1000;
|
if (key == "hunterSpawnDistanceMetres") return 1000;
|
||||||
if (key == "roadblockCount") return 4;
|
if (key == "roadblockCount") return 4;
|
||||||
|
if (key == "largeRoadblockCount") return 4;
|
||||||
|
if (key == "mainRoadWidthMetres") return 6;
|
||||||
if (key == "civilianTrafficCount") return 3;
|
if (key == "civilianTrafficCount") return 3;
|
||||||
|
if (key == "garageChancePercent") return 70;
|
||||||
|
if (key == "garageRadiusMetres") return 1000;
|
||||||
|
if (key == "garageSpawnIntervalSeconds") return 5;
|
||||||
|
if (key == "garageVehicleCount") return 16;
|
||||||
if (key == "showAllSites") return 0;
|
if (key == "showAllSites") return 0;
|
||||||
if (key == "startMode" || key == "selfEpinephrine") return 0;
|
if (key == "startMode" || key == "selfEpinephrine") return 0;
|
||||||
if (key == "keepWeaponOnUnconscious" || key == "restartOnEmpty") return 1;
|
if (key == "telemetryEnabled" || key == "keepWeaponOnUnconscious" || key == "restartOnEmpty") return 1;
|
||||||
if (key == "emptyRestartHours") return 5;
|
if (key == "emptyRestartHours") return 5;
|
||||||
if (key == "heliTimerMinutes") return 15;
|
if (key == "heliTimerMinutes") return 15;
|
||||||
if (key == "convoyCount") return 3;
|
if (key == "convoyCount") return 3;
|
||||||
@@ -158,10 +172,17 @@ class ERR_Settings
|
|||||||
void ERR_Settings(string path = PATH)
|
void ERR_Settings(string path = PATH)
|
||||||
{
|
{
|
||||||
m_Path = path;
|
m_Path = path;
|
||||||
|
m_Values.Set("telemetryEnabled", AddedDefault("telemetryEnabled"));
|
||||||
m_Values.Set("aiDoctrine", AddedDefault("aiDoctrine"));
|
m_Values.Set("aiDoctrine", AddedDefault("aiDoctrine"));
|
||||||
m_Values.Set("aiShadow", AddedDefault("aiShadow"));
|
m_Values.Set("aiShadow", AddedDefault("aiShadow"));
|
||||||
m_Values.Set("sarkaAngerPerCar", AddedDefault("sarkaAngerPerCar"));
|
m_Values.Set("sarkaAngerPerCar", AddedDefault("sarkaAngerPerCar"));
|
||||||
|
m_Values.Set("garageChancePercent", AddedDefault("garageChancePercent"));
|
||||||
|
m_Values.Set("garageRadiusMetres", AddedDefault("garageRadiusMetres"));
|
||||||
|
m_Values.Set("garageSpawnIntervalSeconds", AddedDefault("garageSpawnIntervalSeconds"));
|
||||||
|
m_Values.Set("garageVehicleCount", AddedDefault("garageVehicleCount"));
|
||||||
m_Values.Set("motorbikeCount", AddedDefault("motorbikeCount"));
|
m_Values.Set("motorbikeCount", AddedDefault("motorbikeCount"));
|
||||||
|
m_Values.Set("droneReconCount", AddedDefault("droneReconCount"));
|
||||||
|
m_Values.Set("droneCooldownSeconds", AddedDefault("droneCooldownSeconds"));
|
||||||
m_Values.Set("planeAltitudeMetres", AddedDefault("planeAltitudeMetres"));
|
m_Values.Set("planeAltitudeMetres", AddedDefault("planeAltitudeMetres"));
|
||||||
m_Values.Set("planeReplacementSeconds", AddedDefault("planeReplacementSeconds"));
|
m_Values.Set("planeReplacementSeconds", AddedDefault("planeReplacementSeconds"));
|
||||||
m_Values.Set("planeSectorSeconds", AddedDefault("planeSectorSeconds"));
|
m_Values.Set("planeSectorSeconds", AddedDefault("planeSectorSeconds"));
|
||||||
@@ -175,6 +196,8 @@ class ERR_Settings
|
|||||||
m_Values.Set("objectGuardHQMode", AddedDefault("objectGuardHQMode"));
|
m_Values.Set("objectGuardHQMode", AddedDefault("objectGuardHQMode"));
|
||||||
m_Values.Set("hunterSpawnDistanceMetres", AddedDefault("hunterSpawnDistanceMetres"));
|
m_Values.Set("hunterSpawnDistanceMetres", AddedDefault("hunterSpawnDistanceMetres"));
|
||||||
m_Values.Set("roadblockCount", AddedDefault("roadblockCount"));
|
m_Values.Set("roadblockCount", AddedDefault("roadblockCount"));
|
||||||
|
m_Values.Set("largeRoadblockCount", AddedDefault("largeRoadblockCount"));
|
||||||
|
m_Values.Set("mainRoadWidthMetres", AddedDefault("mainRoadWidthMetres"));
|
||||||
m_Values.Set("civilianTrafficCount", AddedDefault("civilianTrafficCount"));
|
m_Values.Set("civilianTrafficCount", AddedDefault("civilianTrafficCount"));
|
||||||
m_Values.Set("startMode", AddedDefault("startMode"));
|
m_Values.Set("startMode", AddedDefault("startMode"));
|
||||||
m_Values.Set("keepWeaponOnUnconscious", AddedDefault("keepWeaponOnUnconscious"));
|
m_Values.Set("keepWeaponOnUnconscious", AddedDefault("keepWeaponOnUnconscious"));
|
||||||
@@ -186,6 +209,7 @@ class ERR_Settings
|
|||||||
m_Values.Set("responseRadiusMetres", 2000);
|
m_Values.Set("responseRadiusMetres", 2000);
|
||||||
m_Values.Set("aiIntelChancePercent", 60);
|
m_Values.Set("aiIntelChancePercent", 60);
|
||||||
m_Values.Set("intelRevealChancePercent", 15);
|
m_Values.Set("intelRevealChancePercent", 15);
|
||||||
|
m_Values.Set("radioIntelSiteCount", 5);
|
||||||
m_Values.Set("showAllSites", AddedDefault("showAllSites"));
|
m_Values.Set("showAllSites", AddedDefault("showAllSites"));
|
||||||
m_Values.Set("radioDefenceSeconds", 180);
|
m_Values.Set("radioDefenceSeconds", 180);
|
||||||
m_Values.Set("startTimeMinutes", AddedDefault("startTimeMinutes"));
|
m_Values.Set("startTimeMinutes", AddedDefault("startTimeMinutes"));
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
[BaseContainerProps()]
|
[BaseContainerProps()]
|
||||||
class ERR_SiteStock
|
class ERR_SiteStock
|
||||||
{
|
{
|
||||||
|
// Runtime starting-loadout choice; authored objective stock remains in storage.
|
||||||
|
bool OnGround;
|
||||||
[Attribute("", UIWidgets.ResourceNamePicker, "Physical inventory item", "et")]
|
[Attribute("", UIWidgets.ResourceNamePicker, "Physical inventory item", "et")]
|
||||||
ResourceName Prefab;
|
ResourceName Prefab;
|
||||||
[Attribute("1", UIWidgets.EditBox, "Finite initial count")]
|
[Attribute("1", UIWidgets.EditBox, "Finite initial count")]
|
||||||
@@ -59,7 +61,7 @@ class ERR_SiteDefinition
|
|||||||
ResourceName Prefab;
|
ResourceName Prefab;
|
||||||
[Attribute("0 0 0", UIWidgets.Coords)]
|
[Attribute("0 0 0", UIWidgets.Coords)]
|
||||||
vector Position;
|
vector Position;
|
||||||
[Attribute("0", UIWidgets.CheckBox, "Choose dry clear terrain once per round (prison, radio, mortar, hospital, depot or camp)")]
|
[Attribute("0", UIWidgets.CheckBox, "Choose dry clear terrain once per round (prison, extraction, radio, mortar, hospital, depot or camp)")]
|
||||||
bool RandomClear;
|
bool RandomClear;
|
||||||
[Attribute("0", UIWidgets.EditBox, "Composition heading in degrees")]
|
[Attribute("0", UIWidgets.EditBox, "Composition heading in degrees")]
|
||||||
float Heading;
|
float Heading;
|
||||||
@@ -183,7 +185,7 @@ class ERR_ScenarioDefinition
|
|||||||
if (!site || site.Id.IsEmpty() || ids.Contains(site.Id) || site.Prefab.IsEmpty()) return false;
|
if (!site || site.Id.IsEmpty() || ids.Contains(site.Id) || site.Prefab.IsEmpty()) return false;
|
||||||
if (site.RequireAirfield && site.Kind != ERR_LocationKind.EXTRACTION) return false;
|
if (site.RequireAirfield && site.Kind != ERR_LocationKind.EXTRACTION) return false;
|
||||||
if (site.Kind == ERR_LocationKind.RADIO && !site.Guarded && site.Guards.IsEmpty()) return false;
|
if (site.Kind == ERR_LocationKind.RADIO && !site.Guarded && site.Guards.IsEmpty()) return false;
|
||||||
if (site.RandomClear && site.Kind != ERR_LocationKind.PRISON && site.Kind != ERR_LocationKind.RADIO && site.Kind != ERR_LocationKind.MORTAR && site.Kind != ERR_LocationKind.HOSPITAL && site.Kind != ERR_LocationKind.OUTPOST && site.Kind != ERR_LocationKind.DEPOT) return false;
|
if (site.RandomClear && site.Kind != ERR_LocationKind.EXTRACTION && site.Kind != ERR_LocationKind.PRISON && site.Kind != ERR_LocationKind.RADIO && site.Kind != ERR_LocationKind.MORTAR && site.Kind != ERR_LocationKind.HOSPITAL && site.Kind != ERR_LocationKind.OUTPOST && site.Kind != ERR_LocationKind.DEPOT) return false;
|
||||||
if (site.Label.IsEmpty() || site.Label.Length() > 64) return false;
|
if (site.Label.IsEmpty() || site.Label.Length() > 64) return false;
|
||||||
if (!ERR_SiteDiscoveryRules.ValidRadius(site.Kind, site.DiscoverRadius)) return false;
|
if (!ERR_SiteDiscoveryRules.ValidRadius(site.Kind, site.DiscoverRadius)) return false;
|
||||||
bool optionalSite = site.Kind == ERR_LocationKind.DEPOT || site.Kind == ERR_LocationKind.OUTPOST || site.Kind == ERR_LocationKind.HOSPITAL;
|
bool optionalSite = site.Kind == ERR_LocationKind.DEPOT || site.Kind == ERR_LocationKind.OUTPOST || site.Kind == ERR_LocationKind.HOSPITAL;
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ class ERR_StockPlacement
|
|||||||
bool Accepted;
|
bool Accepted;
|
||||||
bool Optional;
|
bool Optional;
|
||||||
bool Skipped;
|
bool Skipped;
|
||||||
|
bool OnGround;
|
||||||
}
|
}
|
||||||
|
|
||||||
class ERR_SiteRuntime
|
class ERR_SiteRuntime
|
||||||
@@ -389,7 +390,7 @@ class ERR_SiteService
|
|||||||
if (only && spec != only) continue;
|
if (only && spec != only) continue;
|
||||||
if (startupOnly && !ERR_GeneratedSites.StartupSite(spec)) continue;
|
if (startupOnly && !ERR_GeneratedSites.StartupSite(spec)) continue;
|
||||||
vector position = ERR_Actors.Ground(spec.Position);
|
vector position = ERR_Actors.Ground(spec.Position);
|
||||||
if (position[1] < 1) return Fail("site below sea level: " + spec.Id);
|
if (!ERR_Actors.DryGround(position)) return Fail("site ground is submerged or invalid: " + spec.Id);
|
||||||
vector rootPosition = position;
|
vector rootPosition = position;
|
||||||
if (spec.PlacementResolved && spec.Kind == ERR_LocationKind.PRISON) rootPosition = spec.Position;
|
if (spec.PlacementResolved && spec.Kind == ERR_LocationKind.PRISON) rootPosition = spec.Position;
|
||||||
rootPosition[1] = rootPosition[1] + spec.RootHeight;
|
rootPosition[1] = rootPosition[1] + spec.RootHeight;
|
||||||
@@ -397,7 +398,7 @@ class ERR_SiteService
|
|||||||
{
|
{
|
||||||
rootPosition = ERR_Actors.Ground(position + ERR_CampTerrain.Rotate(spec.AircraftOffset, spec.Heading));
|
rootPosition = ERR_Actors.Ground(position + ERR_CampTerrain.Rotate(spec.AircraftOffset, spec.Heading));
|
||||||
if (spec.RequireAirfield && !ERR_AirfieldPlacement.Clear(rootPosition)) return Fail("extraction airfield pad is missing or obstructed; no off-airfield fallback");
|
if (spec.RequireAirfield && !ERR_AirfieldPlacement.Clear(rootPosition)) return Fail("extraction airfield pad is missing or obstructed; no off-airfield fallback");
|
||||||
if (definition.TerrainGenerated && !spec.RequireAirfield && !ERR_AirfieldPlacement.ClearGround(rootPosition)) return Fail("generated extraction landing zone is obstructed");
|
if ((definition.TerrainGenerated || spec.RandomClear) && !spec.RequireAirfield && !ERR_AirfieldPlacement.ClearGround(rootPosition)) return Fail("generated extraction landing zone is obstructed");
|
||||||
}
|
}
|
||||||
// Spawn the replicated marker at the final pickup coordinate from the start.
|
// Spawn the replicated marker at the final pickup coordinate from the start.
|
||||||
IEntity root = ERR_Actors.Spawn(spec.Prefab, rootPosition, Vector(spec.Heading, 0, 0));
|
IEntity root = ERR_Actors.Spawn(spec.Prefab, rootPosition, Vector(spec.Heading, 0, 0));
|
||||||
@@ -473,6 +474,7 @@ class ERR_SiteService
|
|||||||
&& site.DepotMines.Count() < 2) site.DepotMines.Insert(item);
|
&& site.DepotMines.Count() < 2) site.DepotMines.Insert(item);
|
||||||
}
|
}
|
||||||
placement.Optional = customStart && stock.Prefab != ERR_Supplies.Map();
|
placement.Optional = customStart && stock.Prefab != ERR_Supplies.Map();
|
||||||
|
placement.OnGround = customStart && stock.OnGround;
|
||||||
placement.Item = item;
|
placement.Item = item;
|
||||||
placement.Inventory = inventory;
|
placement.Inventory = inventory;
|
||||||
m_Placements.Insert(placement);
|
m_Placements.Insert(placement);
|
||||||
@@ -628,6 +630,75 @@ class ERR_SiteService
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Optional starting items stay usable when native inventory rejects their
|
||||||
|
// dimensions/volume/type. Keep the exact entity; do not spawn copies or delete it.
|
||||||
|
protected void LeaveStartingItem(ERR_StockPlacement placement)
|
||||||
|
{
|
||||||
|
InventoryItemComponent item = InventoryItemComponent.Cast(placement.Item.FindComponent(InventoryItemComponent));
|
||||||
|
// An accepted asynchronous move or an administrator may already own the item.
|
||||||
|
// Never pull it out of another storage while resolving starter overflow.
|
||||||
|
if (!item || !item.GetParentSlot())
|
||||||
|
{
|
||||||
|
vector origin = placement.Inventory.GetOwner().GetOrigin();
|
||||||
|
array<vector> offsets = {"1.2 0 0", "0 0 1.2", "-1.2 0 0", "0 0 -1.2", "0.9 0 0.9", "-0.9 0 0.9", "-0.9 0 -0.9", "0.9 0 -0.9"};
|
||||||
|
foreach (vector offset : offsets)
|
||||||
|
{
|
||||||
|
vector point = ERR_Actors.Ground(origin + offset);
|
||||||
|
if (!ERR_Actors.DryGround(point) || Math.AbsFloat(point[1] - origin[1]) > 0.5 || !BackpackClearance(point)) continue;
|
||||||
|
// Do not place supplies across a cell wall or inside the crash wreckage.
|
||||||
|
TraceParam access = new TraceParam(); access.Start = origin + "0 0.6 0"; access.End = point + "0 0.6 0";
|
||||||
|
access.Flags = TraceFlags.ENTS | TraceFlags.WORLD; access.Exclude = placement.Inventory.GetOwner();
|
||||||
|
if (GetGame().GetWorld().TraceMove(access, null) < 1) continue;
|
||||||
|
placement.Item.SetOrigin(point + "0 0.2 0");
|
||||||
|
Physics physics = placement.Item.GetPhysics();
|
||||||
|
if (physics && physics.IsDynamic()) physics.SetActive(ActiveState.ACTIVE);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
string resource = "unknown item";
|
||||||
|
if (placement.Item.GetPrefabData()) resource = placement.Item.GetPrefabData().GetPrefabName();
|
||||||
|
if (!placement.OnGround) Print("Reintroduced [starting backpack]: inventory rejected item; retained as starting-area loot: " + resource, LogLevel.WARNING);
|
||||||
|
placement.Skipped = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected ERR_PrepareResult PrepareStock()
|
||||||
|
{
|
||||||
|
int pending, accepted;
|
||||||
|
string firstRejected;
|
||||||
|
foreach (ERR_StockPlacement placement : m_Placements)
|
||||||
|
{
|
||||||
|
if (placement.Skipped) continue;
|
||||||
|
if (!placement.Item || !placement.Inventory)
|
||||||
|
{
|
||||||
|
if (placement.Optional) { placement.Skipped = true; Print("Reintroduced [starting backpack]: optional item disappeared before insertion", LogLevel.WARNING); continue; }
|
||||||
|
Fail("stock disappeared during initialization"); return ERR_PrepareResult.FAILED;
|
||||||
|
}
|
||||||
|
if (placement.OnGround) { LeaveStartingItem(placement); continue; }
|
||||||
|
array<IEntity> items = {};
|
||||||
|
placement.Inventory.GetItems(items);
|
||||||
|
if (items.Contains(placement.Item)) continue;
|
||||||
|
bool expired = GetGame().GetWorld().GetWorldTime() > m_Deadline;
|
||||||
|
if (placement.Optional && (expired || (!placement.Accepted && !placement.Inventory.CanInsertItem(placement.Item))))
|
||||||
|
{
|
||||||
|
LeaveStartingItem(placement); continue;
|
||||||
|
}
|
||||||
|
pending++;
|
||||||
|
if (firstRejected.IsEmpty() && placement.Item.GetPrefabData()) firstRejected = placement.Item.GetPrefabData().GetPrefabName();
|
||||||
|
if (placement.Accepted) accepted++;
|
||||||
|
if (!placement.Accepted) placement.Accepted = placement.Inventory.TryInsertItem(placement.Item);
|
||||||
|
}
|
||||||
|
if (pending)
|
||||||
|
{
|
||||||
|
if (GetGame().GetWorld().GetWorldTime() > m_Deadline)
|
||||||
|
{
|
||||||
|
Fail(string.Format("physical stock insertion timed out: pending=%1 accepted=%2 sample=%3", pending, accepted, firstRejected));
|
||||||
|
return ERR_PrepareResult.FAILED;
|
||||||
|
}
|
||||||
|
return ERR_PrepareResult.PENDING;
|
||||||
|
}
|
||||||
|
return ERR_PrepareResult.READY;
|
||||||
|
}
|
||||||
|
|
||||||
ERR_PrepareResult Prepare()
|
ERR_PrepareResult Prepare()
|
||||||
{
|
{
|
||||||
if (!Replication.IsServer() || !m_Begun || m_Stopped) return ERR_PrepareResult.FAILED;
|
if (!Replication.IsServer() || !m_Begun || m_Stopped) return ERR_PrepareResult.FAILED;
|
||||||
@@ -636,7 +707,7 @@ class ERR_SiteService
|
|||||||
ERR_PrepareResult aircraftPlacement = ERR_PrepareResult.READY;
|
ERR_PrepareResult aircraftPlacement = ERR_PrepareResult.READY;
|
||||||
if (m_ExtractionPlacement) aircraftPlacement = m_ExtractionPlacement.Poll(GetGame().GetWorld().GetWorldTime());
|
if (m_ExtractionPlacement) aircraftPlacement = m_ExtractionPlacement.Poll(GetGame().GetWorld().GetWorldTime());
|
||||||
if (aircraftPlacement == ERR_PrepareResult.FAILED) { Fail(m_ExtractionPlacement.FailureReason()); return m_State; }
|
if (aircraftPlacement == ERR_PrepareResult.FAILED) { Fail(m_ExtractionPlacement.FailureReason()); return m_State; }
|
||||||
int pending, accepted, pendingGuards;
|
int pendingGuards;
|
||||||
foreach (ERR_SiteRuntime site : m_Sites)
|
foreach (ERR_SiteRuntime site : m_Sites)
|
||||||
{
|
{
|
||||||
if (site.Definition.Transport && !site.Definition.Transport.Optional && !TransportReady(site))
|
if (site.Definition.Transport && !site.Definition.Transport.Optional && !TransportReady(site))
|
||||||
@@ -654,29 +725,7 @@ class ERR_SiteService
|
|||||||
if (mobile == ERR_PrepareResult.PENDING) pendingGuards++;
|
if (mobile == ERR_PrepareResult.PENDING) pendingGuards++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
string firstRejected;
|
if (PrepareStock() != ERR_PrepareResult.READY) return m_State;
|
||||||
foreach (ERR_StockPlacement placement : m_Placements)
|
|
||||||
{
|
|
||||||
if (placement.Skipped) continue;
|
|
||||||
if (!placement.Item || !placement.Inventory) { Fail("stock disappeared during initialization"); return m_State; }
|
|
||||||
array<IEntity> items = {};
|
|
||||||
placement.Inventory.GetItems(items);
|
|
||||||
if (items.Contains(placement.Item)) continue;
|
|
||||||
if (placement.Optional && GetGame().GetWorld().GetWorldTime() > m_Deadline)
|
|
||||||
{
|
|
||||||
Print("Reintroduced [starting backpack]: item did not fit; omitted " + placement.Item.GetPrefabData().GetPrefabName(), LogLevel.WARNING);
|
|
||||||
ERR_Actors.DeleteSpawned(placement.Item); placement.Skipped = true; continue;
|
|
||||||
}
|
|
||||||
pending++;
|
|
||||||
if (firstRejected.IsEmpty() && placement.Item.GetPrefabData()) firstRejected = placement.Item.GetPrefabData().GetPrefabName();
|
|
||||||
if (placement.Accepted) accepted++;
|
|
||||||
if (!placement.Accepted) placement.Accepted = placement.Inventory.TryInsertItem(placement.Item);
|
|
||||||
}
|
|
||||||
if (pending)
|
|
||||||
{
|
|
||||||
if (GetGame().GetWorld().GetWorldTime() > m_Deadline) Fail(string.Format("physical stock insertion timed out: pending=%1 accepted=%2 sample=%3", pending, accepted, firstRejected));
|
|
||||||
return m_State;
|
|
||||||
}
|
|
||||||
if (pendingGuards > 0 || aircraftPlacement == ERR_PrepareResult.PENDING) return m_State;
|
if (pendingGuards > 0 || aircraftPlacement == ERR_PrepareResult.PENDING) return m_State;
|
||||||
// All required scenery, stock and physical guards now exist. Survey optional
|
// All required scenery, stock and physical guards now exist. Survey optional
|
||||||
// parking once against that real population, then bound only vehicle settling.
|
// parking once against that real population, then bound only vehicle settling.
|
||||||
|
|||||||
@@ -29,13 +29,13 @@ class ERR_SpawnPlacement
|
|||||||
foreach (int id, vector reserved : reservations)
|
foreach (int id, vector reserved : reservations)
|
||||||
if (id != ownReservation && vector.DistanceXZ(position, reserved) < 1.2 && Math.AbsFloat(position[1] - reserved[1]) < 2) return false;
|
if (id != ownReservation && vector.DistanceXZ(position, reserved) < 1.2 && Math.AbsFloat(position[1] - reserved[1]) < 2) return false;
|
||||||
vector ground = ERR_Actors.Ground(position);
|
vector ground = ERR_Actors.Ground(position);
|
||||||
if (ground[1] < 1 || Math.AbsFloat(position[1] - ground[1]) > 0.3) return false;
|
if (!ERR_Actors.DryGround(ground) || Math.AbsFloat(position[1] - ground[1]) > 0.3) return false;
|
||||||
// Feet need supported, reasonably level terrain across the character width.
|
// Feet need supported, reasonably level terrain across the character width.
|
||||||
for (int x = -1; x <= 1; x++)
|
for (int x = -1; x <= 1; x++)
|
||||||
for (int z = -1; z <= 1; z++)
|
for (int z = -1; z <= 1; z++)
|
||||||
{
|
{
|
||||||
vector sample = ERR_Actors.Ground(position + Vector(x * 0.45, 0, z * 0.45));
|
vector sample = ERR_Actors.Ground(position + Vector(x * 0.45, 0, z * 0.45));
|
||||||
if (Math.AbsFloat(sample[1] - ground[1]) > 0.3) return false;
|
if (!ERR_Actors.DryGround(sample) || Math.AbsFloat(sample[1] - ground[1]) > 0.3) return false;
|
||||||
}
|
}
|
||||||
m_Exclude = exclude;
|
m_Exclude = exclude;
|
||||||
m_Candidate = ground; m_Blocked = false;
|
m_Candidate = ground; m_Blocked = false;
|
||||||
|
|||||||
@@ -11,6 +11,11 @@ class ERR_StartBackpack
|
|||||||
if (Read(PATH, loaded) || Read(PATH + ".bak", loaded)) m_Records = loaded;
|
if (Read(PATH, loaded) || Read(PATH + ".bak", loaded)) m_Records = loaded;
|
||||||
else if (ERR_ProfileConfig.Exists(PATH) || ERR_ProfileConfig.Exists(PATH + ".bak")) m_ReadOnly = true;
|
else if (ERR_ProfileConfig.Exists(PATH) || ERR_ProfileConfig.Exists(PATH + ".bak")) m_ReadOnly = true;
|
||||||
}
|
}
|
||||||
|
static string Destination(array<string> parts)
|
||||||
|
{
|
||||||
|
if (parts.Count() == 3) return parts[2];
|
||||||
|
return "backpack";
|
||||||
|
}
|
||||||
static bool Valid(array<string> records)
|
static bool Valid(array<string> records)
|
||||||
{
|
{
|
||||||
if (!records || records.IsEmpty() || records.Count() > 33) return false;
|
if (!records || records.IsEmpty() || records.Count() > 33) return false;
|
||||||
@@ -19,19 +24,21 @@ class ERR_StartBackpack
|
|||||||
for (int i = 1; i < records.Count(); i++)
|
for (int i = 1; i < records.Count(); i++)
|
||||||
{
|
{
|
||||||
array<string> parts = {}; records[i].Split("|", parts, false);
|
array<string> parts = {}; records[i].Split("|", parts, false);
|
||||||
if (parts.Count() != 2 || parts[0].Length() > 512 || !parts[0].EndsWith(".et")) return false;
|
if ((parts.Count() != 2 && parts.Count() != 3) || parts[0].Length() > 512 || !parts[0].EndsWith(".et")) return false;
|
||||||
string key = ERR_TerrainCatalog.Key(parts[0]); int count;
|
string key = ERR_TerrainCatalog.Key(parts[0]); int count;
|
||||||
if (!ERR_ItemPreferences.Guid(key) || seen.Contains(key)) return false;
|
string destination = Destination(parts);
|
||||||
|
if (destination != "backpack" && destination != "ground") return false;
|
||||||
|
if (!ERR_ItemPreferences.Guid(key) || seen.Contains(key + "|" + destination)) return false;
|
||||||
if (!ERR_CommandArguments.Integer(parts[1], count) || count < 1 || count > 48) return false;
|
if (!ERR_CommandArguments.Integer(parts[1], count) || count < 1 || count > 48) return false;
|
||||||
total += count; if (total > 64) return false;
|
total += count; if (total > 64) return false;
|
||||||
seen.Insert(key);
|
seen.Insert(key + "|" + destination);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
static bool Parse(JsonLoadContext json, out array<string> records)
|
static bool Parse(JsonLoadContext json, out array<string> records)
|
||||||
{
|
{
|
||||||
int version; records = {};
|
int version; records = {};
|
||||||
return json.ReadValue("version", version) && version == 1 && json.ReadValue("records", records) && Valid(records);
|
return json.ReadValue("version", version) && (version == 1 || version == 2) && json.ReadValue("records", records) && Valid(records);
|
||||||
}
|
}
|
||||||
protected bool Read(string path, out array<string> records)
|
protected bool Read(string path, out array<string> records)
|
||||||
{
|
{
|
||||||
@@ -42,7 +49,7 @@ class ERR_StartBackpack
|
|||||||
{
|
{
|
||||||
if (!Replication.IsServer() || m_ReadOnly || !Valid(records)) return false;
|
if (!Replication.IsServer() || m_ReadOnly || !Valid(records)) return false;
|
||||||
JsonSaveContext json = new JsonSaveContext(); json.EnableTypeDiscriminator(false);
|
JsonSaveContext json = new JsonSaveContext(); json.EnableTypeDiscriminator(false);
|
||||||
json.WriteValue("version", 1); json.WriteValue("records", records);
|
json.WriteValue("version", 2); json.WriteValue("records", records);
|
||||||
if (!ERR_ProfileConfig.Save(PATH, json)) return false;
|
if (!ERR_ProfileConfig.Save(PATH, json)) return false;
|
||||||
m_Records = records; return true;
|
m_Records = records; return true;
|
||||||
}
|
}
|
||||||
@@ -53,26 +60,26 @@ class ERR_StartBackpack
|
|||||||
next[0] = "default"; if (custom) next[0] = "custom";
|
next[0] = "default"; if (custom) next[0] = "custom";
|
||||||
return Save(next);
|
return Save(next);
|
||||||
}
|
}
|
||||||
bool Set(ResourceName prefab, int quantity)
|
bool Set(ResourceName prefab, int quantity, string destination = "backpack")
|
||||||
{
|
{
|
||||||
if (quantity < 0 || quantity > 48) return false;
|
if (quantity < 0 || quantity > 48 || (destination != "backpack" && destination != "ground")) return false;
|
||||||
string key = ERR_TerrainCatalog.Key(prefab);
|
string key = ERR_TerrainCatalog.Key(prefab);
|
||||||
if (!ERR_ItemPreferences.Guid(key)) return false;
|
if (!ERR_ItemPreferences.Guid(key)) return false;
|
||||||
array<string> next = {m_Records[0]};
|
array<string> next = {m_Records[0]};
|
||||||
for (int i = 1; i < m_Records.Count(); i++)
|
for (int i = 1; i < m_Records.Count(); i++)
|
||||||
{
|
{
|
||||||
array<string> parts = {}; m_Records[i].Split("|", parts, false);
|
array<string> parts = {}; m_Records[i].Split("|", parts, false);
|
||||||
if (ERR_TerrainCatalog.Key(parts[0]) != key) next.Insert(m_Records[i]);
|
if (ERR_TerrainCatalog.Key(parts[0]) != key || Destination(parts) != destination) next.Insert(m_Records[i]);
|
||||||
}
|
}
|
||||||
if (quantity > 0) next.Insert(prefab + "|" + quantity.ToString());
|
if (quantity > 0) next.Insert(prefab + "|" + quantity.ToString() + "|" + destination);
|
||||||
return Save(next);
|
return Save(next);
|
||||||
}
|
}
|
||||||
bool Remove(string key)
|
bool Remove(string key, string destination = "backpack")
|
||||||
{
|
{
|
||||||
for (int i = 1; i < m_Records.Count(); i++)
|
for (int i = 1; i < m_Records.Count(); i++)
|
||||||
{
|
{
|
||||||
array<string> parts = {}; m_Records[i].Split("|", parts, false);
|
array<string> parts = {}; m_Records[i].Split("|", parts, false);
|
||||||
if (ERR_TerrainCatalog.Key(parts[0]) == key) return Set(parts[0], 0);
|
if (ERR_TerrainCatalog.Key(parts[0]) == key && Destination(parts) == destination) return Set(parts[0], 0, destination);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -81,13 +88,13 @@ class ERR_StartBackpack
|
|||||||
for (int i = 1; i < m_Records.Count(); i++)
|
for (int i = 1; i < m_Records.Count(); i++)
|
||||||
{
|
{
|
||||||
array<string> parts = {}; m_Records[i].Split("|", parts, false);
|
array<string> parts = {}; m_Records[i].Split("|", parts, false);
|
||||||
ERR_SiteStock item = new ERR_SiteStock(); item.Prefab = parts[0]; item.Count = parts[1].ToInt(); stock.Insert(item);
|
ERR_SiteStock item = new ERR_SiteStock(); item.Prefab = parts[0]; item.Count = parts[1].ToInt(); item.OnGround = Destination(parts) == "ground"; stock.Insert(item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void Snapshot(array<string> values)
|
void Snapshot(array<string> values)
|
||||||
{
|
{
|
||||||
values.Insert("starterMode=" + m_Records[0]);
|
values.Insert("starterMode=" + m_Records[0]);
|
||||||
string state = "Saved for next round. The shared field map is always included. Add matching magazines separately.";
|
string state = "Saved for next round. The shared field map is always included. Oversized items are left nearby. Add matching magazines separately.";
|
||||||
if (m_ReadOnly) state = "Read-only: starting backpack configuration needs repair.";
|
if (m_ReadOnly) state = "Read-only: starting backpack configuration needs repair.";
|
||||||
values.Insert("starterState=" + state);
|
values.Insert("starterState=" + state);
|
||||||
for (int i = 1; i < m_Records.Count(); i++)
|
for (int i = 1; i < m_Records.Count(); i++)
|
||||||
@@ -96,7 +103,7 @@ class ERR_StartBackpack
|
|||||||
string key = ERR_TerrainCatalog.Key(parts[0]);
|
string key = ERR_TerrainCatalog.Key(parts[0]);
|
||||||
ERR_ServerItem item = GetGame().ERR_ServerItems().Item(key);
|
ERR_ServerItem item = GetGame().ERR_ServerItems().Item(key);
|
||||||
string label = FilePath.StripPath(parts[0]); if (item) label = item.Label;
|
string label = FilePath.StripPath(parts[0]); if (item) label = item.Label;
|
||||||
values.Insert("starterItem=" + key + "|" + ERR_ServerItemCatalog.Clean(label) + "|" + parts[1]);
|
values.Insert("starterItem=" + key + "|" + ERR_ServerItemCatalog.Clean(label) + "|" + parts[1] + "|" + Destination(parts));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,6 +15,9 @@ modded class ERR_AdminMenu
|
|||||||
button.m_OnClicked.Insert(OnStarterButton); m_StarterButtons.Insert(button);
|
button.m_OnClicked.Insert(OnStarterButton); m_StarterButtons.Insert(button);
|
||||||
}
|
}
|
||||||
SCR_EditBoxComponent.GetEditBoxComponent("StarterQuantity", GetRootWidget()).SetValue("1");
|
SCR_EditBoxComponent.GetEditBoxComponent("StarterQuantity", GetRootWidget()).SetValue("1");
|
||||||
|
SCR_ComboBoxComponent destination = SCR_ComboBoxComponent.GetComboBoxComponent("StarterDestination", GetRootWidget());
|
||||||
|
destination.ClearAll(); destination.AddItem("Inside backpack"); destination.AddItem("On ground beside backpack");
|
||||||
|
destination.SetCurrentItem(0, false, false, false);
|
||||||
UpdateActions();
|
UpdateActions();
|
||||||
}
|
}
|
||||||
override void OnMenuClose()
|
override void OnMenuClose()
|
||||||
@@ -69,8 +72,13 @@ modded class ERR_AdminMenu
|
|||||||
if (field == "starterState") SetText("StarterState", value);
|
if (field == "starterState") SetText("StarterState", value);
|
||||||
if (field == "serverItem" && parts.Count() == 6)
|
if (field == "serverItem" && parts.Count() == 6)
|
||||||
{ catalogKeys.Insert(parts[0]); catalogLabels.Insert(parts[1]); catalogSignature += value; }
|
{ catalogKeys.Insert(parts[0]); catalogLabels.Insert(parts[1]); catalogSignature += value; }
|
||||||
if (field == "starterItem" && parts.Count() == 3)
|
if (field == "starterItem" && parts.Count() == 4)
|
||||||
{ savedKeys.Insert(parts[0]); savedLabels.Insert(parts[2] + " x " + WidgetManager.Translate(parts[1])); savedSignature += value; total += parts[2].ToInt(); }
|
{
|
||||||
|
string location = "Backpack"; if (parts[3] == "ground") location = "Ground";
|
||||||
|
savedKeys.Insert(parts[0] + " " + parts[3]);
|
||||||
|
savedLabels.Insert(location + " | " + parts[2] + " x " + WidgetManager.Translate(parts[1]));
|
||||||
|
savedSignature += value; total += parts[2].ToInt();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (catalogSignature != m_StarterCatalogSignature)
|
if (catalogSignature != m_StarterCatalogSignature)
|
||||||
{
|
{
|
||||||
@@ -82,7 +90,7 @@ modded class ERR_AdminMenu
|
|||||||
if (savedSignature != m_StarterSavedSignature)
|
if (savedSignature != m_StarterSavedSignature)
|
||||||
{ StarterCombo("StarterSaved", savedKeys, savedLabels, m_StarterSaved); m_StarterSavedSignature = savedSignature; }
|
{ StarterCombo("StarterSaved", savedKeys, savedLabels, m_StarterSaved); m_StarterSavedSignature = savedSignature; }
|
||||||
string mode = "Default loadout selected"; if (m_StarterMode == 1) mode = "Custom loadout selected";
|
string mode = "Default loadout selected"; if (m_StarterMode == 1) mode = "Custom loadout selected";
|
||||||
SetText("StarterSummary", mode + " | Custom: " + savedKeys.Count().ToString() + "/32 types, " + total.ToString() + "/64 items + field map");
|
SetText("StarterSummary", mode + " | Custom: " + savedKeys.Count().ToString() + "/32 entries, " + total.ToString() + "/64 items + field map");
|
||||||
string page = "Choose a mod, then Show items. Quantity 0 removes an item.";
|
string page = "Choose a mod, then Show items. Quantity 0 removes an item.";
|
||||||
if (!m_StarterAddon.IsEmpty()) page = "Catalog page " + (m_ShownItemPage + 1).ToString() + "/" + (m_LastItemPage + 1).ToString() + " | Select an item above; enter its total desired quantity (0 removes).";
|
if (!m_StarterAddon.IsEmpty()) page = "Catalog page " + (m_ShownItemPage + 1).ToString() + "/" + (m_LastItemPage + 1).ToString() + " | Select an item above; enter its total desired quantity (0 removes).";
|
||||||
SetText("StarterCatalogState", page); UpdateActions();
|
SetText("StarterCatalogState", page); UpdateActions();
|
||||||
@@ -104,7 +112,9 @@ modded class ERR_AdminMenu
|
|||||||
int selected = SCR_ComboBoxComponent.GetComboBoxComponent("StarterCatalogItem", GetRootWidget()).GetCurrentIndex();
|
int selected = SCR_ComboBoxComponent.GetComboBoxComponent("StarterCatalogItem", GetRootWidget()).GetCurrentIndex();
|
||||||
int count; string quantity = SCR_EditBoxComponent.GetEditBoxComponent("StarterQuantity", GetRootWidget()).GetValue().Trim();
|
int count; string quantity = SCR_EditBoxComponent.GetEditBoxComponent("StarterQuantity", GetRootWidget()).GetValue().Trim();
|
||||||
if (!ERR_CommandArguments.Integer(quantity, count) || count < 0 || count > 48) { ReceiveReply("Enter a quantity from 0 to 48; 0 removes the item."); return; }
|
if (!ERR_CommandArguments.Integer(quantity, count) || count < 0 || count > 48) { ReceiveReply("Enter a quantity from 0 to 48; 0 removes the item."); return; }
|
||||||
if (selected >= 0 && selected < m_StarterCatalog.Count() && !m_StarterAddon.IsEmpty()) SubmitStarter("starter set " + m_StarterAddon + " " + m_StarterCatalog[selected] + " " + count.ToString());
|
string destination = "backpack";
|
||||||
|
if (SCR_ComboBoxComponent.GetComboBoxComponent("StarterDestination", GetRootWidget()).GetCurrentIndex() == 1) destination = "ground";
|
||||||
|
if (selected >= 0 && selected < m_StarterCatalog.Count() && !m_StarterAddon.IsEmpty()) SubmitStarter("starter set " + m_StarterAddon + " " + m_StarterCatalog[selected] + " " + count.ToString() + " " + destination);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
int index = SCR_ComboBoxComponent.GetComboBoxComponent("StarterMod", GetRootWidget()).GetCurrentIndex();
|
int index = SCR_ComboBoxComponent.GetComboBoxComponent("StarterMod", GetRootWidget()).GetCurrentIndex();
|
||||||
|
|||||||
@@ -0,0 +1,443 @@
|
|||||||
|
// The mission only produces facts. Aggregation and public leaderboards belong to
|
||||||
|
// the receiver; retries retain event IDs so they cannot count a result twice.
|
||||||
|
[BaseContainerProps()]
|
||||||
|
class ERR_TelemetryConfig
|
||||||
|
{
|
||||||
|
[Attribute("")] string Endpoint;
|
||||||
|
static const string RESOURCE = "{E72B130684FA492C}Configs/ERR/Telemetry.conf";
|
||||||
|
static const string PATH = "$profile:EscapistsTelemetry.json";
|
||||||
|
string Token;
|
||||||
|
string ServerName;
|
||||||
|
static ERR_TelemetryConfig Load()
|
||||||
|
{
|
||||||
|
ERR_TelemetryConfig config = ERR_TelemetryConfig.Cast(SCR_BaseContainerTools.CreateInstanceFromPrefab(RESOURCE));
|
||||||
|
if (!config) config = new ERR_TelemetryConfig();
|
||||||
|
if (FileIO.FileExists(PATH))
|
||||||
|
{
|
||||||
|
JsonLoadContext json = new JsonLoadContext();
|
||||||
|
if (!json.LoadFromFile(PATH)) { config.Endpoint = ""; return config; }
|
||||||
|
json.ReadValue("endpoint", config.Endpoint);
|
||||||
|
json.ReadValue("token", config.Token);
|
||||||
|
json.ReadValue("serverName", config.ServerName);
|
||||||
|
}
|
||||||
|
config.Endpoint.TrimInPlace();
|
||||||
|
if (!config.Endpoint.StartsWith("https://") || !ERR_SpeechRules.Endpoint(config.Endpoint)) config.Endpoint = "";
|
||||||
|
if (config.Token.Length() > 256 || config.ServerName.Length() > 120) config.Endpoint = "";
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class ERR_TelemetryPlayer
|
||||||
|
{
|
||||||
|
string id;
|
||||||
|
string name;
|
||||||
|
bool authenticated;
|
||||||
|
bool connected;
|
||||||
|
bool participated;
|
||||||
|
bool escaped;
|
||||||
|
int connectedSeconds;
|
||||||
|
int kills;
|
||||||
|
int friendlyKills;
|
||||||
|
int deaths;
|
||||||
|
int downed;
|
||||||
|
int recoveries;
|
||||||
|
}
|
||||||
|
class ERR_TelemetryMod
|
||||||
|
{
|
||||||
|
string id;
|
||||||
|
string name;
|
||||||
|
string version;
|
||||||
|
}
|
||||||
|
class ERR_TelemetryState
|
||||||
|
{
|
||||||
|
int schemaVersion = 1;
|
||||||
|
string serverId;
|
||||||
|
string endpoint;
|
||||||
|
string previousMissionId;
|
||||||
|
string previousOutcome;
|
||||||
|
int droppedEvents;
|
||||||
|
ref array<string> pending = {};
|
||||||
|
}
|
||||||
|
class ERR_TelemetryRules
|
||||||
|
{
|
||||||
|
static bool Acknowledged(int status) { return status >= 200 && status < 300; }
|
||||||
|
static int RetrySeconds(int failures)
|
||||||
|
{
|
||||||
|
return Math.Min(300, 5 * Math.Pow(2, Math.Min(failures, 6)));
|
||||||
|
}
|
||||||
|
static string Outcome(int phase, bool emptyRestart, bool preparationFailed)
|
||||||
|
{
|
||||||
|
if (preparationFailed) return "preparation_failed";
|
||||||
|
if (emptyRestart) return "restarted_empty";
|
||||||
|
if (phase == ERR_Phase.VICTORY) return "victory";
|
||||||
|
if (phase == ERR_Phase.DEFEAT) return "defeat";
|
||||||
|
return "interrupted";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class ERR_Telemetry
|
||||||
|
{
|
||||||
|
static const string STATE = "$profile:EscapistsTelemetryState.json";
|
||||||
|
protected ERR_GameMode m_Mode;
|
||||||
|
protected ref ERR_TelemetryConfig m_Config;
|
||||||
|
protected ref ERR_TelemetryState m_State;
|
||||||
|
protected ref array<ref ERR_TelemetryPlayer> m_Players = {};
|
||||||
|
protected ref array<ref ERR_TelemetryMod> m_Mods = {};
|
||||||
|
protected ref RestCallback m_Callback;
|
||||||
|
protected RestContext m_Context;
|
||||||
|
protected string m_MissionId;
|
||||||
|
protected string m_InFlight;
|
||||||
|
protected string m_FinalEventId;
|
||||||
|
protected string m_FinalOutcome;
|
||||||
|
protected string m_FinalTerrain;
|
||||||
|
protected bool m_CommunityReady;
|
||||||
|
protected int m_Started;
|
||||||
|
protected int m_LastSample;
|
||||||
|
protected int m_NextHeartbeat;
|
||||||
|
protected int m_NextAttempt;
|
||||||
|
protected int m_Peak;
|
||||||
|
protected int m_Failures;
|
||||||
|
protected int m_RequestStarted;
|
||||||
|
protected int m_Delivered;
|
||||||
|
protected bool m_Collected;
|
||||||
|
protected bool m_Partial;
|
||||||
|
protected bool m_Enabled;
|
||||||
|
protected bool m_Ended;
|
||||||
|
protected bool m_Closed;
|
||||||
|
protected bool m_Dirty;
|
||||||
|
protected bool m_TruncatedPlayers;
|
||||||
|
protected bool m_TruncatedMods;
|
||||||
|
protected bool m_CredentialBlocked;
|
||||||
|
|
||||||
|
void ERR_Telemetry(ERR_GameMode mode)
|
||||||
|
{
|
||||||
|
m_Mode = mode; m_Config = ERR_TelemetryConfig.Load();
|
||||||
|
m_State = new ERR_TelemetryState();
|
||||||
|
// A damaged primary can recover from the last fully written generation.
|
||||||
|
if (!LoadState(STATE) && !LoadState(STATE + ".bak"))
|
||||||
|
{
|
||||||
|
if (FileIO.FileExists(STATE) || FileIO.FileExists(STATE + ".bak"))
|
||||||
|
{
|
||||||
|
Print("Reintroduced [telemetry]: unreadable queue; telemetry suspended, files preserved", LogLevel.ERROR);
|
||||||
|
m_Closed = true; return;
|
||||||
|
}
|
||||||
|
m_State.serverId = UUID.GenV4();
|
||||||
|
}
|
||||||
|
if (m_State.endpoint != m_Config.Endpoint)
|
||||||
|
{
|
||||||
|
// Never redirect previously collected player data to a different receiver.
|
||||||
|
Purge(); m_State.endpoint = m_Config.Endpoint;
|
||||||
|
}
|
||||||
|
array<string> addons = {}; GameProject.GetLoadedAddons(addons);
|
||||||
|
foreach (string addon : addons)
|
||||||
|
{
|
||||||
|
if (GameProject.IsVanillaAddon(addon)) continue;
|
||||||
|
if (m_Mods.Count() >= 128) { m_TruncatedMods = true; break; }
|
||||||
|
ERR_TelemetryMod mod = new ERR_TelemetryMod();
|
||||||
|
mod.id = addon; mod.name = GameProject.GetAddonTitle(addon);
|
||||||
|
BackendApi backend = GetGame().GetBackendApi();
|
||||||
|
if (backend && backend.GetWorkshop())
|
||||||
|
{
|
||||||
|
WorkshopItem item = backend.GetWorkshop().FindItem(addon);
|
||||||
|
if (item && item.GetActiveRevision()) mod.version = item.GetActiveRevision().GetVersion();
|
||||||
|
}
|
||||||
|
m_Mods.Insert(mod);
|
||||||
|
}
|
||||||
|
m_MissionId = UUID.GenV4(); m_Started = System.GetTickCount();
|
||||||
|
Refresh();
|
||||||
|
GetGame().GetCallqueue().CallLater(Pulse, 5000, true);
|
||||||
|
}
|
||||||
|
protected bool ReadState(string path, out ERR_TelemetryState state)
|
||||||
|
{
|
||||||
|
string raw;
|
||||||
|
JsonLoadContext json = new JsonLoadContext();
|
||||||
|
if (!ERR_ProfileConfig.Text(path, raw) || !json.LoadFromString(raw) || !json.ReadValue("state", state) || !state || state.schemaVersion != 1 || !UUID.IsUUID(state.serverId) || !state.pending || state.pending.Count() > 64) return false;
|
||||||
|
foreach (string queuedEvent : state.pending)
|
||||||
|
{
|
||||||
|
JsonLoadContext queued = new JsonLoadContext(); string eventId, missionId, serverId;
|
||||||
|
if (queuedEvent.Length() > 65536 || !queued.LoadFromString(queuedEvent) || !queued.ReadValue("eventId", eventId) || !UUID.IsUUID(eventId) || !queued.ReadValue("missionId", missionId) || !UUID.IsUUID(missionId) || !queued.ReadValue("serverId", serverId) || serverId != state.serverId) return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
protected bool LoadState(string path)
|
||||||
|
{
|
||||||
|
ERR_TelemetryState state;
|
||||||
|
if (!ReadState(path, state)) return false;
|
||||||
|
m_State = state; return true;
|
||||||
|
}
|
||||||
|
protected bool Save()
|
||||||
|
{
|
||||||
|
JsonSaveContext json = new JsonSaveContext(); json.EnableTypeDiscriminator(false);
|
||||||
|
json.WriteValue("state", m_State);
|
||||||
|
if (!json.SaveToFile(STATE + ".tmp")) return false;
|
||||||
|
string written;
|
||||||
|
if (!ERR_ProfileConfig.Text(STATE + ".tmp", written) || written != json.SaveToString()) return false;
|
||||||
|
ERR_TelemetryState previous;
|
||||||
|
if (ReadState(STATE, previous) && !FileIO.CopyFile(STATE, STATE + ".bak")) return false;
|
||||||
|
if (!FileIO.CopyFile(STATE + ".tmp", STATE)) return false;
|
||||||
|
string confirmed;
|
||||||
|
if (!ERR_ProfileConfig.Text(STATE, confirmed) || confirmed != written) return false;
|
||||||
|
FileIO.DeleteFile(STATE + ".tmp"); m_Dirty = false; return true;
|
||||||
|
}
|
||||||
|
protected void Purge()
|
||||||
|
{
|
||||||
|
m_State.pending.Clear(); m_State.previousMissionId = ""; m_State.previousOutcome = "";
|
||||||
|
m_Players.Clear(); m_InFlight = ""; m_Callback = null;
|
||||||
|
// Do not retain personal data in recovery files after opting out.
|
||||||
|
FileIO.DeleteFile(STATE); FileIO.DeleteFile(STATE + ".bak"); FileIO.DeleteFile(STATE + ".tmp");
|
||||||
|
m_Dirty = true;
|
||||||
|
}
|
||||||
|
protected bool Current() { return GetGame() && m_Mode && ERR_GameMode.Get() == m_Mode; }
|
||||||
|
string Status()
|
||||||
|
{
|
||||||
|
if (m_Closed) return "Telemetry suspended: queue recovery required.";
|
||||||
|
if (m_Mode.Settings().Get("telemetryEnabled") == 0) return "Disabled. Unsent records discarded.";
|
||||||
|
if (m_Config.Endpoint.IsEmpty()) return "Not sending: receiving URL is missing or invalid.";
|
||||||
|
if (m_Dirty) return "Waiting for profile storage; events have not been sent.";
|
||||||
|
if (m_CredentialBlocked) return "Telemetry credential storage needs attention; delivery suspended.";
|
||||||
|
if (m_Failures > 0) return "Delivery unavailable; pending records will retry.";
|
||||||
|
return string.Format("Configured. %1 delivered this session; %2 pending.", m_Delivered, m_State.pending.Count());
|
||||||
|
}
|
||||||
|
bool Enabled() { return m_Enabled && !m_Closed; }
|
||||||
|
void Refresh()
|
||||||
|
{
|
||||||
|
if (m_Closed || !Current() || !Replication.IsServer() || !m_Mode.Settings()) return;
|
||||||
|
bool enabled = m_Mode.Settings().Get("telemetryEnabled") == 1 && !m_Config.Endpoint.IsEmpty();
|
||||||
|
if (!enabled)
|
||||||
|
{
|
||||||
|
if (m_Enabled || !m_State.pending.IsEmpty() || !m_State.previousMissionId.IsEmpty())
|
||||||
|
{
|
||||||
|
m_Enabled = false; Purge(); Save();
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (m_Enabled || m_Ended) return;
|
||||||
|
m_Enabled = true;
|
||||||
|
int now = System.GetTickCount(); m_LastSample = now; m_NextHeartbeat = now + 300000;
|
||||||
|
m_Partial = m_Collected || now - m_Started > 1000;
|
||||||
|
m_Peak = 0; m_TruncatedPlayers = false;
|
||||||
|
string previous = m_State.previousMissionId;
|
||||||
|
string outcome = m_State.previousOutcome;
|
||||||
|
m_State.previousMissionId = m_MissionId; m_State.previousOutcome = "unfinished";
|
||||||
|
Sample();
|
||||||
|
if (!m_Collected && !previous.IsEmpty()) Event("mission_restarted", "", previous, outcome);
|
||||||
|
if (m_Collected) Event("telemetry_resumed");
|
||||||
|
else Event("mission_started", "", previous, outcome);
|
||||||
|
m_Collected = true;
|
||||||
|
}
|
||||||
|
protected void Sample()
|
||||||
|
{
|
||||||
|
if (!Enabled() || m_Ended) return;
|
||||||
|
int now = System.GetTickCount();
|
||||||
|
int elapsed = Math.Max(0, (now - m_LastSample) / 1000); m_LastSample = now;
|
||||||
|
foreach (ERR_TelemetryPlayer known : m_Players)
|
||||||
|
{
|
||||||
|
if (known.connected) known.connectedSeconds += elapsed;
|
||||||
|
known.connected = false;
|
||||||
|
}
|
||||||
|
array<int> connections = {}; GetGame().GetPlayerManager().GetPlayers(connections);
|
||||||
|
m_Peak = Math.Max(m_Peak, connections.Count());
|
||||||
|
foreach (int connection : connections)
|
||||||
|
{
|
||||||
|
UUID account = SCR_PlayerIdentityUtils.GetPlayerIdentityId(connection);
|
||||||
|
string key = account;
|
||||||
|
bool authenticated = !account.IsNull();
|
||||||
|
if (!authenticated) key = m_MissionId + ":connection:" + connection.ToString();
|
||||||
|
ERR_TelemetryPlayer player;
|
||||||
|
foreach (ERR_TelemetryPlayer candidate : m_Players) if (candidate.id == key) { player = candidate; break; }
|
||||||
|
if (!player)
|
||||||
|
{
|
||||||
|
if (m_Players.Count() >= 128) { m_TruncatedPlayers = true; continue; }
|
||||||
|
player = new ERR_TelemetryPlayer(); player.id = key; player.authenticated = authenticated; m_Players.Insert(player);
|
||||||
|
}
|
||||||
|
player.name = GetGame().GetPlayerManager().GetPlayerName(connection);
|
||||||
|
if (player.name.Length() > 128) player.name = player.name.Substring(0, 128);
|
||||||
|
player.connected = true;
|
||||||
|
ERR_PlayerLife life = m_Mode.Players().Get(connection);
|
||||||
|
if (life && life.Connected && life.UsedLife) player.participated = true;
|
||||||
|
if (authenticated && m_Mode.Extraction()) player.escaped = m_Mode.Extraction().DidEscape(account);
|
||||||
|
}
|
||||||
|
// Include disconnected escapees/participants with their final authoritative result.
|
||||||
|
array<ref ERR_PlayerLife> lives = {}; m_Mode.Players().Participants(lives);
|
||||||
|
foreach (ERR_PlayerLife participant : lives)
|
||||||
|
foreach (ERR_TelemetryPlayer tracked : m_Players)
|
||||||
|
if (tracked.authenticated && tracked.id == participant.AccountId)
|
||||||
|
{
|
||||||
|
tracked.participated = true;
|
||||||
|
ERR_RoundPlayerStats stats;
|
||||||
|
if (m_Mode.ERR_Statistics()) stats = m_Mode.ERR_Statistics().Find(participant.AccountId);
|
||||||
|
if (stats)
|
||||||
|
{
|
||||||
|
tracked.kills = stats.Kills; tracked.friendlyKills = stats.FriendlyKills;
|
||||||
|
tracked.deaths = stats.Deaths; tracked.downed = stats.Downed; tracked.recoveries = stats.Recoveries;
|
||||||
|
}
|
||||||
|
if (m_Mode.Extraction()) tracked.escaped = m_Mode.Extraction().DidEscape(participant.AccountId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
void RosterChanged(int playerId) { Sample(); }
|
||||||
|
void PhaseChanged(ERR_Phase previous, ERR_Phase current)
|
||||||
|
{
|
||||||
|
if (!Enabled() || m_Ended) return;
|
||||||
|
if (ERR_MissionRules.Terminal(current)) Finish(ERR_TelemetryRules.Outcome(current, false, false));
|
||||||
|
else Event("phase_changed");
|
||||||
|
}
|
||||||
|
void Finish(string outcome)
|
||||||
|
{
|
||||||
|
Refresh();
|
||||||
|
if (!Enabled() || m_Ended) return;
|
||||||
|
Sample(); m_Ended = true;
|
||||||
|
m_State.previousOutcome = outcome;
|
||||||
|
Event("mission_finished", outcome);
|
||||||
|
}
|
||||||
|
protected string Terrain()
|
||||||
|
{
|
||||||
|
// The loaded root scene identifies the island beneath GM/Conflict scenarios.
|
||||||
|
// Use the same terrain resolver as the mission title, on the reporting server.
|
||||||
|
string world = GetGame().GetWorldFile();
|
||||||
|
if (GetGame().GetWorld() && GetGame().GetWorld().GetNumSubScenes() > 0)
|
||||||
|
{
|
||||||
|
string root = GetGame().GetWorld().GetSubSceneName(0);
|
||||||
|
if (!root.IsEmpty()) world = root;
|
||||||
|
}
|
||||||
|
return ERR_TerrainDisplayName.Resolve(world);
|
||||||
|
}
|
||||||
|
protected void Event(string type, string outcome = "", string previous = "", string previousOutcome = "")
|
||||||
|
{
|
||||||
|
if (!Enabled()) return;
|
||||||
|
if (!m_Ended) Sample();
|
||||||
|
JsonSaveContext json = new JsonSaveContext(); json.EnableTypeDiscriminator(false);
|
||||||
|
json.WriteValue("schemaVersion", 1);
|
||||||
|
string eventId = UUID.GenV4();
|
||||||
|
json.WriteValue("eventId", eventId); json.WriteValue("missionId", m_MissionId);
|
||||||
|
json.WriteValue("serverId", m_State.serverId); json.WriteValue("serverName", ERR_TelemetryServerName.Resolve(m_Config.ServerName));
|
||||||
|
json.WriteValue("type", type); json.WriteValue("occurredAt", System.GetUnixTime());
|
||||||
|
json.WriteValue("partial", m_Partial);
|
||||||
|
int elapsedSeconds = Math.Max(0, (System.GetTickCount() - m_Started) / 1000);
|
||||||
|
json.WriteValue("elapsedSeconds", elapsedSeconds);
|
||||||
|
json.WriteValue("phase", m_Mode.Phase()); json.WriteValue("outcome", outcome);
|
||||||
|
json.WriteValue("previousMissionId", previous); json.WriteValue("previousOutcome", previousOutcome);
|
||||||
|
string terrain = Terrain();
|
||||||
|
json.WriteValue("terrain", terrain);
|
||||||
|
SCR_MissionHeader header = SCR_MissionHeader.Cast(GetGame().GetMissionHeader());
|
||||||
|
string scenario; if (header) scenario = header.m_sName;
|
||||||
|
json.WriteValue("gameVersion", GetGame().GetBuildVersion());
|
||||||
|
json.WriteValue("scenario", scenario); json.WriteValue("mods", m_Mods);
|
||||||
|
json.WriteValue("modsTruncated", m_TruncatedMods); json.WriteValue("playersTruncated", m_TruncatedPlayers);
|
||||||
|
json.WriteValue("connectedPlayers", GetGame().GetPlayerManager().GetPlayerCount());
|
||||||
|
json.WriteValue("peakPlayers", m_Peak); json.WriteValue("players", m_Players);
|
||||||
|
json.WriteValue("reason", m_Mode.EndReason()); json.WriteValue("preparationError", m_Mode.PreparationError());
|
||||||
|
map<string, int> settings = new map<string, int>();
|
||||||
|
foreach (string key : ERR_Settings.Keys()) settings.Set(key, m_Mode.Settings().Get(key));
|
||||||
|
json.WriteValue("settings", settings); json.WriteValue("droppedEvents", m_State.droppedEvents);
|
||||||
|
string payload = json.SaveToString();
|
||||||
|
if (payload.Length() > 65536) { m_State.droppedEvents++; m_Dirty = true; return; }
|
||||||
|
// Bound disk and memory during long outages. Prefer retaining result records.
|
||||||
|
if (m_State.pending.Count() >= 64)
|
||||||
|
{
|
||||||
|
int remove = -1;
|
||||||
|
for (int i = 0; i < m_State.pending.Count(); i++)
|
||||||
|
{
|
||||||
|
if (m_State.pending[i] == m_InFlight) continue;
|
||||||
|
JsonLoadContext queued = new JsonLoadContext(); string queuedType;
|
||||||
|
if (queued.LoadFromString(m_State.pending[i]) && queued.ReadValue("type", queuedType) && queuedType == "heartbeat") { remove = i; break; }
|
||||||
|
}
|
||||||
|
if (remove < 0) remove = 0;
|
||||||
|
if (remove == 0 && !m_InFlight.IsEmpty()) remove = 1;
|
||||||
|
m_State.pending.Remove(remove); m_State.droppedEvents++;
|
||||||
|
}
|
||||||
|
if (type == "mission_finished")
|
||||||
|
{
|
||||||
|
m_FinalEventId = eventId; m_FinalOutcome = outcome; m_FinalTerrain = terrain;
|
||||||
|
// Finish can arrive while a previous request is in flight. RemoveItem on its
|
||||||
|
// acknowledgement still removes that exact payload, leaving this final first.
|
||||||
|
m_State.pending.InsertAt(payload, 0);
|
||||||
|
if (outcome == "victory" || outcome == "defeat")
|
||||||
|
m_Mode.ERR_PublishCommunityStatistics("This map's community record: waiting for the round result to be recorded...");
|
||||||
|
GetGame().GetCallqueue().CallLater(Pulse, 1, false);
|
||||||
|
}
|
||||||
|
else m_State.pending.Insert(payload);
|
||||||
|
m_Dirty = true;
|
||||||
|
Save();
|
||||||
|
}
|
||||||
|
protected void Pulse()
|
||||||
|
{
|
||||||
|
if (m_Closed || ERR_GameMode.Get() != m_Mode) { Close(); return; }
|
||||||
|
Refresh();
|
||||||
|
if (!Enabled()) return;
|
||||||
|
int now = System.GetTickCount();
|
||||||
|
if (!m_Ended)
|
||||||
|
{
|
||||||
|
Sample();
|
||||||
|
if (now >= m_NextHeartbeat) { m_NextHeartbeat = now + 300000; Event("heartbeat"); }
|
||||||
|
}
|
||||||
|
if (m_Dirty && !Save()) { CommunityUnavailable(); return; }
|
||||||
|
if (m_Callback && now - m_RequestStarted > 30000) Failed(m_Callback);
|
||||||
|
if (m_Callback || m_State.pending.IsEmpty() || now < m_NextAttempt) return;
|
||||||
|
if (m_Config.Token.IsEmpty())
|
||||||
|
{
|
||||||
|
string token;
|
||||||
|
if (!ERR_TelemetryCredentials.Resolve(m_Config.Endpoint, m_State.serverId, token))
|
||||||
|
{
|
||||||
|
CommunityUnavailable();
|
||||||
|
m_CredentialBlocked = true; m_NextAttempt = now + 30000; return;
|
||||||
|
}
|
||||||
|
m_Config.Token = token; m_CredentialBlocked = false;
|
||||||
|
}
|
||||||
|
m_Context = GetGame().GetRestApi().GetContext(m_Config.Endpoint);
|
||||||
|
if (!m_Context) { CommunityUnavailable(); m_NextAttempt = now + 300000; return; }
|
||||||
|
m_Callback = new RestCallback(); m_Callback.SetOnSuccess(Delivered); m_Callback.SetOnError(Failed);
|
||||||
|
m_InFlight = m_State.pending[0]; m_RequestStarted = now;
|
||||||
|
JsonSaveContext request = new JsonSaveContext(); request.EnableTypeDiscriminator(false);
|
||||||
|
request.WriteValue("token", m_Config.Token);
|
||||||
|
// Embed the event object as JSON rather than double-encoding a JSON string.
|
||||||
|
string wrapper = request.SaveToString();
|
||||||
|
wrapper = wrapper.Substring(0, wrapper.Length() - 1) + ",\"event\":" + m_InFlight + "}";
|
||||||
|
m_Context.SetHeaders("Content-Type,application/json"); m_Context.SetTimeout(15);
|
||||||
|
m_Context.POST(m_Callback, "", wrapper);
|
||||||
|
}
|
||||||
|
protected void Delivered(RestCallback callback)
|
||||||
|
{
|
||||||
|
if (callback != m_Callback || !Enabled() || !Current()) return;
|
||||||
|
if (!ERR_TelemetryRules.Acknowledged(callback.GetHttpCode())) { Failed(callback); return; }
|
||||||
|
UpdateCommunity(callback);
|
||||||
|
m_State.pending.RemoveItem(m_InFlight); m_InFlight = ""; m_Callback = null;
|
||||||
|
m_Failures = 0; m_Delivered++; m_Dirty = true; Save();
|
||||||
|
if (m_Ended) GetGame().GetCallqueue().CallLater(Pulse, 1, false);
|
||||||
|
}
|
||||||
|
protected void CommunityUnavailable()
|
||||||
|
{
|
||||||
|
if (!m_CommunityReady && Current() && m_Ended && (m_FinalOutcome == "victory" || m_FinalOutcome == "defeat"))
|
||||||
|
m_Mode.ERR_PublishCommunityStatistics("Community map records unavailable. This round's local statistics are shown below.");
|
||||||
|
}
|
||||||
|
protected void UpdateCommunity(RestCallback callback)
|
||||||
|
{
|
||||||
|
if (!m_Ended || m_FinalEventId.IsEmpty() || !Current()) return;
|
||||||
|
JsonLoadContext sent = new JsonLoadContext(); string sentEvent;
|
||||||
|
if (!sent.LoadFromString(m_InFlight) || !sent.ReadValue("eventId", sentEvent) || sentEvent != m_FinalEventId) return;
|
||||||
|
if (m_FinalOutcome != "victory" && m_FinalOutcome != "defeat") return;
|
||||||
|
JsonLoadContext reply = new JsonLoadContext();
|
||||||
|
ERR_CommunityStatistics community;
|
||||||
|
if (callback.GetData().Length() > 8192 || !reply.LoadFromString(callback.GetData()) || !reply.ReadValue("community", community) || !community || !community.Matches(m_State.serverId, m_MissionId, m_FinalEventId, m_FinalTerrain, m_FinalOutcome))
|
||||||
|
{
|
||||||
|
CommunityUnavailable(); return;
|
||||||
|
}
|
||||||
|
m_CommunityReady = true;
|
||||||
|
m_Mode.ERR_PublishCommunityStatistics(community.Summary());
|
||||||
|
}
|
||||||
|
protected void Failed(RestCallback callback)
|
||||||
|
{
|
||||||
|
if (callback != m_Callback || !Enabled()) return;
|
||||||
|
m_Callback = null; m_InFlight = ""; m_Failures = Math.Min(100, m_Failures + 1);
|
||||||
|
m_NextAttempt = System.GetTickCount() + 1000 * ERR_TelemetryRules.RetrySeconds(m_Failures);
|
||||||
|
CommunityUnavailable();
|
||||||
|
if (m_Failures == 1) Print("Reintroduced [telemetry]: delivery failed; queued events will retry", LogLevel.WARNING);
|
||||||
|
}
|
||||||
|
void Close()
|
||||||
|
{
|
||||||
|
if (m_Closed) return;
|
||||||
|
if (Current()) Finish("interrupted");
|
||||||
|
m_Closed = true;
|
||||||
|
if (GetGame()) GetGame().GetCallqueue().Remove(Pulse);
|
||||||
|
m_Callback = null; m_Context = null; m_Mode = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,52 @@
|
|||||||
|
// Each installation claims its random server ID with its own persistent secret.
|
||||||
|
// No receiver administrator secret is bundled with the mod or sent by players.
|
||||||
|
class ERR_TelemetryCredential
|
||||||
|
{
|
||||||
|
string endpoint;
|
||||||
|
string serverId;
|
||||||
|
string token;
|
||||||
|
}
|
||||||
|
class ERR_TelemetryCredentials
|
||||||
|
{
|
||||||
|
static const string PATH = "$profile:EscapistsTelemetryCredentials.json";
|
||||||
|
static bool Valid(ERR_TelemetryCredential entry)
|
||||||
|
{
|
||||||
|
return entry && !entry.endpoint.IsEmpty() && UUID.IsUUID(entry.serverId) && entry.token.Length() >= 32 && entry.token.Length() <= 256;
|
||||||
|
}
|
||||||
|
static bool Resolve(string endpoint, string serverId, out string token)
|
||||||
|
{
|
||||||
|
token = "";
|
||||||
|
ref array<ref ERR_TelemetryCredential> entries = {};
|
||||||
|
if (FileIO.FileExists(PATH))
|
||||||
|
{
|
||||||
|
JsonLoadContext loaded = new JsonLoadContext();
|
||||||
|
// Never silently replace a damaged credential: the receiver already owns its
|
||||||
|
// hash, and a new secret must not take over the same server's history.
|
||||||
|
if (!loaded.LoadFromFile(PATH) || !loaded.ReadValue("credentials", entries) || !entries || entries.Count() > 16) return false;
|
||||||
|
foreach (ERR_TelemetryCredential known : entries)
|
||||||
|
{
|
||||||
|
if (!Valid(known)) return false;
|
||||||
|
if (known.endpoint == endpoint && known.serverId == serverId) token = known.token;
|
||||||
|
}
|
||||||
|
if (!token.IsEmpty()) return true;
|
||||||
|
}
|
||||||
|
if (entries.Count() >= 16) return false;
|
||||||
|
ERR_TelemetryCredential created = new ERR_TelemetryCredential();
|
||||||
|
created.endpoint = endpoint; created.serverId = serverId;
|
||||||
|
string first = UUID.GenV4(); string second = UUID.GenV4();
|
||||||
|
created.token = first + second;
|
||||||
|
entries.Insert(created);
|
||||||
|
JsonSaveContext saved = new JsonSaveContext(); saved.EnableTypeDiscriminator(false);
|
||||||
|
saved.WriteValue("credentials", entries);
|
||||||
|
if (!saved.SaveToFile(PATH + ".tmp")) return false;
|
||||||
|
string written;
|
||||||
|
if (!ERR_ProfileConfig.Text(PATH + ".tmp", written) || written != saved.SaveToString()) return false;
|
||||||
|
if (!FileIO.CopyFile(PATH + ".tmp", PATH)) return false;
|
||||||
|
string confirmed;
|
||||||
|
if (!ERR_ProfileConfig.Text(PATH, confirmed) || confirmed != written) return false;
|
||||||
|
FileIO.DeleteFile(PATH + ".tmp");
|
||||||
|
// Publish to the HTTP sender only after the exact credential is durable.
|
||||||
|
token = created.token;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,56 @@
|
|||||||
|
// Keep instrumentation outside mission rules: telemetry cannot decide an outcome
|
||||||
|
// or delay vanilla shutdown/restarts. Unsent results survive in the profile queue.
|
||||||
|
modded class ERR_GameMode
|
||||||
|
{
|
||||||
|
protected ref ERR_Telemetry m_ERRTelemetry;
|
||||||
|
protected override void EOnInit(IEntity owner)
|
||||||
|
{
|
||||||
|
super.EOnInit(owner);
|
||||||
|
if (SCR_Global.IsEditMode() || !Replication.IsServer() || !Settings()) return;
|
||||||
|
#ifdef WORKBENCH
|
||||||
|
if (!System.IsCLIParam("errTelemetryTest")) return;
|
||||||
|
#endif
|
||||||
|
m_ERRTelemetry = new ERR_Telemetry(this);
|
||||||
|
Admin().Register(new ERR_TelemetryAdminProvider(m_ERRTelemetry));
|
||||||
|
OnPhaseChanged().Insert(m_ERRTelemetry.PhaseChanged);
|
||||||
|
Players().OnChanged().Insert(m_ERRTelemetry.RosterChanged);
|
||||||
|
}
|
||||||
|
void ERR_RefreshTelemetry() { if (m_ERRTelemetry) m_ERRTelemetry.Refresh(); }
|
||||||
|
protected override void FailPreparation(string detail)
|
||||||
|
{
|
||||||
|
super.FailPreparation(detail);
|
||||||
|
if (m_ERRTelemetry && !PreparationError().IsEmpty()) m_ERRTelemetry.Finish("preparation_failed");
|
||||||
|
}
|
||||||
|
protected override void OnGameModeEnd(SCR_GameModeEndData endData)
|
||||||
|
{
|
||||||
|
// Observe the phase BEFORE vanilla maps native interruption/empty restart to defeat.
|
||||||
|
if (m_ERRTelemetry) m_ERRTelemetry.Finish(ERR_TelemetryRules.Outcome(Phase(), m_EmptyRestartRequested, !PreparationError().IsEmpty()));
|
||||||
|
super.OnGameModeEnd(endData);
|
||||||
|
}
|
||||||
|
override void OnGameEnd()
|
||||||
|
{
|
||||||
|
if (m_ERRTelemetry) m_ERRTelemetry.Close();
|
||||||
|
super.OnGameEnd();
|
||||||
|
}
|
||||||
|
void ~ERR_GameMode() { if (m_ERRTelemetry) m_ERRTelemetry.Close(); }
|
||||||
|
}
|
||||||
|
modded class ERR_AdminService
|
||||||
|
{
|
||||||
|
override void Execute(ERR_GameMode mode, bool authorized, string arguments, array<string> replies)
|
||||||
|
{
|
||||||
|
super.Execute(mode, authorized, arguments, replies);
|
||||||
|
// Settings only change through the existing authenticated, save-before-apply path.
|
||||||
|
if (authorized && mode) mode.ERR_RefreshTelemetry();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class ERR_TelemetryAdminProvider : ERR_AdminProvider
|
||||||
|
{
|
||||||
|
protected ERR_Telemetry m_Service;
|
||||||
|
void ERR_TelemetryAdminProvider(ERR_Telemetry service) { m_Service = service; }
|
||||||
|
override string Id() { return "telemetry"; }
|
||||||
|
override void Capabilities(array<string> values)
|
||||||
|
{
|
||||||
|
if (m_Service) values.Insert("telemetryStatus=" + m_Service.Status());
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
// Resolve on the reporting server for every new event: lobby metadata can be
|
||||||
|
// unavailable during initial startup. Never infer identity from the scenario.
|
||||||
|
class ERR_TelemetryServerName
|
||||||
|
{
|
||||||
|
static string Resolve(string configured)
|
||||||
|
{
|
||||||
|
string name = configured;
|
||||||
|
name.TrimInPlace();
|
||||||
|
if (name.IsEmpty())
|
||||||
|
{
|
||||||
|
BackendApi backend = GetGame().GetBackendApi();
|
||||||
|
SCR_DSConfig dedicated = new SCR_DSConfig();
|
||||||
|
if (backend && backend.GetRunningDSConfig(dedicated) && dedicated.game)
|
||||||
|
name = dedicated.game.name;
|
||||||
|
name.TrimInPlace();
|
||||||
|
}
|
||||||
|
if (name.IsEmpty())
|
||||||
|
{
|
||||||
|
ServerConfig config = ServerLobbyApi.GetServerConfig();
|
||||||
|
if (config) name = config.GetName();
|
||||||
|
name.TrimInPlace();
|
||||||
|
}
|
||||||
|
if (name.IsEmpty())
|
||||||
|
{
|
||||||
|
ServerInfo info = GetGame().GetServerInfo();
|
||||||
|
if (info) name = info.GetName();
|
||||||
|
name.TrimInPlace();
|
||||||
|
}
|
||||||
|
if (name.Length() > 120) name = name.Substring(0, 120);
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -7,13 +7,21 @@ class ERR_TerrainSites : ERR_GeneratedSites
|
|||||||
protected vector m_Candidate;
|
protected vector m_Candidate;
|
||||||
protected float m_CandidateHeading;
|
protected float m_CandidateHeading;
|
||||||
protected int m_CandidateBegan;
|
protected int m_CandidateBegan;
|
||||||
protected ref ERR_ReconAirports m_Airports = new ERR_ReconAirports();
|
|
||||||
protected bool m_AirportsReady;
|
|
||||||
protected int m_GeometryRejected, m_NavigationRejected, m_PadRejected;
|
protected int m_GeometryRejected, m_NavigationRejected, m_PadRejected;
|
||||||
|
protected string m_NavigationReason;
|
||||||
|
// Keep the same work slice; difficult terrain gets more slices, not larger stalls.
|
||||||
|
static int SearchAttempts() { return 48000; }
|
||||||
|
static int SearchMilliseconds() { return 120000; }
|
||||||
|
static float PrisonAirportBuffer(vector low, vector high)
|
||||||
|
{
|
||||||
|
// The old 1.5km tactical separation could exclude an entire small island.
|
||||||
|
// Physical ground, scenery and navigation checks still apply independently.
|
||||||
|
return Math.Clamp(Math.Min(high[0] - low[0], high[2] - low[2]) * 0.15, 200, 1500);
|
||||||
|
}
|
||||||
static bool Bounds(vector low, vector high)
|
static bool Bounds(vector low, vector high)
|
||||||
{
|
{
|
||||||
float width = high[0] - low[0], depth = high[2] - low[2];
|
float width = high[0] - low[0], depth = high[2] - low[2];
|
||||||
return width >= 2000 && depth >= 2000 && width <= 100000 && depth <= 100000;
|
return width >= 1000 && depth >= 1000 && width <= 100000 && depth <= 100000;
|
||||||
}
|
}
|
||||||
static float Spacing(vector low, vector high)
|
static float Spacing(vector low, vector high)
|
||||||
{
|
{
|
||||||
@@ -23,12 +31,12 @@ class ERR_TerrainSites : ERR_GeneratedSites
|
|||||||
{
|
{
|
||||||
if (m_Started || !Replication.IsServer() || !definition || !definition.Valid() || !GetGame().GetWorldEntity()) return false;
|
if (m_Started || !Replication.IsServer() || !definition || !definition.Valid() || !GetGame().GetWorldEntity()) return false;
|
||||||
GetGame().GetWorldEntity().GetWorldBounds(m_Low, m_High);
|
GetGame().GetWorldEntity().GetWorldBounds(m_Low, m_High);
|
||||||
if (!Bounds(m_Low, m_High)) { m_Error = "Terrain bounds must span 2-100 km on each axis."; return false; }
|
if (!Bounds(m_Low, m_High)) { m_Error = "Terrain bounds must span 1-100 km on each axis."; return false; }
|
||||||
AIWorld world = GetGame().GetAIWorld();
|
AIWorld world = GetGame().GetAIWorld();
|
||||||
if (!world || !world.GetNavmeshWorldComponent("Soldiers")) { m_Error = "Terrain requires its own Soldiers navigation mesh."; return false; }
|
if (!world || !world.GetNavmeshWorldComponent("Soldiers")) { m_Error = "Terrain requires its own Soldiers navigation mesh."; return false; }
|
||||||
m_Started = true; m_Definition = definition; definition.TerrainGenerated = true;
|
m_Started = true; m_Definition = definition; definition.TerrainGenerated = true;
|
||||||
m_Spacing = Spacing(m_Low, m_High);
|
m_Spacing = Spacing(m_Low, m_High);
|
||||||
// Resolve the terrain's airport first, then keep the prison in escape range.
|
// Resolve a clear landing zone first, then keep the prison in escape range.
|
||||||
array<int> order = {ERR_LocationKind.EXTRACTION, ERR_LocationKind.PRISON, ERR_LocationKind.RADIO, ERR_LocationKind.DEPOT, ERR_LocationKind.HOSPITAL, ERR_LocationKind.MORTAR, ERR_LocationKind.OUTPOST};
|
array<int> order = {ERR_LocationKind.EXTRACTION, ERR_LocationKind.PRISON, ERR_LocationKind.RADIO, ERR_LocationKind.DEPOT, ERR_LocationKind.HOSPITAL, ERR_LocationKind.MORTAR, ERR_LocationKind.OUTPOST};
|
||||||
foreach (int kind : order)
|
foreach (int kind : order)
|
||||||
foreach (ERR_SiteDefinition site : definition.Sites)
|
foreach (ERR_SiteDefinition site : definition.Sites)
|
||||||
@@ -37,7 +45,7 @@ class ERR_TerrainSites : ERR_GeneratedSites
|
|||||||
site.PlacementResolved = false;
|
site.PlacementResolved = false;
|
||||||
// The queue, rather than RandomClear, owns placement including extraction.
|
// The queue, rather than RandomClear, owns placement including extraction.
|
||||||
site.RandomClear = false;
|
site.RandomClear = false;
|
||||||
if (kind == ERR_LocationKind.EXTRACTION) { site.RequireAirfield = true; site.AircraftOffset = vector.Zero; }
|
if (kind == ERR_LocationKind.EXTRACTION) { site.RequireAirfield = false; site.Label = "Extraction landing zone"; site.AircraftOffset = vector.Zero; }
|
||||||
if (kind == ERR_LocationKind.DEPOT) site.Label = "Supply cache";
|
if (kind == ERR_LocationKind.DEPOT) site.Label = "Supply cache";
|
||||||
m_Pending.Insert(site);
|
m_Pending.Insert(site);
|
||||||
}
|
}
|
||||||
@@ -62,89 +70,74 @@ class ERR_TerrainSites : ERR_GeneratedSites
|
|||||||
}
|
}
|
||||||
protected bool Navigable(vector position)
|
protected bool Navigable(vector position)
|
||||||
{
|
{
|
||||||
|
m_NavigationReason = "";
|
||||||
NavmeshWorldComponent mesh = GetGame().GetAIWorld().GetNavmeshWorldComponent("Soldiers");
|
NavmeshWorldComponent mesh = GetGame().GetAIWorld().GetNavmeshWorldComponent("Soldiers");
|
||||||
if (!mesh) return false;
|
if (!mesh) { m_NavigationReason = "Soldiers navmesh unavailable"; return false; }
|
||||||
if (!mesh.IsTileLoaded(position)) { m_WaitingNav = mesh.LoadTileIn(position); return false; }
|
if (!mesh.IsTileLoaded(position))
|
||||||
|
{
|
||||||
|
m_WaitingNav = mesh.LoadTileIn(position);
|
||||||
|
m_NavigationReason = "navmesh tile unavailable";
|
||||||
|
if (m_WaitingNav) m_NavigationReason = "waiting for navmesh tile";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
vector reachable;
|
vector reachable;
|
||||||
return mesh.GetReachablePoint(position, 10, reachable);
|
if (mesh.GetReachablePoint(position, 10, reachable)) return true;
|
||||||
|
m_NavigationReason = "no reachable AI ground";
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
protected bool Survey(ERR_SiteDefinition site, vector position, float heading, out float floor)
|
protected bool Survey(ERR_SiteDefinition site, vector position, float heading, out float floor)
|
||||||
{
|
{
|
||||||
if (!m_Terrain.Site(site, position, heading, floor)) { m_GeometryRejected++; return false; }
|
if (!m_Terrain.Site(site, position, heading, floor, PrisonAirportBuffer(m_Low, m_High))) { m_GeometryRejected++; RecordRejection(m_Terrain.Rejection()); return false; }
|
||||||
vector ground = Vector(position[0], floor, position[2]);
|
vector ground = Vector(position[0], floor, position[2]);
|
||||||
if (!Navigable(ground)) { m_NavigationRejected++; return false; }
|
// Aircraft spawn at the centre's terrain height, not the camp grid's minimum.
|
||||||
if (site.Guarded && !Navigable(ERR_Actors.Ground(position + ERR_CampTerrain.Rotate(site.GuardOffset, heading)))) { m_NavigationRejected++; return false; }
|
// Using the minimum here falsely steepens the uphill edge of a valid pad.
|
||||||
if (site.ResponseCount > 0 && !Navigable(ERR_Actors.Ground(position + ERR_CampTerrain.Rotate(site.ResponseOffset, heading)))) { m_NavigationRejected++; return false; }
|
if (site.Kind == ERR_LocationKind.EXTRACTION)
|
||||||
|
{
|
||||||
|
ground = ERR_Actors.Ground(position);
|
||||||
|
floor = ground[1];
|
||||||
|
}
|
||||||
|
if (!Navigable(ground)) { m_NavigationRejected++; RecordRejection(m_NavigationReason); return false; }
|
||||||
|
if (site.Guarded && !Navigable(ERR_Actors.Ground(position + ERR_CampTerrain.Rotate(site.GuardOffset, heading)))) { m_NavigationRejected++; RecordRejection("guard area: " + m_NavigationReason); return false; }
|
||||||
|
if (site.ResponseCount > 0 && !Navigable(ERR_Actors.Ground(position + ERR_CampTerrain.Rotate(site.ResponseOffset, heading)))) { m_NavigationRejected++; RecordRejection("patrol area: " + m_NavigationReason); return false; }
|
||||||
if (site.Kind != ERR_LocationKind.EXTRACTION) return true;
|
if (site.Kind != ERR_LocationKind.EXTRACTION) return true;
|
||||||
float padFloor;
|
float padFloor;
|
||||||
if (m_Terrain.Clear(ground, heading, 14, 0.8, padFloor))
|
if (m_Terrain.Clear(ground, heading, 14, 0.8, padFloor))
|
||||||
{
|
{
|
||||||
bool primaryClear;
|
bool primaryClear = ERR_AirfieldPlacement.ClearGround(ground);
|
||||||
if (site.RequireAirfield) primaryClear = ERR_AirfieldPlacement.Clear(ground);
|
if (!primaryClear) RecordRejection("primary aircraft clearance");
|
||||||
else primaryClear = ERR_AirfieldPlacement.ClearGround(ground);
|
else if (!ERR_RescueLanding.Fits(ground)) RecordRejection("secondary aircraft pad");
|
||||||
if (primaryClear && ERR_RescueLanding.Fits(ground)) return true;
|
else return true;
|
||||||
}
|
}
|
||||||
|
else RecordRejection("landing zone: " + m_Terrain.Rejection());
|
||||||
m_PadRejected++; return false;
|
m_PadRejected++; return false;
|
||||||
}
|
}
|
||||||
protected vector SamplePosition(ERR_SiteDefinition site)
|
protected vector SamplePosition(ERR_SiteDefinition site)
|
||||||
{
|
{
|
||||||
if (site.Kind != ERR_LocationKind.EXTRACTION || m_Airports.m_Positions.IsEmpty())
|
// Helicopters need a clear pad, not airport infrastructure or an airport-first pass.
|
||||||
return Vector(Math.RandomFloat(m_Low[0] + 60, m_High[0] - 60), 0, Math.RandomFloat(m_Low[2] + 60, m_High[2] - 60));
|
return Vector(Math.RandomFloat(m_Low[0] + 60, m_High[0] - 60), 0, Math.RandomFloat(m_Low[2] + 60, m_High[2] - 60));
|
||||||
vector centre = m_Airports.m_Positions[Math.RandomInt(0, m_Airports.m_Positions.Count())];
|
|
||||||
float angle = Math.RandomFloat(0, Math.PI2), radius = Math.RandomFloat(0, 450);
|
|
||||||
return centre + Vector(Math.Cos(angle) * radius, 0, Math.Sin(angle) * radius);
|
|
||||||
}
|
|
||||||
protected bool PrepareAirports()
|
|
||||||
{
|
|
||||||
if (m_AirportsReady) return true;
|
|
||||||
// The scenario ticks every 250ms. One 2km tile per tick made Chernarus
|
|
||||||
// spend roughly 48 seconds just waiting between airport queries. Batch
|
|
||||||
// inexpensive tiles, but yield after 4ms or eight queries. A native query
|
|
||||||
// itself cannot be interrupted, so check the budget after every call.
|
|
||||||
int started = System.GetTickCount();
|
|
||||||
for (int tile = 0; tile < 8; tile++)
|
|
||||||
{
|
|
||||||
m_Airports.Update();
|
|
||||||
if (m_Airports.Complete() || System.GetTickCount() - started >= 4) break;
|
|
||||||
}
|
|
||||||
if (!m_Airports.Complete()) return false;
|
|
||||||
if (m_Airports.m_Positions.IsEmpty())
|
|
||||||
{
|
|
||||||
// A painted runway or an island without an airport must not require a
|
|
||||||
// connector or administrator coordinates. Survey a helicopter landing zone
|
|
||||||
// with the same ground/navmesh/aircraft checks and finite placement budget.
|
|
||||||
foreach (ERR_SiteDefinition site : m_Pending)
|
|
||||||
if (site.Kind == ERR_LocationKind.EXTRACTION)
|
|
||||||
{
|
|
||||||
site.RequireAirfield = false;
|
|
||||||
site.Label = "Extraction landing zone";
|
|
||||||
}
|
|
||||||
Print("Reintroduced [terrain]: no airport infrastructure found; surveying a clear helicopter extraction landing zone");
|
|
||||||
}
|
|
||||||
PrintFormat("Reintroduced [generation]: airport survey ready in %1 ms; airports=%2", System.GetTickCount() - m_Began, m_Airports.m_Positions.Count());
|
|
||||||
m_AirportsReady = true; m_Began = System.GetTickCount();
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
override ERR_PrepareResult Tick()
|
override ERR_PrepareResult Tick()
|
||||||
{
|
{
|
||||||
if (m_Result != ERR_PrepareResult.PENDING) return m_Result;
|
if (m_Result != ERR_PrepareResult.PENDING) return m_Result;
|
||||||
if (!m_Started || !Replication.IsServer()) return ERR_PrepareResult.FAILED;
|
if (!m_Started || !Replication.IsServer()) return ERR_PrepareResult.FAILED;
|
||||||
if (!PrepareAirports()) return m_Result;
|
|
||||||
int tick = System.GetTickCount();
|
int tick = System.GetTickCount();
|
||||||
while (m_Index < m_Pending.Count())
|
while (m_Index < m_Pending.Count())
|
||||||
{
|
{
|
||||||
if (m_StartupOnly && StartupReady()) return ERR_PrepareResult.PENDING;
|
if (m_StartupOnly && StartupReady()) return ERR_PrepareResult.PENDING;
|
||||||
ERR_SiteDefinition site = m_Pending[m_Index];
|
ERR_SiteDefinition site = m_Pending[m_Index];
|
||||||
if (m_Attempts >= 12000 || System.GetTickCount() - m_Began >= 30000)
|
ReportProgress(site);
|
||||||
|
if (m_Attempts >= SearchAttempts() || System.GetTickCount() - m_Began >= SearchMilliseconds())
|
||||||
{
|
{
|
||||||
PrintFormat("Reintroduced [terrain survey exhausted]: id=%1 attempts=%2 rejected geometry=%3 navigation=%4 aircraft=%5", site.Id, m_Attempts, m_GeometryRejected, m_NavigationRejected, m_PadRejected);
|
PrintFormat("Reintroduced [terrain survey exhausted]: id=%1 attempts=%2 rejected geometry=%3 navigation=%4 aircraft=%5", site.Id, m_Attempts, m_GeometryRejected, m_NavigationRejected, m_PadRejected);
|
||||||
|
ReportSearch(site, "exhausted");
|
||||||
if (!SkipOptional(site))
|
if (!SkipOptional(site))
|
||||||
{
|
{
|
||||||
m_Error = "Terrain has no safe navigable placement for " + site.Label + ". Check this map's Soldiers navmesh, terrain clearance and size; no foreign-map fallback was used.";
|
m_Error = "Terrain has no safe navigable placement for " + site.Label + " (" + site.Id + "). Checks: " + RejectionSummary();
|
||||||
m_Result = ERR_PrepareResult.FAILED; return m_Result;
|
m_Result = ERR_PrepareResult.FAILED; return m_Result;
|
||||||
}
|
}
|
||||||
m_Index++; m_Attempts = 0; m_Began = System.GetTickCount(); m_HaveCandidate = false;
|
m_Index++; m_Attempts = 0; m_Began = System.GetTickCount(); m_HaveCandidate = false;
|
||||||
m_GeometryRejected = 0; m_NavigationRejected = 0; m_PadRejected = 0;
|
m_GeometryRejected = 0; m_NavigationRejected = 0; m_PadRejected = 0;
|
||||||
|
ClearDiagnostics();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -157,11 +150,14 @@ class ERR_TerrainSites : ERR_GeneratedSites
|
|||||||
vector position = m_Candidate;
|
vector position = m_Candidate;
|
||||||
float heading = m_CandidateHeading, floor;
|
float heading = m_CandidateHeading, floor;
|
||||||
m_WaitingNav = false;
|
m_WaitingNav = false;
|
||||||
if (Separated(site, position, false) && Survey(site, position, heading, floor))
|
bool separated = Separated(site, position, false);
|
||||||
|
if (!separated) RecordRejection("site spacing / escape boundary");
|
||||||
|
if (separated && Survey(site, position, heading, floor))
|
||||||
{
|
{
|
||||||
position[1] = floor + 0.02;
|
position[1] = floor + 0.02;
|
||||||
site.Position = position; site.Heading = heading; site.PlacementResolved = true;
|
site.Position = position; site.Heading = heading; site.PlacementResolved = true;
|
||||||
PrintFormat("Reintroduced [terrain site]: id=%1 position=%2 heading=%3 attempts=%4", site.Id, position, heading, m_Attempts);
|
PrintFormat("Reintroduced [terrain site]: id=%1 position=%2 heading=%3 attempts=%4", site.Id, position, heading, m_Attempts);
|
||||||
|
ReportSearch(site, "placed"); ClearDiagnostics();
|
||||||
m_Index++; m_Attempts = 0; m_Began = System.GetTickCount();
|
m_Index++; m_Attempts = 0; m_Began = System.GetTickCount();
|
||||||
m_GeometryRejected = 0; m_NavigationRejected = 0; m_PadRejected = 0;
|
m_GeometryRejected = 0; m_NavigationRejected = 0; m_PadRejected = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,71 @@
|
|||||||
|
// World-authored pumps survive a game-mode takeover. Their native registrations
|
||||||
|
// belong to the discarded manager and must move to the replacement on each peer.
|
||||||
|
modded class SCR_SupportStationManagerComponent
|
||||||
|
{
|
||||||
|
void ERR_CollectTerrainStations(array<SCR_BaseSupportStationComponent> stations)
|
||||||
|
{
|
||||||
|
for (int i = 0; i < m_mSupportStations.Count(); i++)
|
||||||
|
{
|
||||||
|
array<SCR_BaseSupportStationComponent> registered = m_mSupportStations.GetElement(i);
|
||||||
|
if (!registered) continue;
|
||||||
|
foreach (SCR_BaseSupportStationComponent station : registered)
|
||||||
|
if (station && !stations.Contains(station)) stations.Insert(station);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
override void OnPostInit(IEntity owner)
|
||||||
|
{
|
||||||
|
super.OnPostInit(owner);
|
||||||
|
if (ERR_TerrainTakeoverMode.Cast(owner) && GetInstance() == this)
|
||||||
|
GetGame().ERR_RestoreTerrainSupportStations(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
modded class SCR_BaseSupportStationComponent
|
||||||
|
{
|
||||||
|
bool ERR_CanRestoreTerrainStation()
|
||||||
|
{
|
||||||
|
IEntity owner = GetOwner();
|
||||||
|
return owner && GetGame() && owner.GetWorld() == GetGame().GetWorld()
|
||||||
|
&& UsesRange() && m_eCurrentDamageState != EDamageState.DESTROYED;
|
||||||
|
}
|
||||||
|
void ERR_TerrainStationRestored(SCR_SupportStationManagerComponent manager) {}
|
||||||
|
}
|
||||||
|
|
||||||
|
modded class SCR_BaseItemSupportStationComponent
|
||||||
|
{
|
||||||
|
override void ERR_TerrainStationRestored(SCR_SupportStationManagerComponent manager)
|
||||||
|
{
|
||||||
|
super.ERR_TerrainStationRestored(manager);
|
||||||
|
// Item cleanup must remove the station from the manager it now belongs to.
|
||||||
|
if (m_ERRItemStationInitialized && UsesRange()) m_ERRItemStationManager = manager;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
modded class ArmaReforgerScripted
|
||||||
|
{
|
||||||
|
protected ref array<SCR_BaseSupportStationComponent> m_ERRTerrainSupportStations = {};
|
||||||
|
void ERR_CaptureTerrainSupportStations(SCR_SupportStationManagerComponent original)
|
||||||
|
{
|
||||||
|
m_ERRTerrainSupportStations.Clear();
|
||||||
|
if (original) original.ERR_CollectTerrainStations(m_ERRTerrainSupportStations);
|
||||||
|
}
|
||||||
|
void ERR_RestoreTerrainSupportStations(SCR_SupportStationManagerComponent manager)
|
||||||
|
{
|
||||||
|
if (!manager) return;
|
||||||
|
int restored;
|
||||||
|
foreach (SCR_BaseSupportStationComponent station : m_ERRTerrainSupportStations)
|
||||||
|
{
|
||||||
|
if (!station || !station.ERR_CanRestoreTerrainStation()) continue;
|
||||||
|
manager.AddSupportStation(station);
|
||||||
|
station.ERR_TerrainStationRestored(manager);
|
||||||
|
restored++;
|
||||||
|
}
|
||||||
|
m_ERRTerrainSupportStations.Clear();
|
||||||
|
PrintFormat("Reintroduced [terrain support]: retained %1 existing support stations", restored);
|
||||||
|
}
|
||||||
|
override protected void OnBeforeWorldCleanup()
|
||||||
|
{
|
||||||
|
m_ERRTerrainSupportStations.Clear();
|
||||||
|
super.OnBeforeWorldCleanup();
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -243,6 +243,7 @@ modded class ArmaReforgerScripted
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
Print("Reintroduced [terrain takeover]: stopping original scenario; preserving radio and chat managers");
|
Print("Reintroduced [terrain takeover]: stopping original scenario; preserving radio and chat managers");
|
||||||
|
ERR_CaptureTerrainSupportStations(SCR_SupportStationManagerComponent.Cast(m_ERRTerrainOriginal.FindComponent(SCR_SupportStationManagerComponent)));
|
||||||
m_ERRTerrainOriginal.OnGameEnd();
|
m_ERRTerrainOriginal.OnGameEnd();
|
||||||
if (m_DataCollectorComponent && m_DataCollectorComponent.GetOwner() == m_ERRTerrainOriginal) m_DataCollectorComponent = null;
|
if (m_DataCollectorComponent && m_DataCollectorComponent.GetOwner() == m_ERRTerrainOriginal) m_DataCollectorComponent = null;
|
||||||
SCR_EntityCatalogManagerComponent.ERR_ReleaseTerrainCatalog(m_ERRTerrainOriginal);
|
SCR_EntityCatalogManagerComponent.ERR_ReleaseTerrainCatalog(m_ERRTerrainOriginal);
|
||||||
|
|||||||
@@ -102,6 +102,7 @@ modded class ArmaReforgerScripted
|
|||||||
m_ERRClientTerrainTakeover = true;
|
m_ERRClientTerrainTakeover = true;
|
||||||
SCR_BaseGameMode mode = SCR_BaseGameMode.Cast(m_ERRClientOldManagers[0]);
|
SCR_BaseGameMode mode = SCR_BaseGameMode.Cast(m_ERRClientOldManagers[0]);
|
||||||
PrintFormat("Reintroduced [terrain client]: drain retained mode=%1 incoming=%2", mode, incoming);
|
PrintFormat("Reintroduced [terrain client]: drain retained mode=%1 incoming=%2", mode, incoming);
|
||||||
|
ERR_CaptureTerrainSupportStations(m_ERROldSupport);
|
||||||
if (mode) mode.OnGameEnd();
|
if (mode) mode.OnGameEnd();
|
||||||
// Owner entities can already be invalid while native destruction is deferred.
|
// Owner entities can already be invalid while native destruction is deferred.
|
||||||
// Compare the captured component itself, never clear a newer singleton.
|
// Compare the captured component itself, never clear a newer singleton.
|
||||||
|
|||||||
@@ -63,6 +63,18 @@ class ERR_TerrainDisplayName
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Keep the authored Escape header as the source of mission text.
|
||||||
|
class ERR_TerrainMissionText
|
||||||
|
{
|
||||||
|
static bool Load(out string description, out string details)
|
||||||
|
{
|
||||||
|
Resource resource = BaseContainerTools.LoadContainer("{C1E20667DCE324ED}Missions/ERR_Everon.conf");
|
||||||
|
if (!resource || !resource.IsValid()) return false;
|
||||||
|
BaseContainer header = resource.GetResource().ToBaseContainer();
|
||||||
|
return header && header.Get("m_sDescription", description) && header.Get("m_sDetails", details);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Scenario selection still loads the terrain's header. Advertise the configured
|
// Scenario selection still loads the terrain's header. Advertise the configured
|
||||||
// Escape mode through the native DS name callback, then update local metadata
|
// Escape mode through the native DS name callback, then update local metadata
|
||||||
// only when the authority actually starts Escape or its bootstrap reaches a client.
|
// only when the authority actually starts Escape or its bootstrap reaches a client.
|
||||||
@@ -71,6 +83,9 @@ modded class ArmaReforgerScripted
|
|||||||
protected ref SCR_MissionHeader m_ERRPresentedTerrainHeader;
|
protected ref SCR_MissionHeader m_ERRPresentedTerrainHeader;
|
||||||
protected string m_ERROriginalTerrainTitle;
|
protected string m_ERROriginalTerrainTitle;
|
||||||
protected string m_ERROriginalTerrainGameMode;
|
protected string m_ERROriginalTerrainGameMode;
|
||||||
|
protected string m_ERROriginalTerrainDescription, m_ERROriginalTerrainDetails;
|
||||||
|
protected string m_ERRAppliedTerrainDescription, m_ERRAppliedTerrainDetails;
|
||||||
|
protected bool m_ERRTerrainTextApplied;
|
||||||
protected string m_ERRAppliedTerrainTitle;
|
protected string m_ERRAppliedTerrainTitle;
|
||||||
protected string m_ERRTitleWorld;
|
protected string m_ERRTitleWorld;
|
||||||
protected string m_ERRTerrainLabel;
|
protected string m_ERRTerrainLabel;
|
||||||
@@ -131,6 +146,14 @@ modded class ArmaReforgerScripted
|
|||||||
m_ERRAppliedTerrainTitle = ERR_TerrainMissionTitle(header);
|
m_ERRAppliedTerrainTitle = ERR_TerrainMissionTitle(header);
|
||||||
header.m_sName = m_ERRAppliedTerrainTitle;
|
header.m_sName = m_ERRAppliedTerrainTitle;
|
||||||
header.m_sGameMode = "Escape";
|
header.m_sGameMode = "Escape";
|
||||||
|
m_ERROriginalTerrainDescription = header.m_sDescription;
|
||||||
|
m_ERROriginalTerrainDetails = header.m_sDetails;
|
||||||
|
m_ERRTerrainTextApplied = ERR_TerrainMissionText.Load(m_ERRAppliedTerrainDescription, m_ERRAppliedTerrainDetails);
|
||||||
|
if (m_ERRTerrainTextApplied)
|
||||||
|
{
|
||||||
|
header.m_sDescription = m_ERRAppliedTerrainDescription;
|
||||||
|
header.m_sDetails = m_ERRAppliedTerrainDetails;
|
||||||
|
}
|
||||||
PrintFormat("Reintroduced [terrain presentation]: mission=%1; source scenario=%2", header.m_sName, header.GetHeaderResourceName());
|
PrintFormat("Reintroduced [terrain presentation]: mission=%1; source scenario=%2", header.m_sName, header.GetHeaderResourceName());
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -145,17 +168,30 @@ modded class ArmaReforgerScripted
|
|||||||
PrintFormat("Reintroduced [terrain presentation]: refreshed mission=%1; loaded world=%2", title, GetWorldFile());
|
PrintFormat("Reintroduced [terrain presentation]: refreshed mission=%1; loaded world=%2", title, GetWorldFile());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SCR_MissionHeader ERR_TerrainLoadingHeader(SCR_MissionHeader requested)
|
||||||
|
{
|
||||||
|
if (!requested) return null;
|
||||||
|
SCR_MissionHeader header = SCR_MissionHeader.Cast(GetMissionHeader());
|
||||||
|
// A loading screen may hold a copy. Only replace the confirmed scenario;
|
||||||
|
// another incoming map must never inherit the outgoing world's text.
|
||||||
|
if (!header || header != m_ERRPresentedTerrainHeader || m_ERRPresentedTerrainWorld != GetWorld()) return requested;
|
||||||
|
if (requested != header && (requested.GetHeaderResourceName().IsEmpty() || requested.GetHeaderResourceName() != header.GetHeaderResourceName())) return requested;
|
||||||
|
ERR_RefreshTerrainPresentation();
|
||||||
|
return header;
|
||||||
|
}
|
||||||
string ERR_TerrainLoadingTitle(SCR_MissionHeader requested)
|
string ERR_TerrainLoadingTitle(SCR_MissionHeader requested)
|
||||||
{
|
{
|
||||||
if (!requested) return "";
|
SCR_MissionHeader header = ERR_TerrainLoadingHeader(requested);
|
||||||
SCR_MissionHeader header = SCR_MissionHeader.Cast(GetMissionHeader());
|
if (!header) return "";
|
||||||
// The loading screen can hold a separate copy of the same scenario header.
|
|
||||||
// Never replace another incoming scenario's title with the outgoing world.
|
|
||||||
if (!header || header != m_ERRPresentedTerrainHeader || m_ERRPresentedTerrainWorld != GetWorld()) return requested.m_sName;
|
|
||||||
if (requested != header && (requested.GetHeaderResourceName().IsEmpty() || requested.GetHeaderResourceName() != header.GetHeaderResourceName())) return requested.m_sName;
|
|
||||||
ERR_RefreshTerrainPresentation();
|
|
||||||
return header.m_sName;
|
return header.m_sName;
|
||||||
}
|
}
|
||||||
|
string ERR_TerrainLoadingDescription(SCR_MissionHeader requested)
|
||||||
|
{
|
||||||
|
SCR_MissionHeader header = ERR_TerrainLoadingHeader(requested);
|
||||||
|
if (!header) return "";
|
||||||
|
if (!header.m_sDetails.IsEmpty()) return header.m_sDetails;
|
||||||
|
return header.m_sDescription;
|
||||||
|
}
|
||||||
|
|
||||||
override void OnUpdate(BaseWorld world, float timeslice)
|
override void OnUpdate(BaseWorld world, float timeslice)
|
||||||
{
|
{
|
||||||
@@ -173,6 +209,11 @@ modded class ArmaReforgerScripted
|
|||||||
{
|
{
|
||||||
// A later change by another system belongs to that system.
|
// A later change by another system belongs to that system.
|
||||||
if (m_ERRPresentedTerrainHeader.m_sName == m_ERRAppliedTerrainTitle) m_ERRPresentedTerrainHeader.m_sName = m_ERROriginalTerrainTitle;
|
if (m_ERRPresentedTerrainHeader.m_sName == m_ERRAppliedTerrainTitle) m_ERRPresentedTerrainHeader.m_sName = m_ERROriginalTerrainTitle;
|
||||||
|
if (m_ERRTerrainTextApplied)
|
||||||
|
{
|
||||||
|
if (m_ERRPresentedTerrainHeader.m_sDescription == m_ERRAppliedTerrainDescription) m_ERRPresentedTerrainHeader.m_sDescription = m_ERROriginalTerrainDescription;
|
||||||
|
if (m_ERRPresentedTerrainHeader.m_sDetails == m_ERRAppliedTerrainDetails) m_ERRPresentedTerrainHeader.m_sDetails = m_ERROriginalTerrainDetails;
|
||||||
|
}
|
||||||
if (m_ERRPresentedTerrainHeader.m_sGameMode == "Escape") m_ERRPresentedTerrainHeader.m_sGameMode = m_ERROriginalTerrainGameMode;
|
if (m_ERRPresentedTerrainHeader.m_sGameMode == "Escape") m_ERRPresentedTerrainHeader.m_sGameMode = m_ERROriginalTerrainGameMode;
|
||||||
}
|
}
|
||||||
m_ERRPresentedTerrainHeader = null;
|
m_ERRPresentedTerrainHeader = null;
|
||||||
@@ -180,6 +221,9 @@ modded class ArmaReforgerScripted
|
|||||||
m_ERROriginalTerrainTitle = "";
|
m_ERROriginalTerrainTitle = "";
|
||||||
m_ERROriginalTerrainGameMode = "";
|
m_ERROriginalTerrainGameMode = "";
|
||||||
m_ERRAppliedTerrainTitle = "";
|
m_ERRAppliedTerrainTitle = "";
|
||||||
|
m_ERRTerrainTextApplied = false;
|
||||||
|
m_ERROriginalTerrainDescription = ""; m_ERROriginalTerrainDetails = "";
|
||||||
|
m_ERRAppliedTerrainDescription = ""; m_ERRAppliedTerrainDetails = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
override protected void OnBeforeWorldCleanup()
|
override protected void OnBeforeWorldCleanup()
|
||||||
@@ -191,28 +235,38 @@ modded class ArmaReforgerScripted
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Vanilla copies the header title once, before the replicated Escape bootstrap
|
// Vanilla copies the header title once, before the replicated Escape bootstrap
|
||||||
// may arrive. Refresh only the title; do not recreate loading widgets/hints.
|
// may arrive. Refresh text in existing widgets; do not recreate widgets/hints.
|
||||||
modded class SCR_LoadingScreenComponent
|
modded class SCR_LoadingScreenComponent
|
||||||
{
|
{
|
||||||
protected ref SCR_MissionHeader m_ERRLoadingTerrainHeader;
|
protected ref SCR_MissionHeader m_ERRLoadingTerrainHeader;
|
||||||
protected string m_ERRLoadingTerrainTitle;
|
protected string m_ERRLoadingTerrainTitle, m_ERRLoadingTerrainDescription;
|
||||||
protected float m_ERRLoadingTerrainWait;
|
protected float m_ERRLoadingTerrainWait;
|
||||||
|
|
||||||
override void OnMissionDataRetrieved(SCR_MissionHeader header)
|
override void OnMissionDataRetrieved(SCR_MissionHeader header)
|
||||||
{
|
{
|
||||||
super.OnMissionDataRetrieved(header);
|
super.OnMissionDataRetrieved(header);
|
||||||
m_ERRLoadingTerrainHeader = header;
|
m_ERRLoadingTerrainHeader = header;
|
||||||
m_ERRLoadingTerrainTitle = ""; m_ERRLoadingTerrainWait = 0;
|
m_ERRLoadingTerrainTitle = ""; m_ERRLoadingTerrainDescription = ""; m_ERRLoadingTerrainWait = 0;
|
||||||
ERR_RefreshLoadingTerrainTitle();
|
ERR_RefreshLoadingTerrainTitle();
|
||||||
}
|
}
|
||||||
protected void ERR_RefreshLoadingTerrainTitle()
|
protected void ERR_RefreshLoadingTerrainTitle()
|
||||||
{
|
{
|
||||||
if (!m_ERRLoadingTerrainHeader || !m_Widgets || !m_Widgets.m_wTitle || !GetGame()) return;
|
if (!m_ERRLoadingTerrainHeader || !m_Widgets || !GetGame()) return;
|
||||||
string title = GetGame().ERR_TerrainLoadingTitle(m_ERRLoadingTerrainHeader);
|
string title = GetGame().ERR_TerrainLoadingTitle(m_ERRLoadingTerrainHeader);
|
||||||
if (title == m_ERRLoadingTerrainTitle) return;
|
if (m_Widgets.m_wTitle && title != m_ERRLoadingTerrainTitle)
|
||||||
|
{
|
||||||
m_ERRLoadingTerrainTitle = title;
|
m_ERRLoadingTerrainTitle = title;
|
||||||
m_Widgets.m_wTitle.SetText(title);
|
m_Widgets.m_wTitle.SetText(title);
|
||||||
}
|
}
|
||||||
|
// Match vanilla details/description precedence, translation and length limit.
|
||||||
|
string description = WidgetManager.Translate(GetGame().ERR_TerrainLoadingDescription(m_ERRLoadingTerrainHeader));
|
||||||
|
if (description.Length() > MAX_DESCRIPTION_LENGTH) description = description.Substring(0, MAX_DESCRIPTION_LENGTH) + "...";
|
||||||
|
if (m_Widgets.m_wDescription && description != m_ERRLoadingTerrainDescription)
|
||||||
|
{
|
||||||
|
m_ERRLoadingTerrainDescription = description;
|
||||||
|
m_Widgets.m_wDescription.SetText(description);
|
||||||
|
}
|
||||||
|
}
|
||||||
override void Update(float timeSlice, float progress = 0, float minDurationRatio = 0)
|
override void Update(float timeSlice, float progress = 0, float minDurationRatio = 0)
|
||||||
{
|
{
|
||||||
super.Update(timeSlice, progress, minDurationRatio);
|
super.Update(timeSlice, progress, minDurationRatio);
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ modded class SCR_PlayerController
|
|||||||
bool ERR_ProbeOrbitFrame(float yaw, float pitch, float zoom, bool enabled, out vector transform[4])
|
bool ERR_ProbeOrbitFrame(float yaw, float pitch, float zoom, bool enabled, out vector transform[4])
|
||||||
{
|
{
|
||||||
string outcome;
|
string outcome;
|
||||||
if (!System.GetCLIParam("errSmokeOutcome", outcome) || outcome != "unconscious-camera" || this != GetGame().GetPlayerController() || !ERR_ProbeCameraActive() || ERR_ObservedEntity()) return false;
|
if (!System.GetCLIParam("errSmokeOutcome", outcome) || outcome != "unconscious-camera" || this != GetGame().GetPlayerController() || !ERR_ProbeCameraActive() || ERR_ObservedEntity() != GetControlledEntity() || ERR_Actors.CanFight(GetControlledEntity())) return false;
|
||||||
ERR_FollowSurvivorCameraComponent follow = ERR_ProbeFollowComponent();
|
ERR_FollowSurvivorCameraComponent follow = ERR_ProbeFollowComponent();
|
||||||
InputManager input = GetGame().GetInputManager();
|
InputManager input = GetGame().GetInputManager();
|
||||||
if (!follow || !input) return false;
|
if (!follow || !input) return false;
|
||||||
@@ -162,17 +162,30 @@ modded class ERR_GameMode
|
|||||||
foreach (SCR_PersistentDamageEffect effect : effects) m_ERRCameraDamage.TerminateDamageEffect(effect);
|
foreach (SCR_PersistentDamageEffect effect : effects) m_ERRCameraDamage.TerminateDamageEffect(effect);
|
||||||
m_ERRCameraDamage.SetGroupIsBeingHealed(ECharacterHitZoneGroup.RIGHTARM, true);
|
m_ERRCameraDamage.SetGroupIsBeingHealed(ECharacterHitZoneGroup.RIGHTARM, true);
|
||||||
}
|
}
|
||||||
protected bool ERR_CameraNoTargetOrbit(SCR_PlayerController pc)
|
protected bool ERR_CameraOwnBodyOrbit(SCR_PlayerController pc)
|
||||||
{
|
{
|
||||||
vector body = m_ERRCameraBody.GetOrigin();
|
vector body = m_ERRCameraBody.GetOrigin();
|
||||||
|
pc.ERR_UpdateObserverServer(1);
|
||||||
|
pc.ERR_UpdateObserverServer(-1);
|
||||||
|
if (!ERR_CameraCheck(pc.ERR_ObservedEntity() == m_ERRCameraBody, "solo forward/backward cycling retains the actual own body")) return false;
|
||||||
|
ERR_FollowSurvivorCameraComponent follow = pc.ERR_ProbeFollowComponent();
|
||||||
|
follow.Input(true, false, false, true);
|
||||||
|
follow.Input(true, false, false, false);
|
||||||
|
if (!ERR_CameraCheck(follow.IsPlayerView(), "own-body orbit is tested with player-view mode selected")) return false;
|
||||||
vector baseline[4], yaw[4], pitch[4], zoom[4], blocked[4];
|
vector baseline[4], yaw[4], pitch[4], zoom[4], blocked[4];
|
||||||
if (!ERR_CameraCheck(pc.ERR_ProbeOrbitFrame(0, 0, 0, true, baseline), "no-target frame accepts native orbit action values")) return false;
|
if (!ERR_CameraCheck(pc.ERR_ProbeOrbitFrame(0, 0, 0, true, baseline), "own-body frame accepts native orbit action values")) return false;
|
||||||
if (!ERR_CameraCheck(pc.ERR_ProbeOrbitFrame(1, 0, 0, true, yaw) && vector.Distance(baseline[2], yaw[2]) > 0.05, "no-target yaw action changes production camera direction")) return false;
|
if (!ERR_CameraCheck(pc.ERR_ProbeOrbitFrame(1, 0, 0, true, yaw) && vector.Distance(baseline[2], yaw[2]) > 0.05, "own-body yaw action changes production camera direction")) return false;
|
||||||
if (!ERR_CameraCheck(pc.ERR_ProbeOrbitFrame(0, -1, 0, true, pitch) && Math.AbsFloat(yaw[2][1] - pitch[2][1]) > 0.03, "no-target pitch action changes production camera elevation")) return false;
|
if (!ERR_CameraCheck(pc.ERR_ProbeOrbitFrame(0, -1, 0, true, pitch) && Math.AbsFloat(yaw[2][1] - pitch[2][1]) > 0.03, "own-body pitch action changes production camera elevation")) return false;
|
||||||
vector aim = pc.ERR_ObserverAnchor() + "0 1.5 0";
|
vector aim = m_ERRCameraBody.GetOrigin() + "0 0.4 0";
|
||||||
if (!ERR_CameraCheck(pc.ERR_ProbeOrbitFrame(0, 0, -1, true, zoom) && vector.Distance(zoom[3], aim) < vector.Distance(pitch[3], aim) - 0.05, "no-target zoom action moves production camera closer to casualty anchor")) return false;
|
if (!ERR_CameraCheck(pc.ERR_ProbeOrbitFrame(0, 0, -1, true, zoom) && vector.Distance(zoom[3], aim) < vector.Distance(pitch[3], aim) - 0.05, "own-body zoom action moves production camera closer to casualty anchor")) return false;
|
||||||
if (!ERR_CameraCheck(pc.ERR_ProbeOrbitFrame(1, -1, -1, false, blocked) && vector.Distance(zoom[3], blocked[3]) < 0.001 && vector.Distance(zoom[2], blocked[2]) < 0.001, "disabled no-target input preserves camera pose")) return false;
|
if (!ERR_CameraCheck(pc.ERR_ProbeOrbitFrame(1, -1, -1, false, blocked) && vector.Distance(zoom[3], blocked[3]) < 0.001 && vector.Distance(zoom[2], blocked[2]) < 0.001, "disabled own-body input preserves camera pose")) return false;
|
||||||
if (!ERR_CameraCheck(vector.Distance(body, m_ERRCameraBody.GetOrigin()) < 0.001 && pc.GetControlledEntity() == m_ERRCameraBody && !pc.ERR_ObservedEntity(), "no-target orbit leaves casualty and possession unchanged")) return false;
|
if (!ERR_CameraCheck(vector.Distance(body, m_ERRCameraBody.GetOrigin()) < 0.001 && pc.GetControlledEntity() == m_ERRCameraBody && pc.ERR_ObservedEntity() == m_ERRCameraBody, "own-body orbit leaves casualty and possession unchanged")) return false;
|
||||||
|
// The disabled frame starts the normal two-frame input-resume gate.
|
||||||
|
follow.Input(true, false, false, false);
|
||||||
|
follow.Input(true, false, false, false);
|
||||||
|
follow.Input(true, false, false, true);
|
||||||
|
follow.Input(true, false, false, false);
|
||||||
|
if (!ERR_CameraCheck(!follow.IsPlayerView(), "own-body camera returns to ordinary third-person selection")) return false;
|
||||||
Math3D.MatrixCopy(zoom, m_ERRCameraOrbitPose);
|
Math3D.MatrixCopy(zoom, m_ERRCameraOrbitPose);
|
||||||
Print("ERR CAMERA ORBIT: native action/frame regression; physical mouse delivery and multiplayer are not tested");
|
Print("ERR CAMERA ORBIT: native action/frame regression; physical mouse delivery and multiplayer are not tested");
|
||||||
return true;
|
return true;
|
||||||
@@ -192,6 +205,9 @@ modded class ERR_GameMode
|
|||||||
InventoryStorageManagerComponent inventory = InventoryStorageManagerComponent.Cast(m_ERRCameraBody.FindComponent(InventoryStorageManagerComponent));
|
InventoryStorageManagerComponent inventory = InventoryStorageManagerComponent.Cast(m_ERRCameraBody.FindComponent(InventoryStorageManagerComponent));
|
||||||
m_ERRCameraWeapon = ERR_Actors.Spawn("{FA5C25BF66A53DCF}Prefabs/Weapons/Rifles/AK74/Rifle_AK74.et", m_ERRCameraBody.GetOrigin()); Own(m_ERRCameraWeapon);
|
m_ERRCameraWeapon = ERR_Actors.Spawn("{FA5C25BF66A53DCF}Prefabs/Weapons/Rifles/AK74/Rifle_AK74.et", m_ERRCameraBody.GetOrigin()); Own(m_ERRCameraWeapon);
|
||||||
if (!ERR_CameraCheck(m_ERRCameraWeapon && inventory && inventory.TryInsertItem(m_ERRCameraWeapon, EStoragePurpose.PURPOSE_WEAPON_PROXY), "one physical rifle granted to the player")) return;
|
if (!ERR_CameraCheck(m_ERRCameraWeapon && inventory && inventory.TryInsertItem(m_ERRCameraWeapon, EStoragePurpose.PURPOSE_WEAPON_PROXY), "one physical rifle granted to the player")) return;
|
||||||
|
// Keep this deliberately unconscious solo fixture recoverable under the all-down rules.
|
||||||
|
IEntity injector = ERR_Actors.Spawn(ERR_EnemyMedicalCatalog.EPI, m_ERRCameraBody.GetOrigin()); Own(injector);
|
||||||
|
if (!ERR_CameraCheck(injector && inventory.TryInsertItem(injector) && Settings().Set("selfEpinephrine", 1), "carried injector keeps the camera fixture recoverable")) return;
|
||||||
m_ERRCameraStage = -1; m_ERRCameraWait = now + 1500; return;
|
m_ERRCameraStage = -1; m_ERRCameraWait = now + 1500; return;
|
||||||
}
|
}
|
||||||
SCR_CharacterControllerComponent character = SCR_CharacterControllerComponent.Cast(m_ERRCameraBody.FindComponent(SCR_CharacterControllerComponent));
|
SCR_CharacterControllerComponent character = SCR_CharacterControllerComponent.Cast(m_ERRCameraBody.FindComponent(SCR_CharacterControllerComponent));
|
||||||
@@ -208,22 +224,24 @@ modded class ERR_GameMode
|
|||||||
m_ERRCameraBody = pc.GetControlledEntity();
|
m_ERRCameraBody = pc.GetControlledEntity();
|
||||||
m_ERRCameraDamage = SCR_CharacterDamageManagerComponent.Cast(m_ERRCameraBody.FindComponent(SCR_CharacterDamageManagerComponent));
|
m_ERRCameraDamage = SCR_CharacterDamageManagerComponent.Cast(m_ERRCameraBody.FindComponent(SCR_CharacterDamageManagerComponent));
|
||||||
if (!ERR_CameraCheck(m_ERRCameraDamage && m_ERRCameraDamage.ERR_IsRevivablePlayer(), "admitted player retains treatable body")) return;
|
if (!ERR_CameraCheck(m_ERRCameraDamage && m_ERRCameraDamage.ERR_IsRevivablePlayer(), "admitted player retains treatable body")) return;
|
||||||
ERR_CameraKnockout(); m_ERRCameraStage = 1; m_ERRCameraWait = now + 3000; return;
|
// Allow the server medical sample plus the 3s spectator hint settling window.
|
||||||
|
ERR_CameraKnockout(); m_ERRCameraStage = 1; m_ERRCameraWait = now + 6000; return;
|
||||||
}
|
}
|
||||||
if (m_ERRCameraStage == 1)
|
if (m_ERRCameraStage == 1)
|
||||||
{
|
{
|
||||||
if (!ERR_CameraCheck(pc.ERR_ObserverState() == ERR_ObserverReason.UNCONSCIOUS && pc.ERR_ProbeCameraActive(), "native knockout automatically opens the manual third-person camera")) return;
|
if (!ERR_CameraCheck(pc.ERR_ObserverState() == ERR_ObserverReason.UNCONSCIOUS && pc.ERR_ProbeCameraActive(), "native knockout automatically opens the manual third-person camera")) return;
|
||||||
if (!ERR_CameraCheck(pc.GetControlledEntity() == m_ERRCameraBody && ERR_Actors.Alive(m_ERRCameraBody) && !ERR_Actors.CanFight(m_ERRCameraBody), "possession and living unconscious body unchanged")) return;
|
if (!ERR_CameraCheck(pc.GetControlledEntity() == m_ERRCameraBody && ERR_Actors.Alive(m_ERRCameraBody) && !ERR_Actors.CanFight(m_ERRCameraBody), "possession and living unconscious body unchanged")) return;
|
||||||
if (!ERR_CameraCheck(!pc.ERR_ObservedEntity() && vector.DistanceXZ(pc.ERR_ObserverAnchor(), m_ERRCameraBody.GetOrigin()) < 1, "no teammate falls back to the casualty body")) return;
|
if (!ERR_CameraCheck(pc.ERR_ObservedEntity() == m_ERRCameraBody && vector.DistanceXZ(pc.ERR_ObserverAnchor(), m_ERRCameraBody.GetOrigin()) < 1, "own casualty body is a real selected camera target")) return;
|
||||||
if (!ERR_CameraCheck(playerInventory.Contains(m_ERRCameraWeapon), "enabled retention keeps the exact rifle with the unconscious player")) return;
|
if (!ERR_CameraCheck(playerInventory.Contains(m_ERRCameraWeapon), "enabled retention keeps the exact rifle with the unconscious player")) return;
|
||||||
if (!ERR_CameraCheck(!RecoveryStatus().IsEmpty() && RecoveryStatus().Contains("Treatment or natural recovery") && pc.ERR_ProbeAcceptedRecoveryStatus() == RecoveryStatus(), "accepted observer hint contains the current ongoing recovery status")) return;
|
string expectedRecovery = RecoveryStatus() + "\n" + pc.ERR_SelfEpinephrineHint();
|
||||||
if (!ERR_CameraNoTargetOrbit(pc)) return;
|
if (!ERR_CameraCheck(RecoveryStatus().Contains("Self epinephrine is available") && pc.ERR_ProbeAcceptedRecoveryStatus() == expectedRecovery, "accepted observer hint contains the current recovery status and self-injection controls")) return;
|
||||||
|
if (!ERR_CameraOwnBodyOrbit(pc)) return;
|
||||||
m_ERRCameraStage = 11; m_ERRCameraWait = now + 500; return;
|
m_ERRCameraStage = 11; m_ERRCameraWait = now + 500; return;
|
||||||
}
|
}
|
||||||
if (m_ERRCameraStage == 11)
|
if (m_ERRCameraStage == 11)
|
||||||
{
|
{
|
||||||
vector applied[4]; GetGame().GetCameraManager().CurrentCamera().GetWorldTransform(applied);
|
vector applied[4]; GetGame().GetCameraManager().CurrentCamera().GetWorldTransform(applied);
|
||||||
if (!ERR_CameraCheck(pc.ERR_ProbeCameraActive() && vector.Distance(applied[2], m_ERRCameraOrbitPose[2]) < 0.01, "native camera applies and retains no-target orbit direction on subsequent frames")) return;
|
if (!ERR_CameraCheck(pc.ERR_ProbeCameraActive() && vector.Distance(applied[2], m_ERRCameraOrbitPose[2]) < 0.01, "native camera applies and retains own-body orbit direction on subsequent frames")) return;
|
||||||
if (!ERR_CameraOpenChat(pc, false)) return;
|
if (!ERR_CameraOpenChat(pc, false)) return;
|
||||||
m_ERRCameraStage = 111; m_ERRCameraWait = now + 500; return;
|
m_ERRCameraStage = 111; m_ERRCameraWait = now + 500; return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,43 @@
|
|||||||
|
// Bound native AI horn requests without changing steering, braking or player input.
|
||||||
|
class ERR_AIDriverHornLimit
|
||||||
|
{
|
||||||
|
protected int m_End = -1;
|
||||||
|
protected int m_Next = 0;
|
||||||
|
protected int m_Last = -1;
|
||||||
|
bool Allow(bool requested, int now)
|
||||||
|
{
|
||||||
|
if (m_Last >= 0 && now < m_Last) { m_End = -1; m_Next = now + 30000; }
|
||||||
|
m_Last = now;
|
||||||
|
if (!requested) { m_End = -1; return false; }
|
||||||
|
if (m_End >= 0)
|
||||||
|
{
|
||||||
|
if (now < m_End) return true;
|
||||||
|
m_End = -1;
|
||||||
|
}
|
||||||
|
if (now < m_Next) return false;
|
||||||
|
m_End = now + 500;
|
||||||
|
m_Next = now + 30000;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
modded class SCR_CharacterControllerComponent
|
||||||
|
{
|
||||||
|
protected ref ERR_AIDriverHornLimit m_ERRHornLimit;
|
||||||
|
protected override void OnApplyControls(IEntity owner, float timeSlice)
|
||||||
|
{
|
||||||
|
super.OnApplyControls(owner, timeSlice);
|
||||||
|
if (!Replication.IsServer() || !owner || ERR_Actors.Player(owner)) return;
|
||||||
|
ERR_GameMode mode = ERR_GameMode.Get();
|
||||||
|
if (!mode) return;
|
||||||
|
IEntity vehicle = CompartmentAccessComponent.GetVehicleIn(owner);
|
||||||
|
if (!vehicle || !vehicle.FindComponent(AICarMovementComponent)) return;
|
||||||
|
BaseVehicleControllerComponent controls = BaseVehicleControllerComponent.Cast(vehicle.FindComponent(BaseVehicleControllerComponent));
|
||||||
|
if (!controls || !controls.GetPilotCompartmentSlot() || controls.GetPilotCompartmentSlot().GetOccupant() != owner) return;
|
||||||
|
CharacterInputContext input = GetInputContext();
|
||||||
|
if (!input) return;
|
||||||
|
if (!m_ERRHornLimit) m_ERRHornLimit = new ERR_AIDriverHornLimit();
|
||||||
|
bool permitted = m_ERRHornLimit.Allow(mode.Active() && input.GetVehicleHorn() != 0, System.GetTickCount());
|
||||||
|
if (!permitted) input.SetVehicleHorn(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,315 @@
|
|||||||
|
// Nearby garages are discovered incrementally. Each callback performs one
|
||||||
|
// survey, maintenance, planning, resource-load or native-spawn step.
|
||||||
|
class ERR_GarageVehicleRules
|
||||||
|
{
|
||||||
|
static bool Garage(string path)
|
||||||
|
{
|
||||||
|
path.ToLower();
|
||||||
|
return path.EndsWith("/garage_e_01.et") || path.EndsWith("/houseaddon_garage_e_01.et");
|
||||||
|
}
|
||||||
|
static bool Envelope(vector low, vector high)
|
||||||
|
{
|
||||||
|
return ERR_ForceRules.FiniteVector(low) && ERR_ForceRules.FiniteVector(high)
|
||||||
|
&& low[0] >= -1.05 && high[0] <= 1.05 && low[2] >= -2.4 && high[2] <= 2.4
|
||||||
|
&& low[1] >= -0.3 && high[1] <= 1.9
|
||||||
|
&& high[0] > low[0] && high[1] > low[1] && high[2] > low[2];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
class ERR_GarageSite
|
||||||
|
{
|
||||||
|
IEntity Garage;
|
||||||
|
bool Consumed;
|
||||||
|
bool Selected;
|
||||||
|
float NextTry;
|
||||||
|
}
|
||||||
|
class ERR_ParkedVehicle
|
||||||
|
{
|
||||||
|
Vehicle Entity;
|
||||||
|
ref ERR_GarageSite Site;
|
||||||
|
vector Origin;
|
||||||
|
float HiddenSince = -1;
|
||||||
|
}
|
||||||
|
class ERR_GarageVehicles
|
||||||
|
{
|
||||||
|
protected ERR_GameMode m_Mode;
|
||||||
|
protected ref array<ref ERR_GarageSite> m_Sites = {};
|
||||||
|
protected ref array<ref ERR_ParkedVehicle> m_Parked = {};
|
||||||
|
protected ref map<string, bool> m_KnownCells = new map<string, bool>();
|
||||||
|
protected ref ERR_MotorbikeCatalog m_Bikes = new ERR_MotorbikeCatalog();
|
||||||
|
protected ref array<ResourceName> m_LoadedNames = {};
|
||||||
|
protected ref array<ref Resource> m_LoadedResources = {};
|
||||||
|
protected ref ERR_GarageSite m_Pending;
|
||||||
|
protected vector m_Position, m_Angles;
|
||||||
|
protected ResourceName m_Prefab;
|
||||||
|
protected bool m_PendingBike;
|
||||||
|
protected int m_Stage, m_Work, m_SiteCursor, m_MaintainCursor, m_PlayerCursor;
|
||||||
|
protected int m_Requested, m_Spawned, m_Claimed, m_BikeCandidate;
|
||||||
|
protected int m_GarageChance, m_SpawnRadius, m_SpawnInterval, m_CleanupRadius;
|
||||||
|
protected float m_NextSpawn, m_NextStep;
|
||||||
|
protected bool m_Stopped, m_Started;
|
||||||
|
int Spawned() { return m_Spawned; }
|
||||||
|
void ERR_GarageVehicles(ERR_GameMode mode) { m_Mode = mode; }
|
||||||
|
protected float Now() { return GetGame().GetWorld().GetWorldTime(); }
|
||||||
|
protected bool Running() { return m_Mode && m_Mode == ERR_GameMode.Get() && m_Mode.Active(); }
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
if (!Replication.IsServer() || m_Stopped || m_Started) return;
|
||||||
|
m_Started = true; m_Requested = m_Mode.Settings().Get("garageVehicleCount");
|
||||||
|
m_GarageChance = m_Mode.Settings().Get("garageChancePercent");
|
||||||
|
m_SpawnRadius = m_Mode.Settings().Get("garageRadiusMetres");
|
||||||
|
m_SpawnInterval = m_Mode.Settings().Get("garageSpawnIntervalSeconds") * 1000;
|
||||||
|
m_CleanupRadius = Math.Max(1400, m_SpawnRadius + 400);
|
||||||
|
if (m_Requested <= 0 || m_GarageChance <= 0) { Stop(); return; }
|
||||||
|
m_Bikes.Find();
|
||||||
|
GetGame().GetCallqueue().CallLater(Step, 250, true);
|
||||||
|
}
|
||||||
|
protected bool Observers(array<vector> positions, array<IEntity> actors)
|
||||||
|
{
|
||||||
|
positions.Clear(); actors.Clear();
|
||||||
|
array<int> ids = {}; GetGame().GetPlayerManager().GetPlayers(ids);
|
||||||
|
SCR_EditorManagerCore editors = SCR_EditorManagerCore.Cast(SCR_EditorManagerCore.GetInstance(SCR_EditorManagerCore));
|
||||||
|
foreach (int id : ids)
|
||||||
|
{
|
||||||
|
SCR_PlayerController controller = SCR_PlayerController.Cast(GetGame().GetPlayerManager().GetPlayerController(id));
|
||||||
|
if (!controller) return false;
|
||||||
|
SCR_EditorManagerEntity editor; if (editors) editor = editors.GetEditorManager(id);
|
||||||
|
if (editor && editor.IsOpened()) return false;
|
||||||
|
IEntity body = controller.GetControlledEntity();
|
||||||
|
if (body)
|
||||||
|
{
|
||||||
|
if (!ERR_ForceRules.FiniteVector(body.GetOrigin())) return false;
|
||||||
|
positions.Insert(body.GetOrigin()); actors.Insert(body);
|
||||||
|
}
|
||||||
|
if (controller.ERR_ObserverState() != ERR_ObserverReason.NONE)
|
||||||
|
{
|
||||||
|
IEntity watched = controller.ERR_ObservedEntity();
|
||||||
|
if (!watched || !ERR_ForceRules.FiniteVector(watched.GetOrigin())) return false;
|
||||||
|
positions.Insert(watched.GetOrigin()); actors.Insert(watched);
|
||||||
|
}
|
||||||
|
else if (!body) return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
protected bool Nearby(vector position, array<vector> observers, float radius)
|
||||||
|
{
|
||||||
|
foreach (vector observer : observers) if (vector.DistanceXZ(position, observer) <= radius) return true;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
// Sample both ends/sides and roof, not just the hidden centre of a garage.
|
||||||
|
// Open doors and windows can reveal a bay; no distance alone proves it hidden.
|
||||||
|
protected bool Hidden(vector position, vector angles, array<IEntity> actors, IEntity ignored = null)
|
||||||
|
{
|
||||||
|
vector matrix[4]; Math3D.AnglesToMatrix(angles, matrix);
|
||||||
|
foreach (IEntity actor : actors)
|
||||||
|
{
|
||||||
|
if (!actor) return false;
|
||||||
|
array<IEntity> excluded = {actor};
|
||||||
|
IEntity ride = CompartmentAccessComponent.GetVehicleIn(actor); if (ride) excluded.Insert(ride);
|
||||||
|
for (int height = 0; height < 2; height++)
|
||||||
|
for (int x = -1; x <= 1; x++)
|
||||||
|
for (int z = -1; z <= 1; z++)
|
||||||
|
{
|
||||||
|
TraceParam ray = new TraceParam();
|
||||||
|
ray.Start = actor.GetOrigin() + "0 1.7 0";
|
||||||
|
ray.End = position + matrix[0] * (x * 1.1) + matrix[2] * (z * 2.5) + Vector(0, 0.5 + height * 1.3, 0);
|
||||||
|
ray.Flags = TraceFlags.WORLD | TraceFlags.ENTS; ray.LayerMask = TRACE_LAYER_CAMERA;
|
||||||
|
ray.ExcludeArray = excluded;
|
||||||
|
float fraction = GetGame().GetWorld().TraceMove(ray, null);
|
||||||
|
if (!ERR_ForceRules.Finite(fraction) || fraction >= 0.995 || (ignored && ERR_ConvoyRules.PartOf(ray.TraceEnt, ignored))) return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
protected bool Filter(IEntity entity) { return entity && SCR_DestructibleBuildingEntity.Cast(entity); }
|
||||||
|
protected bool Remember(IEntity entity)
|
||||||
|
{
|
||||||
|
if (m_Sites.Count() >= 2048) return false;
|
||||||
|
if (!entity.GetPrefabData() || !ERR_GarageVehicleRules.Garage(entity.GetPrefabData().GetPrefabName())) return true;
|
||||||
|
foreach (ERR_GarageSite site : m_Sites) if (site.Garage == entity) return true;
|
||||||
|
ERR_GarageSite added = new ERR_GarageSite(); added.Garage = entity;
|
||||||
|
added.Selected = Math.RandomInt(0, 100) < m_GarageChance;
|
||||||
|
m_Sites.Insert(added);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
protected string CellKey(vector point) { return Math.Floor(point[0] / 500).ToString() + ":" + Math.Floor(point[2] / 500).ToString(); }
|
||||||
|
protected void Discover(array<vector> observers, float now)
|
||||||
|
{
|
||||||
|
if (observers.IsEmpty() || m_Sites.Count() >= 2048 || m_KnownCells.Count() >= 16384) return;
|
||||||
|
// Round-robin observers, nearest unvisited cell first. Each update queries
|
||||||
|
// at most one 500m cell; teammates share already scanned cells.
|
||||||
|
if (m_PlayerCursor >= observers.Count()) m_PlayerCursor = 0;
|
||||||
|
vector observer = observers[m_PlayerCursor++];
|
||||||
|
int cx = Math.Floor(observer[0] / 500), cz = Math.Floor(observer[2] / 500);
|
||||||
|
for (int ring = 0; ring <= Math.Ceil(m_SpawnRadius / 500.0); ring++)
|
||||||
|
for (int x = -ring; x <= ring; x++)
|
||||||
|
for (int z = -ring; z <= ring; z++)
|
||||||
|
{
|
||||||
|
if (Math.Max(Math.AbsInt(x), Math.AbsInt(z)) != ring) continue;
|
||||||
|
vector low = Vector((cx + x) * 500, 0, (cz + z) * 500);
|
||||||
|
string key = CellKey(low);
|
||||||
|
if (m_KnownCells.Contains(key) || !Nearby(low + "250 0 250", observers, m_CleanupRadius)) continue;
|
||||||
|
m_KnownCells.Set(key, true);
|
||||||
|
vector boundsLow, boundsHigh; GetGame().GetWorldEntity().GetWorldBounds(boundsLow, boundsHigh);
|
||||||
|
low[1] = boundsLow[1] - 100; vector high = low + "500 0 500"; high[1] = boundsHigh[1] + 100;
|
||||||
|
GetGame().GetWorld().QueryEntitiesByAABB(low, high, Remember, Filter, EQueryEntitiesFlags.ALL);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
protected bool InUse(ERR_ParkedVehicle parked)
|
||||||
|
{
|
||||||
|
if (!parked.Entity) return false;
|
||||||
|
// Movement also protects a towed, pushed or otherwise used car, even if a
|
||||||
|
// compartment callback was missed. Never reclaim somebody's transport.
|
||||||
|
if (vector.Distance(parked.Entity.GetOrigin(), parked.Origin) > 3) return true;
|
||||||
|
array<BaseCompartmentSlot> seats = {};
|
||||||
|
if (!ERR_ConvoyRules.CollectSeats(parked.Entity, seats)) return true;
|
||||||
|
foreach (BaseCompartmentSlot seat : seats) if (seat.GetOccupant()) return true;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
protected void Claim(int index)
|
||||||
|
{
|
||||||
|
ERR_ParkedVehicle parked = m_Parked[index];
|
||||||
|
parked.Site.Consumed = true;
|
||||||
|
if (parked.Entity) m_Mode.Own(parked.Entity);
|
||||||
|
m_Claimed++; m_Parked.Remove(index);
|
||||||
|
}
|
||||||
|
void PlayerEntered(IEntity actor, IEntity entered)
|
||||||
|
{
|
||||||
|
if (m_Stopped || !Replication.IsServer() || !ERR_Actors.Player(actor)) return;
|
||||||
|
for (int i = m_Parked.Count() - 1; i >= 0; i--)
|
||||||
|
if (m_Parked[i].Entity && ERR_ConvoyRules.PartOf(entered, m_Parked[i].Entity)) Claim(i);
|
||||||
|
}
|
||||||
|
protected void Maintain(array<vector> observers, array<IEntity> actors, float now, bool known)
|
||||||
|
{
|
||||||
|
if (m_Parked.IsEmpty()) return;
|
||||||
|
if (m_MaintainCursor >= m_Parked.Count()) m_MaintainCursor = 0;
|
||||||
|
int index = m_MaintainCursor++; ERR_ParkedVehicle parked = m_Parked[index];
|
||||||
|
if (!parked.Entity) { parked.Site.Consumed = true; m_Parked.Remove(index); return; }
|
||||||
|
if (InUse(parked)) { Claim(index); return; }
|
||||||
|
if (!known || !ERR_CivilianTrafficRules.Far(parked.Entity.GetOrigin(), observers, m_CleanupRadius)
|
||||||
|
|| !Hidden(parked.Entity.GetOrigin(), parked.Entity.GetYawPitchRoll(), actors, parked.Entity)) { parked.HiddenSince = -1; return; }
|
||||||
|
if (parked.HiddenSince < 0) parked.HiddenSince = now;
|
||||||
|
if (!ERR_CivilianTrafficRules.CleanupDue(now, parked.HiddenSince)) return;
|
||||||
|
// Recheck occupancy immediately before deletion. Claimed cars are no longer
|
||||||
|
// in this collection and cannot pass through the retirement path.
|
||||||
|
if (InUse(parked)) { Claim(index); return; }
|
||||||
|
SCR_GarbageSystem garbage = SCR_GarbageSystem.GetByEntityWorld(parked.Entity);
|
||||||
|
if (garbage) garbage.UpdateBlacklist(parked.Entity, false);
|
||||||
|
ERR_Actors.DeleteSpawned(parked.Entity); m_Parked.Remove(index);
|
||||||
|
}
|
||||||
|
protected bool Occupied(ERR_GarageSite site)
|
||||||
|
{
|
||||||
|
foreach (ERR_ParkedVehicle parked : m_Parked) if (parked.Site == site) return true;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
protected void Plan(array<vector> observers, array<IEntity> actors, float now)
|
||||||
|
{
|
||||||
|
if (observers.IsEmpty() || now < m_NextSpawn || m_Parked.Count() >= m_Requested || m_Parked.Count() + m_Claimed >= 128 || m_Sites.IsEmpty()) return;
|
||||||
|
// Bounded planning work, even after a long tour of a large terrain.
|
||||||
|
for (int candidate = 0; candidate < 8; candidate++)
|
||||||
|
{
|
||||||
|
if (m_SiteCursor >= m_Sites.Count()) m_SiteCursor = 0;
|
||||||
|
ERR_GarageSite site = m_Sites[m_SiteCursor++];
|
||||||
|
if (!site.Selected || site.Consumed || !site.Garage || now < site.NextTry || Occupied(site)) continue;
|
||||||
|
vector position = site.Garage.CoordToParent("0 0 -0.5");
|
||||||
|
if (!Nearby(position, observers, m_SpawnRadius)) continue;
|
||||||
|
site.NextTry = now + 15000;
|
||||||
|
if (!ERR_CivilianTrafficRules.Far(position, observers, 35) || !ERR_Actors.Alive(site.Garage)) continue;
|
||||||
|
vector transform[4]; site.Garage.GetWorldTransform(transform);
|
||||||
|
TraceParam floor = new TraceParam(); floor.Start = position + "0 1 0"; floor.End = position - "0 1 0";
|
||||||
|
floor.Flags = TraceFlags.WORLD | TraceFlags.ENTS;
|
||||||
|
float fraction = GetGame().GetWorld().TraceMove(floor, null);
|
||||||
|
if (!ERR_ForceRules.Finite(fraction) || fraction >= 1 || floor.TraceNorm[1] < 0.98) return;
|
||||||
|
position = vector.Lerp(floor.Start, floor.End, fraction) + "0 0.08 0";
|
||||||
|
vector angles = site.Garage.GetYawPitchRoll();
|
||||||
|
if (ChimeraWorldUtils.TryGetWaterSurfaceSimple(GetGame().GetWorld(), position) || !Clear(position, transform) || !Hidden(position, angles, actors)) return;
|
||||||
|
m_Pending = site; m_Position = position; m_Angles = angles;
|
||||||
|
m_Prefab = ERR_CivilianTraffic.CarPrefab(Math.RandomInt(0, 2));
|
||||||
|
m_PendingBike = m_Spawned % 4 == 3 && m_BikeCandidate < m_Bikes.Prefabs.Count();
|
||||||
|
if (m_PendingBike) m_Prefab = m_Bikes.Prefabs[m_BikeCandidate];
|
||||||
|
m_Stage = 1; return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
protected void Pending(array<vector> observers, array<IEntity> actors)
|
||||||
|
{
|
||||||
|
if (m_Stage == 1)
|
||||||
|
{
|
||||||
|
if (!m_LoadedNames.Contains(m_Prefab))
|
||||||
|
{
|
||||||
|
Resource resource = Resource.Load(m_Prefab);
|
||||||
|
if (!resource || !resource.IsValid()) { if (m_PendingBike) m_BikeCandidate++; m_Pending = null; return; }
|
||||||
|
m_LoadedNames.Insert(m_Prefab); m_LoadedResources.Insert(resource);
|
||||||
|
}
|
||||||
|
m_Stage = 2; return;
|
||||||
|
}
|
||||||
|
ERR_GarageSite site = m_Pending; m_Pending = null;
|
||||||
|
if (!site.Garage || site.Consumed || !ERR_Actors.Alive(site.Garage) || !Nearby(m_Position, observers, m_SpawnRadius)
|
||||||
|
|| !ERR_CivilianTrafficRules.Far(m_Position, observers, 35) || !Hidden(m_Position, m_Angles, actors)) return;
|
||||||
|
vector transform[4]; Math3D.AnglesToMatrix(m_Angles, transform);
|
||||||
|
if (!Clear(m_Position, transform)) return;
|
||||||
|
m_NextSpawn = Now() + m_SpawnInterval;
|
||||||
|
IEntity entity = ERR_Actors.Spawn(m_Prefab, m_Position, m_Angles);
|
||||||
|
Vehicle vehicle = Vehicle.Cast(entity);
|
||||||
|
vector low, high; if (vehicle) vehicle.GetBounds(low, high);
|
||||||
|
array<BaseCompartmentSlot> seats = {}; bool driver; bool armed;
|
||||||
|
if (vehicle && ERR_ConvoyRules.CollectSeats(vehicle, seats))
|
||||||
|
foreach (BaseCompartmentSlot seat : seats)
|
||||||
|
{
|
||||||
|
if (seat.GetType() == ECompartmentType.TURRET) armed = true;
|
||||||
|
if (seat.GetType() == ECompartmentType.PILOT && seat.IsCompartmentAccessible() && !seat.GetOccupant()) driver = true;
|
||||||
|
}
|
||||||
|
if (!driver || armed || !ERR_GarageVehicleRules.Envelope(low, high) || !Clear(m_Position, transform, entity))
|
||||||
|
{
|
||||||
|
ERR_Actors.DeleteSpawned(entity); if (m_PendingBike) m_BikeCandidate++; return;
|
||||||
|
}
|
||||||
|
Faction civilian = GetGame().GetFactionManager().GetFactionByKey("CIV");
|
||||||
|
if (civilian) ERR_Actors.SetFaction(vehicle, civilian);
|
||||||
|
SCR_FuelManagerComponent fuel = SCR_FuelManagerComponent.Cast(vehicle.FindComponent(SCR_FuelManagerComponent));
|
||||||
|
if (fuel) fuel.SetTotalFuelPercentage(Math.RandomFloat(0.3, 0.8));
|
||||||
|
ERR_ParkedVehicle parked = new ERR_ParkedVehicle(); parked.Entity = vehicle; parked.Site = site; parked.Origin = m_Position;
|
||||||
|
m_Parked.Insert(parked); m_Spawned++;
|
||||||
|
SCR_GarbageSystem garbage = SCR_GarbageSystem.GetByEntityWorld(vehicle);
|
||||||
|
if (garbage) garbage.UpdateBlacklist(vehicle, true);
|
||||||
|
}
|
||||||
|
protected void Step()
|
||||||
|
{
|
||||||
|
if (m_Stopped || !Replication.IsServer() || !Running()) return;
|
||||||
|
float now = Now();
|
||||||
|
if (now < m_NextStep) return;
|
||||||
|
m_NextStep = now + 250; // Do not catch up missed work in one slow frame.
|
||||||
|
array<vector> observers = {}; array<IEntity> actors = {};
|
||||||
|
bool known = Observers(observers, actors);
|
||||||
|
if (!known)
|
||||||
|
{
|
||||||
|
m_Pending = null;
|
||||||
|
// Unknown cameras invalidate every retirement grace period immediately.
|
||||||
|
foreach (ERR_ParkedVehicle parked : m_Parked) parked.HiddenSince = -1;
|
||||||
|
Maintain(observers, actors, now, false); return;
|
||||||
|
}
|
||||||
|
if (m_Pending) { Pending(observers, actors); return; }
|
||||||
|
m_Work = (m_Work + 1) % 3;
|
||||||
|
if (m_Work == 0) Maintain(observers, actors, now, true);
|
||||||
|
else if (m_Work == 1) Discover(observers, now);
|
||||||
|
else Plan(observers, actors, now);
|
||||||
|
}
|
||||||
|
// Filled oriented body volume includes furniture, doors, other vehicles and
|
||||||
|
// players. The garage itself is deliberately NOT excluded from collision.
|
||||||
|
protected bool Clear(vector position, vector transform[4], IEntity ignored = null)
|
||||||
|
{
|
||||||
|
TraceOBB body = new TraceOBB();
|
||||||
|
body.Start = position; body.End = position + "0 0.01 0";
|
||||||
|
body.Mins = "-1.1 0.12 -2.5"; body.Maxs = "1.1 2 2.5";
|
||||||
|
for (int i = 0; i < 3; i++) body.Mat[i] = transform[i];
|
||||||
|
body.Flags = TraceFlags.WORLD | TraceFlags.ENTS | TraceFlags.OCEAN;
|
||||||
|
body.Exclude = ignored;
|
||||||
|
float fraction = GetGame().GetWorld().TraceMove(body, null);
|
||||||
|
return ERR_ForceRules.Finite(fraction) && fraction >= 1;
|
||||||
|
}
|
||||||
|
void Stop()
|
||||||
|
{
|
||||||
|
m_Stopped = true;
|
||||||
|
if (GetGame()) GetGame().GetCallqueue().Remove(Step);
|
||||||
|
m_Pending = null; m_Sites.Clear();
|
||||||
|
// No visible deletion at round end. World teardown owns remaining vehicles.
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -915,6 +915,7 @@ modded class SCR_CompartmentAccessComponent
|
|||||||
if (mode) hq = ERR_HQ.Cast(mode.Command());
|
if (mode) hq = ERR_HQ.Cast(mode.Command());
|
||||||
if (hq && hq.Hunters()) hq.Hunters().PlayerEntered(GetOwner(), targetEntity);
|
if (hq && hq.Hunters()) hq.Hunters().PlayerEntered(GetOwner(), targetEntity);
|
||||||
if (mode && mode.CivilianTraffic()) mode.CivilianTraffic().PlayerEntered(GetOwner(), targetEntity);
|
if (mode && mode.CivilianTraffic()) mode.CivilianTraffic().PlayerEntered(GetOwner(), targetEntity);
|
||||||
|
if (mode && mode.GarageVehicles()) mode.GarageVehicles().PlayerEntered(GetOwner(), targetEntity);
|
||||||
}
|
}
|
||||||
super.OnCompartmentEntered(targetEntity, manager, mgrID, slotID, move);
|
super.OnCompartmentEntered(targetEntity, manager, mgrID, slotID, move);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ class ERR_MortarSystem
|
|||||||
protected bool CreateBattery(vector authoredPosition, int id)
|
protected bool CreateBattery(vector authoredPosition, int id)
|
||||||
{
|
{
|
||||||
vector position = ERR_Actors.Ground(authoredPosition);
|
vector position = ERR_Actors.Ground(authoredPosition);
|
||||||
if (position[1] < 1) { PrintFormat("Reintroduced [mortars]: below land at %1", position); return false; }
|
if (!ERR_Actors.DryGround(position)) { PrintFormat("Reintroduced [mortars]: submerged or invalid ground at %1", position); return false; }
|
||||||
IEntity gun = ERR_Actors.Spawn(ERR_MortarBattery.GUN, position);
|
IEntity gun = ERR_Actors.Spawn(ERR_MortarBattery.GUN, position);
|
||||||
SCR_AIGroup group = SCR_AIGroup.Cast(ERR_Actors.Spawn(MortarGroup(), ERR_Actors.Ground(position + "0 0 4")));
|
SCR_AIGroup group = SCR_AIGroup.Cast(ERR_Actors.Spawn(MortarGroup(), ERR_Actors.Ground(position + "0 0 4")));
|
||||||
if (!gun || !group)
|
if (!gun || !group)
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ class ERR_RecommendedAddons
|
|||||||
static void Snapshot(ERR_GameMode mode, array<string> values)
|
static void Snapshot(ERR_GameMode mode, array<string> values)
|
||||||
{
|
{
|
||||||
array<string> loaded = {}; GameProject.GetLoadedAddons(loaded);
|
array<string> loaded = {}; GameProject.GetLoadedAddons(loaded);
|
||||||
Entry(values, "bikes", loaded, {"6503091A7B264FC3", "61B84088181A8FA4", "629B2BA37EFFD577"}, {"WCS Motorbikes", "Motorbike", "WCS Armaments"}, mode.Settings().Get("motorbikeCount") > 0);
|
Entry(values, "bikes", loaded, {"6503091A7B264FC3", "61B84088181A8FA4", "629B2BA37EFFD577"}, {"WCS Motorbikes", "Motorbike", "WCS Armaments"}, mode.Settings().Get("motorbikeCount") > 0 || (mode.Settings().Get("garageVehicleCount") > 0 && mode.Settings().Get("garageChancePercent") > 0));
|
||||||
Entry(values, "plane", loaded, {"69BAEE0D439966FE", "69A8A34027DA65C5"}, {"Cessna 172", "Propeller Flight Core"}, mode.Settings().Get("planeReconEnabled") == 1);
|
Entry(values, "plane", loaded, {"69BAEE0D439966FE", "69A8A34027DA65C5"}, {"Cessna 172", "Propeller Flight Core"}, mode.Settings().Get("planeReconEnabled") == 1);
|
||||||
Entry(values, "weapons", loaded, {"BFC890A6F1603EC0"}, {"Phaseline Marksman Rifles"}, mode.Settings().Get("automaticEquipmentChancePercent") != 0);
|
Entry(values, "weapons", loaded, {"BFC890A6F1603EC0"}, {"Phaseline Marksman Rifles"}, mode.Settings().Get("automaticEquipmentChancePercent") != 0);
|
||||||
ERR_HQ hq = ERR_HQ.Cast(mode.Command());
|
ERR_HQ hq = ERR_HQ.Cast(mode.Command());
|
||||||
|
|||||||
@@ -18,6 +18,47 @@ class ERR_RescueFlightComponentClass : ERR_ReconFlightComponentClass {}
|
|||||||
class ERR_RescueFlightComponent : ERR_ReconFlightComponent
|
class ERR_RescueFlightComponent : ERR_ReconFlightComponent
|
||||||
{
|
{
|
||||||
protected bool m_Escort, m_Departing, m_LandingConfirmed;
|
protected bool m_Escort, m_Departing, m_LandingConfirmed;
|
||||||
|
[RplProp(onRplName: "ApplyResultsHold")] protected bool m_ResultsHeld;
|
||||||
|
// Contact plus real clearance excludes boarding, engine spin-up, and the
|
||||||
|
// controller's ten-second grounded takeoff hold. Every transport must lift.
|
||||||
|
bool AirborneAfterPickup()
|
||||||
|
{
|
||||||
|
if (!m_Departing || m_Lost || !m_Aircraft) return false;
|
||||||
|
VehicleHelicopterSimulation sim = VehicleHelicopterSimulation.Cast(m_Aircraft.FindComponent(VehicleHelicopterSimulation));
|
||||||
|
if (!sim || sim.HasAnyGroundContact()) return false;
|
||||||
|
float ground = SCR_TerrainHelper.GetTerrainY(m_Aircraft.GetOrigin(), GetGame().GetWorld(), noUnderwater: true);
|
||||||
|
return m_Aircraft.GetOrigin()[1] - ground >= 3;
|
||||||
|
}
|
||||||
|
void HoldForResults()
|
||||||
|
{
|
||||||
|
if (!Replication.IsServer() || m_Lost || !ERR_Actors.Alive(GetOwner()) || m_ResultsHeld) return;
|
||||||
|
m_ResultsHeld = true;
|
||||||
|
ApplyResultsHold();
|
||||||
|
Replication.BumpMe();
|
||||||
|
}
|
||||||
|
protected void ApplyResultsHold()
|
||||||
|
{
|
||||||
|
if (!m_ResultsHeld || !GetOwner()) return;
|
||||||
|
Physics physics = GetOwner().GetPhysics();
|
||||||
|
if (physics)
|
||||||
|
{
|
||||||
|
physics.SetVelocity(vector.Zero);
|
||||||
|
physics.SetAngularVelocity(vector.Zero);
|
||||||
|
physics.ChangeSimulationState(SimulationState.COLLISION);
|
||||||
|
}
|
||||||
|
if (Replication.IsServer())
|
||||||
|
{
|
||||||
|
DamageManagerComponent damage = DamageManagerComponent.Cast(GetOwner().FindComponent(DamageManagerComponent));
|
||||||
|
if (damage) damage.EnableDamageHandling(false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
override void Release(bool captured)
|
||||||
|
{
|
||||||
|
// Terminal presentation keeps the engines/rotors; physics is already held.
|
||||||
|
// Ordinary lost/captured/aborted flights retain their original cleanup.
|
||||||
|
super.Release(captured || m_ResultsHeld);
|
||||||
|
}
|
||||||
|
|
||||||
protected float m_BoardingReadySince = -1;
|
protected float m_BoardingReadySince = -1;
|
||||||
protected vector m_Pickup;
|
protected vector m_Pickup;
|
||||||
protected float m_RescueDeadline, m_NextThreat;
|
protected float m_RescueDeadline, m_NextThreat;
|
||||||
@@ -168,6 +209,7 @@ class ERR_RescueFlightComponent : ERR_ReconFlightComponent
|
|||||||
}
|
}
|
||||||
override void EOnSimulate(IEntity owner, float timeSlice)
|
override void EOnSimulate(IEntity owner, float timeSlice)
|
||||||
{
|
{
|
||||||
|
if (m_ResultsHeld) { ApplyResultsHold(); return; }
|
||||||
// Initial airborne crew allocation has a fixed 45-second deadline.
|
// Initial airborne crew allocation has a fixed 45-second deadline.
|
||||||
if (Replication.IsServer() && m_Initialized && m_Phase == ERR_ReconPhase.CREW)
|
if (Replication.IsServer() && m_Initialized && m_Phase == ERR_ReconPhase.CREW)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,7 +4,22 @@ class ERR_RoadblockRules
|
|||||||
{
|
{
|
||||||
// Admission never waits longer for a high count. Remaining posts are built
|
// Admission never waits longer for a high count. Remaining posts are built
|
||||||
// by the same safe placement path in background, including after prison unlock.
|
// by the same safe placement path in background, including after prison unlock.
|
||||||
static int PropCount() { return 18; }
|
static int PropCount(bool large = false)
|
||||||
|
{
|
||||||
|
if (large) return 14;
|
||||||
|
return 8;
|
||||||
|
}
|
||||||
|
static int GuardCount(bool large)
|
||||||
|
{
|
||||||
|
if (large) return 8;
|
||||||
|
return 4;
|
||||||
|
}
|
||||||
|
static bool LargeRoad(float width, float threshold) { return width >= threshold; }
|
||||||
|
static bool Needed(bool large, int smallPlaced, int smallTarget, int largePlaced, int largeTarget)
|
||||||
|
{
|
||||||
|
if (large) return largePlaced < largeTarget;
|
||||||
|
return smallPlaced < smallTarget;
|
||||||
|
}
|
||||||
static int SearchMilliseconds() { return 12000; }
|
static int SearchMilliseconds() { return 12000; }
|
||||||
static int SearchAttempts() { return 300; }
|
static int SearchAttempts() { return 300; }
|
||||||
static bool Road(float width, float length, float heightDifference)
|
static bool Road(float width, float length, float heightDifference)
|
||||||
@@ -51,6 +66,8 @@ class ERR_Roadblocks
|
|||||||
protected int m_Target, m_Attempts, m_Started, m_CandidateStarted, m_Candidates, m_Planned;
|
protected int m_Target, m_Attempts, m_Started, m_CandidateStarted, m_Candidates, m_Planned;
|
||||||
protected vector m_Low, m_High, m_Centre, m_Forward, m_Right;
|
protected vector m_Low, m_High, m_Centre, m_Forward, m_Right;
|
||||||
protected float m_Shoulder;
|
protected float m_Shoulder;
|
||||||
|
protected bool m_Large;
|
||||||
|
protected int m_SmallTarget, m_LargeTarget, m_SmallPlaced, m_LargePlaced, m_MainRoadWidth;
|
||||||
protected SCR_AIGroup m_BuildGroup;
|
protected SCR_AIGroup m_BuildGroup;
|
||||||
protected AIWaypoint m_BuildHold;
|
protected AIWaypoint m_BuildHold;
|
||||||
protected ref array<IEntity> m_BuildSpawned = {};
|
protected ref array<IEntity> m_BuildSpawned = {};
|
||||||
@@ -61,10 +78,7 @@ class ERR_Roadblocks
|
|||||||
protected ref array<ref Resource> m_Loaded = {};
|
protected ref array<ref Resource> m_Loaded = {};
|
||||||
static const ResourceName COVER = "{21D83950DF36F250}Prefabs/Props/Military/Sandbags/Sandbag_01_long_burlap.et";
|
static const ResourceName COVER = "{21D83950DF36F250}Prefabs/Props/Military/Sandbags/Sandbag_01_long_burlap.et";
|
||||||
static const ResourceName BARRIER = "{64C9C1D1C2C1B38D}Prefabs/Props/Infrastructure/Roadblocks/RoadBlock_01.et";
|
static const ResourceName BARRIER = "{64C9C1D1C2C1B38D}Prefabs/Props/Infrastructure/Roadblocks/RoadBlock_01.et";
|
||||||
static const ResourceName OBSTACLE = "{A46D45922F8CAD6C}Prefabs/Props/Military/Fortification/CzechHedgehog_01_painted.et";
|
|
||||||
static const ResourceName SIGN = "{C1977A326F2AA011}Prefabs/Structures/Signs/Military/SignCheckpoint_01_stop.et";
|
static const ResourceName SIGN = "{C1977A326F2AA011}Prefabs/Structures/Signs/Military/SignCheckpoint_01_stop.et";
|
||||||
static const ResourceName SHELTER = "{01AE5FD77A9A4C21}Prefabs/Structures/Military/Camps/TentSmallUS_01/TentSmallUS_01.et";
|
|
||||||
static const ResourceName TABLE = "{53506DCB398C7EBE}Prefabs/Props/Furniture/Table_01.et";
|
|
||||||
void ERR_Roadblocks(ERR_GameMode mode) { m_Mode = mode; m_Mining = new ERR_RoadblockMining(mode); }
|
void ERR_Roadblocks(ERR_GameMode mode) { m_Mode = mode; m_Mining = new ERR_RoadblockMining(mode); }
|
||||||
void MineTick(array<ref ERR_HQUnit> units, array<IEntity> attempted, float now) { if (!m_Stopped) m_Mining.Tick(units, attempted, now); }
|
void MineTick(array<ref ERR_HQUnit> units, array<IEntity> attempted, float now) { if (!m_Stopped) m_Mining.Tick(units, attempted, now); }
|
||||||
bool Contains(SCR_AIGroup group) { return group && m_Groups.Contains(group); }
|
bool Contains(SCR_AIGroup group) { return group && m_Groups.Contains(group); }
|
||||||
@@ -75,7 +89,7 @@ class ERR_Roadblocks
|
|||||||
if (m_Ready && m_Positions.Count() < m_Target) progress = "placement stopped; see server log";
|
if (m_Ready && m_Positions.Count() < m_Target) progress = "placement stopped; see server log";
|
||||||
if (m_Background) progress = "background placement pending";
|
if (m_Background) progress = "background placement pending";
|
||||||
else if (!m_Ready) progress = "initial placement in progress";
|
else if (!m_Ready) progress = "initial placement in progress";
|
||||||
return string.Format("Roadblocks: %1/%2 placed this round; next-round setting %3. Four guards per post, no replacements. %4.", m_Positions.Count(), m_Target, m_Mode.Settings().Get("roadblockCount"), progress);
|
return string.Format("Checkpoints: small %1/%2 (4 guards), large %3/%4 (8 guards). Main-road cutoff %5 m. No replacements. %6.", m_SmallPlaced, m_SmallTarget, m_LargePlaced, m_LargeTarget, m_MainRoadWidth, progress);
|
||||||
}
|
}
|
||||||
protected ERR_PrepareResult Finish(string reason)
|
protected ERR_PrepareResult Finish(string reason)
|
||||||
{
|
{
|
||||||
@@ -93,7 +107,7 @@ class ERR_Roadblocks
|
|||||||
if (profile && profile.IsValid()) source = profile.GetResource().ToEntitySource();
|
if (profile && profile.IsValid()) source = profile.GetResource().ToEntitySource();
|
||||||
if (!source || !source.Get("m_aUnitPrefabSlots", m_Roster) || m_Roster.IsEmpty()) return false;
|
if (!source || !source.Get("m_aUnitPrefabSlots", m_Roster) || m_Roster.IsEmpty()) return false;
|
||||||
// Preload before physical creation. A failed prefab never leaves half a post.
|
// Preload before physical creation. A failed prefab never leaves half a post.
|
||||||
array<ResourceName> resources = {COVER, BARRIER, OBSTACLE, SIGN, SHELTER, TABLE, "{EC9F1AA42D0B7863}Prefabs/ERR/PrisonPatrol.et", ERR_Resources.DefendWaypoint()};
|
array<ResourceName> resources = {COVER, BARRIER, SIGN, "{EC9F1AA42D0B7863}Prefabs/ERR/PrisonPatrol.et", ERR_Resources.DefendWaypoint()};
|
||||||
foreach (ResourceName actor : m_Roster) resources.Insert(actor);
|
foreach (ResourceName actor : m_Roster) resources.Insert(actor);
|
||||||
foreach (ResourceName prefab : resources)
|
foreach (ResourceName prefab : resources)
|
||||||
{
|
{
|
||||||
@@ -122,11 +136,15 @@ class ERR_Roadblocks
|
|||||||
if (i > 0) length += vector.DistanceXZ(points[i - 1], points[i]);
|
if (i > 0) length += vector.DistanceXZ(points[i - 1], points[i]);
|
||||||
}
|
}
|
||||||
if (!ERR_RoadblockRules.Road(road.GetWidth(), length, 0)) return false;
|
if (!ERR_RoadblockRules.Road(road.GetWidth(), length, 0)) return false;
|
||||||
float distance = Math.RandomFloat(20, length - 20);
|
m_Large = ERR_RoadblockRules.LargeRoad(road.GetWidth(), m_MainRoadWidth);
|
||||||
|
if (!ERR_RoadblockRules.Needed(m_Large, m_SmallPlaced, m_SmallTarget, m_LargePlaced, m_LargeTarget)) return false;
|
||||||
|
float margin = 20;
|
||||||
|
if (m_Large) { if (length < 60) return false; margin = 23; }
|
||||||
|
float distance = Math.RandomFloat(margin, length - margin);
|
||||||
vector centre, before, after, beforeDirection, afterDirection;
|
vector centre, before, after, beforeDirection, afterDirection;
|
||||||
if (!ERR_ConvoyRoadPlan.Sample(points, distance, centre, m_Forward)
|
if (!ERR_ConvoyRoadPlan.Sample(points, distance, centre, m_Forward)
|
||||||
|| !ERR_ConvoyRoadPlan.Sample(points, distance - 15, before, beforeDirection)
|
|| !ERR_ConvoyRoadPlan.Sample(points, distance - margin, before, beforeDirection)
|
||||||
|| !ERR_ConvoyRoadPlan.Sample(points, distance + 15, after, afterDirection)) return false;
|
|| !ERR_ConvoyRoadPlan.Sample(points, distance + margin, after, afterDirection)) return false;
|
||||||
if (vector.Dot(m_Forward, beforeDirection) < 0.95 || vector.Dot(m_Forward, afterDirection) < 0.95) return false;
|
if (vector.Dot(m_Forward, beforeDirection) < 0.95 || vector.Dot(m_Forward, afterDirection) < 0.95) return false;
|
||||||
m_Centre = ERR_Actors.Ground(centre);
|
m_Centre = ERR_Actors.Ground(centre);
|
||||||
if (!ERR_RoadblockRules.Road(road.GetWidth(), length, m_Centre[1] - centre[1])) return false;
|
if (!ERR_RoadblockRules.Road(road.GetWidth(), length, m_Centre[1] - centre[1])) return false;
|
||||||
@@ -142,7 +160,7 @@ class ERR_Roadblocks
|
|||||||
m_Right = Vector(m_Forward[2], 0, -m_Forward[0]);
|
m_Right = Vector(m_Forward[2], 0, -m_Forward[0]);
|
||||||
// Protected guard positions sit on the shoulders; approach barriers narrow
|
// Protected guard positions sit on the shoulders; approach barriers narrow
|
||||||
// wider roads while preserving a straight vehicle passage on every width.
|
// wider roads while preserving a straight vehicle passage on every width.
|
||||||
m_Shoulder = Math.Max(road.GetWidth() * 0.5 + 1.5, 4);
|
m_Shoulder = Math.Max(road.GetWidth() * 0.5 + 0.5, 3.2);
|
||||||
m_Candidates++; m_CandidateStarted = System.GetTickCount();
|
m_Candidates++; m_CandidateStarted = System.GetTickCount();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -187,24 +205,30 @@ class ERR_Roadblocks
|
|||||||
protected void Layout(out array<ref ERR_RoadblockProp> covers)
|
protected void Layout(out array<ref ERR_RoadblockProp> covers)
|
||||||
{
|
{
|
||||||
covers.Clear();
|
covers.Clear();
|
||||||
|
if (m_Large)
|
||||||
|
{
|
||||||
|
// Four protected guard bays on each shoulder, with two barriers per approach.
|
||||||
|
// Extend along the road instead of closing the traffic lane.
|
||||||
|
for (int largeSide = -1; largeSide <= 1; largeSide += 2)
|
||||||
|
{
|
||||||
|
for (int bay = 0; bay < 4; bay++)
|
||||||
|
AddProp(covers, COVER, largeSide * m_Shoulder, bay * 6 - 9, m_Right, 1.9, 0.7, 1);
|
||||||
|
AddProp(covers, BARRIER, largeSide * 3.3, largeSide * 14, m_Forward, 1.2, 0.4, 1.3);
|
||||||
|
AddProp(covers, BARRIER, largeSide * 3.3, largeSide * 18, m_Forward, 1.2, 0.4, 1.3);
|
||||||
|
AddProp(covers, SIGN, largeSide * 3, largeSide * 21, m_Forward * (largeSide * 1.0), 0.45, 0.4, 0.8);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
// Footprints enclose the native model bounds, including small placement margins.
|
// Footprints enclose the native model bounds, including small placement margins.
|
||||||
for (int side = -1; side <= 1; side += 2)
|
for (int side = -1; side <= 1; side += 2)
|
||||||
{
|
{
|
||||||
// Two front walls, an approach wall and an outer return form
|
// A short sandbag screen protects each pair without a wide outer bay.
|
||||||
// a sheltered bay for each pair. The rear stays open for guard access.
|
|
||||||
AddProp(covers, COVER, side * m_Shoulder, -2, m_Right, 1.9, 0.7, 1);
|
AddProp(covers, COVER, side * m_Shoulder, -2, m_Right, 1.9, 0.7, 1);
|
||||||
AddProp(covers, COVER, side * m_Shoulder, 2, m_Right, 1.9, 0.7, 1);
|
AddProp(covers, COVER, side * m_Shoulder, 2, m_Right, 1.9, 0.7, 1);
|
||||||
AddProp(covers, COVER, side * (m_Shoulder + 2.8), side * 4.8, m_Forward, 1.9, 0.7, 1);
|
// One barrier and sign per approach preserve a >=4m centre passage.
|
||||||
AddProp(covers, COVER, side * (m_Shoulder + 5.6), side * 2, m_Right, 1.9, 0.7, 1);
|
AddProp(covers, BARRIER, side * 3.3, side * 6, m_Forward, 1.2, 0.4, 1.3);
|
||||||
// Paired stop-line barriers funnel traffic into a >=4m centre passage.
|
AddProp(covers, SIGN, side * 3, side * 8.5, m_Forward * (side * 1.0), 0.45, 0.4, 0.8);
|
||||||
AddProp(covers, BARRIER, side * 3.3, side * 8, m_Forward, 1.2, 0.4, 1.3);
|
|
||||||
AddProp(covers, BARRIER, side * 5.9, side * 8, m_Forward, 1.2, 0.4, 1.3);
|
|
||||||
AddProp(covers, OBSTACLE, side * (m_Shoulder + 4.5), side * 8, m_Forward, 1, 1, 1.6);
|
|
||||||
AddProp(covers, SIGN, side * 3, side * 12, m_Forward * (side * 1.0), 0.45, 0.4, 0.8);
|
|
||||||
}
|
}
|
||||||
// A small inspection/rest area behind one bay, away from the vehicle lane.
|
|
||||||
AddProp(covers, TABLE, m_Shoulder + 3, -4.8, m_Forward, 0.9, 0.7, 1.1);
|
|
||||||
AddProp(covers, SHELTER, m_Shoulder + 3, -8.5, m_Forward, 1.2, 2.4, 1.4);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void AddProp(array<ref ERR_RoadblockProp> covers, ResourceName prefab, float across, float along, vector forward, float halfWidth, float halfDepth, float height)
|
protected void AddProp(array<ref ERR_RoadblockProp> covers, ResourceName prefab, float across, float along, vector forward, float halfWidth, float halfDepth, float height)
|
||||||
@@ -220,7 +244,7 @@ class ERR_Roadblocks
|
|||||||
// Start a transaction; physical pieces are created separately in BuildPost.
|
// Start a transaction; physical pieces are created separately in BuildPost.
|
||||||
protected bool SpawnPost(array<vector> positions, array<ref ERR_RoadblockProp> covers)
|
protected bool SpawnPost(array<vector> positions, array<ref ERR_RoadblockProp> covers)
|
||||||
{
|
{
|
||||||
if (!PlayersClear() || m_Mode.Forces().Count() >= 250 || m_BuildGroup || positions.Count() != 4 || covers.Count() != ERR_RoadblockRules.PropCount()) return false;
|
if (!PlayersClear() || m_Mode.Forces().Count() >= 250 || m_BuildGroup || positions.Count() != ERR_RoadblockRules.GuardCount(m_Large) || covers.Count() != ERR_RoadblockRules.PropCount(m_Large)) return false;
|
||||||
m_BuildGroup = SCR_AIGroup.Cast(ERR_Actors.Spawn("{EC9F1AA42D0B7863}Prefabs/ERR/PrisonPatrol.et", m_Centre));
|
m_BuildGroup = SCR_AIGroup.Cast(ERR_Actors.Spawn("{EC9F1AA42D0B7863}Prefabs/ERR/PrisonPatrol.et", m_Centre));
|
||||||
if (!m_BuildGroup) return false;
|
if (!m_BuildGroup) return false;
|
||||||
m_BuildGroup.SetFaction(m_Mode.EnemyFaction()); m_BuildGroup.SetSpawnImmediately(false); m_BuildGroup.SetDeleteWhenEmpty(false); m_BuildGroup.SetPermanentLOD(0);
|
m_BuildGroup.SetFaction(m_Mode.EnemyFaction()); m_BuildGroup.SetSpawnImmediately(false); m_BuildGroup.SetDeleteWhenEmpty(false); m_BuildGroup.SetPermanentLOD(0);
|
||||||
@@ -236,12 +260,12 @@ class ERR_Roadblocks
|
|||||||
m_BuildPositions.Clear(); m_BuildCovers.Clear();
|
m_BuildPositions.Clear(); m_BuildCovers.Clear();
|
||||||
}
|
}
|
||||||
// A free Game Master camera does not force-stream bare, non-editable props
|
// A free Game Master camera does not force-stream bare, non-editable props
|
||||||
// with the nearby editable guards. Keep this bounded bank (<=540 props) on
|
// with the nearby editable guards. Keep this bounded bank (<=660 props across both quotas) on
|
||||||
// clients, including late joiners, rather than tying it to the player's body.
|
// clients, including late joiners, rather than tying it to the player's body.
|
||||||
// Do not report a completed post if any physical prop lacks a network node.
|
// Do not report a completed post if any physical prop lacks a network node.
|
||||||
protected bool ShareProps()
|
protected bool ShareProps()
|
||||||
{
|
{
|
||||||
if (m_BuildCovers.Count() != ERR_RoadblockRules.PropCount() || m_BuildSpawned.Count() != m_BuildPositions.Count() + m_BuildCovers.Count() + 1) return false;
|
if (m_BuildCovers.Count() != ERR_RoadblockRules.PropCount(m_Large) || m_BuildSpawned.Count() != m_BuildPositions.Count() + m_BuildCovers.Count() + 1) return false;
|
||||||
for (int i = m_BuildPositions.Count(); i < m_BuildPositions.Count() + m_BuildCovers.Count(); i++)
|
for (int i = m_BuildPositions.Count(); i < m_BuildPositions.Count() + m_BuildCovers.Count(); i++)
|
||||||
{
|
{
|
||||||
IEntity entity = m_BuildSpawned[i];
|
IEntity entity = m_BuildSpawned[i];
|
||||||
@@ -294,18 +318,25 @@ class ERR_Roadblocks
|
|||||||
CancelPost(); return;
|
CancelPost(); return;
|
||||||
}
|
}
|
||||||
string id = "roadblock-" + m_Positions.Count().ToString();
|
string id = "roadblock-" + m_Positions.Count().ToString();
|
||||||
if (!m_Mode.Forces().Register(id, ERR_ForceKind.CHECKPOINT, m_Centre, 4, null, m_BuildGroup, GetGame().GetWorld().GetWorldTime()))
|
if (!m_Mode.Forces().Register(id, ERR_ForceKind.CHECKPOINT, m_Centre, m_BuildPositions.Count(), null, m_BuildGroup, GetGame().GetWorld().GetWorldTime()))
|
||||||
{ CancelPost(); return; }
|
{ CancelPost(); return; }
|
||||||
foreach (IEntity ownedEntity : m_BuildSpawned) m_Mode.Own(ownedEntity);
|
foreach (IEntity ownedEntity : m_BuildSpawned) m_Mode.Own(ownedEntity);
|
||||||
m_Mode.Own(m_BuildGroup); m_Groups.Insert(m_BuildGroup); m_Positions.Insert(m_Centre);
|
m_Mode.Own(m_BuildGroup); m_Groups.Insert(m_BuildGroup); m_Positions.Insert(m_Centre);
|
||||||
|
if (m_Large) m_LargePlaced++; else m_SmallPlaced++;
|
||||||
m_BuildGroup.AddWaypoint(m_BuildHold);
|
m_BuildGroup.AddWaypoint(m_BuildHold);
|
||||||
m_Mode.RegisterGroup(m_BuildGroup); m_BuildGroup.ActivateAI();
|
m_Mode.RegisterGroup(m_BuildGroup); m_BuildGroup.ActivateAI();
|
||||||
m_Mining.Register(m_BuildGroup, m_BuildHold, m_Right);
|
m_Mining.Register(m_BuildGroup, m_BuildHold, m_Right);
|
||||||
PrintFormat("Reintroduced [roadblocks]: %1 at %2 guards=4 props=%3 networkedProps=%3 propStreaming=always roadPassage=open HQ=registered", id, m_Centre, m_BuildCovers.Count());
|
PrintFormat("Reintroduced [roadblocks]: %1 at %2 large=%3 guards=%4 props=%5 networkedProps=%5 propStreaming=always roadPassage=open HQ=registered", id, m_Centre, m_Large, m_BuildPositions.Count(), m_BuildCovers.Count());
|
||||||
m_BuildSpawned.Clear(); m_BuildGroup = null; m_BuildHold = null;
|
m_BuildSpawned.Clear(); m_BuildGroup = null; m_BuildHold = null;
|
||||||
m_BuildPositions.Clear(); m_BuildCovers.Clear();
|
m_BuildPositions.Clear(); m_BuildCovers.Clear();
|
||||||
m_NextSearch = System.GetTickCount() + 2000;
|
m_NextSearch = System.GetTickCount() + 2000;
|
||||||
}
|
}
|
||||||
|
protected vector GuardPosition(int side, int row)
|
||||||
|
{
|
||||||
|
float along = side * (row * 2 - 2.5);
|
||||||
|
if (m_Large) along = row * 6 - 9;
|
||||||
|
return ERR_Actors.Ground(m_Centre + m_Right * (side * (m_Shoulder + 1.5)) + m_Forward * along);
|
||||||
|
}
|
||||||
// 0: reject, 1: awaiting native tile, 2: ready.
|
// 0: reject, 1: awaiting native tile, 2: ready.
|
||||||
protected int Plan(out array<vector> positions, out array<ref ERR_RoadblockProp> covers)
|
protected int Plan(out array<vector> positions, out array<ref ERR_RoadblockProp> covers)
|
||||||
{
|
{
|
||||||
@@ -318,9 +349,9 @@ class ERR_Roadblocks
|
|||||||
map<int, vector> reserved = new map<int, vector>();
|
map<int, vector> reserved = new map<int, vector>();
|
||||||
for (int side = -1; side <= 1; side += 2)
|
for (int side = -1; side <= 1; side += 2)
|
||||||
{
|
{
|
||||||
for (int row = -1; row <= 1; row += 2)
|
for (int row = 0; row < ERR_RoadblockRules.GuardCount(m_Large) / 2; row++)
|
||||||
{
|
{
|
||||||
vector point = ERR_Actors.Ground(m_Centre + m_Right * (side * (m_Shoulder + 2.5)) + m_Forward * (side * (row - 1.5)));
|
vector point = GuardPosition(side, row);
|
||||||
if (!mesh.IsTileLoaded(point)) { mesh.LoadTileIn(point); return 1; }
|
if (!mesh.IsTileLoaded(point)) { mesh.LoadTileIn(point); return 1; }
|
||||||
vector reachable;
|
vector reachable;
|
||||||
if (!mesh.GetReachablePoint(point, 1, reachable) || vector.DistanceXZ(point, reachable) > 1 || !m_Placement.Clear(point, reserved)) return 0;
|
if (!mesh.GetReachablePoint(point, 1, reachable) || vector.DistanceXZ(point, reachable) > 1 || !m_Placement.Clear(point, reserved)) return 0;
|
||||||
@@ -335,7 +366,10 @@ class ERR_Roadblocks
|
|||||||
if (m_Ready) return ERR_PrepareResult.READY;
|
if (m_Ready) return ERR_PrepareResult.READY;
|
||||||
if (!m_Begun)
|
if (!m_Begun)
|
||||||
{
|
{
|
||||||
m_Begun = true; m_Started = System.GetTickCount(); m_Target = m_Mode.Settings().Get("roadblockCount");
|
m_Begun = true; m_Started = System.GetTickCount(); m_SmallTarget = m_Mode.Settings().Get("roadblockCount");
|
||||||
|
m_LargeTarget = m_Mode.Settings().Get("largeRoadblockCount");
|
||||||
|
m_MainRoadWidth = m_Mode.Settings().Get("mainRoadWidthMetres");
|
||||||
|
m_Target = m_SmallTarget + m_LargeTarget;
|
||||||
if (m_Target == 0) return Finish("disabled");
|
if (m_Target == 0) return Finish("disabled");
|
||||||
#ifdef WORKBENCH
|
#ifdef WORKBENCH
|
||||||
// The legacy convoy/hq-memory fixtures use the original 60-body allowance and six-squad layout.
|
// The legacy convoy/hq-memory fixtures use the original 60-body allowance and six-squad layout.
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ class ERR_IntelAdminProvider : ERR_AdminProvider
|
|||||||
if (arguments == "intel show")
|
if (arguments == "intel show")
|
||||||
{
|
{
|
||||||
replies.Insert("aiIntelChancePercent=" + mode.Settings().Get("aiIntelChancePercent").ToString());
|
replies.Insert("aiIntelChancePercent=" + mode.Settings().Get("aiIntelChancePercent").ToString());
|
||||||
|
replies.Insert("radioIntelSiteCount=" + mode.Settings().Get("radioIntelSiteCount").ToString() + " (next round)");
|
||||||
|
if (mode.Discovery()) replies.Insert(mode.Discovery().RadioIntelStatus());
|
||||||
replies.Insert("showAllSites=" + mode.Settings().Get("showAllSites").ToString());
|
replies.Insert("showAllSites=" + mode.Settings().Get("showAllSites").ToString());
|
||||||
replies.Insert("intelRevealChancePercent=" + mode.Settings().Get("intelRevealChancePercent").ToString());
|
replies.Insert("intelRevealChancePercent=" + mode.Settings().Get("intelRevealChancePercent").ToString());
|
||||||
return true;
|
return true;
|
||||||
@@ -31,6 +33,7 @@ class ERR_IntelAdminProvider : ERR_AdminProvider
|
|||||||
override bool Help(string topic, array<string> replies)
|
override bool Help(string topic, array<string> replies)
|
||||||
{
|
{
|
||||||
if (topic != "intel") return false;
|
if (topic != "intel") return false;
|
||||||
|
replies.Insert("/esc intel radiosites show|set N|help (0-20; 0 disables); non-radio sites required before radio intel, next round.");
|
||||||
replies.Insert("/esc intel sites show|set on|off; show anonymous site positions and let intel identify their types.");
|
replies.Insert("/esc intel sites show|set on|off; show anonymous site positions and let intel identify their types.");
|
||||||
replies.Insert("/esc intel show | intel carrying show|set N (0-100; alias: intel chance)");
|
replies.Insert("/esc intel show | intel carrying show|set N (0-100; alias: intel chance)");
|
||||||
replies.Insert("Carrying changes affect newly registered AI. /esc intel reroll applies to eligible living AI; intel reroll show reports progress.");
|
replies.Insert("Carrying changes affect newly registered AI. /esc intel reroll applies to eligible living AI; intel reroll show reports progress.");
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ modded class ERR_GameMode
|
|||||||
protected float m_ERRIntelMessageAt;
|
protected float m_ERRIntelMessageAt;
|
||||||
protected float m_ERRIntelExhaustedAt;
|
protected float m_ERRIntelExhaustedAt;
|
||||||
protected bool m_ERRIntelDuplicateReported, m_ERRIntelExhaustionReported;
|
protected bool m_ERRIntelDuplicateReported, m_ERRIntelExhaustionReported;
|
||||||
|
protected bool m_ERRRadioIntelWaitingReported;
|
||||||
protected bool m_ERRIntelFeedbackStopped;
|
protected bool m_ERRIntelFeedbackStopped;
|
||||||
protected int m_ERRIntelMessageSequence;
|
protected int m_ERRIntelMessageSequence;
|
||||||
protected int m_ERRIntelReceivedSequence;
|
protected int m_ERRIntelReceivedSequence;
|
||||||
@@ -62,6 +63,15 @@ modded class ERR_GameMode
|
|||||||
m_ERRIntelReceivedSequence = sequence;
|
m_ERRIntelReceivedSequence = sequence;
|
||||||
SCR_ChatComponent.RadioProtocolMessage(message);
|
SCR_ChatComponent.RadioProtocolMessage(message);
|
||||||
}
|
}
|
||||||
|
void ERR_RadioIntelWaiting()
|
||||||
|
{
|
||||||
|
if (!Replication.IsServer() || m_ERRIntelFeedbackStopped || !Active() || m_ERRRadioIntelWaitingReported) return;
|
||||||
|
m_ERRRadioIntelWaitingReported = true;
|
||||||
|
string message = "Keep this radio document. Identify more non-radio sites to decipher it; it will be read automatically when ready.";
|
||||||
|
m_ERRIntelMessageSequence++;
|
||||||
|
ERR_ReceiveDiscoveryFeedback(m_ERRIntelMessageSequence, message);
|
||||||
|
Rpc(ERR_ReceiveDiscoveryFeedback, m_ERRIntelMessageSequence, message);
|
||||||
|
}
|
||||||
void ERR_IntelExhausted(bool duplicate = false)
|
void ERR_IntelExhausted(bool duplicate = false)
|
||||||
{
|
{
|
||||||
if (!Replication.IsServer() || m_ERRIntelFeedbackStopped || !Active()) return;
|
if (!Replication.IsServer() || m_ERRIntelFeedbackStopped || !Active()) return;
|
||||||
|
|||||||
@@ -48,16 +48,18 @@ class ERR_IntelEvidence
|
|||||||
}
|
}
|
||||||
// Spread new folders over unfinished sites. Counts persist after recovery or
|
// Spread new folders over unfinished sites. Counts persist after recovery or
|
||||||
// retirement so extra camps/AI do not repeatedly roll the same early targets.
|
// retirement so extra camps/AI do not repeatedly roll the same early targets.
|
||||||
// Existing sealed contents are never rewritten when team knowledge changes.
|
// Only recovery of a progression-locked radio folder can redirect its contents.
|
||||||
protected string NextTarget()
|
protected string NextTarget()
|
||||||
{
|
{
|
||||||
array<ERR_LocationComponent> locations = {};
|
array<ERR_LocationComponent> locations = {};
|
||||||
ERR_GameMode.Get().Locations(locations);
|
ERR_GameMode.Get().Locations(locations);
|
||||||
array<ERR_LocationComponent> candidates = {};
|
array<ERR_LocationComponent> candidates = {};
|
||||||
int least = -1;
|
int least = -1;
|
||||||
|
bool radioAllowed = ERR_GameMode.Get().Discovery() && ERR_GameMode.Get().Discovery().RadioIntelAllowed();
|
||||||
foreach (ERR_LocationComponent location : locations)
|
foreach (ERR_LocationComponent location : locations)
|
||||||
{
|
{
|
||||||
if (!location || location.Knowledge() >= 2 || location.Kind() == ERR_LocationKind.PRISON || location.Kind() == ERR_LocationKind.EXTRACTION) continue;
|
if (!location || location.Knowledge() >= 2 || location.Kind() == ERR_LocationKind.PRISON || location.Kind() == ERR_LocationKind.EXTRACTION) continue;
|
||||||
|
if (!radioAllowed && location.Kind() == ERR_LocationKind.RADIO) continue;
|
||||||
int assigned = 0;
|
int assigned = 0;
|
||||||
m_TargetAssignments.Find(location.Id(), assigned);
|
m_TargetAssignments.Find(location.Id(), assigned);
|
||||||
if (least < 0 || assigned < least) { least = assigned; candidates.Clear(); }
|
if (least < 0 || assigned < least) { least = assigned; candidates.Clear(); }
|
||||||
@@ -99,6 +101,20 @@ class ERR_IntelEvidence
|
|||||||
foreach (ERR_IssuedIntel issued : record.Issued) if (issued.Folder == folder) return issued.SiteId;
|
foreach (ERR_IssuedIntel issued : record.Issued) if (issued.Folder == folder) return issued.SiteId;
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
// Update physical document bookkeeping only. Inspect() has already copied
|
||||||
|
// any queued report into its own Missing list; delivered HQ reports stay intact.
|
||||||
|
void Retarget(IEntity folder, string target)
|
||||||
|
{
|
||||||
|
if (!Replication.IsServer() || m_Stopped || !folder || target.IsEmpty()) return;
|
||||||
|
bool changed;
|
||||||
|
foreach (ERR_BodyEvidence record : m_Roster)
|
||||||
|
foreach (ERR_IssuedIntel issued : record.Issued)
|
||||||
|
if (issued.Folder == folder && issued.SiteId != target) { issued.SiteId = target; changed = true; }
|
||||||
|
if (!changed) return;
|
||||||
|
int assigned;
|
||||||
|
m_TargetAssignments.Find(target, assigned);
|
||||||
|
m_TargetAssignments.Set(target, assigned + 1);
|
||||||
|
}
|
||||||
void Tick(float now)
|
void Tick(float now)
|
||||||
{
|
{
|
||||||
if (m_Stopped) return;
|
if (m_Stopped) return;
|
||||||
|
|||||||
@@ -14,24 +14,30 @@ ImageWidgetClass { "Is Visible" 1 Name "Selected_Main_Mission" Slot FrameWidgetS
|
|||||||
FrameWidgetClass { "Is Visible" 1 Name "Sidebar_Mission" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 166 OffsetTop 166 SizeX 180 OffsetRight -208 SizeY 480 OffsetBottom -646 } {
|
FrameWidgetClass { "Is Visible" 1 Name "Sidebar_Mission" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 166 OffsetTop 166 SizeX 180 OffsetRight -208 SizeY 480 OffsetBottom -646 } {
|
||||||
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "OpenSettings" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 0 OffsetTop 0 SizeX 180 OffsetRight -180 SizeY 42 OffsetBottom -42 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "General" } } }
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "OpenSettings" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 0 OffsetTop 0 SizeX 180 OffsetRight -180 SizeY 42 OffsetBottom -42 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "General" } } }
|
||||||
ImageWidgetClass { "Is Visible" 1 Name "Selected_OpenSettings" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 44 OffsetTop 44 SizeX 180 OffsetRight -180 SizeY 3 OffsetBottom -47 } Color 0.9 0.66 0.25 1 }
|
ImageWidgetClass { "Is Visible" 1 Name "Selected_OpenSettings" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 44 OffsetTop 44 SizeX 180 OffsetRight -180 SizeY 3 OffsetBottom -47 } Color 0.9 0.66 0.25 1 }
|
||||||
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "OpenWorld" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 54 OffsetTop 54 SizeX 180 OffsetRight -180 SizeY 42 OffsetBottom -96 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "World" } } }
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "OpenVehicles" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 54 OffsetTop 54 SizeX 180 OffsetRight -180 SizeY 42 OffsetBottom -96 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Civilian vehicles" } } }
|
||||||
ImageWidgetClass { "Is Visible" 0 Name "Selected_OpenWorld" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 98 OffsetTop 98 SizeX 180 OffsetRight -180 SizeY 3 OffsetBottom -101 } Color 0.9 0.66 0.25 1 }
|
ImageWidgetClass { "Is Visible" 0 Name "Selected_OpenVehicles" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 98 OffsetTop 98 SizeX 180 OffsetRight -180 SizeY 3 OffsetBottom -101 } Color 0.9 0.66 0.25 1 }
|
||||||
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "OpenTerrains" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 108 OffsetTop 108 SizeX 180 OffsetRight -180 SizeY 42 OffsetBottom -150 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Terrains" } } }
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "OpenWorld" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 108 OffsetTop 108 SizeX 180 OffsetRight -180 SizeY 42 OffsetBottom -150 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "World" } } }
|
||||||
ImageWidgetClass { "Is Visible" 0 Name "Selected_OpenTerrains" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 152 OffsetTop 152 SizeX 180 OffsetRight -180 SizeY 3 OffsetBottom -155 } Color 0.9 0.66 0.25 1 }
|
ImageWidgetClass { "Is Visible" 0 Name "Selected_OpenWorld" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 152 OffsetTop 152 SizeX 180 OffsetRight -180 SizeY 3 OffsetBottom -155 } Color 0.9 0.66 0.25 1 }
|
||||||
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "OpenTerrains" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 162 OffsetTop 162 SizeX 180 OffsetRight -180 SizeY 42 OffsetBottom -204 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Terrains" } } }
|
||||||
|
ImageWidgetClass { "Is Visible" 0 Name "Selected_OpenTerrains" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 206 OffsetTop 206 SizeX 180 OffsetRight -180 SizeY 3 OffsetBottom -209 } Color 0.9 0.66 0.25 1 }
|
||||||
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "OpenTelemetry" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 216 OffsetTop 216 SizeX 180 OffsetRight -180 SizeY 42 OffsetBottom -258 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Statistics" } } }
|
||||||
|
ImageWidgetClass { "Is Visible" 0 Name "Selected_OpenTelemetry" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 260 OffsetTop 260 SizeX 180 OffsetRight -180 SizeY 3 OffsetBottom -263 } Color 0.9 0.66 0.25 1 }
|
||||||
} }
|
} }
|
||||||
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Main_Forces" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 174 OffsetLeft 174 PositionY 106 OffsetTop 106 SizeX 138 OffsetRight -312 SizeY 42 OffsetBottom -148 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Forces" } } }
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Main_Forces" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 174 OffsetLeft 174 PositionY 106 OffsetTop 106 SizeX 138 OffsetRight -312 SizeY 42 OffsetBottom -148 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Forces" } } }
|
||||||
ImageWidgetClass { "Is Visible" 0 Name "Selected_Main_Forces" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 174 OffsetLeft 174 PositionY 150 OffsetTop 150 SizeX 138 OffsetRight -312 SizeY 3 OffsetBottom -153 } Color 0.9 0.66 0.25 1 }
|
ImageWidgetClass { "Is Visible" 0 Name "Selected_Main_Forces" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 174 OffsetLeft 174 PositionY 150 OffsetTop 150 SizeX 138 OffsetRight -312 SizeY 3 OffsetBottom -153 } Color 0.9 0.66 0.25 1 }
|
||||||
FrameWidgetClass { "Is Visible" 0 Name "Sidebar_Forces" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 166 OffsetTop 166 SizeX 180 OffsetRight -208 SizeY 480 OffsetBottom -646 } {
|
FrameWidgetClass { "Is Visible" 0 Name "Sidebar_Forces" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 166 OffsetTop 166 SizeX 180 OffsetRight -208 SizeY 480 OffsetBottom -646 } {
|
||||||
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "OpenForces" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 0 OffsetTop 0 SizeX 180 OffsetRight -180 SizeY 42 OffsetBottom -42 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Patrols" } } }
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "OpenForces" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 0 OffsetTop 0 SizeX 180 OffsetRight -180 SizeY 42 OffsetBottom -42 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Patrols" } } }
|
||||||
ImageWidgetClass { "Is Visible" 0 Name "Selected_OpenForces" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 44 OffsetTop 44 SizeX 180 OffsetRight -180 SizeY 3 OffsetBottom -47 } Color 0.9 0.66 0.25 1 }
|
ImageWidgetClass { "Is Visible" 0 Name "Selected_OpenForces" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 44 OffsetTop 44 SizeX 180 OffsetRight -180 SizeY 3 OffsetBottom -47 } Color 0.9 0.66 0.25 1 }
|
||||||
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "OpenFactions" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 54 OffsetTop 54 SizeX 180 OffsetRight -180 SizeY 42 OffsetBottom -96 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Factions" } } }
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "OpenCheckpoints" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 54 OffsetTop 54 SizeX 180 OffsetRight -180 SizeY 42 OffsetBottom -96 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Checkpoints" } } }
|
||||||
ImageWidgetClass { "Is Visible" 0 Name "Selected_OpenFactions" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 98 OffsetTop 98 SizeX 180 OffsetRight -180 SizeY 3 OffsetBottom -101 } Color 0.9 0.66 0.25 1 }
|
ImageWidgetClass { "Is Visible" 0 Name "Selected_OpenCheckpoints" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 98 OffsetTop 98 SizeX 180 OffsetRight -180 SizeY 3 OffsetBottom -101 } Color 0.9 0.66 0.25 1 }
|
||||||
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "OpenGuards" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 108 OffsetTop 108 SizeX 180 OffsetRight -180 SizeY 42 OffsetBottom -150 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Site guards" } } }
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "OpenFactions" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 108 OffsetTop 108 SizeX 180 OffsetRight -180 SizeY 42 OffsetBottom -150 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Factions" } } }
|
||||||
ImageWidgetClass { "Is Visible" 0 Name "Selected_OpenGuards" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 152 OffsetTop 152 SizeX 180 OffsetRight -180 SizeY 3 OffsetBottom -155 } Color 0.9 0.66 0.25 1 }
|
ImageWidgetClass { "Is Visible" 0 Name "Selected_OpenFactions" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 152 OffsetTop 152 SizeX 180 OffsetRight -180 SizeY 3 OffsetBottom -155 } Color 0.9 0.66 0.25 1 }
|
||||||
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "OpenSites" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 162 OffsetTop 162 SizeX 180 OffsetRight -180 SizeY 42 OffsetBottom -204 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Field sites" } } }
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "OpenGuards" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 162 OffsetTop 162 SizeX 180 OffsetRight -180 SizeY 42 OffsetBottom -204 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Site guards" } } }
|
||||||
ImageWidgetClass { "Is Visible" 0 Name "Selected_OpenSites" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 206 OffsetTop 206 SizeX 180 OffsetRight -180 SizeY 3 OffsetBottom -209 } Color 0.9 0.66 0.25 1 }
|
ImageWidgetClass { "Is Visible" 0 Name "Selected_OpenGuards" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 206 OffsetTop 206 SizeX 180 OffsetRight -180 SizeY 3 OffsetBottom -209 } Color 0.9 0.66 0.25 1 }
|
||||||
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "OpenSarka" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 216 OffsetTop 216 SizeX 180 OffsetRight -180 SizeY 42 OffsetBottom -258 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Šárka hunters" } } }
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "OpenSites" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 216 OffsetTop 216 SizeX 180 OffsetRight -180 SizeY 42 OffsetBottom -258 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Field sites" } } }
|
||||||
ImageWidgetClass { "Is Visible" 0 Name "Selected_OpenSarka" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 260 OffsetTop 260 SizeX 180 OffsetRight -180 SizeY 3 OffsetBottom -263 } Color 0.9 0.66 0.25 1 }
|
ImageWidgetClass { "Is Visible" 0 Name "Selected_OpenSites" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 260 OffsetTop 260 SizeX 180 OffsetRight -180 SizeY 3 OffsetBottom -263 } Color 0.9 0.66 0.25 1 }
|
||||||
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "OpenSarka" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 270 OffsetTop 270 SizeX 180 OffsetRight -180 SizeY 42 OffsetBottom -312 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Šárka hunters" } } }
|
||||||
|
ImageWidgetClass { "Is Visible" 0 Name "Selected_OpenSarka" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 314 OffsetTop 314 SizeX 180 OffsetRight -180 SizeY 3 OffsetBottom -317 } Color 0.9 0.66 0.25 1 }
|
||||||
} }
|
} }
|
||||||
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Main_HQ" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 320 OffsetLeft 320 PositionY 106 OffsetTop 106 SizeX 138 OffsetRight -458 SizeY 42 OffsetBottom -148 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "HQ" } } }
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Main_HQ" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 320 OffsetLeft 320 PositionY 106 OffsetTop 106 SizeX 138 OffsetRight -458 SizeY 42 OffsetBottom -148 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "HQ" } } }
|
||||||
ImageWidgetClass { "Is Visible" 0 Name "Selected_Main_HQ" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 320 OffsetLeft 320 PositionY 150 OffsetTop 150 SizeX 138 OffsetRight -458 SizeY 3 OffsetBottom -153 } Color 0.9 0.66 0.25 1 }
|
ImageWidgetClass { "Is Visible" 0 Name "Selected_Main_HQ" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 320 OffsetLeft 320 PositionY 150 OffsetTop 150 SizeX 138 OffsetRight -458 SizeY 3 OffsetBottom -153 } Color 0.9 0.66 0.25 1 }
|
||||||
@@ -50,6 +56,8 @@ ImageWidgetClass { "Is Visible" 0 Name "Selected_Main_Intel" Slot FrameWidgetSlo
|
|||||||
FrameWidgetClass { "Is Visible" 0 Name "Sidebar_Intel" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 166 OffsetTop 166 SizeX 180 OffsetRight -208 SizeY 480 OffsetBottom -646 } {
|
FrameWidgetClass { "Is Visible" 0 Name "Sidebar_Intel" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 166 OffsetTop 166 SizeX 180 OffsetRight -208 SizeY 480 OffsetBottom -646 } {
|
||||||
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "OpenIntel" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 0 OffsetTop 0 SizeX 180 OffsetRight -180 SizeY 42 OffsetBottom -42 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Intelligence" } } }
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "OpenIntel" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 0 OffsetTop 0 SizeX 180 OffsetRight -180 SizeY 42 OffsetBottom -42 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Intelligence" } } }
|
||||||
ImageWidgetClass { "Is Visible" 0 Name "Selected_OpenIntel" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 44 OffsetTop 44 SizeX 180 OffsetRight -180 SizeY 3 OffsetBottom -47 } Color 0.9 0.66 0.25 1 }
|
ImageWidgetClass { "Is Visible" 0 Name "Selected_OpenIntel" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 44 OffsetTop 44 SizeX 180 OffsetRight -180 SizeY 3 OffsetBottom -47 } Color 0.9 0.66 0.25 1 }
|
||||||
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "OpenRadioIntel" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 54 OffsetTop 54 SizeX 180 OffsetRight -180 SizeY 42 OffsetBottom -96 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Radio intel" } } }
|
||||||
|
ImageWidgetClass { "Is Visible" 0 Name "Selected_OpenRadioIntel" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 0 OffsetLeft 0 PositionY 98 OffsetTop 98 SizeX 180 OffsetRight -180 SizeY 3 OffsetBottom -101 } Color 0.9 0.66 0.25 1 }
|
||||||
} }
|
} }
|
||||||
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Main_Items" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 612 OffsetLeft 612 PositionY 106 OffsetTop 106 SizeX 138 OffsetRight -750 SizeY 42 OffsetBottom -148 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Items" } } }
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Main_Items" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 612 OffsetLeft 612 PositionY 106 OffsetTop 106 SizeX 138 OffsetRight -750 SizeY 42 OffsetBottom -148 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Items" } } }
|
||||||
ImageWidgetClass { "Is Visible" 0 Name "Selected_Main_Items" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 612 OffsetLeft 612 PositionY 150 OffsetTop 150 SizeX 138 OffsetRight -750 SizeY 3 OffsetBottom -153 } Color 0.9 0.66 0.25 1 }
|
ImageWidgetClass { "Is Visible" 0 Name "Selected_Main_Items" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 612 OffsetLeft 612 PositionY 150 OffsetTop 150 SizeX 138 OffsetRight -750 SizeY 3 OffsetBottom -153 } Color 0.9 0.66 0.25 1 }
|
||||||
@@ -117,11 +125,6 @@ TextWidgetClass { Name "Saved_keepWeaponOnUnconscious" Slot FrameWidgetSlot { An
|
|||||||
TextWidgetClass { Name "SelfEpiLabel" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 332 OffsetTop 332 SizeX 240 OffsetRight -268 SizeY 28 OffsetBottom -360 } Color 0.9 0.92 0.94 1 Text "Self epinephrine (Space)" "Font Size" 16 "Min Font Size" 16 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
TextWidgetClass { Name "SelfEpiLabel" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 332 OffsetTop 332 SizeX 240 OffsetRight -268 SizeY 28 OffsetBottom -360 } Color 0.9 0.92 0.94 1 Text "Self epinephrine (Space)" "Font Size" 16 "Min Font Size" 16 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "SelfEpiOn" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 280 OffsetLeft 280 PositionY 332 OffsetTop 332 SizeX 90 OffsetRight -370 SizeY 28 OffsetBottom -360 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Enabled" } } }
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "SelfEpiOn" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 280 OffsetLeft 280 PositionY 332 OffsetTop 332 SizeX 90 OffsetRight -370 SizeY 28 OffsetBottom -360 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Enabled" } } }
|
||||||
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "SelfEpiOff" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 382 OffsetLeft 382 PositionY 332 OffsetTop 332 SizeX 90 OffsetRight -472 SizeY 28 OffsetBottom -360 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Disabled" } } }
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "SelfEpiOff" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 382 OffsetLeft 382 PositionY 332 OffsetTop 332 SizeX 90 OffsetRight -472 SizeY 28 OffsetBottom -360 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Disabled" } } }
|
||||||
TextWidgetClass { Name "Label_civilianTrafficCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 244 OffsetTop 244 SizeX 456 OffsetRight -964 SizeY 22 OffsetBottom -266 } Color 0.9 0.92 0.94 1 Text "Civilian traffic (0-6 cars; 0 off)" "Font Size" 18 "Min Font Size" 18 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
|
||||||
ButtonWidgetClass : "{DA43C77A0D1E59F8}UI/layouts/ERR/AdminValue.layout" { Name "civilianTrafficCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 268 OffsetTop 268 SizeX 180 OffsetRight -688 SizeY 32 OffsetBottom -300 } components { SCR_EditBoxComponent "{547290FFBD5B33E9}" { m_sLabel "" } } }
|
|
||||||
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Apply_civilianTrafficCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 700 OffsetLeft 700 PositionY 268 OffsetTop 268 SizeX 100 OffsetRight -800 SizeY 32 OffsetBottom -300 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Apply" } } }
|
|
||||||
TextWidgetClass { Name "Saved_civilianTrafficCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 304 OffsetTop 304 SizeX 456 OffsetRight -964 SizeY 28 OffsetBottom -332 } Color 0.9 0.92 0.94 1 Text "Waiting for server" "Font Size" 14 "Min Font Size" 14 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
|
||||||
TextWidgetClass { Name "Help_civilianTrafficCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 332 OffsetTop 332 SizeX 456 OffsetRight -964 SizeY 28 OffsetBottom -360 } Color 0.9 0.92 0.94 1 Text "0 disables new traffic. Player-used cars are kept." "Font Size" 14 "Min Font Size" 14 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
|
||||||
TextWidgetClass { Name "Label_restartOnEmpty" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 364 OffsetTop 364 SizeX 456 OffsetRight -484 SizeY 22 OffsetBottom -386 } Color 0.9 0.92 0.94 1 Text "Restart after last disconnect" "Font Size" 18 "Min Font Size" 18 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
TextWidgetClass { Name "Label_restartOnEmpty" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 364 OffsetTop 364 SizeX 456 OffsetRight -484 SizeY 22 OffsetBottom -386 } Color 0.9 0.92 0.94 1 Text "Restart after last disconnect" "Font Size" 18 "Min Font Size" 18 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "RestartEmptyOn" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 388 OffsetTop 388 SizeX 140 OffsetRight -168 SizeY 32 OffsetBottom -420 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Enabled" } } }
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "RestartEmptyOn" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 388 OffsetTop 388 SizeX 140 OffsetRight -168 SizeY 32 OffsetBottom -420 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Enabled" } } }
|
||||||
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "RestartEmptyOff" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 180 OffsetLeft 180 PositionY 388 OffsetTop 388 SizeX 152 OffsetRight -332 SizeY 32 OffsetBottom -420 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Disabled" } } }
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "RestartEmptyOff" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 180 OffsetLeft 180 PositionY 388 OffsetTop 388 SizeX 152 OffsetRight -332 SizeY 32 OffsetBottom -420 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Disabled" } } }
|
||||||
@@ -133,6 +136,44 @@ ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_But
|
|||||||
TextWidgetClass { Name "Saved_emptyRestartHours" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 424 OffsetTop 424 SizeX 456 OffsetRight -964 SizeY 24 OffsetBottom -448 } Color 0.9 0.92 0.94 1 Text "Waiting for server" "Font Size" 14 "Min Font Size" 14 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
TextWidgetClass { Name "Saved_emptyRestartHours" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 424 OffsetTop 424 SizeX 456 OffsetRight -964 SizeY 24 OffsetBottom -448 } Color 0.9 0.92 0.94 1 Text "Waiting for server" "Font Size" 14 "Min Font Size" 14 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
TextWidgetClass { Name "Help_emptyRestartHours" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 452 OffsetTop 452 SizeX 456 OffsetRight -964 SizeY 28 OffsetBottom -480 } Color 0.9 0.92 0.94 1 Text "0 off; 1-168 real hours empty. Default 5. Applies now." "Font Size" 14 "Min Font Size" 14 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
TextWidgetClass { Name "Help_emptyRestartHours" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 452 OffsetTop 452 SizeX 456 OffsetRight -964 SizeY 28 OffsetBottom -480 } Color 0.9 0.92 0.94 1 Text "0 off; 1-168 real hours empty. Default 5. Applies now." "Font Size" 14 "Min Font Size" 14 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
} }
|
} }
|
||||||
|
FrameWidgetClass { "Is Visible" 0 Name "VehiclesPage" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 220 OffsetLeft 220 PositionY 160 OffsetTop 160 SizeX 1000 OffsetRight -1220 SizeY 486 OffsetBottom -646 } {
|
||||||
|
TextWidgetClass { Name "Label_civilianTrafficCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 4 OffsetTop 4 SizeX 456 OffsetRight -484 SizeY 22 OffsetBottom -26 } Color 0.9 0.92 0.94 1 Text "Civilian traffic (0-6 cars; 0 off)" "Font Size" 18 "Min Font Size" 18 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
ButtonWidgetClass : "{DA43C77A0D1E59F8}UI/layouts/ERR/AdminValue.layout" { Name "civilianTrafficCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 28 OffsetTop 28 SizeX 180 OffsetRight -208 SizeY 32 OffsetBottom -60 } components { SCR_EditBoxComponent "{547290FFBD5B33E9}" { m_sLabel "" } } }
|
||||||
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Apply_civilianTrafficCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 220 OffsetLeft 220 PositionY 28 OffsetTop 28 SizeX 100 OffsetRight -320 SizeY 32 OffsetBottom -60 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Apply" } } }
|
||||||
|
TextWidgetClass { Name "Saved_civilianTrafficCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 64 OffsetTop 64 SizeX 456 OffsetRight -484 SizeY 28 OffsetBottom -92 } Color 0.9 0.92 0.94 1 Text "Waiting for server" "Font Size" 14 "Min Font Size" 14 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "Help_civilianTrafficCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 92 OffsetTop 92 SizeX 456 OffsetRight -484 SizeY 28 OffsetBottom -120 } Color 0.9 0.92 0.94 1 Text "0 disables new traffic. Player-used cars are kept." "Font Size" 14 "Min Font Size" 14 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "Label_garageVehicleCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 4 OffsetTop 4 SizeX 456 OffsetRight -964 SizeY 22 OffsetBottom -26 } Color 0.9 0.92 0.94 1 Text "Nearby garage vehicles (0-24; 0 off)" "Font Size" 18 "Min Font Size" 18 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
ButtonWidgetClass : "{DA43C77A0D1E59F8}UI/layouts/ERR/AdminValue.layout" { Name "garageVehicleCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 28 OffsetTop 28 SizeX 180 OffsetRight -688 SizeY 32 OffsetBottom -60 } components { SCR_EditBoxComponent "{547290FFBD5B33E9}" { m_sLabel "" } } }
|
||||||
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Apply_garageVehicleCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 700 OffsetLeft 700 PositionY 28 OffsetTop 28 SizeX 100 OffsetRight -800 SizeY 32 OffsetBottom -60 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Apply" } } }
|
||||||
|
TextWidgetClass { Name "Saved_garageVehicleCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 64 OffsetTop 64 SizeX 456 OffsetRight -964 SizeY 28 OffsetBottom -92 } Color 0.9 0.92 0.94 1 Text "Waiting for server" "Font Size" 14 "Min Font Size" 14 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "Help_garageVehicleCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 92 OffsetTop 92 SizeX 456 OffsetRight -964 SizeY 28 OffsetBottom -120 } Color 0.9 0.92 0.94 1 Text "Default 16 unclaimed vehicles. Set 0 to disable; next round." "Font Size" 14 "Min Font Size" 14 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "Label_garageChancePercent" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 144 OffsetTop 144 SizeX 456 OffsetRight -484 SizeY 22 OffsetBottom -166 } Color 0.9 0.92 0.94 1 Text "Garage selection chance (0-100%)" "Font Size" 18 "Min Font Size" 18 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
ButtonWidgetClass : "{DA43C77A0D1E59F8}UI/layouts/ERR/AdminValue.layout" { Name "garageChancePercent" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 168 OffsetTop 168 SizeX 180 OffsetRight -208 SizeY 32 OffsetBottom -200 } components { SCR_EditBoxComponent "{547290FFBD5B33E9}" { m_sLabel "" } } }
|
||||||
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Apply_garageChancePercent" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 220 OffsetLeft 220 PositionY 168 OffsetTop 168 SizeX 100 OffsetRight -320 SizeY 32 OffsetBottom -200 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Apply" } } }
|
||||||
|
TextWidgetClass { Name "Saved_garageChancePercent" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 204 OffsetTop 204 SizeX 456 OffsetRight -484 SizeY 28 OffsetBottom -232 } Color 0.9 0.92 0.94 1 Text "Waiting for server" "Font Size" 14 "Min Font Size" 14 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "Help_garageChancePercent" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 232 OffsetTop 232 SizeX 456 OffsetRight -484 SizeY 28 OffsetBottom -260 } Color 0.9 0.92 0.94 1 Text "Default 70%; 100 selects every suitable garage. Next round." "Font Size" 14 "Min Font Size" 14 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "Label_garageRadiusMetres" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 144 OffsetTop 144 SizeX 456 OffsetRight -964 SizeY 22 OffsetBottom -166 } Color 0.9 0.92 0.94 1 Text "Spawn radius (250-1500 metres)" "Font Size" 18 "Min Font Size" 18 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
ButtonWidgetClass : "{DA43C77A0D1E59F8}UI/layouts/ERR/AdminValue.layout" { Name "garageRadiusMetres" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 168 OffsetTop 168 SizeX 180 OffsetRight -688 SizeY 32 OffsetBottom -200 } components { SCR_EditBoxComponent "{547290FFBD5B33E9}" { m_sLabel "" } } }
|
||||||
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Apply_garageRadiusMetres" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 700 OffsetLeft 700 PositionY 168 OffsetTop 168 SizeX 100 OffsetRight -800 SizeY 32 OffsetBottom -200 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Apply" } } }
|
||||||
|
TextWidgetClass { Name "Saved_garageRadiusMetres" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 204 OffsetTop 204 SizeX 456 OffsetRight -964 SizeY 28 OffsetBottom -232 } Color 0.9 0.92 0.94 1 Text "Waiting for server" "Font Size" 14 "Min Font Size" 14 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "Help_garageRadiusMetres" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 232 OffsetTop 232 SizeX 456 OffsetRight -964 SizeY 28 OffsetBottom -260 } Color 0.9 0.92 0.94 1 Text "Distance around players; default 1000 m. Next round." "Font Size" 14 "Min Font Size" 14 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "Label_garageSpawnIntervalSeconds" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 284 OffsetTop 284 SizeX 456 OffsetRight -484 SizeY 22 OffsetBottom -306 } Color 0.9 0.92 0.94 1 Text "Time between spawns (5-60 seconds)" "Font Size" 18 "Min Font Size" 18 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
ButtonWidgetClass : "{DA43C77A0D1E59F8}UI/layouts/ERR/AdminValue.layout" { Name "garageSpawnIntervalSeconds" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 308 OffsetTop 308 SizeX 180 OffsetRight -208 SizeY 32 OffsetBottom -340 } components { SCR_EditBoxComponent "{547290FFBD5B33E9}" { m_sLabel "" } } }
|
||||||
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Apply_garageSpawnIntervalSeconds" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 220 OffsetLeft 220 PositionY 308 OffsetTop 308 SizeX 100 OffsetRight -320 SizeY 32 OffsetBottom -340 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Apply" } } }
|
||||||
|
TextWidgetClass { Name "Saved_garageSpawnIntervalSeconds" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 344 OffsetTop 344 SizeX 456 OffsetRight -484 SizeY 28 OffsetBottom -372 } Color 0.9 0.92 0.94 1 Text "Waiting for server" "Font Size" 14 "Min Font Size" 14 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "Help_garageSpawnIntervalSeconds" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 372 OffsetTop 372 SizeX 456 OffsetRight -484 SizeY 28 OffsetBottom -400 } Color 0.9 0.92 0.94 1 Text "Default 5 s. Increase to spread out spawning. Next round." "Font Size" 14 "Min Font Size" 14 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "GarageSettingsNote" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 284 OffsetTop 284 SizeX 456 OffsetRight -964 SizeY 110 OffsetBottom -394 } Color 0.9 0.92 0.94 1 Text "Garage settings apply next round. Used vehicles stay for the round. Empty garages are filled gradually when hidden from players." "Font Size" 18 "Min Font Size" 18 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
} }
|
||||||
|
FrameWidgetClass { "Is Visible" 0 Name "TelemetryPage" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 220 OffsetLeft 220 PositionY 160 OffsetTop 160 SizeX 1000 OffsetRight -1220 SizeY 486 OffsetBottom -646 } {
|
||||||
|
TextWidgetClass { Name "TelemetryHeading" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 10 OffsetTop 10 SizeX 936 OffsetRight -964 SizeY 32 OffsetBottom -42 } Color 0.9 0.92 0.94 1 Text "Mission statistics" "Font Size" 18 "Min Font Size" 18 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "TelemetryDescription" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 55 OffsetTop 55 SizeX 936 OffsetRight -964 SizeY 80 OffsetBottom -135 } Color 0.9 0.92 0.94 1 Text "Share mission starts, progress, results, terrain, loaded mods and player counts with the configured statistics service. Enabled by default." "Font Size" 18 "Min Font Size" 18 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "TelemetryOn" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 150 OffsetTop 150 SizeX 140 OffsetRight -168 SizeY 32 OffsetBottom -182 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Enabled" } } }
|
||||||
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "TelemetryOff" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 180 OffsetLeft 180 PositionY 150 OffsetTop 150 SizeX 152 OffsetRight -332 SizeY 32 OffsetBottom -182 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Disabled" } } }
|
||||||
|
TextWidgetClass { Name "Saved_telemetryEnabled" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 200 OffsetTop 200 SizeX 936 OffsetRight -964 SizeY 32 OffsetBottom -232 } Color 0.9 0.92 0.94 1 Text "Waiting for server" "Font Size" 18 "Min Font Size" 18 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "TelemetryStatus" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 232 OffsetTop 232 SizeX 936 OffsetRight -964 SizeY 26 OffsetBottom -258 } Color 0.9 0.92 0.94 1 Text "Delivery status unavailable" "Font Size" 18 "Min Font Size" 18 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "TelemetryPrivacy" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 278 OffsetTop 278 SizeX 936 OffsetRight -964 SizeY 78 OffsetBottom -356 } Color 0.9 0.92 0.94 1 Text "Player names and stable game account IDs are included to count participation and escapes across missions. Connected spectators are distinguished from participants and escapees." "Font Size" 18 "Min Font Size" 18 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "TelemetryDisableHelp" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 360 OffsetTop 360 SizeX 936 OffsetRight -964 SizeY 80 OffsetBottom -440 } Color 0.9 0.92 0.94 1 Text "Disable to stop collection and sending, and discard unsent records. Already delivered statistics remain with the statistics service." "Font Size" 18 "Min Font Size" 18 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
} }
|
||||||
FrameWidgetClass { "Is Visible" 0 Name "HQPage" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 220 OffsetLeft 220 PositionY 160 OffsetTop 160 SizeX 1000 OffsetRight -1220 SizeY 486 OffsetBottom -646 } {
|
FrameWidgetClass { "Is Visible" 0 Name "HQPage" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 220 OffsetLeft 220 PositionY 160 OffsetTop 160 SizeX 1000 OffsetRight -1220 SizeY 486 OffsetBottom -646 } {
|
||||||
TextWidgetClass {
|
TextWidgetClass {
|
||||||
Name "HQHelp" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 6 OffsetTop 6 SizeX 510 OffsetRight -538 SizeY 50 OffsetBottom -56 }
|
Name "HQHelp" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 6 OffsetTop 6 SizeX 510 OffsetRight -538 SizeY 50 OffsetBottom -56 }
|
||||||
@@ -763,6 +804,19 @@ ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_But
|
|||||||
components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Disabled" } }
|
components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Disabled" } }
|
||||||
}
|
}
|
||||||
} }
|
} }
|
||||||
|
FrameWidgetClass { "Is Visible" 0 Name "RadioIntelPage" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 220 OffsetLeft 220 PositionY 160 OffsetTop 160 SizeX 1000 OffsetRight -1220 SizeY 486 OffsetBottom -646 } {
|
||||||
|
TextWidgetClass { Name "RadioIntelHeading" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 6 OffsetTop 6 SizeX 710 OffsetRight -738 SizeY 32 OffsetBottom -38 } Color 0.9 0.92 0.94 1 Text "Radio intel progression" "Font Size" 22 "Min Font Size" 22 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
|
||||||
|
TextWidgetClass { Name "RadioIntelHelp" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 50 OffsetTop 50 SizeX 936 OffsetRight -964 SizeY 44 OffsetBottom -94 } Color 0.9 0.92 0.94 1 Text "Identify other sites before documents reveal radio stations. Finding and using a radio in person is always allowed." "Font Size" 18 "Min Font Size" 18 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "Label_radioIntelSiteCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 112 OffsetTop 112 SizeX 590 OffsetRight -618 SizeY 32 OffsetBottom -144 } Color 0.9 0.92 0.94 1 Text "Sites required before radio intel (0-20)" "Font Size" 20 "Min Font Size" 20 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
ButtonWidgetClass : "{DA43C77A0D1E59F8}UI/layouts/ERR/AdminValue.layout" { Name "radioIntelSiteCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 640 OffsetLeft 640 PositionY 108 OffsetTop 108 SizeX 112 OffsetRight -752 SizeY 38 OffsetBottom -146 } components { SCR_EditBoxComponent "{547290FFBD5B33E9}" { m_sLabel "" } } }
|
||||||
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Apply_radioIntelSiteCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 764 OffsetLeft 764 PositionY 108 OffsetTop 108 SizeX 200 OffsetRight -964 SizeY 38 OffsetBottom -146 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Apply" } } }
|
||||||
|
TextWidgetClass { Name "Saved_radioIntelSiteCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 640 OffsetLeft 640 PositionY 148 OffsetTop 148 SizeX 324 OffsetRight -964 SizeY 24 OffsetBottom -172 } Color 0.9 0.92 0.94 1 Text "Waiting for server" "Font Size" 16 "Min Font Size" 16 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "Help_radioIntelSiteCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 176 OffsetTop 176 SizeX 936 OffsetRight -964 SizeY 26 OffsetBottom -202 } Color 0.9 0.92 0.94 1 Text "Default 5. Set 0 to disable. Apply saves the requirement for the next round." "Font Size" 17 "Min Font Size" 17 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "RadioIntelSettingsHelp" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 424 OffsetTop 424 SizeX 936 OffsetRight -964 SizeY 52 OffsetBottom -476 } Color 0.9 0.92 0.94 1 Text "Only fully identified non-radio sites count. Prison, extraction and automatic starting reveals are excluded. The requirement adjusts to available sites after preparation finishes." "Font Size" 18 "Min Font Size" 18 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "RadioIntelProgress" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 232 OffsetTop 232 SizeX 936 OffsetRight -964 SizeY 64 OffsetBottom -296 } Color 0.9 0.92 0.94 1 Text "Waiting for current-round progress" "Font Size" 18 "Min Font Size" 18 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "RadioIntelDocumentsHelp" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 316 OffsetTop 316 SizeX 936 OffsetRight -964 SizeY 76 OffsetBottom -392 } Color 0.9 0.92 0.94 1 Text "Ordinary folders reveal other sites while radio intel is locked. Keep fixed radio documents: they will be read automatically after unlocking. Question marks and rough clues do not count as identified sites." "Font Size" 18 "Min Font Size" 18 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
} }
|
||||||
FrameWidgetClass { "Is Visible" 0 Name "StatusPage" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 220 OffsetLeft 220 PositionY 160 OffsetTop 160 SizeX 1000 OffsetRight -1220 SizeY 486 OffsetBottom -646 } {
|
FrameWidgetClass { "Is Visible" 0 Name "StatusPage" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 220 OffsetLeft 220 PositionY 160 OffsetTop 160 SizeX 1000 OffsetRight -1220 SizeY 486 OffsetBottom -646 } {
|
||||||
TextWidgetClass {
|
TextWidgetClass {
|
||||||
Name "StatusHelp" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 6 OffsetTop 6 SizeX 936 OffsetRight -964 SizeY 50 OffsetBottom -56 }
|
Name "StatusHelp" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 6 OffsetTop 6 SizeX 936 OffsetRight -964 SizeY 50 OffsetBottom -56 }
|
||||||
@@ -883,11 +937,6 @@ TextWidgetClass {
|
|||||||
Color 0.72 0.81 0.87 1 Text "0 disables convoys. Lost convoys stay lost. Next round." "Font Size" 14 "Min Font Size" 14 Wrap 1
|
Color 0.72 0.81 0.87 1 Text "0 disables convoys. Lost convoys stay lost. Next round." "Font Size" 14 "Min Font Size" 14 Wrap 1
|
||||||
FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" }
|
FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" }
|
||||||
}
|
}
|
||||||
TextWidgetClass { Name "Label_roadblockCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 66 OffsetTop 66 SizeX 456 OffsetRight -964 SizeY 26 OffsetBottom -92 } Color 0.9 0.92 0.94 1 Text "Roadblocks (0-30; 0 off)" "Font Size" 20 "Min Font Size" 20 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
|
||||||
ButtonWidgetClass : "{DA43C77A0D1E59F8}UI/layouts/ERR/AdminValue.layout" { Name "roadblockCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 96 OffsetTop 96 SizeX 130 OffsetRight -638 SizeY 38 OffsetBottom -134 } components { SCR_EditBoxComponent "{547290FFBD5B33E9}" { m_sLabel "" } } }
|
|
||||||
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Apply_roadblockCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 650 OffsetLeft 650 PositionY 96 OffsetTop 96 SizeX 110 OffsetRight -760 SizeY 38 OffsetBottom -134 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Apply" } } }
|
|
||||||
TextWidgetClass { Name "Saved_roadblockCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 136 OffsetTop 136 SizeX 456 OffsetRight -964 SizeY 22 OffsetBottom -158 } Color 0.9 0.92 0.94 1 Text "Waiting for saved value" "Font Size" 16 "Min Font Size" 16 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
|
||||||
TextWidgetClass { Name "Help_roadblockCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 160 OffsetTop 160 SizeX 456 OffsetRight -964 SizeY 32 OffsetBottom -192 } Color 0.9 0.92 0.94 1 Text "Four guards per post. Applies next round." "Font Size" 14 "Min Font Size" 14 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
|
||||||
|
|
||||||
|
|
||||||
TextWidgetClass { Name "GuardLinkLabel" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 202 OffsetTop 202 SizeX 456 OffsetRight -484 SizeY 28 OffsetBottom -230 } Color 0.9 0.92 0.94 1 Text "Building guards, camps and hospitals" "Font Size" 18 "Min Font Size" 18 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
TextWidgetClass { Name "GuardLinkLabel" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 202 OffsetTop 202 SizeX 456 OffsetRight -484 SizeY 28 OffsetBottom -230 } Color 0.9 0.92 0.94 1 Text "Building guards, camps and hospitals" "Font Size" 18 "Min Font Size" 18 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
@@ -983,6 +1032,24 @@ TextWidgetClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
} }
|
||||||
|
FrameWidgetClass { "Is Visible" 0 Name "CheckpointsPage" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 220 OffsetLeft 220 PositionY 160 OffsetTop 160 SizeX 1000 OffsetRight -1220 SizeY 486 OffsetBottom -646 } {
|
||||||
|
TextWidgetClass { Name "CheckpointsHelp" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 6 OffsetTop 6 SizeX 936 OffsetRight -964 SizeY 50 OffsetBottom -56 } Color 0.9 0.92 0.94 1 Text "Set counts separately for small and main-road checkpoints. Changes apply next round. Road width determines the type; unsuitable locations are skipped." "Font Size" 19 "Min Font Size" 19 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "Label_roadblockCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 66 OffsetTop 66 SizeX 456 OffsetRight -484 SizeY 26 OffsetBottom -92 } Color 0.9 0.92 0.94 1 Text "Small checkpoints (0-30; 0 off)" "Font Size" 20 "Min Font Size" 20 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
ButtonWidgetClass : "{DA43C77A0D1E59F8}UI/layouts/ERR/AdminValue.layout" { Name "roadblockCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 96 OffsetTop 96 SizeX 130 OffsetRight -158 SizeY 38 OffsetBottom -134 } components { SCR_EditBoxComponent "{547290FFBD5B33E9}" { m_sLabel "" } } }
|
||||||
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Apply_roadblockCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 170 OffsetLeft 170 PositionY 96 OffsetTop 96 SizeX 110 OffsetRight -280 SizeY 38 OffsetBottom -134 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Apply" } } }
|
||||||
|
TextWidgetClass { Name "Saved_roadblockCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 136 OffsetTop 136 SizeX 456 OffsetRight -484 SizeY 22 OffsetBottom -158 } Color 0.9 0.92 0.94 1 Text "Waiting for saved value" "Font Size" 16 "Min Font Size" 16 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "Help_roadblockCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 160 OffsetTop 160 SizeX 456 OffsetRight -484 SizeY 32 OffsetBottom -192 } Color 0.9 0.92 0.94 1 Text "Four guards, compact cover. Below the main-road width." "Font Size" 14 "Min Font Size" 14 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "Label_largeRoadblockCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 66 OffsetTop 66 SizeX 456 OffsetRight -964 SizeY 26 OffsetBottom -92 } Color 0.9 0.92 0.94 1 Text "Large checkpoints (0-30; 0 off)" "Font Size" 20 "Min Font Size" 20 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
ButtonWidgetClass : "{DA43C77A0D1E59F8}UI/layouts/ERR/AdminValue.layout" { Name "largeRoadblockCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 96 OffsetTop 96 SizeX 130 OffsetRight -638 SizeY 38 OffsetBottom -134 } components { SCR_EditBoxComponent "{547290FFBD5B33E9}" { m_sLabel "" } } }
|
||||||
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Apply_largeRoadblockCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 650 OffsetLeft 650 PositionY 96 OffsetTop 96 SizeX 110 OffsetRight -760 SizeY 38 OffsetBottom -134 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Apply" } } }
|
||||||
|
TextWidgetClass { Name "Saved_largeRoadblockCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 136 OffsetTop 136 SizeX 456 OffsetRight -964 SizeY 22 OffsetBottom -158 } Color 0.9 0.92 0.94 1 Text "Waiting for saved value" "Font Size" 16 "Min Font Size" 16 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "Help_largeRoadblockCount" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 508 OffsetLeft 508 PositionY 160 OffsetTop 160 SizeX 456 OffsetRight -964 SizeY 32 OffsetBottom -192 } Color 0.9 0.92 0.94 1 Text "Eight guards, extended cover and approach barriers." "Font Size" 14 "Min Font Size" 14 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "Label_mainRoadWidthMetres" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 202 OffsetTop 202 SizeX 456 OffsetRight -484 SizeY 26 OffsetBottom -228 } Color 0.9 0.92 0.94 1 Text "Main-road minimum width (5-12 m)" "Font Size" 20 "Min Font Size" 20 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
ButtonWidgetClass : "{DA43C77A0D1E59F8}UI/layouts/ERR/AdminValue.layout" { Name "mainRoadWidthMetres" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 232 OffsetTop 232 SizeX 130 OffsetRight -158 SizeY 38 OffsetBottom -270 } components { SCR_EditBoxComponent "{547290FFBD5B33E9}" { m_sLabel "" } } }
|
||||||
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "Apply_mainRoadWidthMetres" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 170 OffsetLeft 170 PositionY 232 OffsetTop 232 SizeX 110 OffsetRight -280 SizeY 38 OffsetBottom -270 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Apply" } } }
|
||||||
|
TextWidgetClass { Name "Saved_mainRoadWidthMetres" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 272 OffsetTop 272 SizeX 456 OffsetRight -484 SizeY 22 OffsetBottom -294 } Color 0.9 0.92 0.94 1 Text "Waiting for saved value" "Font Size" 16 "Min Font Size" 16 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "Help_mainRoadWidthMetres" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 296 OffsetTop 296 SizeX 456 OffsetRight -484 SizeY 32 OffsetBottom -328 } Color 0.9 0.92 0.94 1 Text "Default 6 m. Roads at or above this width use large posts." "Font Size" 14 "Min Font Size" 14 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
} }
|
} }
|
||||||
FrameWidgetClass { "Is Visible" 0 Name "GuardsPage" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 220 OffsetLeft 220 PositionY 160 OffsetTop 160 SizeX 1000 OffsetRight -1220 SizeY 486 OffsetBottom -646 } {
|
FrameWidgetClass { "Is Visible" 0 Name "GuardsPage" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 220 OffsetLeft 220 PositionY 160 OffsetTop 160 SizeX 1000 OffsetRight -1220 SizeY 486 OffsetBottom -646 } {
|
||||||
TextWidgetClass { Name "GuardsHeading" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 6 OffsetTop 6 SizeX 710 OffsetRight -738 SizeY 32 OffsetBottom -38 } Color 0.9 0.92 0.94 1 Text "Building guards - changes apply next round" "Font Size" 22 "Min Font Size" 22 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
TextWidgetClass { Name "GuardsHeading" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 6 OffsetTop 6 SizeX 710 OffsetRight -738 SizeY 32 OffsetBottom -38 } Color 0.9 0.92 0.94 1 Text "Building guards - changes apply next round" "Font Size" 22 "Min Font Size" 22 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
@@ -1162,7 +1229,7 @@ TextWidgetClass { Name "Help_aiShadow" Slot FrameWidgetSlot { Anchor 0 0 0 0 Pos
|
|||||||
TextWidgetClass { Name "AIChangesHelp" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 350 OffsetTop 350 SizeX 936 OffsetRight -964 SizeY 72 OffsetBottom -422 } Color 0.9 0.92 0.94 1 Text "Current is the default. Proposal logging is for comparing plans before enabling coordinated orders. Neither setting changes the running round." "Font Size" 18 "Min Font Size" 18 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
TextWidgetClass { Name "AIChangesHelp" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 350 OffsetTop 350 SizeX 936 OffsetRight -964 SizeY 72 OffsetBottom -422 } Color 0.9 0.92 0.94 1 Text "Current is the default. Proposal logging is for comparing plans before enabling coordinated orders. Neither setting changes the running round." "Font Size" 18 "Min Font Size" 18 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
} }
|
} }
|
||||||
FrameWidgetClass { "Is Visible" 0 Name "StarterPage" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 220 OffsetLeft 220 PositionY 160 OffsetTop 160 SizeX 1000 OffsetRight -1220 SizeY 486 OffsetBottom -646 } {
|
FrameWidgetClass { "Is Visible" 0 Name "StarterPage" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 220 OffsetLeft 220 PositionY 160 OffsetTop 160 SizeX 1000 OffsetRight -1220 SizeY 486 OffsetBottom -646 } {
|
||||||
TextWidgetClass { Name "StarterHeading" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 5 OffsetTop 5 SizeX 350 OffsetRight -378 SizeY 30 OffsetBottom -35 } Color 0.9 0.92 0.94 1 Text "Shared starting backpack" "Font Size" 17 "Min Font Size" 17 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
TextWidgetClass { Name "StarterHeading" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 5 OffsetTop 5 SizeX 350 OffsetRight -378 SizeY 30 OffsetBottom -35 } Color 0.9 0.92 0.94 1 Text "Shared starting supplies" "Font Size" 17 "Min Font Size" 17 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "StarterDefault" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 410 OffsetLeft 410 PositionY 0 OffsetTop 0 SizeX 260 OffsetRight -670 SizeY 40 OffsetBottom -40 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Default loadout" } } }
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "StarterDefault" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 410 OffsetLeft 410 PositionY 0 OffsetTop 0 SizeX 260 OffsetRight -670 SizeY 40 OffsetBottom -40 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Default loadout" } } }
|
||||||
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "StarterCustom" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 690 OffsetLeft 690 PositionY 0 OffsetTop 0 SizeX 274 OffsetRight -964 SizeY 40 OffsetBottom -40 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Custom loadout" } } }
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "StarterCustom" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 690 OffsetLeft 690 PositionY 0 OffsetTop 0 SizeX 274 OffsetRight -964 SizeY 40 OffsetBottom -40 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Custom loadout" } } }
|
||||||
TextWidgetClass { Name "StarterState" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 46 OffsetTop 46 SizeX 936 OffsetRight -964 SizeY 44 OffsetBottom -90 } Color 0.9 0.92 0.94 1 Text "Waiting for saved loadout..." "Font Size" 17 "Min Font Size" 17 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
TextWidgetClass { Name "StarterState" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 46 OffsetTop 46 SizeX 936 OffsetRight -964 SizeY 44 OffsetBottom -90 } Color 0.9 0.92 0.94 1 Text "Waiting for saved loadout..." "Font Size" 17 "Min Font Size" 17 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
@@ -1175,11 +1242,12 @@ TextWidgetClass { Name "StarterQuantityLabel" Slot FrameWidgetSlot { Anchor 0 0
|
|||||||
ButtonWidgetClass : "{DA43C77A0D1E59F8}UI/layouts/ERR/AdminValue.layout" { Name "StarterQuantity" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 676 OffsetLeft 676 PositionY 144 OffsetTop 144 SizeX 88 OffsetRight -764 SizeY 40 OffsetBottom -184 } components { SCR_EditBoxComponent "{547290FFBD5B33E9}" { m_sLabel "" } } }
|
ButtonWidgetClass : "{DA43C77A0D1E59F8}UI/layouts/ERR/AdminValue.layout" { Name "StarterQuantity" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 676 OffsetLeft 676 PositionY 144 OffsetTop 144 SizeX 88 OffsetRight -764 SizeY 40 OffsetBottom -184 } components { SCR_EditBoxComponent "{547290FFBD5B33E9}" { m_sLabel "" } } }
|
||||||
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "StarterAdd" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 776 OffsetLeft 776 PositionY 144 OffsetTop 144 SizeX 188 OffsetRight -964 SizeY 40 OffsetBottom -184 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Save quantity" } } }
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "StarterAdd" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 776 OffsetLeft 776 PositionY 144 OffsetTop 144 SizeX 188 OffsetRight -964 SizeY 40 OffsetBottom -184 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Save quantity" } } }
|
||||||
TextWidgetClass { Name "StarterCatalogState" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 192 OffsetTop 192 SizeX 936 OffsetRight -964 SizeY 28 OffsetBottom -220 } Color 0.9 0.92 0.94 1 Text "Choose a mod, then an item. Quantity 0 removes an item." "Font Size" 17 "Min Font Size" 17 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
TextWidgetClass { Name "StarterCatalogState" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 192 OffsetTop 192 SizeX 936 OffsetRight -964 SizeY 28 OffsetBottom -220 } Color 0.9 0.92 0.94 1 Text "Choose a mod, then an item. Quantity 0 removes an item." "Font Size" 17 "Min Font Size" 17 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
TextWidgetClass { Name "StarterSavedHeading" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 230 OffsetTop 230 SizeX 936 OffsetRight -964 SizeY 28 OffsetBottom -258 } Color 0.9 0.92 0.94 1 Text "Saved custom contents (select an entry to remove)" "Font Size" 17 "Min Font Size" 17 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
ButtonWidgetClass : "{4B5AE6E64037FFB4}UI/layouts/WidgetLibrary/ComboBox/WLib_ComboBox.layout" { Name "StarterDestination" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 226 OffsetTop 226 SizeX 540 OffsetRight -568 SizeY 40 OffsetBottom -266 } components { SCR_ComboBoxComponent "{546B1D464BC32853}" { m_bUseLabel 0 m_sLabel "" m_fSizeWithoutLabel 40 } } }
|
||||||
ButtonWidgetClass : "{4B5AE6E64037FFB4}UI/layouts/WidgetLibrary/ComboBox/WLib_ComboBox.layout" { Name "StarterSaved" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 266 OffsetTop 266 SizeX 728 OffsetRight -756 SizeY 40 OffsetBottom -306 } components { SCR_ComboBoxComponent "{546B1D464BC32853}" { m_bUseLabel 0 m_sLabel "" m_fSizeWithoutLabel 40 } } }
|
TextWidgetClass { Name "StarterSavedHeading" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 278 OffsetTop 278 SizeX 936 OffsetRight -964 SizeY 28 OffsetBottom -306 } Color 0.9 0.92 0.94 1 Text "Saved custom contents (select an entry to remove)" "Font Size" 17 "Min Font Size" 17 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "StarterRemove" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 776 OffsetLeft 776 PositionY 266 OffsetTop 266 SizeX 188 OffsetRight -964 SizeY 40 OffsetBottom -306 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Remove item" } } }
|
ButtonWidgetClass : "{4B5AE6E64037FFB4}UI/layouts/WidgetLibrary/ComboBox/WLib_ComboBox.layout" { Name "StarterSaved" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 314 OffsetTop 314 SizeX 728 OffsetRight -756 SizeY 40 OffsetBottom -354 } components { SCR_ComboBoxComponent "{546B1D464BC32853}" { m_bUseLabel 0 m_sLabel "" m_fSizeWithoutLabel 40 } } }
|
||||||
TextWidgetClass { Name "StarterSummary" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 314 OffsetTop 314 SizeX 936 OffsetRight -964 SizeY 30 OffsetBottom -344 } Color 0.9 0.92 0.94 1 Text "Custom list is empty." "Font Size" 17 "Min Font Size" 17 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" { Name "StarterRemove" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 776 OffsetLeft 776 PositionY 314 OffsetTop 314 SizeX 188 OffsetRight -964 SizeY 40 OffsetBottom -354 } components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Remove item" } } }
|
||||||
TextWidgetClass { Name "StarterHelp" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 352 OffsetTop 352 SizeX 936 OffsetRight -964 SizeY 72 OffsetBottom -424 } Color 0.9 0.92 0.94 1 Text "Up to 32 item types / 64 items. Changes apply next round, at prison or crash. The backpack has limited space; items that do not fit are omitted. Enemy spawn weights do not affect this loadout." "Font Size" 17 "Min Font Size" 17 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
TextWidgetClass { Name "StarterSummary" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 362 OffsetTop 362 SizeX 936 OffsetRight -964 SizeY 30 OffsetBottom -392 } Color 0.9 0.92 0.94 1 Text "Custom list is empty." "Font Size" 17 "Min Font Size" 17 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
TextWidgetClass { Name "StarterHelp" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 400 OffsetTop 400 SizeX 936 OffsetRight -964 SizeY 72 OffsetBottom -472 } Color 0.9 0.92 0.94 1 Text "Choose where to spawn each quantity before saving: inside the backpack or on the ground beside it. Up to 32 entries / 64 items combined. Applies next round, at prison or crash. Items that do not fit inside are also left nearby." "Font Size" 17 "Min Font Size" 17 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
} }
|
} }
|
||||||
FrameWidgetClass { "Is Visible" 0 Name "SarkaPage" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 220 OffsetLeft 220 PositionY 160 OffsetTop 160 SizeX 1000 OffsetRight -1220 SizeY 486 OffsetBottom -646 } {
|
FrameWidgetClass { "Is Visible" 0 Name "SarkaPage" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 220 OffsetLeft 220 PositionY 160 OffsetTop 160 SizeX 1000 OffsetRight -1220 SizeY 486 OffsetBottom -646 } {
|
||||||
TextWidgetClass { Name "SarkaHeading" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 6 OffsetTop 6 SizeX 710 OffsetRight -738 SizeY 32 OffsetBottom -38 } Color 0.9 0.92 0.94 1 Text "Šárka special-forces hunters" "Font Size" 22 "Min Font Size" 22 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
TextWidgetClass { Name "SarkaHeading" Slot FrameWidgetSlot { Anchor 0 0 0 0 PositionX 28 OffsetLeft 28 PositionY 6 OffsetTop 6 SizeX 710 OffsetRight -738 SizeY 32 OffsetBottom -38 } Color 0.9 0.92 0.94 1 Text "Šárka special-forces hunters" "Font Size" 22 "Min Font Size" 22 Wrap 1 FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" } }
|
||||||
|
|||||||
@@ -0,0 +1,43 @@
|
|||||||
|
FrameWidgetClass {
|
||||||
|
Name "ERR_PreparationFailure"
|
||||||
|
Slot FrameWidgetSlot { Anchor 0 0 1 1 OffsetLeft 0 OffsetTop 0 OffsetRight 0 OffsetBottom 0 }
|
||||||
|
{
|
||||||
|
ImageWidgetClass {
|
||||||
|
Name "Background"
|
||||||
|
Slot FrameWidgetSlot { Anchor 0 0 1 1 OffsetLeft 0 OffsetTop 0 OffsetRight 0 OffsetBottom 0 }
|
||||||
|
Color 0.025 0.035 0.04 1
|
||||||
|
}
|
||||||
|
FrameWidgetClass {
|
||||||
|
Name "FailurePanel"
|
||||||
|
Slot FrameWidgetSlot { Anchor 0.5 0.5 0.5 0.5 OffsetLeft 0 OffsetTop 0 SizeX 960 OffsetRight -960 SizeY 620 OffsetBottom -620 Alignment 0.5 0.5 }
|
||||||
|
{
|
||||||
|
TextWidgetClass {
|
||||||
|
Name "FailureTitle"
|
||||||
|
Slot FrameWidgetSlot { Anchor 0 0 1 0 OffsetLeft 0 OffsetTop 0 SizeY 58 OffsetBottom -58 }
|
||||||
|
Color 1 1 1 1
|
||||||
|
Text "Mission could not start"
|
||||||
|
"Font Size" 32
|
||||||
|
"Min Font Size" 32
|
||||||
|
}
|
||||||
|
TextWidgetClass {
|
||||||
|
Name "FailureDescription"
|
||||||
|
Slot FrameWidgetSlot { Anchor 0 0 1 0 OffsetLeft 0 OffsetTop 80 SizeY 400 OffsetBottom -480 }
|
||||||
|
Color 1 1 1 1
|
||||||
|
"Font Size" 22
|
||||||
|
"Min Font Size" 22
|
||||||
|
Wrap 1
|
||||||
|
}
|
||||||
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" {
|
||||||
|
Name "ReturnToMainMenu"
|
||||||
|
Slot FrameWidgetSlot { Anchor 0 0 0 0 OffsetLeft 0 OffsetTop 520 SizeX 400 OffsetRight -400 SizeY 56 OffsetBottom -576 }
|
||||||
|
components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Return to main menu" } }
|
||||||
|
}
|
||||||
|
ButtonWidgetClass : "{75C912A1C89BE6C2}UI/layouts/WidgetLibrary/Buttons/WLib_ButtonText.layout" {
|
||||||
|
Name "OpenPauseMenu"
|
||||||
|
Slot FrameWidgetSlot { Anchor 0 0 0 0 OffsetLeft 430 OffsetTop 520 SizeX 400 OffsetRight -830 SizeY 56 OffsetBottom -576 }
|
||||||
|
components { SCR_ButtonTextComponent "{5548F0143AE99095}" { m_sText "Pause menu (Esc / Back)" } }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
MetaFileClass {
|
||||||
|
Name "{28DD8E27B1CF40C5}UI/layouts/ERR/PreparationFailure.layout"
|
||||||
|
Configurations {
|
||||||
|
LayoutResourceClass PC { }
|
||||||
|
LayoutResourceClass HEADLESS : PC { }
|
||||||
|
LayoutResourceClass XBOX_ONE : PC { }
|
||||||
|
LayoutResourceClass XBOX_SERIES : PC { }
|
||||||
|
LayoutResourceClass PS4 : PC { }
|
||||||
|
LayoutResourceClass PS5 : PC { }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -6,8 +6,8 @@ FrameWidgetClass {
|
|||||||
OffsetTop 0
|
OffsetTop 0
|
||||||
SizeX 900
|
SizeX 900
|
||||||
OffsetRight -900
|
OffsetRight -900
|
||||||
SizeY 240
|
SizeY 520
|
||||||
OffsetBottom -240
|
OffsetBottom -520
|
||||||
Alignment 0.5 0.5
|
Alignment 0.5 0.5
|
||||||
}
|
}
|
||||||
"Z Order" 10
|
"Z Order" 10
|
||||||
|
|||||||
@@ -0,0 +1,57 @@
|
|||||||
|
SizeLayoutWidgetClass {
|
||||||
|
Name "ERR_RoundResults"
|
||||||
|
AllowWidthOverride 1
|
||||||
|
WidthOverride 1100
|
||||||
|
AllowHeightOverride 1
|
||||||
|
HeightOverride 620
|
||||||
|
Slot OverlayWidgetSlot { HorizontalAlign 1 VerticalAlign 1 }
|
||||||
|
components { SCR_GameOverScreenContentUIComponent "{6E81CD1BC83BE245}" { } }
|
||||||
|
{
|
||||||
|
FrameWidgetClass {
|
||||||
|
Name "ResultFrame"
|
||||||
|
Slot OverlayWidgetSlot { HorizontalAlign 3 VerticalAlign 3 }
|
||||||
|
{
|
||||||
|
TextWidgetClass {
|
||||||
|
Name "GameOver_State"
|
||||||
|
Slot FrameWidgetSlot { Anchor 0 0 1 0 OffsetLeft 20 OffsetTop 0 OffsetRight 20 SizeY 52 OffsetBottom -52 }
|
||||||
|
Color 1 1 1 1 "Font Size" 36 "Min Font Size" 36
|
||||||
|
Text "Round ended"
|
||||||
|
FontProperties FontProperties { Font "{EABA4FE9D014CCEF}UI/Fonts/RobotoCondensed/RobotoCondensed_Bold.fnt" }
|
||||||
|
}
|
||||||
|
TextWidgetClass {
|
||||||
|
Name "GameOver_Description"
|
||||||
|
Slot FrameWidgetSlot { Anchor 0 0 1 0 OffsetLeft 20 OffsetTop 58 OffsetRight 20 SizeY 64 OffsetBottom -122 }
|
||||||
|
Color 0.9 0.92 0.94 1 "Font Size" 22 "Min Font Size" 22 Wrap 1
|
||||||
|
FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" }
|
||||||
|
}
|
||||||
|
TextWidgetClass {
|
||||||
|
Name "StatisticsHeading"
|
||||||
|
Slot FrameWidgetSlot { Anchor 0 0 1 0 OffsetLeft 20 OffsetTop 132 OffsetRight 20 SizeY 36 OffsetBottom -168 }
|
||||||
|
Color 0.9 0.8 0.5 1 "Font Size" 26 "Min Font Size" 26 Text "Mission statistics"
|
||||||
|
FontProperties FontProperties { Font "{EABA4FE9D014CCEF}UI/Fonts/RobotoCondensed/RobotoCondensed_Bold.fnt" }
|
||||||
|
}
|
||||||
|
ScrollLayoutWidgetClass {
|
||||||
|
Name "StatisticsScroll"
|
||||||
|
Slot FrameWidgetSlot { Anchor 0 0 1 1 OffsetLeft 20 OffsetTop 178 OffsetRight 20 OffsetBottom 12 }
|
||||||
|
components { SCR_GamepadScrollComponent "{5707100AC31E657E}" { } }
|
||||||
|
{
|
||||||
|
VerticalLayoutWidgetClass {
|
||||||
|
Name "StatisticsContent"
|
||||||
|
Slot AlignableSlot { HorizontalAlign 3 VerticalAlign 0 Padding 0 0 18 0 }
|
||||||
|
{
|
||||||
|
TextWidgetClass {
|
||||||
|
Name "RoundStatistics"
|
||||||
|
Slot LayoutSlot { HorizontalAlign 3 Padding 0 0 0 8 SizeMode Auto }
|
||||||
|
Clipping Ancestor Color 0.9 0.92 0.94 1
|
||||||
|
Text "Waiting for mission statistics..."
|
||||||
|
"Font Size" 20 "Min Font Size" 20 Wrap 1
|
||||||
|
FontProperties FontProperties { Font "{3E7733BAC8C831F6}UI/Fonts/RobotoCondensed/RobotoCondensed_Regular.fnt" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
MetaFileClass {
|
||||||
|
Name "{C63B4D1E09A572F8}UI/layouts/ERR/RoundResults.layout"
|
||||||
|
Configurations {
|
||||||
|
LayoutResourceClass PC { }
|
||||||
|
LayoutResourceClass HEADLESS : PC { }
|
||||||
|
LayoutResourceClass XBOX_ONE : PC { }
|
||||||
|
LayoutResourceClass XBOX_SERIES : PC { }
|
||||||
|
LayoutResourceClass PS4 : PC { }
|
||||||
|
LayoutResourceClass PS5 : PC { }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -21,3 +21,32 @@ Chat delegates the reveal alias to Core instead of defining a duplicate. Its `in
|
|||||||
`ERR_NativeAdminSettingsProbe.Run(ERR_GameMode mode)` is an opt-in WORKBENCH test awaiting central native execution. It checks actual authorized read/help dispatch and unauthorized/invalid mutation rejection. Valid changes exercise the same production setting-command handler with a separate `ERR_Settings` instance at `$profile:erri-native-admin-settings-probe.json`; they never mutate the active mission's settings. The fixture rejects already-existing fixture files, verifies native save/reload and unrelated values, then removes only its own fixture primary, backup and temporary files.
|
`ERR_NativeAdminSettingsProbe.Run(ERR_GameMode mode)` is an opt-in WORKBENCH test awaiting central native execution. It checks actual authorized read/help dispatch and unauthorized/invalid mutation rejection. Valid changes exercise the same production setting-command handler with a separate `ERR_Settings` instance at `$profile:erri-native-admin-settings-probe.json`; they never mutate the active mission's settings. The fixture rejects already-existing fixture files, verifies native save/reload and unrelated values, then removes only its own fixture primary, backup and temporary files.
|
||||||
|
|
||||||
A policy pass does not prove native script compilation, remote RPC ownership or readable chat presentation. Run the native probe inside Core-only and companion regression fixtures, then retain real-client administration in multiplayer acceptance.
|
A policy pass does not prove native script compilation, remote RPC ownership or readable chat presentation. Run the native probe inside Core-only and companion regression fixtures, then retain real-client administration in multiplayer acceptance.
|
||||||
|
|
||||||
|
## Radio intel progression
|
||||||
|
|
||||||
|
**Intel → Radio intel** configures `radioIntelSiteCount` (0–20, default 5).
|
||||||
|
Use `/esc intel radiosites show|set N|help` from the same authenticated command
|
||||||
|
path. Zero disables the requirement. The discovery service snapshots the saved
|
||||||
|
value at round initialization; edits affect the next round. Older settings files
|
||||||
|
receive the default without changing their other values.
|
||||||
|
|
||||||
|
Only distinct, prepared, fully identified (`Knowledge() == 2`) non-radio sites
|
||||||
|
count. Prison, extraction and sites marked `RevealOnEscape` are excluded. Rough
|
||||||
|
clues and anonymous question marks do not contribute. After all background site
|
||||||
|
preparation finishes, the effective requirement is capped at the available
|
||||||
|
eligible site count. Once unlocked, radio intel stays unlocked for that round.
|
||||||
|
The submenu shows this round's progress separately from the saved requirement.
|
||||||
|
|
||||||
|
Ordinary document assignment and recovery exclude radios while locked. An issued
|
||||||
|
ordinary folder already targeting a radio redirects to another unfinished site;
|
||||||
|
its issued evidence identity is updated, but already queued or delivered enemy
|
||||||
|
reports keep their copied contents. With no alternative, the folder remains
|
||||||
|
unspent. Fixed objective documents keep their radio targets and are automatically
|
||||||
|
read from player inventory after unlocking. A team notice explains the wait once
|
||||||
|
per round. Normal exhaustion/cleanup behavior resumes after unlock.
|
||||||
|
|
||||||
|
The gate applies only to document targeting. Physical observation, map question
|
||||||
|
marks, radio interaction and radio defence retain their existing rules.
|
||||||
|
|
||||||
|
Validation: `tests/test_radio_intel.py`, settings/menu/feedback regressions and
|
||||||
|
[the isolated native mission evidence](evidence/radio-intel-2026-10-21/README.md).
|
||||||
|
|||||||
@@ -5,12 +5,17 @@ crate. The remaining supply cache and medical stash provide the two reachable
|
|||||||
radio-intel sources. Mortar reserve/courier preparation uses the existing eastern
|
radio-intel sources. Mortar reserve/courier preparation uses the existing eastern
|
||||||
outpost, preserving its finite logistics without creating a replacement site.
|
outpost, preserving its finite logistics without creating a replacement site.
|
||||||
|
|
||||||
Extraction is authored at 4800.953 / 11487.412 on Everon's airfield. Before
|
As of 28 October 2026, extraction can use suitable clear ground anywhere on the
|
||||||
spawning the helicopter, `ERR_AirfieldPlacement` checks nearby physical airfield
|
terrain. Original Everon randomizes its pickup with `RandomClear 1` and
|
||||||
anchors, dry terrain, slope and the aircraft/overhead clearance volume. A failed
|
`RequireAirfield 0`; its previous airport coordinate remains only a fallback
|
||||||
check fails preparation; there is no fallback into the woods. New islands need
|
subject to the same landing-space and escape-boundary checks. Terrain-independent
|
||||||
their own authored pad and recognizable airfield anchors. Aircraft damage and
|
placement also samples the entire terrain immediately, without an airport-first
|
||||||
physics remain normal after spawning.
|
pass or a dedicated airport-discovery wait.
|
||||||
|
|
||||||
|
Primary ground/overhead clearance and secondary transport space are checked
|
||||||
|
before accepting a candidate. Site creation rechecks the generated primary pad.
|
||||||
|
Aircraft damage and physics remain normal. Explicit authored airport-only pads
|
||||||
|
remain supported through `RequireAirfield 1`.
|
||||||
|
|
||||||
Exact discoveries use native wrapper images and matching glow images:
|
Exact discoveries use native wrapper images and matching glow images:
|
||||||
helicopter for extraction, radio for radio camps, artillery for mortar sites,
|
helicopter for extraction, radio for radio camps, artillery for mortar sites,
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Unarmed civilians drive ordinary S105 cars and S1203 vans along the terrain's roads. This is ambient life, separate from enemy convoys and VirtualHQ: drivers receive no enemy loadouts, intelligence or pursuit orders.
|
Unarmed civilians drive ordinary S105 cars and S1203 vans along the terrain's roads. This is ambient life, separate from enemy convoys and VirtualHQ: drivers receive no enemy loadouts, intelligence or pursuit orders.
|
||||||
|
|
||||||
The admin menu's **Factions** page has **Civilian traffic (0–6 cars)**. The default is 3. Set 0 to stop new traffic; existing unclaimed cars retire only when the normal distance and visibility checks allow it. The same setting is available as `/esc mission traffic set N` and `mission.civilianTrafficCount` in the unified server `Escapists.json`. Old configurations receive the default automatically.
|
The admin menu's **Mission → Civilian vehicles** page has **Civilian traffic (0–6 cars)**. The default is 3. Set 0 to stop new traffic; existing unclaimed cars retire only when the normal distance and visibility checks allow it. The same setting is available as `/esc mission traffic set N` and `mission.civilianTrafficCount` in the unified server `Escapists.json`. Old configurations receive the default automatically.
|
||||||
|
|
||||||
After the prison phase, the server tries one new car every 30 seconds, with at most eight route candidates per attempt. Each fixed route starts on a clear road at least 1,000 m from every controlled player body and known spectator target, passes a road near the selected player area, then leaves along another road. Exit candidates include both sides of the area so a coastal road does not require an endpoint across water. It is not redirected to follow moving players. Positions come from the current terrain's road network; terrain-specific adapters are unnecessary. Roads and usable native vehicle navigation are still required.
|
After the prison phase, the server tries one new car every 30 seconds, with at most eight route candidates per attempt. Each fixed route starts on a clear road at least 1,000 m from every controlled player body and known spectator target, passes a road near the selected player area, then leaves along another road. Exit candidates include both sides of the area so a coastal road does not require an endpoint across water. It is not redirected to follow moving players. Positions come from the current terrain's road network; terrain-specific adapters are unnecessary. Roads and usable native vehicle navigation are still required.
|
||||||
|
|
||||||
|
|||||||
+92
-20
@@ -39,17 +39,21 @@ and `/esc mission startammo set N` (also `show` and `help`).
|
|||||||
|
|
||||||
## Roadblocks
|
## Roadblocks
|
||||||
|
|
||||||
The admin menu **Settings → Roadblocks next round** sets `mission.roadblockCount`
|
Under **Forces → Checkpoints**, configure two independent next-round quotas:
|
||||||
in `Escapists.json`: **0–30**, default **4**; **0 disables** them. The chat equivalent
|
|
||||||
is `/esc mission roadblocks set N` (also `show` and `help`). Changes apply on the
|
|
||||||
next round/restart, leaving current units and cover in place.
|
|
||||||
|
|
||||||
Each checkpoint has two defensive bays built from eight sandbag walls, four
|
| Setting | Range | Default | Chat command |
|
||||||
approach barriers, two anti-vehicle obstacles, two stop signs, a small rest tent
|
| --- | --- | --- | --- |
|
||||||
and an inspection table. Four soldiers come from the selected enemy faction. They use normal equipment rules and physical
|
| Small checkpoints (`mission.roadblockCount`) | 0–30 | 4 | `/esc mission roadblocks set N` |
|
||||||
radio reporting to VirtualHQ; HQ can send their squad to respond to contacts.
|
| Large checkpoints (`mission.largeRoadblockCount`) | 0–30 | 4 | `/esc mission largeroadblocks set N` |
|
||||||
They do not reveal player locations to HQ merely by being created. Soldiers and
|
| Main-road minimum width (`mission.mainRoadWidthMetres`) | 5–12 m | 6 m | `/esc mission mainroadwidth set N` |
|
||||||
cover are owned by the round; killed guards are not replaced.
|
|
||||||
|
Both counts can be disabled separately with zero; set both to zero to disable all checkpoints. The existing `roadblockCount` value now controls only small roads. Old configurations retain that value and receive the new defaults. Changes save in `Escapists.json` and apply next round; existing units and cover stay in place. `show` and `help` also work for each chat command.
|
||||||
|
|
||||||
|
Roads at or above the width cutoff get large checkpoints; roads below it get compact posts. This is a width classification from the terrain's road network, not a guaranteed asphalt/dirt or forest distinction. An exhausted or disabled quota cannot consume the other type's allowance. Both types share the existing minimum spacing, so they cannot overlap each other.
|
||||||
|
|
||||||
|
Small checkpoints retain four guards, four sandbag walls, two approach barriers and two signs (about 17.8 m long). Large checkpoints have eight guards, eight sandbag walls, four approach barriers and two signs (about 42.8 m long), with four protected guard bays on each shoulder. Large candidates require at least 60 m of road and a straight clear approach. Both preserve a straight vehicle passage at least four metres wide.
|
||||||
|
|
||||||
|
Soldiers come from the selected enemy faction, use normal equipment and physical radio reporting, and register with VirtualHQ at their actual four- or eight-soldier strength. They do not reveal player locations simply by spawning. Guards are not replaced after death. Every post is constructed one actor, prop or waypoint per callback; a failed or interrupted build rolls back without consuming either quota. At maximum settings the two types can create up to 360 guards and 660 replicated props; their default combined count is eight posts and 48 guards. The Status page reports placed/requested counts separately.
|
||||||
|
|
||||||
Placement uses the loaded terrain's road network and Soldiers navmesh after
|
Placement uses the loaded terrain's road network and Soldiers navmesh after
|
||||||
terrain/site preparation. The initial search yields after 12 seconds; unfinished
|
terrain/site preparation. The initial search yields after 12 seconds; unfinished
|
||||||
@@ -63,6 +67,10 @@ requested totals instead of preventing mission startup. The admin Status page
|
|||||||
also shows these totals. This is an interim checkpoint system, independent of the
|
also shows these totals. This is an interim checkpoint system, independent of the
|
||||||
existing HQ-directed road interceptions.
|
existing HQ-directed road interceptions.
|
||||||
|
|
||||||
|
The [1 November native checkpoint test](evidence/large-checkpoints-2026-11-01/native-checks.log) placed one small and one large post on Everon: 12 living guards, 22 replicated props, correct HQ strength, model footprints outside the centre passage, and separate completed quotas. The [menu/settings fixture](evidence/large-checkpoints-2026-11-01/menu/native-checks.log) saved and reloaded distinct counts and width, and measured the new controls’ native text bounds. It instantiates the generated layout directly; it does not claim human input, remote RPC delivery or screenshot acceptance. Both completed with unchanged inputs and cleanup; strict runners retain 13 existing resource/world errors and no script errors. Earlier failed iterations are recorded alongside the evidence. Full-load performance and multiplayer acceptance remain unmeasured.
|
||||||
|
|
||||||
|
Fresh settings now initialize both drone keys, including the valid 300-second cooldown; the missing cooldown previously prevented a fresh settings document from passing save/readback validation.
|
||||||
|
|
||||||
## Šárka special-forces hunters
|
## Šárka special-forces hunters
|
||||||
|
|
||||||
Under **Forces → Šárka hunters**, set **Anger points per Šárka** from 1 to 30.
|
Under **Forces → Šárka hunters**, set **Anger points per Šárka** from 1 to 30.
|
||||||
@@ -123,9 +131,12 @@ for at least 15 minutes after a disconnect, including a client crash. A longer
|
|||||||
native `operating.slotReservationTimeout` is respected, as is its unlimited
|
native `operating.slotReservationTimeout` is respected, as is its unlimited
|
||||||
setting. Rejoining with the same authenticated account returns control of that
|
setting. Rejoining with the same authenticated account returns control of that
|
||||||
body, keeping its inventory, injuries and vehicle seat. It stays vulnerable while
|
body, keeping its inventory, injuries and vehicle seat. It stays vulnerable while
|
||||||
the player is away. Expiry, death or a different round does not grant a replacement
|
the player is away. If the reservation is missing, expired or its body has died,
|
||||||
life or duplicate equipment. This is recovery within the running mission, not
|
reconnecting grants a fresh soldier through normal admission before extraction
|
||||||
saved characters across server restarts. Reconnect reservation, rejection and
|
begins. The new soldier uses the normal loadout, without copying old equipment.
|
||||||
|
A valid reservation whose handoff fails remains reserved instead of granting a
|
||||||
|
second soldier. New rounds start with fresh admission records; characters are
|
||||||
|
not saved across server restarts. Reconnect reservation, rejection and
|
||||||
successful handoff are logged without account identifiers.
|
successful handoff are logged without account identifiers.
|
||||||
|
|
||||||
The root has `"configVersion": 1`. Missing legacy files get defaults. Existing
|
The root has `"configVersion": 1`. Missing legacy files get defaults. Existing
|
||||||
@@ -324,12 +335,16 @@ authoring fields, failure behavior and validation.
|
|||||||
|
|
||||||
The initial prison patrol contains 3–5 soldiers, chosen once during preparation from the selected enemy faction roster. An existing RTO is retained. If that roster has no large radio, one soldier is equipped with a physical manpack (US/USAF: AN/PRC-77; otherwise R-107M). Preparation waits for that radio to be present. The guards start at separate random clear positions 12–24 m around the prison and remain frozen until it is unlocked; other site squads keep their configured size.
|
The initial prison patrol contains 3–5 soldiers, chosen once during preparation from the selected enemy faction roster. An existing RTO is retained. If that roster has no large radio, one soldier is equipped with a physical manpack (US/USAF: AN/PRC-77; otherwise R-107M). Preparation waits for that radio to be present. The guards start at separate random clear positions 12–24 m around the prison and remain frozen until it is unlocked; other site squads keep their configured size.
|
||||||
|
|
||||||
## Airfield extraction and site icons
|
## Extraction landing zones and site icons
|
||||||
|
|
||||||
Everon extraction uses the airfield pad at 4800.953 / 11487.412. Site authors set
|
Extraction searches for suitable clear ground across the terrain from the first
|
||||||
`RequireAirfield 1` and `AircraftOffset 0 0 0` on that extraction definition.
|
attempt, on original Everon and on other terrains. It does not prioritize airports.
|
||||||
Preparation checks airfield anchors, terrain and clearance before creating the
|
Dry ground, slope, obstacle/overhead clearance, nearby rescue-fleet space and the
|
||||||
aircraft, and refuses an invalid pad without relocating it elsewhere.
|
prison's escape boundary still constrain placement. Terrain-generated scenarios
|
||||||
|
also require reachable navigation at the landing zone and guard positions.
|
||||||
|
Original Everon uses `RandomClear 1` and `RequireAirfield 0`; its old airport
|
||||||
|
coordinate is only a validated fallback if the random search is exhausted.
|
||||||
|
Scenario authors can still explicitly require an airfield for their own fixed pads.
|
||||||
|
|
||||||
Identified sites use helicopter, radio, artillery, building, medical and supplies
|
Identified sites use helicopter, radio, artillery, building, medical and supplies
|
||||||
icons. Partial intel shows a question mark at an approximate position; the prison
|
icons. Partial intel shows a question mark at an approximate position; the prison
|
||||||
@@ -372,8 +387,65 @@ See [reconnaissance plane details](cessna-reconnaissance.md).
|
|||||||
|
|
||||||
## Starting backpack contents
|
## Starting backpack contents
|
||||||
|
|
||||||
Open **Items → Starting backpack** in the admin menu. Select a loaded mod, choose **Show items**, browse its catalog pages, choose an item and save its total quantity. Saving the same item again replaces its quantity; zero or **Remove item** removes it. Weapons, matching magazines and medical supplies can be selected explicitly. The saved-content dropdown lists every selected item and its quantity.
|
Open **Items → Starting backpack** in the admin menu. Select a loaded mod, choose **Show items**, browse its catalog pages, choose an item, quantity and destination (**Inside backpack** or **On ground beside backpack**), then choose **Save quantity**. Saving the same item and destination again replaces that quantity; zero removes it from that destination. The same item can have separate backpack and ground quantities. **Remove item** removes the selected saved entry. Weapons, matching magazines and medical supplies can be selected explicitly. The saved-content dropdown lists every selected item, quantity and destination.
|
||||||
|
|
||||||
Select **Custom loadout** to use that list for the next prison or crash start. The shared field map is always included. **Default loadout** restores the existing pistol and magazine count settings without erasing your custom list. Existing backpacks are never refilled or changed by these edits. Enemy item permissions and probability weights do not change this explicit starting loadout.
|
Select **Custom loadout** to use that list for the next prison or crash start. The shared field map is always included. **Default loadout** restores the existing pistol and magazine count settings without erasing your custom list. Existing backpacks are never refilled or changed by these edits. Enemy item permissions and probability weights do not change this explicit starting loadout.
|
||||||
|
|
||||||
The list permits up to 32 different items, 48 of one item and 64 total items, plus the map. The physical backpack still has limited capacity: unavailable items and items that cannot be inserted are omitted and logged. Add matching magazines explicitly; selecting a weapon does not automatically add spare ammunition. Settings persist in the `startBackpack` section of `Escapists.json`. Older configurations keep the default loadout.
|
The list permits up to 32 item/destination entries, 48 per entry and 64 total items across both destinations, plus the map. Ground items bypass inventory insertion and remain available nearby for pickup. Items that do not fit inside the backpack also stay nearby instead of blocking startup or being deleted. Unavailable custom items are skipped and logged. Add matching magazines explicitly; selecting a weapon does not automatically add spare ammunition. Settings persist in the `startBackpack` section of `Escapists.json`. Existing version 1 loadouts remain valid and their items keep the backpack destination. Saving writes version 2 records as `prefab|quantity|backpack` or `prefab|quantity|ground`; the enclosing configuration version does not change.
|
||||||
|
|
||||||
|
## After-mission statistics
|
||||||
|
|
||||||
|
The results screen remains open for 120 seconds before automatic restart. A
|
||||||
|
server's explicit `-autoReload` command-line setting still takes precedence.
|
||||||
|
|
||||||
|
Victory and defeat screens include a scrollable mission summary: duration,
|
||||||
|
participant and escape counts, squad totals, and each participant's kills,
|
||||||
|
friendly kills, deaths, times downed, recoveries and final escape status.
|
||||||
|
Disconnected participants retain their records. Only participants who actually
|
||||||
|
escaped according to the extraction service are marked **Escaped**.
|
||||||
|
|
||||||
|
Kills count non-friendly characters credited by native damage events to a
|
||||||
|
participant's body; friendly kills are separate. Vehicles, self-kills, editor
|
||||||
|
kills and unattributed damage do not add to the kill score. A fatal loss counts
|
||||||
|
as a death. Because the mission normally keeps wounded players alive, unconscious
|
||||||
|
episodes are counted separately as **Downed**. **Recoveries** include both medical
|
||||||
|
treatment and natural/self-recovery; they are not a medic's revive score.
|
||||||
|
|
||||||
|
The report freezes when the round ends. Counts belong to the current round and
|
||||||
|
start fresh with the next mission. They work with statistics telemetry disabled
|
||||||
|
and require no web service. At most 128 distinct participants are retained; the
|
||||||
|
report explicitly marks truncation if that limit is reached. No account IDs are
|
||||||
|
included in the displayed or replicated summary.
|
||||||
|
|
||||||
|
After a victory or defeat is accepted by the community statistics receiver, the
|
||||||
|
screen also shows the current map's wins, failures and win rate on this server
|
||||||
|
and across all reporting servers. Totals include this round and update if they
|
||||||
|
arrive while the screen is open. Different maps are counted separately using
|
||||||
|
their loaded world resources. Startup failures, empty restarts and interrupted
|
||||||
|
sessions are excluded. Community totals show unavailable if reporting is disabled
|
||||||
|
or delivery fails; local round statistics still work.
|
||||||
|
|
||||||
|
### Parked civilian vehicles
|
||||||
|
|
||||||
|
Open **Admin menu → Mission → Civilian vehicles**. Each garage control has an **Apply** button and saved-value display; changes apply next round.
|
||||||
|
|
||||||
|
| Control | Range | Default |
|
||||||
|
| --- | --- | --- |
|
||||||
|
| Nearby garage vehicles | 0–24; 0 disables | 16 |
|
||||||
|
| Garage selection chance | 0–100%; 0 disables | 70% |
|
||||||
|
| Spawn radius | 250–1500 metres | 1000 m |
|
||||||
|
| Time between spawns | 5–60 seconds | 5 s |
|
||||||
|
|
||||||
|
The additional saved keys are `mission.garageChancePercent`, `mission.garageRadiusMetres` and `mission.garageSpawnIntervalSeconds`. Chat equivalents are `/esc mission garagechance set N`, `/esc mission garageradius set N`, and `/esc mission garageinterval set N`.
|
||||||
|
|
||||||
|
In **Mission → Civilian vehicles**, set **Nearby garage vehicles** (or `/esc mission garagevehicles set N`). `mission.garageVehicleCount` defaults to 16, accepts 0–24, and applies next round. Zero disables placement. This is a shared limit on **unclaimed nearby vehicles**, not a lifetime limit of 16 across the island. Every fourth vehicle attempts an optional unarmed WCS motorbike when its dependencies are loaded; otherwise cars fill the slots.
|
||||||
|
|
||||||
|
As players explore, the server discovers native `Garage_E_01` and `HouseAddon_Garage_E_01` buildings within the configured radius. Each garage uses the configured selection chance, rolled once on discovery. A bay must be at least 35 metres from every player body/spectator target, hidden by scenery from all of them, dry and collision-free. Open editor cameras or unknown observer targets suspend spawning and retirement. Adjacent suitable garages can both contain vehicles; the old 150-metre spacing and whole-island survey are gone. Custom garage models are not currently supported.
|
||||||
|
|
||||||
|
Discovery, candidate checks, prefab loading and creation run as separate updates, every 250 ms. Each update scans at most one 500-metre cell, maintains one vehicle, checks one physical bay, loads one prefab, or creates one vehicle. Native creations respect the configured delay, with a minimum of five seconds. Prefabs stay cached for later spawns. Native resource loading and entity creation are indivisible calls, so this limits bursts rather than guaranteeing zero frame spikes.
|
||||||
|
|
||||||
|
Vehicles have 30–80% fuel and no AI crew. Entering a vehicle permanently preserves it, including after exiting. Occupants or movement beyond three metres also protect it as a fallback for missed entry callbacks or towing. Its original garage is then consumed for the round, preventing repeated vehicle farming. Used vehicles do not occupy the nearby unclaimed allowance. A separate limit of 128 retained-plus-current vehicles bounds accumulation during unusually long rounds; it never deletes used vehicles.
|
||||||
|
|
||||||
|
An untouched vehicle can be retired only when it is at least 1,400 metres from every known observer (or the configured spawn radius plus 400 metres, whichever is larger) and hidden for a sampled 60-second grace period. Returning nearby, gaining visibility or losing observer information cancels that grace period. Retirement frees a nearby slot for the players' new area; an unused garage can become eligible again on a later visit. Unclaimed cars are maintained one at a time. The discovery cache is capped at 16,384 cells and 2,048 garages per round. Vehicles still incur ordinary physics and replication costs.
|
||||||
|
|
||||||
|
Validation: [menu settings and round persistence](evidence/garage-vehicles-2026-10-30/menu/report.json), [nearby garage spawning and retention](evidence/garage-vehicles-2026-10-30/nearby/report.json), plus production-method observer, lifecycle, settings and menu tests.
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
15:30:50.026 SCRIPT (E): ERR SMOKE FAIL: horn driver seat
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
15:34:03.323 SCRIPT : ERR HORN RESULT: prefab={AD80FB47D868C775}Prefabs/Vehicles/Wheeled/S105/S105_green.et allowedFrames=31 blockedFrames=878 violations=0
|
||||||
|
15:34:03.323 SCRIPT : ERR SMOKE PASS: native AI driver continuous horn demand bounded with cooldown
|
||||||
|
15:34:03.324 SCRIPT : ERR HORN RESULT: prefab={0B4DEA8078B78A9B}Prefabs/Vehicles/Wheeled/UAZ469/UAZ469_PKM.et allowedFrames=31 blockedFrames=878 violations=0
|
||||||
|
15:34:03.324 SCRIPT : ERR SMOKE PASS: native AI driver continuous horn demand bounded with cooldown
|
||||||
|
15:34:03.324 SCRIPT : ERR SMOKE COMPLETE: native UAZ and civilian AI horn input limits
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
"""Frozen local Workbench ai-driver-horn fixture; no live server or installed asset writes."""
|
||||||
|
from pathlib import Path
|
||||||
|
import hashlib,json,shutil,subprocess,sys,os,time,re
|
||||||
|
ROOT=Path(__file__).resolve().parents[3]
|
||||||
|
sys.path.insert(0,str(ROOT/'tools'))
|
||||||
|
from source_manifest import addon_manifest
|
||||||
|
from headless_game import assert_prefix_idle
|
||||||
|
name=sys.argv[1]
|
||||||
|
if not name.isalnum(): raise ValueError('Use an alphanumeric run suffix')
|
||||||
|
source=Path('/tmp/erri-ai-driver-horn-source-'+name)
|
||||||
|
profile=Path('/tmp/erri-ai-driver-horn-run-'+name)
|
||||||
|
compat=ROOT/'.local/playtest-compat-20260920'
|
||||||
|
assert_prefix_idle(compat)
|
||||||
|
source.mkdir();profile.mkdir()
|
||||||
|
for rel in addon_manifest(ROOT):
|
||||||
|
target=source/rel;target.parent.mkdir(parents=True,exist_ok=True);shutil.copy2(ROOT/rel,target)
|
||||||
|
shutil.copytree(ROOT/'tools',source/'tools',ignore=shutil.ignore_patterns('__pycache__'))
|
||||||
|
(source/'docs').mkdir();shutil.copy2(ROOT/'docs/external-addons.json',source/'docs/external-addons.json')
|
||||||
|
fixture=Path(__file__).with_name('native-fixture.c')
|
||||||
|
target=source/'addons/core/Scripts/Game/ERR/10_AI/ZZZ_HornFixture.c'
|
||||||
|
target.write_text(fixture.read_text())
|
||||||
|
# Opt-in fixture is independent of the historical generic Core smoke.
|
||||||
|
p=source/'addons/core/Scripts/Game/ERR/00_Core/ERR_NativeBaseSmoke.c'
|
||||||
|
p.write_text(p.read_text().replace('array<string> independentFixtures = {','array<string> independentFixtures = {"ai-driver-horn", '))
|
||||||
|
p=source/'tools/headless_workbench.py'
|
||||||
|
p.write_text(p.read_text().replace("choices=['coordinated-ai',", "choices=['ai-driver-horn', 'coordinated-ai',").replace("a.smoke not in {'coordinated-ai',", "a.smoke not in {'ai-driver-horn', 'coordinated-ai',"))
|
||||||
|
# The existing fatal-loss diagnostic is guarded by errSmoke; this Core-only
|
||||||
|
# runner uses errBaseSmoke. Adapt only that test-helper flag in the frozen copy.
|
||||||
|
p=source/'addons/core/Scripts/Game/ERR/00_Core/ERR_PlayerMedical.c'
|
||||||
|
p.write_text(p.read_text().replace('System.GetCLIParam("errSmoke", enabled)', 'System.GetCLIParam("errBaseSmoke", enabled)'))
|
||||||
|
installed=Path.home()/'.local/share/Steam/steamapps/compatdata/1874880/pfx/drive_c/users/steamuser/Documents/My Games/ArmaReforger/addons'
|
||||||
|
(profile/'profile').mkdir()
|
||||||
|
(profile/'profile/EscapistsFactions.json').write_text(json.dumps({'escapists':'ussr','enemy':'us','independent':'fia'})+'\n')
|
||||||
|
(profiles:=profile/'fixture-inputs.json').write_text(json.dumps({'fixture_sha256':hashlib.sha256(fixture.read_bytes()).hexdigest(),'production_sources':addon_manifest(ROOT),'source':str(source),'profile':str(profile)},indent=2)+'\n')
|
||||||
|
command=[sys.executable,str(source/'tools/headless_workbench.py'),'--compat',str(compat),'--profile',str(profile),'--external-addons',str(installed),'--project','core','--smoke','ai-driver-horn','--rounds','1','--timeout','300']
|
||||||
|
result=subprocess.run(command)
|
||||||
|
raise SystemExit(result.returncode)
|
||||||
@@ -0,0 +1,101 @@
|
|||||||
|
#ifdef WORKBENCH
|
||||||
|
// Inject continuous horn demand into two fixture-owned AI drivers, then observe
|
||||||
|
// the actual production OnApplyControls chain. No human input is generated.
|
||||||
|
class ERR_HornFixtureDriver
|
||||||
|
{
|
||||||
|
IEntity Driver;
|
||||||
|
Vehicle Car;
|
||||||
|
SCR_AIGroup Group;
|
||||||
|
int Started = -1;
|
||||||
|
int Allowed;
|
||||||
|
int Blocked;
|
||||||
|
int Violations;
|
||||||
|
}
|
||||||
|
class ERR_HornFixture
|
||||||
|
{
|
||||||
|
static ref array<ref ERR_HornFixtureDriver> Drivers = {};
|
||||||
|
static ERR_HornFixtureDriver Find(IEntity actor)
|
||||||
|
{
|
||||||
|
foreach (ERR_HornFixtureDriver driver : Drivers) if (driver.Driver == actor) return driver;
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
modded class SCR_CharacterControllerComponent
|
||||||
|
{
|
||||||
|
protected override void OnApplyControls(IEntity owner, float timeSlice)
|
||||||
|
{
|
||||||
|
ERR_HornFixtureDriver fixture = ERR_HornFixture.Find(owner);
|
||||||
|
CharacterInputContext input = GetInputContext();
|
||||||
|
bool seated = fixture && CompartmentAccessComponent.GetVehicleIn(owner) == fixture.Car;
|
||||||
|
if (seated && input) input.SetVehicleHorn(1);
|
||||||
|
super.OnApplyControls(owner, timeSlice);
|
||||||
|
if (!seated || !input) return;
|
||||||
|
int now = System.GetTickCount();
|
||||||
|
if (fixture.Started < 0) fixture.Started = now;
|
||||||
|
int elapsed = now - fixture.Started;
|
||||||
|
bool sounding = input.GetVehicleHorn() != 0;
|
||||||
|
if (sounding) fixture.Allowed++; else fixture.Blocked++;
|
||||||
|
if (sounding && elapsed >= 600 && elapsed < 29900) fixture.Violations++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
modded class ERR_GameMode
|
||||||
|
{
|
||||||
|
protected bool m_ERRHornSpawned;
|
||||||
|
protected int m_ERRHornDeadline;
|
||||||
|
protected override void EOnInit(IEntity owner)
|
||||||
|
{
|
||||||
|
super.EOnInit(owner);
|
||||||
|
if (Replication.IsServer() && !SCR_Global.IsEditMode()) GetGame().GetCallqueue().CallLater(ERR_HornTest, 500, true);
|
||||||
|
}
|
||||||
|
protected void ERR_HornTest()
|
||||||
|
{
|
||||||
|
if (!Active()) return;
|
||||||
|
SCR_PlayerController player = SCR_PlayerController.Cast(GetGame().GetPlayerController());
|
||||||
|
if (!player || !player.GetControlledEntity()) return;
|
||||||
|
if (!m_ERRHornSpawned)
|
||||||
|
{
|
||||||
|
m_ERRHornSpawned = true; m_ERRHornDeadline = System.GetTickCount() + 60000;
|
||||||
|
for (int i = 0; i < 2; i++)
|
||||||
|
{
|
||||||
|
ERR_HornFixtureDriver driver = new ERR_HornFixtureDriver();
|
||||||
|
vector position = ERR_Actors.Ground(player.GetControlledEntity().GetOrigin() + Vector(30 + i * 15, 0, 0));
|
||||||
|
ResourceName prefab = ERR_CivilianTraffic.CarPrefab(0);
|
||||||
|
if (i == 1) prefab = ERR_ConvoyResources.VehiclePrefab(0);
|
||||||
|
driver.Car = Vehicle.Cast(ERR_Actors.Spawn(prefab, position));
|
||||||
|
driver.Group = SCR_AIGroup.Cast(ERR_Actors.Spawn(ERR_ConvoyResources.GroupPrefab(), position));
|
||||||
|
if (!driver.Car || !driver.Group) { Print("ERR SMOKE FAIL: horn vehicle/group creation", LogLevel.ERROR); return; }
|
||||||
|
driver.Group.SetPermanentLOD(0); driver.Group.ActivateAI();
|
||||||
|
ERR_HornFixture.Drivers.Insert(driver);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
bool ready = true;
|
||||||
|
foreach (ERR_HornFixtureDriver driver : ERR_HornFixture.Drivers)
|
||||||
|
{
|
||||||
|
// Vehicle compartments are registered asynchronously after spawning.
|
||||||
|
if (!driver.Driver)
|
||||||
|
{
|
||||||
|
BaseVehicleControllerComponent controls = BaseVehicleControllerComponent.Cast(driver.Car.FindComponent(BaseVehicleControllerComponent));
|
||||||
|
if (controls && controls.GetPilotCompartmentSlot())
|
||||||
|
{
|
||||||
|
AIGroup group = driver.Group;
|
||||||
|
driver.Driver = controls.GetPilotCompartmentSlot().SpawnCharacterInCompartment(ERR_CivilianTraffic.DriverPrefab(), group, ERR_ConvoyResources.GroupPrefab());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
array<AIAgent> agents = {}; driver.Group.GetAgents(agents);
|
||||||
|
foreach (AIAgent agent : agents) { agent.SetPermanentLOD(0); agent.ActivateAI(); }
|
||||||
|
if (driver.Started < 0 || System.GetTickCount() - driver.Started < 32000) ready = false;
|
||||||
|
}
|
||||||
|
if (!ready && System.GetTickCount() < m_ERRHornDeadline) return;
|
||||||
|
GetGame().GetCallqueue().Remove(ERR_HornTest);
|
||||||
|
foreach (ERR_HornFixtureDriver driver : ERR_HornFixture.Drivers)
|
||||||
|
{
|
||||||
|
PrintFormat("ERR HORN RESULT: prefab=%1 allowedFrames=%2 blockedFrames=%3 violations=%4", driver.Car.GetPrefabData().GetPrefabName(), driver.Allowed, driver.Blocked, driver.Violations);
|
||||||
|
if (!ready || driver.Allowed == 0 || driver.Blocked == 0 || driver.Violations != 0) { Print("ERR SMOKE FAIL: native AI horn limit", LogLevel.ERROR); return; }
|
||||||
|
Print("ERR SMOKE PASS: native AI driver continuous horn demand bounded with cooldown");
|
||||||
|
}
|
||||||
|
ERR_HornFixture.Drivers.Clear();
|
||||||
|
Print("ERR SMOKE COMPLETE: native UAZ and civilian AI horn input limits");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"change": "Half-second horn pulses with 30 seconds between starts, scoped to authoritative AI road drivers in Escape. Player controls and the separate breach alarm are unchanged.",
|
||||||
|
"policy_tests": [
|
||||||
|
"test_ai_driver_horn.py",
|
||||||
|
"test_vehicle_alarm.py",
|
||||||
|
"test_civilian_traffic.py"
|
||||||
|
],
|
||||||
|
"native": {
|
||||||
|
"horn01": {
|
||||||
|
"complete": false,
|
||||||
|
"passes": 0,
|
||||||
|
"failures": [
|
||||||
|
"15:30:50.026 SCRIPT (E): ERR SMOKE FAIL: horn driver seat"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"horn02": {
|
||||||
|
"complete": true,
|
||||||
|
"passes": 2,
|
||||||
|
"failures": []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fixture_correction": "First fixture queried the pilot compartment immediately after vehicle spawning. The final fixture waits for asynchronous seat registration and runs its demand injector outside the production control override.",
|
||||||
|
"limits": "Injected continuous demand in actual UAZ and S105 driver control chains. No reproduction of the reported traffic scene, audible waveform measurement or remote-client qualification. Native engine asset errors are reported by the runner separately.",
|
||||||
|
"published": true,
|
||||||
|
"publication": "User confirmed successful Workshop upload; local publishing manifest confirms 0.0.129."
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
14:37:48.098 SCRIPT : ERR SMOKE PASS: community private credential saved
|
||||||
|
14:37:48.099 SCRIPT : ERR SMOKE PASS: community native credential serialization preserves installation secret
|
||||||
|
14:37:48.099 SCRIPT : ERR SMOKE PASS: community native JSON roundtrip and current map/result validation
|
||||||
|
14:37:48.099 SCRIPT : ERR SMOKE PASS: community another map is rejected
|
||||||
|
14:37:48.241 SCRIPT : ERR SMOKE PASS: community native defeat screen requested
|
||||||
|
14:37:51.708 SCRIPT : ERR RESULT GEOMETRY: Base_ContentHolder x=0 y=0 width=501 height=225 visible=1 opacity=0.690736
|
||||||
|
14:37:51.709 SCRIPT : ERR RESULT GEOMETRY: ERR_RoundResults x=250.5 y=95 width=0 height=35 visible=1 opacity=1
|
||||||
|
14:37:51.709 SCRIPT : ERR RESULT GEOMETRY: ResultFrame x=250.5 y=95 width=0 height=35 visible=1 opacity=1
|
||||||
|
14:37:51.709 SCRIPT : ERR RESULT GEOMETRY: GameOver_State x=254.667 y=95 width=-8.33334 height=10.8333 visible=1 opacity=1
|
||||||
|
14:37:51.709 SCRIPT : ERR RESULT GEOMETRY: StatisticsScroll x=254.667 y=132.083 width=-8.33334 height=-4.58333 visible=1 opacity=1
|
||||||
|
14:37:51.709 SCRIPT : ERR RESULT GEOMETRY: RoundStatistics x=254.667 y=132.083 width=-14.1667 height=449.375 visible=1 opacity=1
|
||||||
|
14:37:51.710 SCRIPT : ERR SMOKE PASS: community open defeat screen refreshes after late community result
|
||||||
|
14:37:56.799 SCRIPT : ERR SMOKE COMPLETE: community defeat native credentials, JSON validation and result screen refresh
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
14:39:58.721 SCRIPT : ERR SMOKE PASS: community private credential saved
|
||||||
|
14:39:58.724 SCRIPT : ERR SMOKE PASS: community native credential serialization preserves installation secret
|
||||||
|
14:39:58.724 SCRIPT : ERR SMOKE PASS: community native JSON roundtrip and current map/result validation
|
||||||
|
14:39:58.724 SCRIPT : ERR SMOKE PASS: community another map is rejected
|
||||||
|
14:39:58.841 SCRIPT : ERR SMOKE PASS: community native defeat screen requested
|
||||||
|
14:40:02.313 SCRIPT : ERR RESULT GEOMETRY: Base_ContentHolder x=0 y=0 width=501 height=225 visible=1 opacity=0.681523
|
||||||
|
14:40:02.314 SCRIPT : ERR SMOKE PASS: community Base_ContentHolder has positive rendered dimensions
|
||||||
|
14:40:02.314 SCRIPT : ERR RESULT GEOMETRY: ERR_RoundResults x=135.917 y=47.9167 width=229.167 height=129.167 visible=1 opacity=1
|
||||||
|
14:40:02.314 SCRIPT : ERR SMOKE PASS: community ERR_RoundResults has positive rendered dimensions
|
||||||
|
14:40:02.315 SCRIPT : ERR RESULT GEOMETRY: ResultFrame x=135.917 y=47.9167 width=229.167 height=129.167 visible=1 opacity=1
|
||||||
|
14:40:02.315 SCRIPT : ERR SMOKE PASS: community ResultFrame has positive rendered dimensions
|
||||||
|
14:40:02.315 SCRIPT : ERR RESULT GEOMETRY: GameOver_State x=140.083 y=47.9167 width=220.833 height=10.8333 visible=1 opacity=1
|
||||||
|
14:40:02.315 SCRIPT : ERR SMOKE PASS: community GameOver_State has positive rendered dimensions
|
||||||
|
14:40:02.315 SCRIPT : ERR RESULT GEOMETRY: StatisticsScroll x=140.083 y=85 width=220.833 height=89.5833 visible=1 opacity=1
|
||||||
|
14:40:02.316 SCRIPT : ERR SMOKE PASS: community StatisticsScroll has positive rendered dimensions
|
||||||
|
14:40:02.316 SCRIPT : ERR RESULT GEOMETRY: RoundStatistics x=140.083 y=85 width=215 height=52.1875 visible=1 opacity=1
|
||||||
|
14:40:02.316 SCRIPT : ERR SMOKE PASS: community RoundStatistics has positive rendered dimensions
|
||||||
|
14:40:02.316 SCRIPT : ERR SMOKE PASS: community open defeat screen refreshes after late community result
|
||||||
|
14:40:07.386 SCRIPT : ERR SMOKE COMPLETE: community defeat native credentials, JSON validation and result screen refresh
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
14:42:23.611 SCRIPT : ERR SMOKE PASS: community private credential saved
|
||||||
|
14:42:23.612 SCRIPT : ERR SMOKE PASS: community native credential serialization preserves installation secret
|
||||||
|
14:42:23.612 SCRIPT : ERR SMOKE PASS: community native JSON roundtrip and current map/result validation
|
||||||
|
14:42:23.612 SCRIPT : ERR SMOKE PASS: community another map is rejected
|
||||||
|
14:42:23.701 SCRIPT : ERR SMOKE PASS: community native victory screen requested
|
||||||
|
14:42:27.136 SCRIPT : ERR RESULT GEOMETRY: Base_ContentHolder x=0 y=0 width=501 height=225 visible=1 opacity=0.71436
|
||||||
|
14:42:27.136 SCRIPT : ERR SMOKE PASS: community Base_ContentHolder has positive rendered dimensions
|
||||||
|
14:42:27.136 SCRIPT : ERR RESULT GEOMETRY: ERR_RoundResults x=135.917 y=47.9167 width=229.167 height=129.167 visible=1 opacity=1
|
||||||
|
14:42:27.136 SCRIPT : ERR SMOKE PASS: community ERR_RoundResults has positive rendered dimensions
|
||||||
|
14:42:27.137 SCRIPT : ERR RESULT GEOMETRY: ResultFrame x=135.917 y=47.9167 width=229.167 height=129.167 visible=1 opacity=1
|
||||||
|
14:42:27.137 SCRIPT : ERR SMOKE PASS: community ResultFrame has positive rendered dimensions
|
||||||
|
14:42:27.137 SCRIPT : ERR RESULT GEOMETRY: GameOver_State x=140.083 y=47.9167 width=220.833 height=10.8333 visible=1 opacity=1
|
||||||
|
14:42:27.137 SCRIPT : ERR SMOKE PASS: community GameOver_State has positive rendered dimensions
|
||||||
|
14:42:27.137 SCRIPT : ERR RESULT GEOMETRY: StatisticsScroll x=140.083 y=85 width=220.833 height=89.5833 visible=1 opacity=1
|
||||||
|
14:42:27.137 SCRIPT : ERR SMOKE PASS: community StatisticsScroll has positive rendered dimensions
|
||||||
|
14:42:27.137 SCRIPT : ERR RESULT GEOMETRY: RoundStatistics x=140.083 y=85 width=215 height=52.1875 visible=1 opacity=1
|
||||||
|
14:42:27.138 SCRIPT : ERR SMOKE PASS: community RoundStatistics has positive rendered dimensions
|
||||||
|
14:42:27.138 SCRIPT : ERR SMOKE PASS: community open victory screen refreshes after late community result
|
||||||
@@ -0,0 +1,72 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
"""Frozen local Workbench community-statistics fixture; no live server or installed asset writes."""
|
||||||
|
from pathlib import Path
|
||||||
|
import hashlib,json,shutil,subprocess,sys,os,time,re
|
||||||
|
ROOT=Path(__file__).resolve().parents[3]
|
||||||
|
sys.path.insert(0,str(ROOT/'tools'))
|
||||||
|
from source_manifest import addon_manifest
|
||||||
|
from headless_game import assert_prefix_idle
|
||||||
|
name=sys.argv[1]
|
||||||
|
outcome=sys.argv[2]
|
||||||
|
if outcome not in {'victory','defeat'}: raise ValueError('Expected victory or defeat')
|
||||||
|
if not name.isalnum(): raise ValueError('Use an alphanumeric run suffix')
|
||||||
|
source=Path('/tmp/erri-community-statistics-source-'+name)
|
||||||
|
profile=Path('/tmp/erri-community-statistics-run-'+name)
|
||||||
|
compat=ROOT/'.local/playtest-compat-20260920'
|
||||||
|
assert_prefix_idle(compat)
|
||||||
|
source.mkdir();profile.mkdir()
|
||||||
|
for rel in addon_manifest(ROOT):
|
||||||
|
target=source/rel;target.parent.mkdir(parents=True,exist_ok=True);shutil.copy2(ROOT/rel,target)
|
||||||
|
shutil.copytree(ROOT/'tools',source/'tools',ignore=shutil.ignore_patterns('__pycache__'))
|
||||||
|
(source/'docs').mkdir();shutil.copy2(ROOT/'docs/external-addons.json',source/'docs/external-addons.json')
|
||||||
|
fixture=Path(__file__).with_name('native-fixture.c')
|
||||||
|
target=source/'addons/core/Scripts/Game/ERR/00_Core/ERR_ZCommunityStatisticsFixture.c'
|
||||||
|
target.write_text(fixture.read_text().replace('TEST_OUTCOME', outcome))
|
||||||
|
# Opt-in fixture is independent of the historical generic Core smoke.
|
||||||
|
p=source/'addons/core/Scripts/Game/ERR/00_Core/ERR_NativeBaseSmoke.c'
|
||||||
|
p.write_text(p.read_text().replace('array<string> independentFixtures = {','array<string> independentFixtures = {"community-statistics", '))
|
||||||
|
p=source/'tools/headless_workbench.py'
|
||||||
|
p.write_text(p.read_text().replace("choices=['coordinated-ai',", "choices=['community-statistics', 'coordinated-ai',").replace("a.smoke not in {'coordinated-ai',", "a.smoke not in {'community-statistics', 'coordinated-ai',"))
|
||||||
|
# The existing fatal-loss diagnostic is guarded by errSmoke; this Core-only
|
||||||
|
# runner uses errBaseSmoke. Adapt only that test-helper flag in the frozen copy.
|
||||||
|
p=source/'addons/core/Scripts/Game/ERR/00_Core/ERR_PlayerMedical.c'
|
||||||
|
p.write_text(p.read_text().replace('System.GetCLIParam("errSmoke", enabled)', 'System.GetCLIParam("errBaseSmoke", enabled)'))
|
||||||
|
installed=Path.home()/'.local/share/Steam/steamapps/compatdata/1874880/pfx/drive_c/users/steamuser/Documents/My Games/ArmaReforger/addons'
|
||||||
|
(profile/'profile').mkdir()
|
||||||
|
(profile/'profile/EscapistsFactions.json').write_text(json.dumps({'escapists':'ussr','enemy':'us','independent':'fia'})+'\n')
|
||||||
|
(profiles:=profile/'fixture-inputs.json').write_text(json.dumps({'fixture_sha256':hashlib.sha256(fixture.read_bytes()).hexdigest(),'production_sources':addon_manifest(ROOT),'source':str(source),'profile':str(profile)},indent=2)+'\n')
|
||||||
|
command=[sys.executable,str(source/'tools/headless_workbench.py'),'--compat',str(compat),'--profile',str(profile),'--external-addons',str(installed),'--project','core','--smoke','community-statistics','--rounds','1','--timeout','300']
|
||||||
|
with (profile/'runner-output.log').open('w') as output:
|
||||||
|
result=subprocess.Popen(command,stdout=output,stderr=subprocess.STDOUT)
|
||||||
|
captured=False
|
||||||
|
while result.poll() is None:
|
||||||
|
if not captured and ((profile/'profile/results-ready.json').exists() or any('ERR STATS UI READY' in log.read_text(errors='replace') for log in (profile/'logs').glob('*/console.log'))):
|
||||||
|
# The owned runner logs its private Gamescope display. Wine may rewrite its
|
||||||
|
# command line, so /proc project-path matching alone can miss the renderer.
|
||||||
|
launch=profile/'headless-launch.log'
|
||||||
|
displays=re.findall(r'Starting Xwayland on (:\d+)',launch.read_text(errors='replace')) if launch.exists() else []
|
||||||
|
if displays:
|
||||||
|
try:
|
||||||
|
capture=subprocess.run(['import','-display',displays[-1],'-window','root',str(profile/'results-desktop.png')],stdout=subprocess.DEVNULL,stderr=subprocess.PIPE,timeout=5)
|
||||||
|
(profile/'capture.log').write_bytes(capture.stderr)
|
||||||
|
captured=capture.returncode==0
|
||||||
|
except subprocess.TimeoutExpired:
|
||||||
|
(profile/'capture.log').write_text('Private display capture timed out.\n')
|
||||||
|
for proc in Path('/proc').iterdir():
|
||||||
|
if captured: break
|
||||||
|
if not proc.name.isdigit(): continue
|
||||||
|
try:
|
||||||
|
args=(proc/'cmdline').read_bytes().decode(errors='replace').replace('\\', '/')
|
||||||
|
if 'ArmaReforgerWorkbenchSteamDiag.exe' not in args or str(source/'addons/core/addon.gproj') not in args: continue
|
||||||
|
values=dict(x.split('=',1) for x in (proc/'environ').read_bytes().decode(errors='replace').split('\0') if '=' in x)
|
||||||
|
if 'DISPLAY' not in values: continue
|
||||||
|
env=os.environ.copy()
|
||||||
|
for key in ['DISPLAY','XAUTHORITY']:
|
||||||
|
if key in values: env[key]=values[key]
|
||||||
|
capture=subprocess.run(['import','-display',values['DISPLAY'],'-window','root',str(profile/'results-desktop.png')],env=env,stdout=subprocess.DEVNULL,stderr=subprocess.DEVNULL,timeout=10)
|
||||||
|
if capture.returncode==0: captured=True;break
|
||||||
|
except (OSError,ValueError,subprocess.TimeoutExpired): pass
|
||||||
|
time.sleep(1)
|
||||||
|
print(json.dumps({'exit':result.returncode,'source':str(source),'profile':str(profile)}))
|
||||||
|
print('\n'.join((profile/'runner-output.log').read_text().splitlines()[-45:]))
|
||||||
|
raise SystemExit(result.returncode)
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
"cause": "SizeLayout width/height overrides were specified but not enabled. Original root rendered with zero width and child text/scroll areas had negative dimensions.",
|
||||||
|
"fix": "Enable both size overrides, use overlay slots and explicit fonts for the result heading and description.",
|
||||||
|
"runs": {
|
||||||
|
"geometrybefore": {
|
||||||
|
"geometry": [
|
||||||
|
"Base_ContentHolder x=0 y=0 width=501 height=225 visible=1 opacity=0.690736",
|
||||||
|
"ERR_RoundResults x=250.5 y=95 width=0 height=35 visible=1 opacity=1",
|
||||||
|
"ResultFrame x=250.5 y=95 width=0 height=35 visible=1 opacity=1",
|
||||||
|
"GameOver_State x=254.667 y=95 width=-8.33334 height=10.8333 visible=1 opacity=1",
|
||||||
|
"StatisticsScroll x=254.667 y=132.083 width=-8.33334 height=-4.58333 visible=1 opacity=1",
|
||||||
|
"RoundStatistics x=254.667 y=132.083 width=-14.1667 height=449.375 visible=1 opacity=1"
|
||||||
|
],
|
||||||
|
"assertions_passed": 6,
|
||||||
|
"completed": true
|
||||||
|
},
|
||||||
|
"geometryfixed": {
|
||||||
|
"geometry": [
|
||||||
|
"Base_ContentHolder x=0 y=0 width=501 height=225 visible=1 opacity=0.681523",
|
||||||
|
"ERR_RoundResults x=135.917 y=47.9167 width=229.167 height=129.167 visible=1 opacity=1",
|
||||||
|
"ResultFrame x=135.917 y=47.9167 width=229.167 height=129.167 visible=1 opacity=1",
|
||||||
|
"GameOver_State x=140.083 y=47.9167 width=220.833 height=10.8333 visible=1 opacity=1",
|
||||||
|
"StatisticsScroll x=140.083 y=85 width=220.833 height=89.5833 visible=1 opacity=1",
|
||||||
|
"RoundStatistics x=140.083 y=85 width=215 height=52.1875 visible=1 opacity=1"
|
||||||
|
],
|
||||||
|
"assertions_passed": 12,
|
||||||
|
"completed": true
|
||||||
|
},
|
||||||
|
"geometryvictory": {
|
||||||
|
"geometry": [
|
||||||
|
"Base_ContentHolder x=0 y=0 width=501 height=225 visible=1 opacity=0.71436",
|
||||||
|
"ERR_RoundResults x=135.917 y=47.9167 width=229.167 height=129.167 visible=1 opacity=1",
|
||||||
|
"ResultFrame x=135.917 y=47.9167 width=229.167 height=129.167 visible=1 opacity=1",
|
||||||
|
"GameOver_State x=140.083 y=47.9167 width=220.833 height=10.8333 visible=1 opacity=1",
|
||||||
|
"StatisticsScroll x=140.083 y=85 width=220.833 height=89.5833 visible=1 opacity=1",
|
||||||
|
"RoundStatistics x=140.083 y=85 width=215 height=52.1875 visible=1 opacity=1"
|
||||||
|
],
|
||||||
|
"assertions_passed": 12,
|
||||||
|
"completed": false,
|
||||||
|
"completion_note": "All 12 geometry/text assertions passed. The 10-second capture hold crossed the mission restart before completion. The owned runner was interrupted for cleanup; the fixture hold was restored to 5 seconds."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"limitations": "Scripted local Workbench geometry and text checks, not a remote multiplayer or full-resolution visual test. Native runners retain 13 engine asset errors. ImageMagick import failed to capture the private display.",
|
||||||
|
"publication": "User confirmed Workshop 0.0.127; local publishing manifest version recorded in CHANGELOG.md."
|
||||||
|
}
|
||||||
@@ -0,0 +1,77 @@
|
|||||||
|
#ifdef WORKBENCH
|
||||||
|
// Injected only into a frozen private fixture copy. No public telemetry requests.
|
||||||
|
modded class ERR_GameMode
|
||||||
|
{
|
||||||
|
protected int m_ERRCommunityTestStage;
|
||||||
|
protected float m_ERRCommunityTestWait;
|
||||||
|
protected ref ERR_CommunityStatistics m_ERRCommunityTestResult;
|
||||||
|
protected override void EOnInit(IEntity owner)
|
||||||
|
{
|
||||||
|
super.EOnInit(owner);
|
||||||
|
if (Replication.IsServer() && !SCR_Global.IsEditMode()) GetGame().GetCallqueue().CallLater(ERR_CommunityTest, 500, true);
|
||||||
|
}
|
||||||
|
protected bool ERR_CommunityCheck(bool ok, string detail)
|
||||||
|
{
|
||||||
|
if (ok) { Print("ERR SMOKE PASS: community " + detail); return true; }
|
||||||
|
Print("ERR SMOKE FAIL: community " + detail, LogLevel.ERROR);
|
||||||
|
GetGame().GetCallqueue().Remove(ERR_CommunityTest); return false;
|
||||||
|
}
|
||||||
|
protected void ERR_CommunityTest()
|
||||||
|
{
|
||||||
|
if (!PreparationError().IsEmpty()) { ERR_CommunityCheck(false, PreparationError()); return; }
|
||||||
|
if (GetWorld().GetWorldTime() < m_ERRCommunityTestWait) return;
|
||||||
|
if (m_ERRCommunityTestStage == 0)
|
||||||
|
{
|
||||||
|
if (!Active()) return;
|
||||||
|
SCR_PlayerController pc = SCR_PlayerController.Cast(GetGame().GetPlayerController());
|
||||||
|
if (!pc || !pc.GetControlledEntity()) return;
|
||||||
|
if (!ERR_CommunityCheck(GetAutoReloadDelay() == 120, "results remain open for two minutes before automatic restart")) return;
|
||||||
|
string account = UUID.GenV4(); string first; string second;
|
||||||
|
if (!ERR_CommunityCheck(ERR_TelemetryCredentials.Resolve("https://fixture.invalid/api/mission-events", account, first), "private credential saved")) return;
|
||||||
|
if (!ERR_CommunityCheck(ERR_TelemetryCredentials.Resolve("https://fixture.invalid/api/mission-events", account, second) && first == second && first.Length() == 72, "native credential serialization preserves installation secret")) return;
|
||||||
|
ERR_CommunityStatistics result = new ERR_CommunityStatistics();
|
||||||
|
result.schemaVersion = 1; result.serverId = account; result.missionId = UUID.GenV4(); result.eventId = UUID.GenV4();
|
||||||
|
result.terrain = GetGame().GetWorldFile(); result.outcome = "TEST_OUTCOME";
|
||||||
|
result.server = new ERR_CommunityMapRecord(); result.server.wins = 2; result.server.losses = 1; result.server.completed = 3; result.server.partialMissions = 0;
|
||||||
|
result.allServers = new ERR_CommunityMapRecord(); result.allServers.wins = 7; result.allServers.losses = 3; result.allServers.completed = 10; result.allServers.partialMissions = 1;
|
||||||
|
JsonSaveContext saved = new JsonSaveContext(); saved.EnableTypeDiscriminator(false); saved.WriteValue("community", result);
|
||||||
|
JsonLoadContext loaded = new JsonLoadContext();
|
||||||
|
if (!ERR_CommunityCheck(loaded.LoadFromString(saved.SaveToString()) && loaded.ReadValue("community", m_ERRCommunityTestResult) && m_ERRCommunityTestResult.Matches(result.serverId, result.missionId, result.eventId, result.terrain, result.outcome), "native JSON roundtrip and current map/result validation")) return;
|
||||||
|
if (!ERR_CommunityCheck(!m_ERRCommunityTestResult.Matches(result.serverId, result.missionId, result.eventId, "another-map", result.outcome), "another map is rejected")) return;
|
||||||
|
ERR_PublishCommunityStatistics("Waiting for community map records...");
|
||||||
|
// Native end-screen fixture: this does not prove an organic escape route.
|
||||||
|
m_Phase = ERR_Phase.EXTRACTION;
|
||||||
|
ERR_Phase terminal = ERR_Phase.DEFEAT;
|
||||||
|
if (result.outcome == "victory") terminal = ERR_Phase.VICTORY;
|
||||||
|
if (!ERR_CommunityCheck(Transition(terminal), "native TEST_OUTCOME screen requested")) return;
|
||||||
|
m_ERRCommunityTestStage = 1; m_ERRCommunityTestWait = GetWorld().GetWorldTime() + 2000; return;
|
||||||
|
}
|
||||||
|
if (m_ERRCommunityTestStage == 1)
|
||||||
|
{
|
||||||
|
ERR_PublishCommunityStatistics(m_ERRCommunityTestResult.Summary());
|
||||||
|
m_ERRCommunityTestStage = 2; m_ERRCommunityTestWait = GetWorld().GetWorldTime() + 1000; return;
|
||||||
|
}
|
||||||
|
if (m_ERRCommunityTestStage == 2)
|
||||||
|
{
|
||||||
|
MenuBase menu = GetGame().GetMenuManager().GetTopMenu(); if (!menu) return;
|
||||||
|
TextWidget text = TextWidget.Cast(menu.GetRootWidget().FindAnyWidget("RoundStatistics"));
|
||||||
|
foreach (string widgetName : {"Base_ContentHolder", "ERR_RoundResults", "ResultFrame", "GameOver_State", "StatisticsScroll", "RoundStatistics"})
|
||||||
|
{
|
||||||
|
Widget measured = menu.GetRootWidget().FindAnyWidget(widgetName);
|
||||||
|
if (!measured) continue;
|
||||||
|
float width, height, x, y;
|
||||||
|
measured.GetScreenSize(width, height); measured.GetScreenPos(x, y);
|
||||||
|
PrintFormat("ERR RESULT GEOMETRY: %1 x=%2 y=%3 width=%4 height=%5 visible=%6 opacity=%7", widgetName, x, y, width, height, measured.IsVisible(), measured.GetOpacity());
|
||||||
|
if (!ERR_CommunityCheck(width > 0 && height > 0, widgetName + " has positive rendered dimensions")) return;
|
||||||
|
}
|
||||||
|
if (!ERR_CommunityCheck(text && text.IsVisible() && text.GetText() == ERR_RoundSummary() && text.GetText().Contains("All reporting servers: 7 wins | 3 failures | 70% win rate"), "open TEST_OUTCOME screen refreshes after late community result")) return;
|
||||||
|
Print("ERR STATS UI READY: community TEST_OUTCOME screen");
|
||||||
|
JsonSaveContext ready = new JsonSaveContext(); ready.WriteValue("ready", true); ready.SaveToFile("$profile:results-ready.json");
|
||||||
|
System.MakeScreenshot("$logs:community-TEST_OUTCOME");
|
||||||
|
m_ERRCommunityTestStage = 3; m_ERRCommunityTestWait = GetWorld().GetWorldTime() + 5000; return;
|
||||||
|
}
|
||||||
|
Print("ERR SMOKE COMPLETE: community TEST_OUTCOME native credentials, JSON validation and result screen refresh");
|
||||||
|
GetGame().GetCallqueue().Remove(ERR_CommunityTest);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"default_restart_delay_seconds": 120,
|
||||||
|
"native_assertions_passed": 13,
|
||||||
|
"native_completed": true,
|
||||||
|
"hint_tests": "Production monitor methods tested for transient recovery alternation, three-second settling, silent updates, local unconsciousness before replicated observer state, hint-manager rejection, stale controller and camera cleanup.",
|
||||||
|
"limits": "Exact reported pair of messages not identified by user yet. No live multiplayer reproduction. Native run checks compiled scripts, configured delay, results geometry and text, not two minutes of elapsed waiting.",
|
||||||
|
"published": true,
|
||||||
|
"publication": "User confirmed Workshop 0.0.128; local publishing manifest version recorded in CHANGELOG.md."
|
||||||
|
}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
15:13:55.260 SCRIPT : ERR SMOKE PASS: community results remain open for two minutes before automatic restart
|
||||||
|
15:13:55.263 SCRIPT : ERR SMOKE PASS: community private credential saved
|
||||||
|
15:13:55.268 SCRIPT : ERR SMOKE PASS: community native credential serialization preserves installation secret
|
||||||
|
15:13:55.268 SCRIPT : ERR SMOKE PASS: community native JSON roundtrip and current map/result validation
|
||||||
|
15:13:55.268 SCRIPT : ERR SMOKE PASS: community another map is rejected
|
||||||
|
15:13:55.429 SCRIPT : ERR SMOKE PASS: community native defeat screen requested
|
||||||
|
15:13:58.906 SCRIPT : ERR RESULT GEOMETRY: Base_ContentHolder x=0 y=0 width=501 height=225 visible=1 opacity=0.723378
|
||||||
|
15:13:58.906 SCRIPT : ERR SMOKE PASS: community Base_ContentHolder has positive rendered dimensions
|
||||||
|
15:13:58.906 SCRIPT : ERR RESULT GEOMETRY: ERR_RoundResults x=135.917 y=47.9167 width=229.167 height=129.167 visible=1 opacity=1
|
||||||
|
15:13:58.906 SCRIPT : ERR SMOKE PASS: community ERR_RoundResults has positive rendered dimensions
|
||||||
|
15:13:58.906 SCRIPT : ERR RESULT GEOMETRY: ResultFrame x=135.917 y=47.9167 width=229.167 height=129.167 visible=1 opacity=1
|
||||||
|
15:13:58.907 SCRIPT : ERR SMOKE PASS: community ResultFrame has positive rendered dimensions
|
||||||
|
15:13:58.907 SCRIPT : ERR RESULT GEOMETRY: GameOver_State x=140.083 y=47.9167 width=220.833 height=10.8333 visible=1 opacity=1
|
||||||
|
15:13:58.907 SCRIPT : ERR SMOKE PASS: community GameOver_State has positive rendered dimensions
|
||||||
|
15:13:58.907 SCRIPT : ERR RESULT GEOMETRY: StatisticsScroll x=140.083 y=85 width=220.833 height=89.5833 visible=1 opacity=1
|
||||||
|
15:13:58.907 SCRIPT : ERR SMOKE PASS: community StatisticsScroll has positive rendered dimensions
|
||||||
|
15:13:58.907 SCRIPT : ERR RESULT GEOMETRY: RoundStatistics x=140.083 y=85 width=215 height=52.1875 visible=1 opacity=1
|
||||||
|
15:13:58.908 SCRIPT : ERR SMOKE PASS: community RoundStatistics has positive rendered dimensions
|
||||||
|
15:13:58.908 SCRIPT : ERR SMOKE PASS: community open defeat screen refreshes after late community result
|
||||||
|
15:14:04.041 SCRIPT : ERR SMOKE COMPLETE: community defeat native credentials, JSON validation and result screen refresh
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"date": "2026-10-30",
|
||||||
|
"worker": {"miniflare_tests_passed": 14, "deploy_dry_run": "passed", "production_deployment": "not performed for map-summary changes"},
|
||||||
|
"native": {
|
||||||
|
"victory": {"run": "mapwin02", "assertions_passed": 6, "result": "smoke-completed"},
|
||||||
|
"defeat": {"run": "maploss01", "assertions_passed": 6, "result": "smoke-completed"},
|
||||||
|
"script_or_runtime_failures": 0,
|
||||||
|
"engine_errors_per_run": 13,
|
||||||
|
"engine_errors": ["4 external localization resource GUID/name errors", "6 unknown Parent properties", "SlidingTrackMaterial", "m_HardLandingVelocity", "m_DeathLandingVelocity"],
|
||||||
|
"runner_exit_code": 1,
|
||||||
|
"scope": "Scripted local Workbench transitions and actual end-screen widget text updates. No organic escape, multiplayer replication or live Worker round trip tested. Desktop screenshot capture did not produce UI evidence.",
|
||||||
|
"revision_note": "The subsequent guard preserving accepted records when older queued uploads fail was verified by the production-method policy test; native fixtures preceded that small guard change."
|
||||||
|
},
|
||||||
|
"game_policy_tests": ["test_telemetry.py", "test_telemetry_credentials.py", "test_community_statistics.py", "test_round_statistics.py", "test_failure_result_refresh.py"],
|
||||||
|
"publication": "Not published to Workshop"
|
||||||
|
}
|
||||||
@@ -0,0 +1,715 @@
|
|||||||
|
{
|
||||||
|
"addons/core/AI/BehaviorTrees/ERR/MortarRapidFire.bt": "16b263bcb2fb3ae361367a600753a829425620d2e6b350a891c51fba47437ab6",
|
||||||
|
"addons/core/AI/BehaviorTrees/ERR/MortarRapidFire.bt.meta": "f2a44ece28891240e6bfa1d01af29428adcadbe82c80e287eb33cd5e58f1f90a",
|
||||||
|
"addons/core/Assets/Items/ERR_Atlas/AtlasCover.emat": "0a536cd31d1917965ab36d33e273a881be384eb8b863eb5da03d1666e141d45a",
|
||||||
|
"addons/core/Assets/Items/ERR_Atlas/AtlasCover.emat.meta": "9f4d59cd6d103547e3e494baf7cc8fce70f31f87c66fe6d26b70011bbd27e38b",
|
||||||
|
"addons/core/Assets/Items/ERR_Atlas/AtlasPaper.emat": "88a2c1061c01eb96ce8a0f753bd3e89e1d7af01471ccc4abb4774a7aa9a532fb",
|
||||||
|
"addons/core/Assets/Items/ERR_Atlas/AtlasPaper.emat.meta": "e0093b7df155499444f93a1148a07f66cc755489192db17c81f4035d17378efb",
|
||||||
|
"addons/core/Assets/Items/ERR_Atlas/AtlasPrint.emat": "9877c5b175c5f30dd80bea36c711b21ab38219aa7075adf9ae79932e1d4c76bc",
|
||||||
|
"addons/core/Assets/Items/ERR_Atlas/AtlasPrint.emat.meta": "33a9eaa49871813f2e8537f071ea0f5a4422eb08d536355a47314b6b6d845b19",
|
||||||
|
"addons/core/Assets/Items/ERR_Atlas/AtlasTurn.agf": "48dc42771b7e44994839dfabe9b007c23e37bd9be900196c757f42351e5c6b04",
|
||||||
|
"addons/core/Assets/Items/ERR_Atlas/AtlasTurn.agf.meta": "c081aec31c927c0c374dcc0f8eb3eaec498f71cb0e2ac746879b926f8dc7d00e",
|
||||||
|
"addons/core/Assets/Items/ERR_Atlas/AtlasTurn.agr": "8ec57b278c9d63324d00f7af62abf75230c5ef631d1cc070661585ee235c8a1f",
|
||||||
|
"addons/core/Assets/Items/ERR_Atlas/AtlasTurn.agr.meta": "b045e26f86116703d1b3599fdf747b413cc0064d8101eff659ded0355eff31fe",
|
||||||
|
"addons/core/Assets/Items/ERR_Atlas/AtlasWire.emat": "372247aac7b84ddf6c66e276d03321d22496e65726f55e490ee7287a90151318",
|
||||||
|
"addons/core/Assets/Items/ERR_Atlas/AtlasWire.emat.meta": "ea10c7bd630b31febf511fb28a42cc73597fcc1e3010597dc074c651813ede94",
|
||||||
|
"addons/core/Assets/Items/ERR_Atlas/ERR_Atlas.fbx": "03a654900103878223ab5c4a42e71d17022ca4885ced71b99c67d8c91652b5fc",
|
||||||
|
"addons/core/Assets/Items/ERR_Atlas/ERR_Atlas.txo": "9838bcb2e4ff1cd649586535ca7d5ad2497e6118cdfb76b8aadabded9cafb938",
|
||||||
|
"addons/core/Assets/Items/ERR_Atlas/ERR_Atlas.xob": "a4602d65e84cec1b23b6b09b5bc5847cbd52efe82925986c6eaf1c43bec1ac78",
|
||||||
|
"addons/core/Assets/Items/ERR_Atlas/ERR_Atlas.xob.meta": "04f4039be7950ca393ea74469898dabcfec4dc8b8f9e08068898c00333445878",
|
||||||
|
"addons/core/Assets/Items/ERR_Atlas/ERR_AtlasLeaf.fbx": "4ca13bbeafaa0dc0bf007ae9024b8d6c2a5279afc62e0ebc227e2bec2ad67a30",
|
||||||
|
"addons/core/Assets/Items/ERR_Atlas/ERR_AtlasLeaf.txo": "8ed37705192d3d9b18f26b5deb51af6f2a6d694e7e2dcdbd04b317497610b50d",
|
||||||
|
"addons/core/Assets/Items/ERR_Atlas/ERR_AtlasLeaf.xob": "fe6ea401412fdbb3bb46367cf7dc9215f7d01c6373c8ac954cbf23f2a6927bf7",
|
||||||
|
"addons/core/Assets/Items/ERR_Atlas/ERR_AtlasLeaf.xob.meta": "492a44fc323d3df469753d4bbbc35ceb3d362e734f48083ba633b3de5dd42d8b",
|
||||||
|
"addons/core/Configs/ERR/AdminMenus.conf": "5a4b405060135efd0f7faf913c7f061f6250a1e6e9d27f2bb394281d784b20e6",
|
||||||
|
"addons/core/Configs/ERR/AdminMenus.conf.meta": "5faf5ddc0a51c1d0f82d60af00d91edc22fe9c39aac50d8d04b772a2c9271be1",
|
||||||
|
"addons/core/Configs/ERR/Content/Registry.conf": "546a5a407c9e6c25c9157ae4392898fa3f40c04c7956649e62201f9ac0ba187c",
|
||||||
|
"addons/core/Configs/ERR/Content/Registry.conf.meta": "046aa988bf8e972afcf7a60b6f2312f605f016f98625dbbd9cd75ebf9ea88800",
|
||||||
|
"addons/core/Configs/ERR/EveronSites.conf": "781a9a3f4d2d4ea5b913fbfd15c2f1a991efdee7e033b7ba4241ad632609f52f",
|
||||||
|
"addons/core/Configs/ERR/EveronSites.conf.meta": "d5fe68025ef4e7c1e16082cf5873b7c7172eacbfaef4ab29b7e0e3c98f8dca56",
|
||||||
|
"addons/core/Configs/ERR/Factions/MissionVehicles.conf": "5f74f4a7089c7e7b54ad62463159ce8f0bab25a6b85268dc3872ea6001e048fb",
|
||||||
|
"addons/core/Configs/ERR/Factions/MissionVehicles.conf.meta": "00c368b6271d3440cc8bf627b03a384d247635723923fc5ad2104b8b4007b035",
|
||||||
|
"addons/core/Configs/ERR/Factions/US.conf": "4c3da063abb6e3ee39a6e4e0c5a9ffd5eae9d209d58470ea18b45dba5528db1b",
|
||||||
|
"addons/core/Configs/ERR/Factions/US.conf.meta": "a05469aef028e9e17eba545e81e2af2887b59f0fef17dac51a23c7b8155e381b",
|
||||||
|
"addons/core/Configs/ERR/Factions/USSR.conf": "407ea27f80a64c5184c089d43cdd0bdabfc5974c84f1d2a245081fdf2afa3f30",
|
||||||
|
"addons/core/Configs/ERR/Factions/USSR.conf.meta": "057397d97096346791b51b7b13fbe18af218bcf78e9984d9c01b49a2403de611",
|
||||||
|
"addons/core/Configs/ERR/GameOverScreens.conf": "1bb83c26a57d64595e91c3ba7926987e22b33dce2c6c876016e3ec2d04f9eb2a",
|
||||||
|
"addons/core/Configs/ERR/GameOverScreens.conf.meta": "eb654b745c0b97b41c991694569ef4877a3c2315e0826f9556337cd68690843e",
|
||||||
|
"addons/core/Configs/ERR/ObserverInput.conf": "f38866fe4c5fd2545076def314b80ae5c310257441ba883f3b63efe31783e2ca",
|
||||||
|
"addons/core/Configs/ERR/ObserverInput.conf.meta": "9714dce6c38ee81bcc513c8ebef51d7af63fd15bcdda2e40946937c625dc3ba4",
|
||||||
|
"addons/core/Configs/ERR/Telemetry.conf": "12d895ba4fcd159e23c2f3e94dc59e6f1e54702470cf0b1dad7d04f15572cf7a",
|
||||||
|
"addons/core/Configs/ERR/Telemetry.conf.meta": "afd52b410ce1a1026f4b0900b10aae2ee50c30764a212a59668233f4f8b8c5a1",
|
||||||
|
"addons/core/Configs/ERR/Tests/LegacySites.conf": "3864eb638d0ed4dd313013d2d787f975ae6ce4bbe238569919f76b73d5f7ca42",
|
||||||
|
"addons/core/Configs/ERR/Tests/LegacySites.conf.meta": "097ac7daef4fc18344699a8471fdd77f9d158f8c70bab394068d7a08e4777ac0",
|
||||||
|
"addons/core/Configs/ERR/VanillaFactions.conf": "db890b61b48ee15484041fd2245a862d9fa9e7ba21b1229c281ff37c448a35b1",
|
||||||
|
"addons/core/Configs/ERR/VanillaFactions.conf.meta": "ac77725c0c21974991ef47a466b88122e939de8b46fd23e68889e7674cbb2bfd",
|
||||||
|
"addons/core/Materials/ERRM_MapRenderTarget.emat": "4ab251037d40a850e3767c0de85136842bcd4fd130eda47bf8e19352b0d030e3",
|
||||||
|
"addons/core/Materials/ERRM_MapRenderTarget.emat.meta": "5ee1a705f8011a44020ca2691f5ccc17d44bf596fef9a36e98d1f267eb58fab0",
|
||||||
|
"addons/core/Missions/ERR_Everon.conf": "c6cce48484301a76b81f3a0cd76a4012f5808b901754d4114034e92beeefcff3",
|
||||||
|
"addons/core/Missions/ERR_Everon.conf.meta": "0a23c98bf83873536c65fa17d38dea33a1d7b9e4ab210f90633ff688abcc551f",
|
||||||
|
"addons/core/Prefabs/Characters/Core/Character_Base.et": "74a6f03a1e76173a0cfa20b23c711d02e70bac810d6743e16c60476bfe5be457",
|
||||||
|
"addons/core/Prefabs/Characters/Core/Character_Base.et.meta": "c6b142d1985719236268cdf12ac522fee4b1206871a6f22b568d9198d1fcc077",
|
||||||
|
"addons/core/Prefabs/ERR/AssaultParachute.et": "b556997989605e2a05982418b7e9f26d12d427eb3ea6e3bc50e85c67ea7aa4b8",
|
||||||
|
"addons/core/Prefabs/ERR/AssaultParachute.et.meta": "e9dea2d533ad1ce6ce689e0e2815c97a6382e1b90c35ce1efa88a885527e8e18",
|
||||||
|
"addons/core/Prefabs/ERR/CombatEpinephrine.et": "aa57d78bae861dc4a0fc509f7916190d2f2f0b36a1c3867f9bf9a071717cd7f5",
|
||||||
|
"addons/core/Prefabs/ERR/CombatEpinephrine.et.meta": "0e19ebd1dd4d81f739125a4dcbff898424ffe39572c2668bd56455d939b3f604",
|
||||||
|
"addons/core/Prefabs/ERR/ConvoyCrew.et": "29a525a29605386dfcf292dc2316e9fc7650ce39db9fbaa4ce4372ad0de66db4",
|
||||||
|
"addons/core/Prefabs/ERR/ConvoyCrew.et.meta": "0a909a15b7dcca34202ded136b3bdbbe8898153c9589e1cce1388433d362da02",
|
||||||
|
"addons/core/Prefabs/ERR/CrashSite.et": "8d06afe6e2db8986f06a7c5d6649e52df009f9eead7345bf2b477f50a0725b3c",
|
||||||
|
"addons/core/Prefabs/ERR/CrashSite.et.meta": "0f54fe80ed96394374c1922e1d0b05f7e0200ce5b979ff58325b033f51641f69",
|
||||||
|
"addons/core/Prefabs/ERR/CrashWreck.et": "f5de4785c0e3cdf02f1d5372e9b01171bd5a37acb9c36aa2a94bae3f429b2272",
|
||||||
|
"addons/core/Prefabs/ERR/CrashWreck.et.meta": "bde3299bdbbddb91d2ef471b61035b6cced29899cff4cd90c080fe584ce63f26",
|
||||||
|
"addons/core/Prefabs/ERR/Epinephrine.et": "e09c70b3d47a4dc5b92fd332c8222b99554b28a8a0c93cb5caac18eec4501571",
|
||||||
|
"addons/core/Prefabs/ERR/Epinephrine.et.meta": "f1861f0b0ccace1b7b3d9c29768e37a83bf0c6fae5a411b1bd61d6b2eec7ed89",
|
||||||
|
"addons/core/Prefabs/ERR/Extraction.et": "4d24c7811415c06386205e5bf5c132a23fcf21e96c75c7657ccd5f3ac914ac50",
|
||||||
|
"addons/core/Prefabs/ERR/Extraction.et.meta": "c2a838633001e2e3a202d39cb33aa744ebcd996017ad032359069641b5d13853",
|
||||||
|
"addons/core/Prefabs/ERR/FactionManager.et": "d34a8bbc5dce259c4a467c7bfa2ba746683bbeb9448de8c226856e65319f4911",
|
||||||
|
"addons/core/Prefabs/ERR/FactionManager.et.meta": "9bf53d5e4bcbe60dd1a4ece1409fc23c349055c860708620f5f6e9716290a97d",
|
||||||
|
"addons/core/Prefabs/ERR/FieldCover.et": "e403d5cb3a5966f0cea81f15e0e825d482ba1a7a27b12498319ba45a414963b0",
|
||||||
|
"addons/core/Prefabs/ERR/FieldCover.et.meta": "83461ffa76244e1d69f20b053a9741ccdf7d127009182bd540a7e5ba6150c3d9",
|
||||||
|
"addons/core/Prefabs/ERR/GameMode.et": "a2b7e632714e646a7010592cc7ac75f0afff7da6c995bf91aaf65d9473a6af3f",
|
||||||
|
"addons/core/Prefabs/ERR/GameMode.et.meta": "106769cd34525c9d440057072836cb7401a6752148c40edd7fe61c03bd58328c",
|
||||||
|
"addons/core/Prefabs/ERR/Items/EmergencyRepairKit.et": "0157bc235eeb78a0e1373b561fd22a1dcb225c833ff7c2d4abae688bca0ec92a",
|
||||||
|
"addons/core/Prefabs/ERR/Items/EmergencyRepairKit.et.meta": "da6f065cb2414b5a4cbe9ef0f0b1295b2466f26ad406c0bddb83845d4598efb3",
|
||||||
|
"addons/core/Prefabs/ERR/MortarCrew.et": "21086e886fe3199624208c9a866f883ec109f7d08746c2b56b497e59857fb656",
|
||||||
|
"addons/core/Prefabs/ERR/MortarCrew.et.meta": "fdfd4fcd21a67c3d698fa4aadc4e5c76e665cebf4be86013bc389e493fab63cc",
|
||||||
|
"addons/core/Prefabs/ERR/ObjectiveDocument.et": "5118ecaf9d2038eea44a4b785f05d2e78781dc1387249aa58a6782c7e6752e14",
|
||||||
|
"addons/core/Prefabs/ERR/ObjectiveDocument.et.meta": "eaba9903be147b98a1106e2273e2270773df73b9b22f2cd4e20136a8e281382e",
|
||||||
|
"addons/core/Prefabs/ERR/Patrol.et": "d3eca8fe9197c57a27a285cdb3baf168b037b198d92b39df28a338ae2cfd0c74",
|
||||||
|
"addons/core/Prefabs/ERR/Patrol.et.meta": "7c5da568fa2fcf0709ee2959253cb068d7c7ed7c2467af3b247a7e70efd96b69",
|
||||||
|
"addons/core/Prefabs/ERR/Prison.et": "c0ca5219aa2d6322ba7d094b92000640b259112ff6611a745c0713c8875d09d4",
|
||||||
|
"addons/core/Prefabs/ERR/Prison.et.meta": "2e426ef3de68f4107907854b51e818bc11d84649a01c538e3f18dd9ebec766bb",
|
||||||
|
"addons/core/Prefabs/ERR/PrisonBackpack.et": "ae750f08fc9af645561f59d7e5809bd22f4cec26ca8fa6409d09730765958c91",
|
||||||
|
"addons/core/Prefabs/ERR/PrisonBackpack.et.meta": "7da6aa45467250edc910ad7230dc244d1b041e8a6f55881eb3747ce51f9212ba",
|
||||||
|
"addons/core/Prefabs/ERR/PrisonDoor.et": "b0ff94443fe334032113a663917de23f920a8b73ffadc9c8e9f11b545022b3d2",
|
||||||
|
"addons/core/Prefabs/ERR/PrisonDoor.et.meta": "b8f3db52bf186426026668fbb9d633c3cbd4d438ab301fba880398f6a0e781c2",
|
||||||
|
"addons/core/Prefabs/ERR/PrisonPatrol.et": "dc88c31cf5c415573a874f74e13572f0add9e6122c8fcad507fe82860d789c47",
|
||||||
|
"addons/core/Prefabs/ERR/PrisonPatrol.et.meta": "5528e0d778dce5ed39c3e504c6427625527127b23269d20fbf12ca2bffe52ffe",
|
||||||
|
"addons/core/Prefabs/ERR/PrisonWall.et": "9b410b7c85bb001be4601ad93f750e17b8318b850306d84f29c4dc1b02723d7c",
|
||||||
|
"addons/core/Prefabs/ERR/PrisonWall.et.meta": "0294bc5dbb56f90f8153d62459bb0a6ad91d76a479812bbec9c7db182fdb58d6",
|
||||||
|
"addons/core/Prefabs/ERR/Prisoner.et": "e6d345ac98ad9ec742bf6c3b8686839c3256df9833d31bb4bdf605cd41d0ba5c",
|
||||||
|
"addons/core/Prefabs/ERR/Prisoner.et.meta": "974278ba49fafeed70b619a0067bbc70ae4d534be441c812ce2bef4a5fb3c022",
|
||||||
|
"addons/core/Prefabs/ERR/Radio.et": "99b1d80b49d1e7f9d30aa4283772a36fd66e962369f288f5fe329c7fc911bb1b",
|
||||||
|
"addons/core/Prefabs/ERR/Radio.et.meta": "bc91137b68ba550217914fb8892bb44d7e1920e4a1086f3e506623832a44212f",
|
||||||
|
"addons/core/Prefabs/ERR/RadioCamp.et": "5e6216bf8e6e160da5d9f966c8f7c2081bf6dd16dfac1b89d682a14b3b8a6716",
|
||||||
|
"addons/core/Prefabs/ERR/RadioCamp.et.meta": "3cb8d3d553ab6d8d111a74f721cf4e69ee1011cbb90248b83cdc7275697276bd",
|
||||||
|
"addons/core/Prefabs/ERR/ReconCrew.et": "33953379ceb725bcd0cbe505cd643c94adaed17dbbfa95dadd404d6b8e345715",
|
||||||
|
"addons/core/Prefabs/ERR/ReconCrew.et.meta": "2653e8c5b1cdb857de5badd5959ddd9826a6a298ab3c166628dbb835d7104d90",
|
||||||
|
"addons/core/Prefabs/ERR/ReconHelicopter.et": "c609ee59ab145e0a1936f95726b86df643f5cc425c43924029e9c1abc69ebbd0",
|
||||||
|
"addons/core/Prefabs/ERR/ReconHelicopter.et.meta": "d80f1c3d6a6f9104562b89729996c1c92ad240f08cdcf48d4c390a09d2047c08",
|
||||||
|
"addons/core/Prefabs/ERR/ReconPilotEast.et": "d961f329823b991eafed80d085de1bd89b44a4575be98d8dac385d6b77741ba2",
|
||||||
|
"addons/core/Prefabs/ERR/ReconPilotEast.et.meta": "d73df3c896359a54514d2efcd851f579feca7a2619b76c2a38f607649a31a4f1",
|
||||||
|
"addons/core/Prefabs/ERR/ReconPilotWest.et": "8f8221927269352e55c8026ee5b00e026c281c79af6684b386f24e7dc4675fb8",
|
||||||
|
"addons/core/Prefabs/ERR/ReconPilotWest.et.meta": "4785f23bb492c6af420ee7896ddbfc9767e0db1e06de95207df2dc949a1b1814",
|
||||||
|
"addons/core/Prefabs/ERR/RescueEscortION.et": "aa5cae65250936da239c865fe1070c68a1d20b49bcef37f6bd29021f22c274a9",
|
||||||
|
"addons/core/Prefabs/ERR/RescueEscortION.et.meta": "34eef8053198a49df774792322c6d3cba81f689e56b6a418aed5a14de0913537",
|
||||||
|
"addons/core/Prefabs/ERR/RescueEscortWest.et": "6f9671fb68e2716479d96be74b80ffb29fec535f1333c5e4dc4d7b684dca1ccb",
|
||||||
|
"addons/core/Prefabs/ERR/RescueEscortWest.et.meta": "45a87304712d6a18afb0ddc5b3ccbb70da395541e21aafe9d6d3641c392eaab3",
|
||||||
|
"addons/core/Prefabs/ERR/RescueHelicopter.et": "d9b3b01a0cdb6ed779f40f14f03dfd8fe732382931cdee02ea643f260783313c",
|
||||||
|
"addons/core/Prefabs/ERR/RescueHelicopter.et.meta": "f47b4a9a72faddcb5817e396dab7c115ac05a5455e5dc8ca4c6a3e9d5fc4093c",
|
||||||
|
"addons/core/Prefabs/ERR/RescueHelicopterAFRF.et": "cbd9c88b0a0c798096c78770cdef834cebfbdfd62fa12d96b56e74c5ac60dcb3",
|
||||||
|
"addons/core/Prefabs/ERR/RescueHelicopterAFRF.et.meta": "5cf8cdd7f34e2bffccedfab0cc0cf266d3c8a6856215e797874c531eb2a3ebf2",
|
||||||
|
"addons/core/Prefabs/ERR/RescueHelicopterFIA.et": "6aa11ddd56ebc9d0aefd06e1f55c7c61136d5c703b6eddc9cc84f3bcd8c8c26b",
|
||||||
|
"addons/core/Prefabs/ERR/RescueHelicopterFIA.et.meta": "ac0b32de9818aab77ff42d244cd5165112a7764eb6d289dcfe12ec77ea0c9b3b",
|
||||||
|
"addons/core/Prefabs/ERR/RescueHelicopterION.et": "a910548e7346439af90bb87e445f056aa1799572a69f87f45addbc17dc01fd85",
|
||||||
|
"addons/core/Prefabs/ERR/RescueHelicopterION.et.meta": "426a478d15718c0193490d5381f732e4c559348f2e5e9c7eb9473a4ca3017add",
|
||||||
|
"addons/core/Prefabs/ERR/RescueHelicopterWest.et": "dbf3827f58c27d957aac23f505a24c0af2a8f6c6555a82d0962a0ee5d47efb42",
|
||||||
|
"addons/core/Prefabs/ERR/RescueHelicopterWest.et.meta": "963b5b22139a2f3496e937855854c3ffe01604b86a93f1fb63b547bc1ba29068",
|
||||||
|
"addons/core/Prefabs/ERR/ScoutEast.et": "b4593aab494c4f21637757b3daff4f349da77b4c48ec5e8a4a2917a6a12cf811",
|
||||||
|
"addons/core/Prefabs/ERR/ScoutEast.et.meta": "7c72af632537f687e92f30b52d97fc7d70dadd39d33f37e0b1004f9596f55012",
|
||||||
|
"addons/core/Prefabs/ERR/ScoutGroup.et": "8dc0fce8ee3decc1c367411b00b6d8518df9d8458281cec0881464a2ce906af0",
|
||||||
|
"addons/core/Prefabs/ERR/ScoutGroup.et.meta": "62e43fd152ce57aa4ceb2187a49e4aecdeb9f428b3a1e8318f86bb83dbf8a259",
|
||||||
|
"addons/core/Prefabs/ERR/ScoutRadioPack.et": "f1c4911e2556c0e0caa8b896982190c5e7d0433e850b4610e19442caf9117607",
|
||||||
|
"addons/core/Prefabs/ERR/ScoutRadioPack.et.meta": "825506e3d814d30a52d5dbf64124470641c07a0453543ba71426841e6c783635",
|
||||||
|
"addons/core/Prefabs/ERR/ScoutWest.et": "2681b5a3f8621adb44195f0dbca6f3e79ef7decad8f9d0dd0e1a801ec2549627",
|
||||||
|
"addons/core/Prefabs/ERR/ScoutWest.et.meta": "22a6607b4b8fe606ca75a634a0b2ac3178e7bedae7f9ff01e7a4989f3b39a3da",
|
||||||
|
"addons/core/Prefabs/ERR/SpectatorCamera.et": "761d845fc1c086da58fd87c8933bf58d46d1ff5e17cca5950141743d07c8ce16",
|
||||||
|
"addons/core/Prefabs/ERR/SpectatorCamera.et.meta": "2a16558f93915e31908a674509e9c89976470f78a84a1174a64b94b68b8f77ad",
|
||||||
|
"addons/core/Prefabs/ERR/SupplyCache.et": "4c97b0514fe7e723046f40f0b396f6573b12eb9981ca5df70b9e8aa3cf29323e",
|
||||||
|
"addons/core/Prefabs/ERR/SupplyCache.et.meta": "2f5de3a4aab1e9d0e35521f48dc57b95bd6e449c383dec4f1c258e10295904cb",
|
||||||
|
"addons/core/Prefabs/ERR/SupplySite.et": "f33681281d26676fac88736091834d5a7b87fe0fa01883582542df964dcfc694",
|
||||||
|
"addons/core/Prefabs/ERR/SupplySite.et.meta": "b41944b12eb3528ff7a3ac94258b18c66ef161aa6a38894aee300a1ac4798630",
|
||||||
|
"addons/core/Prefabs/ERR/TerrainConnector.et": "cf9cb28f5a3f41931380864a29ac979aa1d5e843456f564ac7a7de78f88e1aa8",
|
||||||
|
"addons/core/Prefabs/ERR/TerrainConnector.et.meta": "9f37c979ae282aabca29ce84beb0db851ee8b9a19f7f3a64d387c175616127f3",
|
||||||
|
"addons/core/Prefabs/ERR/TerrainTakeover.et": "63e26db48c624056350f9ee123ae5b815bc2fad392060a9c26cfcd86c0af872a",
|
||||||
|
"addons/core/Prefabs/ERR/TerrainTakeover.et.meta": "64e953e378ab1d2a75ee7246f876f4ef93ae8a4e3fddb5002d7ba37268cb959d",
|
||||||
|
"addons/core/Prefabs/ERR/TerrainTakeoverWithChat.et": "aa857f7e8e0585839c7e9b2e3616702180779e68c6fb149d94a83c05bd52449b",
|
||||||
|
"addons/core/Prefabs/ERR/TerrainTakeoverWithChat.et.meta": "a213272011050a881c87fdd94b229e002ece24f26f25db5fe53824f8a5b147a8",
|
||||||
|
"addons/core/Prefabs/ERR/Vehicles/SupplyUAZ.et": "29f157849f413261494a63d4d5b0a97e8bbe61cb076efcd59d6c940653f23352",
|
||||||
|
"addons/core/Prefabs/ERR/Vehicles/SupplyUAZ.et.meta": "544c94cf1c26757a10654de7856cd6cc48b821ce3bdc02add13cfe6514269915",
|
||||||
|
"addons/core/Prefabs/ERR/Vehicles/SupplyUAZRearSeats.et": "cd4acdcecad299445952aea0adefc85f2b9e9b43f8186f100e0505c5621b3656",
|
||||||
|
"addons/core/Prefabs/ERR/Vehicles/SupplyUAZRearSeats.et.meta": "123955da03462befb90e293b3bb856d49cc761166611b38ff47cb48ec2fbe95c",
|
||||||
|
"addons/core/Prefabs/Items/Equipment/ERRM_AtlasLeaf.et": "11185bc813c00c5bda09c0afaad78849a1c81d89843e8f7f3a14c0776b8296a9",
|
||||||
|
"addons/core/Prefabs/Items/Equipment/ERRM_AtlasLeaf.et.meta": "8cdfeb51c3774ed790a223ce74872cfbc4588fb6812a0e98136eb607dcc17d9d",
|
||||||
|
"addons/core/Prefabs/Items/Equipment/ERRM_SharedFieldMap.et": "57dfbd215f28478a791b2e029832ddf3c363658d5dd5590cee4db9ec6a8b690a",
|
||||||
|
"addons/core/Prefabs/Items/Equipment/ERRM_SharedFieldMap.et.meta": "59093e9072c50d99c86da7609c87541016da5bcf92b98d99db4c524e1c8e0e8d",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_Actions.c": "cabb21413c90b252d29708b62228d0679c51c76e39ee0e483953ad7061b2b9d6",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_Actors.c": "7258b838f8365e4fa575c4f2ccc8532e22a33946405ebb490120534d5ca65607",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_AdminMenu.c": "2978e44217db17f03e336088c733d42fe8c8d36479bba1fe40f1cfa55d9e5133",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_AdminMenuFields.c": "3eda7287c206ede02ebb04cca53cdd54001496dcbbf4244c2c44c79575d92544",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_AdminMenuPages.c": "94400770e21a23234d1856a8558bfb62eebc3decce946c648e7cc120259af112",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_AdminMenuView.c": "39f7b77029834403ad98ecd398a364bdd5c7c4473c67816240c23160e8dd4080",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_AdminPlayerTools.c": "56780d78bf423f54f482d8620f821b8d3eb0199194482b4f12e37f5ec3f55ef5",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_AdminProvider.c": "62e05aceb49da07fed7aa89fb6b2f8eb3efc373ac09eff286fba983c3ad570eb",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_AdminService.c": "7dd31be704eacc3a7c47c4659746d04142bf82ef156ac020b99c3d3461575c64",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_AdminSession.c": "b8f9df2cccd49d917389a1f872b1dba2704d3de657ac0b236d88f2ec0c4c43c1",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_AirfieldPlacement.c": "0601d8da570e1f63e43ea7df451d0e997872e4e163669fd8ad37bedd59de7b9b",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_BakedSpeech.c": "d11fff16f86fd3447126701af84c3800860d721263b3c2c16d3b91d686d8b2fc",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_BuryBodyAction.c": "adbf4cee5b5f5317b185f17738205f28b701a15364e643cc9fb443866a121109",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_CasualtyGroundSupport.c": "8010394e7731d3bc2ce436cf795a37819e16d4d605e8d152027cf391e811d37c",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_CasualtyLoadingFeedback.c": "ac554a946cd14f73a5bf79005b8a3f770c9caaf0a6ea409134077b8d96f9433f",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_CasualtyLoadingGameMode.c": "1e670937736330716a467157d0f45bace512047d7e87d8678f4ae0ee123969c3",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_CasualtyLoadingOwner.c": "3f430930c2598951b75cba157a57967189686ca7a86aff8ecedd20f181262bbb",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_CasualtyLoadingService.c": "6efcfb4bb1bdf0da84400eef28a24f6c61e7f446073af2c9667b6f26f0bc47b5",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ChatClient.c": "4bf937ff74e0483c17fa0103f73bfee3afd8f67a37c0c248b08772a17bfcc349",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_CommunityStatistics.c": "84f2615fac1375bbe3738edd13a413ef1d524dea5ce0195b05b3a957aae84435",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ContentDefinition.c": "bc1dd4ed27ec894cf4bd617fb226cb8140b544aaa9ef6d8654e815d81e7f6fd0",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ContentMenu.c": "4321499b0d0ac09142fd8ec013f5020d115b64a40a5648169cea9fbb60cca0c2",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ContentPolicy.c": "3a4987345d5a7159234a7e1a08bf5ac40dd5a23031e9b1953fc43a0501d9924b",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ContentSettings.c": "3e2734dfb935a4e93d79b66ca4a7c883723a1fc348e3595432dbf2bfca643923",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_CrashSiteResources.c": "832aebf6e754dba54ba28b8f480180d32ced968a2d2f192424c4007a862c2b43",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_DebugAI.c": "bc5529c60591a6c36c39cdb753b1af948690fc3c3c725f38a8d595b41a499235",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_DebugIntel.c": "a9f6e7e42a3214879a21052e897f9afc0653c12ff15d5bee7766e26a1af6ab17",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_DiscoveryMap.c": "8a8653b322c948c462002077272dae79e2f45a24e883767b3ad9c1f24caad237",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_DiscoveryService.c": "552d9e40f72a135f19d25a17fbecf475b8bba8d8b62ec6b6d055c65499a0b637",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_DocumentComponent.c": "885c8ab4fc9e64c3f8b40056536096c8c32b011cb340b25ca00353a96da15c69",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_EnvironmentService.c": "c0fae5bf51ccf507bc84d44adc2d1dff021cd83653c0468b7645a4f343e3fc8d",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_Epinephrine.c": "5fb23182223e7b951a63171959c8701ac439ec290755d7445b2768ccdde489c2",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_EscapeGameOverScreenInfo.c": "4746b0715c6e9a527038b47d54d2ff305becea219da6b736f6998d81901143c9",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ExtractionPlacement.c": "6d388fe21f08b25cbdb5dfa4e198d94a4c80c5092f8d17630a4654e18bf8b3f5",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ExtractionRadio.c": "ad7fd91d8bb96f05f3be04a03fd00c20ab9413adb12d649d3020c6f7994319e1",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ExtractionService.c": "ded3f8ad5f1d70ef5d079dadc250759c4d81d4e73396f229a030802603fefcb7",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_FactionCatalog.c": "a5a8c53acf21259e14f59cb919535910f30dabff5a9179c664bc6a7a4d744d6e",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_FactionMenu.c": "1deab4c396c307fc17dbaa8731b2943ffb73c37dc0121a5cba5c239c34901ba3",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_FactionSelection.c": "04b8bd8a042cf743ab8a87ec3711f9758e7b0112995a9d363e81a63df4eabe5e",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ForceLedger.c": "0ecaf1c5a52568e751678b0b1236e91e6adb538f8fbf010d38b61a312d1bf253",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ForceSimulation.c": "2bbb8888c752a3ffc042f3059937526d25ae288af5b4db024cc683025a2605ce",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_GameMode.c": "98e1582cff1b53cbc0e9cb0f33d8f9423dbc1e78d9ae5505134c1058514bc502",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_GeneratedSites.c": "4943f761d0274e163a1da325ac4f750de9180947b05b79ee173e12141bfd6661",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_InitialGuardRules.c": "8c9d6b1dc4c2af96284e34f487eebb5a221091016ef108006dec60b4e3836558",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_Inventory.c": "b63e679d5b650b63a7a91dfc3f42a62f4be58b0338f6df3313e66d29a93bebf6",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_InventoryHitZoneCompat.c": "23c34f901311dce63a79aafe83c11e2fc25bd3fddb0cde38bd313eb90878ca90",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_InventoryLayout.c": "1af5df45a0f06d19a017954e9bf4b2d722e2d2389f8ffdeb1d024435b9a08be8",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ItemPreferences.c": "b22d75484cc671392f623fddd175882f9a430227247355f35c0aef4c68a7e0a2",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ItemStationLifecycle.c": "0feee55cc5ddf13e00fe73ae3926ec2cadd5ba861d793a939164287ccbe1861d",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ItemStationTeardown.c": "102e61216e86e47ad243cc19f6f66da1fcd8cc77f8799354ceaeb4a6dc74622e",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_JournalText.c": "1ad00a77cb0be741c7b6ef5dad2d8a8c1ff1fcca3b093df2e132ead0b69f74e1",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_LoadCasualtyAction.c": "1521af55a34110ce1c971b5226a618a9c6d931622abaae4946d9c0d27c05a273",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_LocalAdmission.c": "a076922d1ae966cf5cc67b198166ca6b1288358fb7f641207a4681e6a610a2ae",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_Location.c": "6323facd2d5b32382b466a2aa0140064632a8c1de0597e0738cb09a3fcfd7abb",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_MenuTheme.c": "90d9babfec7978b3d7f5baffedbbe5c1b54a9742f576f51e6232043e32d1cc9a",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_MissionRules.c": "17d1f48878b02a457eebbe5ff87c4267488d68d2a9b3121dda77a8bc8e69c8c6",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeAdminMenuProbe.c": "1d20d0ecd77849ce1cf93bc89516059e25a6cbd89bf4c0ffc098be71f3ccd76b",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeAdminSettingsProbe.c": "73e58561e08e50008d33f81eed606dd4e8109fb69a627e892d28ca468d641f7d",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeAggressionProbe.c": "dcda8528a64d35e6aa2f030b59503a49ea8a85ffcc33beaecdf8da00c003b50e",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeAirfieldMarkersProbe.c": "980025c07d042c2f109e2c99ccee0316b596806ba2c4fcd9446b6ad7580d1d1f",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeBaseSmoke.c": "f7697361c6a056a62aff86de7f7d69e9ccf47b92121dcb96ed012ad136e47e30",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeCasualtyGroundProbe.c": "41f40db3735f8aa535c0061458d9892dcfe972222b8a17238e67b65633c46bc3",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeCasualtyLoadProbe.c": "94c533deea654ec546df3f1ebb7cd213e6cd79b1125d99bab5303ef8e87b018b",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeCasualtyRemoveProbe.c": "4cfc06f6d43b709b63caae714155ffc562502e884f49a9825623c6f46972ad36",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeCasualtyServiceProbe.c": "02a9d70d1f4ba20326df199ba41489cfbae12b7bb0aab441361421cee38ad9ea",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeContentProbe.c": "cb0ccfe1e1575f9ed80a8054058b471f3543378db059e6af2fed8eb42a262638",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeContractsProbe.c": "60aa767d9455f2f4958a6a47bd68bbd8ab0466adc8f1dd9ae433c40ae96c68ff",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeCoordinatedAIProbe.c": "9104a7a5154bf34906f135f00c5793229e343da6a1ed19dd572e3c1d9821d393",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeDefinitionProbe.c": "904d8d4c3e7b91d49dadfe495fc7b4f02f300e4aaf7efa348df5ca17ec4a6e8a",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeDiscoveryMapProbe.c": "9ed32d391d08d937ff4f9f33bd11c3a204ce9a2230c2d72b6761e0320b31f24f",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeEndProbe.c": "2dec80c7e247ec5c257407f95d9d5edd42fe0cc44d6af9f724f6ebd10d8a355f",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeEnemyLoadoutProbe.c": "0885ca69f6fa7f53414ce1792cfc3c49916886b8173783c634135c13c5d37429",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeEnvironmentProbe.c": "9e2e66ac5d9778a1c65445348e3300cbb90b68b3f669f3ddf1d2b78a858430eb",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeEnvironmentRestartProbe.c": "7a836a206381b8e8de24c92baf141beb30575723675dd6948d738169ed26b507",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeExtractionProbe.c": "4b09385f73206de004f4f3c38a6192fd658a0d2012482dc5a84dff1599ceb972",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeFactionCatalogProbe.c": "e3011fa47b67122d7b2c23af8f91b7a217599d6cc114c4f9de628744b9c948d3",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeFactionSelectionProbe.c": "946879d822e7be2d48e03a3140aa1aad3e3d44dd18507fa3cdedb4c6d7dd81b9",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeFlightFootprint.c": "a8862a04ac784426f431e2e9cd3f1f19f820b38a081674d29549b8b00277c72d",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeFlightInputDiagnostics.c": "e231dcbdaefe81beb3bd587cb73be8fb3d3184bc86d18dbaa30a43ca4ba5dcc4",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeGeneratedSitesProbe.c": "a3202ee4658e98539122926755caf689a693a79642e8c88d3146c247dd961138",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeGuardCancelProbe.c": "bfa1c65cb039e19c3d1891e4a3fd33469e974c97cc7f42128efc31a8f587d514",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeInfantryCombatProbe.c": "3e4c4382ab91f470357268927b954fd101685df6b2244df483f0422d6c0d7da2",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeInventoryHitZoneProbe.c": "604eacdc66cd52bc8a0115862ee7884a8b0f83bdb50609397de671eacd476543",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeItemStationTeardownProbe.c": "028588a49fa9207087cd27ec9396979cd932daa071e2490bd0262cd71dae30d9",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeLifecycleProbe.c": "b613a5dbe81c2032fd02d31070ae5631166d14d0b02cdbec3b63b782f0bbc115",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeLocalAdmissionProbe.c": "29c860ca3e51cdaa463f3c23a98ff45ee0499ce9bbc322046e0efbed587f1e09",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeMedicalCombatProbe.c": "59c5b04dd32370f8cf5c62fe6931d64209825522127a068b1957e9d1556274e1",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeMedicalProbe.c": "4b73e7cf35e9c8fddb089678a320ea58272e1b6611318d0a762754c171eff785",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeObjectiveLossProbe.c": "6b80fd317a8c6e8583bd4337870838a86251e3b8a681d0aa07e8b52e22abfc48",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeObjectiveMapProbe.c": "37e66177ee0f16fc33d3d18321211206bc4f095fccbd17b177d4b8cc1ba4e057",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeObjectiveProbe.c": "71fbd2479a70048f83d8b262ad1452f427be2c0afc8b071ef13bff477b9dc29b",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeOpeningToolsProbe.c": "0c5d6b96ed5a7cb1cf0d098d534dc7190449ed09339062e6b584729d53a61b4c",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeOptionalSiteProbe.c": "59d86432c19fd85da30a63087cf1f15375c8ee30178ed7e2765c1bda4cc4d035",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativePatrolProbe.c": "5a2af71cc4cfccc7dd7c23584398a38290eba1a8894cd46f6967252ff3a7087c",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativePoweredFlightProbe.c": "7ae5d6f85bbbebec214c66bfdf6f53b93c802f109fcd5bcfbad82c5d61d6cb9f",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativePreparationStatusProbe.c": "456f4d7c3272b89d5f4c6713617baa5596d846994152356fee9a659839bcd8b5",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativePrisonBreachProbe.c": "4889e0d3799a6a21b9f84bcb2f2ae78dce16269cccd1329f8d1fcc1a23e7c22c",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativePrisonerProbe.c": "e2d1ffe5d269add55124601ff0d1dc032a398c7d51010736e6f0e4cbeb38ae86",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeProgressionIdentityProbe.c": "1d3fe20bce761a1082964bca9bad9ce79d1fa8b04db9b5053bae98da380ae560",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeRadioCampProbe.c": "67f1a088f9b20e5f0f11ed3aa083ffa772bffd7c74d85b7a307344ac3d47e09a",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeRadioDefenceProbe.c": "ff1e27a0ce75b123a86e7df31354831880ca62ea90b6c5d7c60d3ba168e1fff0",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeRadioInteractionProbe.c": "7b27552d233813894f65c08eb9f04b547c4ca9ff96a2370a763cb94bd4a555c3",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeRecoveryProbe.c": "d6691f22432b3ce37d07d448aeb3ce7feb5cd09e852e0167b5e4676afd24bb21",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeRescueProbe.c": "f5691373634d593148d9d8389ed3c20dd9004e45eca89db501f560ec070e46f1",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeResultProbe.c": "c9a89cae067f221b9f33965b4d3ab311b78ba79ea383ca65032c4001df44b472",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeRoadblocksProbe.c": "2f9fd487c2d13aaa4289ee4730857c294004305701be8140b1ccbfe27d49502d",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeSarkaProbe.c": "511816c4b86c9f1392bc4a1d83ad11e082280bec16356d8ab24ac1f2094bba93",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeSiteGarrisonsProbe.c": "1a5ff8747d7501862085b5e9162043fee3b05e82c73c516ad8093aaada53dc60",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeSiteSurvey.c": "ac0203753ade0cdff6d483132797a80e4520f14546c3f9dea288281cd4cd9c4f",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeSpeechDownloadProbe.c": "5377da12cabd58b9105851a2348d7496316db371bfc4346a5fb3f84f245ec013",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeStationTeardownDiagnostic.c": "172248540932174341882861bb78a9720a6cf89981fcdf9dffe63f7fd4023f2c",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeTimeProbe.c": "4a2c6ffd947334a0a71eac083d10c853c524b00042e9ea0987497c4cee60c3d5",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeTransportProbe.c": "7a3fe04aa1c5ed1061ff63d9d5180e8b925932b62d76c1ffb49bd3dc23530993",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeTransportSurvey.c": "e5abdb69c0675a20f4287afb24b9e3c877e91b162c77c32d81ef61e2a8b72577",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_NativeVehicleSecurityProbe.c": "59bce863142e4fba4b6fb2f544bb8a58061f0e99b1a38e5ac291cea919563763",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ObjectiveDetails.c": "628ebd166dcb5544c2d18dce489619984887ee18296cf2446fc6d894f89dd5bf",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ObjectiveMapPresentation.c": "70339c05c550b72a4fd5890a871c5d8e6a9e574813d61696194c5fbb1475ac8f",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ObjectiveText.c": "0d1e84c7e20cfd60876330221929e33f920df31d8907413d5e2f6c04fb0a6026",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_Objectives.c": "b9cd5bb3b193c20401175c4328405be1b121e8a60b7b5999910b6a71f834af8a",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_Observer.c": "fd2104aeaee0a5314f1e215bc2c20c68f8ddf2ee2c5f070baece8ff01dd03798",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ObserverPlayerView.c": "c287a1891451dce0836c6e859eb962c154aad9621a46e50400f44fb83f97d95e",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ObserverScope.c": "97d29535a0ca1571ceb86996f58b68e5ba0944edfe30370455c52a321772f85e",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ObserverTargets.c": "1dfd50307b5d74075b90b5f2f70bae2c9488fc12df03d82eb19350a724f910f6",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_OrdinaryGateObserver.c": "1e376ca83c0005cf532539e14d7f47363c47b7c5b03fe3d55405a59208705fd7",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_OrdinaryInputObserver.c": "808a46cc1e4b31b65dbbbcdd55493f594ebb3974bbec38b4a2402334c653c0ef",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_OrdinaryLookObserver.c": "d5a1b636938d65e9d11c78b31487f2924400c34d98e2ec812954a2a224da7dc0",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_OrdinaryScenarioLaunch.c": "8d8da4c1222dcc6adfee350490f4399b4129cfce7a42b45fd7fba52febfd3eda",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_Performance.c": "037ffa482e3765bb537629e34f10919d85d4b6bfb0abf56ccc7c0d44fce8872f",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_PlayerAdminCommands.c": "eca9baa3b07da48a740851583540840f8bf5f65f7be854902a3778f76967faad",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_PlayerEscapeResult.c": "3124ab4d2d6d471409a47aba0af528790734df53243c03fe0cdac3e407047c14",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_PlayerGuide.c": "dc52f551a1d3705fceb64ea18d882009d9e9548c01f08ae1c7ef3083b19ab2d3",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_PlayerMedical.c": "270454d50235bc28df9bba4fde2689934578874c4eca9560afb9f0f6324d7215",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_PlayerReconnect.c": "a694b81494b46f339f0f614b3eec2faefe03a87c5537bd9a53ad12c9da5a1f25",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_PlayerRoster.c": "4440e387b6a10076dd3d6921c924a9e0f098da593f9bae03bcdbb05c91127dc5",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_PreparationFailureMenu.c": "5c31219740bbc26cb903a91f4fe22866c465b38220391093c72a3b094ca30f34",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_PreparationStatus.c": "c5cc9125986e2285282f3f7fa9068ca72f00d7e26465d00213e734039c0e34e4",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_PrisonAI.c": "67f8b444824634fc37fc253c60fd24b56d06d971f48e56a8d53095c97aaf0070",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_PrisonEscapeService.c": "ed180448cb516bc4ec521aedd366810a47787628c7f5ee9c9afdbd185d980751",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_PrisonPatrol.c": "284618391ee2da84dbcda4a99ca3c072eae3d67b8a9ef40a86827b9ea00810f9",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ProfileConfig.c": "b5aca526a860ed9ed609dc3fad99ebb34d2f6fbd537575a167390472efd4ba89",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_RadioDefenceService.c": "f5f0bf1352141f933d0edb5630e30541e001dc07e1d2c8529b29cc159c126b13",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_RadioFeedback.c": "545262e65e9b3645d9e514a0521e442fe08f0c2e4e7c83ba638c5105d09818db",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ReaperRHSCompat.c": "bcdf98c05ac6cdf0c7eaa854531b02e9ee4f53fbb346ae01d58114e572e7dd4f",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_RecoveryService.c": "c36b9c38565dfbd13539d94b78b75b9f6132aabd9b86da251c3fb654fd5b2d3a",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_RescueLanding.c": "e6f63ee8860335de1125e0a62eae3b8406faf5a5ad2c8d9c6f9a6da077986e56",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_Resources.c": "d0169aac6fd0c38928c47a9002ded0fd8ba558ea3314a600e792d307ac1ca3ee",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_RoundStatistics.c": "60e6839cc50fa02df1795a00b93fd431160f9201bdbb6f1e3b9b50271306e9fb",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_RoundStatisticsLifecycle.c": "b813a9ccea9a61c9c6d7d4806cf18adfb323d483622ca1225930207ca2436d12",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ScenarioComponent.c": "ca6b20d5c4599e31957e5cb464d21bb3a4bac517dd539711f9d4f380e48a0e15",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_SelectionStyle.c": "b9ea5158e51559dc13812cdfa8939ac36b58c79b9e4115c72465d869fdf264a8",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_SelfEpinephrine.c": "db096b6343998994c5cedbaf5b3be924ef27454bab9d5e202c00581c88c0b530",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ServerItemCatalog.c": "e4622ef82a3a3ecaf251c865786b97ff0f95bbeba147cde848c722708e151b2b",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ServerItemsMenu.c": "012cc0f3928d883b99a9922fd3b30cbafc6363a73ee27772e359116e0e6233f7",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ServerItemsWeightsMenu.c": "75ac61a9ba0d984a5c6d21ad6a020bb1562914ab09dafac8a80e822f0af77611",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_Settings.c": "59018eebfe3ba39f86fea3141e0c47fb81a865061cae24f1f4936b5bb72146fe",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_SiteDefinition.c": "d421d70b32bd2b55cd8e4966c04af3d5bc381ac811d3b4b2efa4bc0a8af8bd2c",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_SiteDiscoveryRules.c": "dcbce3b7aee89bfc47a50e9de89209758af1f1bb462b99af67a8ad7a26e9f229",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_SiteService.c": "2b283ad19b046fd6b33245d466b197bd05b4c472e128a747e6b1e725f4a34c2a",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_SiteSquads.c": "183883783a4e8399cf62851a4cc65a5d091d25131bc53b4323cf17286315b2e0",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_SpawnClientScene.c": "b56f99a91cdc53bdb93d320d10839339022d7e61e6b101eee8296271abd7d3cb",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_SpawnFinalization.c": "6ec741f8d19ee316d3c67b0dd2216698584bf2cde3634a3d6a7c3cdc3a3935b8",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_SpawnLogic.c": "6d9243f66b4ca8c53d53fedff9dea8986c815e90c1f97de58200cd759aa8b49f",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_SpawnPlacement.c": "fc5b61f1877aeaee75fbfd6aed3cd0b4c5277ae8543bc38a0c09836353d54b27",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_SpawnSceneInventory.c": "76b79d5bd9d1f367e1ed19724302b7d49f8b0ede85cf19e89c452582ef651f8f",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_SpawnSceneLease.c": "20de7f96bacc9037580d88d4424664b4554b2c082d82e7d29913e9dfe390b594",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_SpeechMenu.c": "33f9ef80b4d6cdbf3646eab602d15ae0d05884bb20b3a7222b0648752339cda5",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_SpeechService.c": "74ea305ac0c9a9d145646a5c73cba58e4920ab472943ae73b3dbd71d8216f752",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_StartBackpack.c": "4a36799d3a3defd674822974cd96647c0accb2a854631dd5488c35e2ef697f7c",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_StartBackpackMenu.c": "07c90db1a84893759dae71f40b7ae3109827646e48fade542190d21598ac271e",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_StartRules.c": "ab7c21ef700343cbe769d8d51d91f167db37285b466d6af9873e121b3adf4ade",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_StartSetup.c": "58a6b617b22910d0ce9255f82091dc11cd1284417a66adf1cdaa7b661c1ed01c",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_Supplies.c": "752e8a56b0b8cde33cf532032cb0a203553017b686faac2e19bee06f7a9c0713",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_Telemetry.c": "43d30478ffecdae58007b7db56e166b1679f1e2e19064c55427385a3f5f1391b",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_TelemetryCredentials.c": "9835caf69d4615d6a3fc840d9dc3cb0f507a0c5a2a6490893c21761f9cb4a216",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_TelemetryLifecycle.c": "15d2d90d4457339dacd61c1bb23b619243b8af10731687c35ecc300125a642f5",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_TerrainCatalog.c": "ba2e68543a8c929492d06f8725a743d26849a630d6f8c09be0f23894f92d0990",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_TerrainControllerInit.c": "8071e38812ac61f9b480d9e91f9ebc7712b360d431f5555da83027db6cdf2471",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_TerrainMenu.c": "1da542ef60ff7c1897b1f12432c636ef6a08cc710bac520ef186589d506e9a54",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_TerrainPreference.c": "93fc55f2c33e95adbcf2bead3430aa14bdb55154315760bcc9647f89dc8286ff",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_TerrainSelection.c": "ee75cac068b99e7403f5eaabe556152513cf5d973602cc6e6b8967d25402f6ad",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_TerrainSites.c": "4ac347d4d91951bcc7175a965ccea25f3782edb6e352354cce506d6b626e5ac0",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_TerrainTakeover.c": "035d62af5c1d70240a34a22c44e4d5cb954599b6ff37ff8578a8d1c1a09a518f",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_TerrainTakeoverClient.c": "302217e52e6081e24a24108a891a9383e78a4ddeab737014f4db190d52a9fbeb",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_TerrainTakeoverManagers.c": "ab1d64c8073e4daebf14f4ad2c745d874032675ebcac3fdb0fdae4626acb8dbf",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_TerrainTakeoverPresentation.c": "4cf89987dec67af284a3df184eec36c23fc5b6027a5234d7997e2a4b0ebcda16",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_TerrainTakeoverSettings.c": "da22775930b13e41d4a71409e37af3bb99e4cc1d94bdea0e3b59fbdcd4d40132",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_TimeService.c": "63867760876d523a1794f619118a52c5cd387d5d92756cd286b2c16a348a6c7b",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_UnconsciousCameraProbe.c": "57def439d0293fca246703c72a03f1ba0ce3fa1fbf2d6c6f8c61ceb0b4b5c94a",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_UnconsciousWeapon.c": "24d31bc857486638e55c605283c17cde0cdbd3c5c6021eac1ec93611387b10d1",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_VehicleSecurityActions.c": "bd7d0aeb4abcc9d8044e4888f9a92f9e5fc97c098bdfa3bbad57e1a29697a779",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_VehicleSecurityComponent.c": "2ffec4e646584ec546147fc4b08249825cb32b531aba26467b586d760485adc3",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ViewDistance.c": "8514f72f8207f12570d2317e64094a45507a1647dfd45a1501499ef81e90189f",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_WelcomeIdentity.c": "8624bac67c1990f87b3fb799361e5facd31c2e03cb621563b9c73c4fe9d7f87b",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_WelcomeVoice.c": "a6a9a816dee1c766675990c158a757cf9ea8628a7b2b0de991af67ff4cd23e47",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ZBakedSpeechProbe.c": "533c89b6a258dccb61d7ff6abe0a43da58d52ffae60735a38c2545fbb4480afb",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ZSelfEpinephrineProbe.c": "a13e14d1ef525209d4609a2532c6d72135377ce058298937b632a91eeb6392fe",
|
||||||
|
"addons/core/Scripts/Game/ERR/00_Core/ERR_ZStartBackpackProbe.c": "6778cd98392f4e73dfe974782e626d98472251c1266698020d63edf8fe735bcf",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_AIDriverHorn.c": "db9f100c6cc10efc6f5b86e8fe9adb75657ebabee6f8bf0c89b997c2e947750a",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_AirAmmoMission.c": "0a471a40c8f7dfb797d8d35e41c5b1ff91e8d2ab13b43cf866e46c0e4ab4ed9d",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_AirAssaultLoad.c": "de7b6c485167ab68ab0b37b96fe161ee821c2efd41362172b810448a02110e68",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_AirAssaultSystem.c": "2eaf9816eee3e1cd2ac70744a6ef7ea5a90d0a3eebdf925e384028a7edde6a42",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_AirReconSystem.c": "f8a0e3cf4552d8133efd33c2126ea15a7694676773a7047c15e00021c1d9721e",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_AirSupportPolicy.c": "c1a7ac8759ca8ec8b43cbccf303255a2f0b69de447d0d991e44b6bd3db415d51",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_AircraftAmmo.c": "2be282406d0c45ab2e35b0ced791b5e494c662588f536701a4e82e6f5fb7c913",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_AircraftControlBridge.c": "b8f0141644d8f043c6db4c2d4bb93215c548e5c27ab5468c66e996d62bdf905a",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_AircraftFieldEnvelope.c": "0f53c7d9ab167a804eb904d63725decebb53fd5796fdf27864a75abed5679838",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_AircraftFieldFlight.c": "c04e264cff9963821852094c451502d31bf9c96d4deae2e8ff8a2373b53b5665",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_AircraftFieldRules.c": "30be68f4ca2db7e169f6f0432815821179cddf9159f7b150341dc8eb479bbd17",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_AircraftFlight.c": "aa25a8e67a30c48677bf528236402b7f8e5d815dc18df93b878520ad3d1fe8a7",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_AircraftFlightEnvelope.c": "8125cef61fb283d0d7c4dd2df3c04b062b448f1101fd48dd53f4f4097df5fef3",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_AircraftRouteEnvelope.c": "e8fcef844239c47a1f2f36be420afe943bc450091b05859435406b46c87fa511",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_AircraftRouteFlight.c": "1d8d92bf6d97429d68a9f62018232e90cc124cc8d7445efeabe863706a31e2b9",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_AircraftService.c": "3f05209227986b5c6bfb193f8f53783cfd4ef083bce898e22257c3e63daed913",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_AirfieldSupport.c": "c6d88ede0b1b6bac5a7075b6e2e783ccfa8850210aabd28bfa4bcdb698cc5f87",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_AssaultParachute.c": "a93c996059e7166988e9d1b0b498cbfd36f19a1cf8520cb4e9215a8884752e18",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_AttackSpace.c": "e7be303231b5946d78c61480a5de3f5b37a63d0d2281a9a30a21e59f072904d0",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_AutomaticEquipment.c": "8658421f846fcd3402289103762edaccbe3ca26280d7d72df2846c32ae8a4cdc",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_BodyRecovery.c": "f5fc311ecac4533c2d053a686c51e71216e69130a34483f27146627172914c99",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_CessnaBridge.c": "f1adb0f9b92f6ed94a8e9897b64e2fccba0f28552525a93f1ab893faa4fc5da2",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_CivilianTraffic.c": "ee8e5f0483ad738f6254adcd66e71ad4872fd000c92f44405c4dcc0453a40308",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_ConvoyBoardingProgress.c": "328f8a5eabb8174b7727eee1d675db83a2eb0be7b8e834db4e950a645ca5d7a3",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_ConvoyBudget.c": "fc7e254056c1da4aadd26d4f56d51ee375d5d3331f5f7e5183581108c7474a10",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_ConvoyCombat.c": "5c4b7576b28d51edea868cbb91a0ab31a40e6ddb558f1b8a38e07e20fdb2969d",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_ConvoyMineStock.c": "4497d6b790a45df2b76d18541ddaf299b406def88b868caa29f096849026a42c",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_ConvoyPlacement.c": "af4799e3028448e1a73f944989313e5d10c6262521bd29a8cdd5236842717963",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_ConvoyRoadPlan.c": "fae404f85cae63e63976938a5fdb73efc988ba25c5846564f12edca04fb88551",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_ConvoyService.c": "7e9a8034060187b1f9a0ad47b5b82586f48cfcc38308a9ca935ed5b770b43722",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_ConvoyStartup.c": "360228fd45aa6ecd9426e36120b5e637d2feee1e3a4a89aac8207526b871c87e",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_DroneBridge.c": "9ad23a763c5995b2ac6f68ed02def487b0ba887e8ca68f0e546d1b6812504cc9",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_DroneRecon.c": "dc685b57c884d733e0ff90cf7937f5664ec08545f4cbf59d63bc8a84383dc442",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_EnemyEquipment.c": "dfb6a7aeda23adb8aff2292753b694770affc9855bff9fb11d50bb534f9219eb",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_EnemyGunnerSkill.c": "adf8bac5a6f7e40b2f9caff5fe9be590c4e4ce2b2b387ba39e741a3c4f4cc564",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_EnemyLoadout.c": "a48f32dbd7f209bf08fce2840aaffc1781c571fc679763be58987f6b082e776c",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_EnemyMapMarking.c": "0f161fd3e08a54e3e1063679127549e482c40253a022e9d06cd9ee4d740b8625",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_EnemyMedicine.c": "68b65c98214e1a27383e155727901a4f70e9c065bb0cf133bdcf7fe6d5a57a40",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_EnemyOptics.c": "215e8a05594c541861b48e093520c00091708eb0f3635dcee5d0b5e1160230eb",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_EnemyRadio.c": "3a97e5c3de9ff33873d97c6b2d84ae505cfc4f3146e047b928e76ec3b22c8789",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_EnemySkillAwareness.c": "00c450d033e43fc45c9e2cb64a1d81161d123cc594a4292cfc5f68eb6c17ee60",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_EngineerMine.c": "067bed625a3f4d0fa189f46476988e90528c59b2351ec0ea71916317b06efabb",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_EngineerMinePosts.c": "bcddb72845189b52e5ed71c687d7dd4b0b40b91b7306c3f6edf84a631002fc5b",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_EngineerMineSite.c": "d838f5693d4fa5d252d529e59777f560674c02532f1041a5598e938b3a850839",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_EquipmentLog.c": "df9eec7f94e4bf1b30b9463604e9b97ba3cbff36028a80b81327b0b021cbb2a9",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_FiniteMagazineReservation.c": "8278590ced1936d618905b0cbd0b5aebddda238d426a6a2a52e455fc36bbb502",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_GroundDepotHQ.c": "c51fccd0ecdb0a1d6ba99ae965e2e572fc1ea65a5d8dc2e1e2a058698dae45c3",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_GroundDepotLoading.c": "6abb278409527bb67db084138a773de240d99ba7f63f9ac740f8167615d53f1d",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_GroundDepotTransfer.c": "21daa9ed8cb5f2dc08a0fa85e305fa4b4f3e7b01e16c71fd1ca98d66a4e8b652",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQ.c": "2334a96e1e29c70a9f3076f9fbef53949e39d5560e23d078639d73559cb0b823",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQAdminProvider.c": "8879febe59fd99584add06690b29853f7cf14b580bb15c9a955cf1a2ce033908",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQAmmoReporting.c": "95c024cbdd35c02d9b0c3d389d29bb042e5dda6ffd2f5f0d896078274b3adb35",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQAmmoSampler.c": "8bb0ec1422887feaa340307d3c60bae50fc82d424fce6390876e580ff8b75e8b",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQBodyObserver.c": "f59421c1e0c83f0f480d7dd4d048b4b0a41193ed8fe8f2f627d2b6a696420ea1",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQCoordinated.c": "5b67ad624c4a6b0bbb715314ab9cf14e527018fccb7d38af479184b4952b8c49",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQCoverage.c": "0ef1ed718797114d95c636c8fa5a9e46a5f2a7ccbe3f432049b0c7d37f1eebd0",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQDeliveredCasualties.c": "1f738127e55e843ee2705007cedb5c08741f52f63c75eca7c80242177af82273",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQDoctrine.c": "6335728e89ed40ce11b811f00b61bfea76e94dd3379e4357cbfc438b05522bb0",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQExecution.c": "d286b8273faec0acf87366bf53ad2517d5b7d909741e981cdf283cd1f4f50314",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQHunterOperations.c": "b9200b6de3a3a61de94ad720aca94aca64db542acc64ba65e7b8061a5e4884e7",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQHypotheses.c": "060796bbbed604f9733d23e131c9836702870c6e25c81cc0b396c885eb06ade2",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQJournal.c": "53563ff54fc4e0656713d6eaec5e88ddf69fd4bfa8ef6a67cfa13380d24031e1",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQLocalAwareness.c": "124260280ac8eda0e920bfcfc86932c9b21df6b1f7a6aa8acfc43feea3da149f",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQLocalHandoff.c": "2dd700dae9d9b232d22ca63ff01af75a3f5cc213ac24b7c0a43ffa38bc0b9ffa",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQMemory.c": "ec2047a477fb4273e22ae6bb68e7365f321f55c583b5d2c48c4abf2ac38e3b7d",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQMineSampler.c": "2a0fdc4d27e947a1d77b02ae23f757c7fa074eb456f817b7df0766583d757f55",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQMountedAmmoSampler.c": "97dfab7381385959b0906be13fa2575253ac43be91a271a5d41edaf4106366ac",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQMountedDispatch.c": "12769b56019e9fa5b8141498a1c33814ba5262253193495e72f85972365961a7",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQMountedIntercept.c": "5f45545c11de5e183969203cdf07e29089697ddc89752a9c5aea0fa2a1a33a97",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQNetwork.c": "0b73be993628a55e3b21c8670d540e39c938093dd5cb4d586e800ac530509b25",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQObservation.c": "57ad3f0b68d150791e30a7e4bd7dfedfb1ddd78a1c76f228e67b33ea9cb7144e",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQOperationSpeech.c": "6f133c104223ce23262c2927db9e16df0f76f1ee647085114baef1d51417f4f3",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQOperations.c": "b83b805c61c3960801d24ae54854ba7aa4dc914ea89e61db365b5ec99f305ae5",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQPursuit.c": "280e91feecc4e5b6d0886fc4201b12117b58c56857d4386b6c4cb963557274bf",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQReport.c": "4c0c1f0e33f621d1e02375cf4f56b0e8c4ba6fd851912d3d16081949bae46158",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQRoadIntercept.c": "f87727aa1c722a180c7b71fa2d896601b6250978a21bd2d1e973501fee81373b",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQSquadJudgment.c": "12e9ccc9d42a858a998bd46708fbb04d05d48dcf460303a5ecc1629021051bb4",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQStatusSampler.c": "b937eaed913a5095afa8e678dc1c36b5c805541bf8cd5be927069533d6baed1c",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQTacticalGround.c": "eba9a9cabdaa80b936aa5e7025544e8b011fb597b96cbdb8d781583c025afbe8",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQTask.c": "29359f52734cbf3400e12696057bbb7aa54466a018fc88c42015b6eb9bb9990c",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HQWatch.c": "abe634cf6003ae920ec1ed18e305ed462920204960894520d3dd11f7e5ef1c33",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HelicopterAvailability.c": "60eaef2f6d4b2fd44861c5a4434ef97e732e40a5ff7401e2da451ed2dd9c2762",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HunterCloseContact.c": "56f22051566354ccdc61531af4869b62458a30d945e4d21de5aadf7079d2245b",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HunterCombat.c": "df1c319d10efd07ed6f971cf0e41d8d7e377b04ea7f0fe143bf94df733fd1d9c",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HunterCrewRecovery.c": "22e192ca222017d4d7a27210c6e42cf0f128827bca00b37924c9c8d6866b62a4",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HunterGunTeam.c": "0e66d82964ef8eeba29de11d5bb2af954ad72a8090855ac4c1b28fe1e66c0d69",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HunterOpeningPlan.c": "7791513b8b41f4d2ba1b593b5219d7f6e2bf036e352f8e4eb1a8029fc97ab7c8",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HunterSarkaRules.c": "8c8c96e2f985f553e303f7e459b73a2a5cd0051951b22aa0ed364bc2ae19e194",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HunterService.c": "11a8591d4e534d3325bd194709598e563096165ce819a92b4689256c4311e215",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_HunterTactics.c": "274ae619589b85cf64df1510631ab914aa9fe8c50fc2a76e6e8c5aa5a2c8d9ba",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_InfantryAmmoAccess.c": "ab4262f78d54782c5ecbf5fff4ebe3da16d72329658d7e18c0c35387dc8b3c7d",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_InfantryAmmoTransfer.c": "99fa26beb0c0869d0cd694500f3bfc0705c2c1cf674dea90d98fb93a59570ef7",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_InfantryCombat.c": "5d7a8e579edf95003133ddb6e509202dba56ac9e68385247e1ac0256c1b319ec",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_InfantryMineTransfer.c": "02c399413f80879c22b4891e8ec807c67a6235677095fc4b98bafdc360d6944c",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_InfantryResupply.c": "ca8eee2704e7758172e33014404bb1307c683f19b561b840d4592f6312051e62",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_InfantrySupplyPool.c": "c8e454573cf064ff392291d6feebf1f23be64390b5b8e944c03dd065f9f46b42",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_InterceptVehicleFootprint.c": "5dea67d14ebab67231c485e14bc92f34c005a5f1bf6d9c0943db28e9857e958a",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_KnownMines.c": "045468a052e485a91da601adcb42b504bb6e4ff13b096bc0666128e50a6aa9c6",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_MortarAimSolution.c": "59e8343d09f7a44871d8d3335d6ad1d02216abb5deed30d38b5ec9ba3f2c0649",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_MortarBattery.c": "157024afc8fd3c1ffeea6ae923ff091e5773b9ffcf5f5864f8040d001e689110",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_MortarCourierTransfer.c": "968e58ca700b4a11e5e04a5c159696f514a0b1bce531210172b913e495f7e2b7",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_MortarFiring.c": "2606ed8c19d5569815dacd3248f012072bb76834f429ce7557d24d884724f733",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_MortarLogistics.c": "b3624e4a00a2bdef16f6c100bbd79910e3bb8c2ae8ec5fe2ad5aa70bffecd303",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_MortarPrediction.c": "05863b2b4f9f70cdb288f91c722cbea163c13f2a2927dc485482e5bd4fa7d57f",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_MortarReadiness.c": "4c3799b3f2681e977669de0cbfaeb307d9a682b04365bfc9f59079e762965758",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_MortarRefresh.c": "52ae8d9d6cad92f42d68c634091b80a474d2666b6c06d63a8c30a3fab71494c4",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_MortarReportLedger.c": "42a96040b63e56677353e55164ae23031c90f70b4d6673a9f412ad7b19e636ae",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_MortarSalvo.c": "c128850c7a78a4d8fee00ad38f48b265f1fbd1d9b24b092ddc5c205b0f0ad6da",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_MortarSpotting.c": "39b3c223ade610ed9f1d73040423339ac65c90b153f30c6f5c42290978c57427",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_MortarStation.c": "cbbd7c86f722b664c85ab7c070ae1131d2ce5c41d1dacb4381bff9c1720a1866",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_MortarSupplyTransfer.c": "ad71084f507ad9c32d3055e7ec6844a1ec5ddf568c0216ab8391e902b56e417c",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_MortarSystem.c": "01bae0bab685e9f0c86c3a8939d18ce6f20dc0b8c1a389d179d91e93008c6957",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_MountedAmmoPickup.c": "5f7ca5b31f3b405c2a6ca32ff91042f5b4dac6ab9640ce67fb10d7a74236ba69",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_MountedAmmoTransfer.c": "0b195784497672fdaf651f336c14f7be98c257f98c85cfbeb4f96fe1a401999b",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_MountedMagazineSeed.c": "b42d0aac142907433df8bedc40de24c94813544016cf5f451846f1980250f995",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_MountedResupply.c": "c26ad43705765be1c20eca37fbe2978b8c647151f6620ed37141657a4b7dc312",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_NativeAirAssaultProbe.c": "c1d55b338b157b758e6ffb993d5f689029b28b13929797c91e5dcb15b5e561ea",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_NativeAirLogisticsProbe.c": "58fe863775d0ad575cb566c78cef696c9826691cf49ef9adde76376be7316db1",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_NativeAirReconProbe.c": "c1216e0512a0268e4dbb82429e228334401c0c3cac52ba4486ae6dc91e41576d",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_NativeAircraftControlProbe.c": "0cf3e72ccdc42e6ef20fb71d743f0e037a9e69b2e082c720fa705628cf790205",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_NativeAircraftFieldProbe.c": "b64907c7566a894ca2f3c49ede5d972d4087a938da1a0ca87bcbd7c2203b2c52",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_NativeAircraftRouteProbe.c": "8d0dca97e5106d1c84b64992c789e1af0689514beefc027e713ca6ab901fc470",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_NativeMortarCourierProbe.c": "740c8bebbd4128a9311b1167d1058549475d6b46f81c9b6c0d19650f4b50616f",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_NativeMortarFiringProbe.c": "ee570d21bede8baebefc799399712d9582b3e30ebda7299f6c941777f02ad2a2",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_NativeMortarSalvoProbe.c": "fb9ccc6b36247ab3ad828ffbb2556abf5c2838d93ea6cd1ad259c0a015142f5e",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_NativeMortarStationProbe.c": "a110f0abc753cb1d2f781e457e637dd5346ecd2e924eb5eb3a5c7dca3d1e2340",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_NativeMortarTransferProbe.c": "399c21940ef10777b46fdb3e905430ce43404ce1de2f4a6bb62f9c61c1a0689c",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_NativePatrolHQProbe.c": "9784b551cbb91f017004fb728ce08b5c36bead0ffc83aa7149c2c46a7c4dc495",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_NativeScoutProbe.c": "41b39b1abe5e51a5b8a428d533cccbfb0dda9d7a570228dc3489408c60543f17",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_NativeTownProbe.c": "28876e65f9f8a7d96d8056f446b61e12e97d9bbf1a5ac0d4c40edee44e6c4a21",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_ObjectiveDefence.c": "83ef91c2118521aedb4c1838b2e47909c80e0950086449b98ced168f1fd87080",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_OptionalMotorbikes.c": "095c6efc4021a97dd48883f46611596e1e7b002c9e32700e6305f55164b75fe9",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_PlaneFlight.c": "14fa2328e1d31cf59fb89cbb53ba33224be6cfcdd2813525fa9585f8b2e237c7",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_PlaneRecon.c": "fe94c29fd9befd3c1bf3ab97b9b27458a8563697d4d46f72df43c6e642f3664e",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_ReconAirports.c": "7551347d776d6e0eec818d6468cacbca7ac53daee7317e0a1618ca3d39ebc762",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_ReconCrewLocks.c": "83b63c21574140208792aaf3d24e3d22b255a078871382122110bb48520d4541",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_ReconFlightComponent.c": "1386e2a2d2a635417ca517aa1d8ddd4f657dd415ff59be2465543cd8f601e7a9",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_RescueAssets.c": "fca1a4518baf09f0b2c97f3a51995001d9674849417fea9ca1233e8d1f578495",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_RescueFlightComponent.c": "a89cc3374f76583ebf56162e19270a68d157830b297dffaf6968fc94a793f228",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_RoadblockMining.c": "47d0212cd20c0b320a47123d17f2b89f7d60b44072a00c69944ada7bb83c4e5a",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_Roadblocks.c": "b7933cf382e9bbedc8f97cfde591b7984136f93cf66bb40d2c544012fc6eabe0",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_ScoutSystem.c": "63287a252e4e7d5aefce840279f26ce3e1f286cb79cadb32596c37897cec7119",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_SettlementSafety.c": "e5c0ebc95521a9a33a3f7d9cca6c551dda862a08b7af20b017877aba9584795b",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_SoldierSpeech.c": "ca87494ecd355052b46b72e2faf13660e458f3d376285bb0e4c20fd0112ef2e2",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_SoldierSpeechAudio.c": "4734d614c5366ae3ff57717f514664c9dfdbe4408e16ba36f6b10d807361e313",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_SoldierSpeechContext.c": "d2baa94f036f7dde5cf24e004ad1fb9416f249cbf7d0c6c07c5898f7d21751be",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_SupplyConvoyColumn.c": "bd898aabcac5724d60dbecc4ff5ab6f062c66cf7c735ff59127c588ff94f898e",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_SupplyConvoyService.c": "5393efab9d663382e67b9b27a388063986a4f99c2607328c998f007588074ca4",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_SupplyConvoySystem.c": "f09aa817c27d6af0ccfb544f4ab1ae2afafb63d626641e03d87cfe159475d821",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_SupplyConvoyTactics.c": "d2fe073b0c23c877afaa65e246544751eecabce4febd72412fc9a4ec18eb1c8c",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_SupportScenario.c": "151eb6189701e559bd4f1359c91187f5a64deab1f2bacbd521c4f4cf3de6d878",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_TownGarrisons.c": "9b48331ff8bf7e5a111b498c59a57a5d0210125af983424535286a4aeda9a18d",
|
||||||
|
"addons/core/Scripts/Game/ERR/10_AI/ERR_VehicleAlarmPerception.c": "45ac71d25e10a057a26a5b0fc7128935baaf47f4c0f87208a4420fa52086fd98",
|
||||||
|
"addons/core/Scripts/Game/ERR/20_Intel/ERR_IntelAdminProvider.c": "40adf8497b64cc74b1390149fe5ba789ee2f14e6fb3c325af8f5ffa8c806878e",
|
||||||
|
"addons/core/Scripts/Game/ERR/20_Intel/ERR_IntelDiscoveryFeedback.c": "741de1dbadfd46c154905a0918aad41386ddc139d843553db55d20d60700c020",
|
||||||
|
"addons/core/Scripts/Game/ERR/20_Intel/ERR_IntelEvidence.c": "ff436bd3c7aa0fcd5c24e940430c1ffdda934889953f63e877ae418bc9557d26",
|
||||||
|
"addons/core/Scripts/Game/ERR/20_Intel/ERR_IntelReroll.c": "d8b04de9ea789732cc78ebce9aa60786c86fe46d05f671cf251eefa68a214b59",
|
||||||
|
"addons/core/Scripts/Game/ERR/20_Intel/ERR_IntelService.c": "2911325c79a7a372628b18ffa0e110d11919ce2c2cd7b19277bfd608fdb03dfc",
|
||||||
|
"addons/core/Scripts/Game/ERR/20_Intel/ERR_MineIntel.c": "3ce16cebaa9703b2f9803df7c11614f94de6460a9136dab8f80dcad41ae2b1c2",
|
||||||
|
"addons/core/Scripts/Game/ERR/30_Map/ERRM_AtlasPresentation.c": "f0b36472b16477b8c3b5b62f55cfb2a3b3a08304b0779bc39244359af1abe203",
|
||||||
|
"addons/core/Scripts/Game/ERR/30_Map/ERRM_NativeAtlasAnimationProbe.c": "845b39276bfdbadd6bfd9b41f445fce1a9d40231d38ef32adc7a6654868e17f2",
|
||||||
|
"addons/core/Scripts/Game/ERR/30_Map/ERRM_NativeHeldMapProbe.c": "46c0210a3aef40fc34e4c9682d9364b1cc1e15d4373d8aabfeac7d9b8e55c351",
|
||||||
|
"addons/core/Scripts/Game/ERR/30_Map/ERRM_NativeMapOwnershipProbe.c": "32418602f085e3edba7343f42a6a691630b533be262002f29248e8ae87a38254",
|
||||||
|
"addons/core/Scripts/Game/ERR/30_Map/ERRM_SharedMapComponent.c": "73298c94ecc8d227452b0eddfcaec7fe9df4748875fa7fafcc52544a43658f36",
|
||||||
|
"addons/core/Scripts/Game/ERR/30_Map/ERRM_SharedMapPages.c": "2286d327b87f127f052e06c22f553b30ea31d25127b860fc02a220aeb4ce3ea2",
|
||||||
|
"addons/core/Scripts/Game/ERR/30_Map/ERR_ScenarioMap.c": "75fa1d742129ef7f33c005cd48f56db7f49ee7bde3c5428532b0b501b032b0a3",
|
||||||
|
"addons/core/Scripts/Game/ERR/40_Chat/ERR_AdminCommands.c": "282fe1463add7af8771aa58507b254e69d2d06f50274d4c77321db073f8394f0",
|
||||||
|
"addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeAlarmHearingProbe.c": "5dbb6a48909b76cd141e3a79ef01d2e68cafee55153821c4471f85c761fff94f",
|
||||||
|
"addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeConvoyCoverProbe.c": "d2450140cf9bdf09210473234605b4c0d818ea5b91f9532209166a35c5d13701",
|
||||||
|
"addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeConvoyProbe.c": "87df652b339df4fe4239617752ac5fd9f47aa4396ba94742a0af39a32b54e784",
|
||||||
|
"addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeCrashGeometryProbe.c": "7867ce1794aa0d1bbab72c32f60f5bd0c2bad4f5ff6224978c215e7828840178",
|
||||||
|
"addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeCrashStartProbe.c": "957f40e36bfc025b8bc752b1f41dc177c8d0844c69ee5994321a47cf3ddea1ad",
|
||||||
|
"addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeHQBodyProbe.c": "811244cc8297817efbfc3ee4edf01c868eae23c88127ba0c72e98ee7422da72f",
|
||||||
|
"addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeHQMemoryProbe.c": "9bcd0b2e1007d40cb794aabe80368a2584ae58aad6a3ebbee070efc7b21a8147",
|
||||||
|
"addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeHQResponseProof.c": "0f8b09fd8753234c91fd6baaca0e2f812e409ae1c4be8f340b648ae59b69c2f3",
|
||||||
|
"addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeInfantryTransferProbe.c": "9b2de4dc22bdadd51b0271219a971dc8dc07f70ed3534f306acf03ed81b29424",
|
||||||
|
"addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeLocalHandoffProbe.c": "0d4d61c424a16008595f86fa61f3b848caf9bd6e9ebbacea9c10254d88ba378e",
|
||||||
|
"addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeMaintenanceProbe.c": "852b9b397efc3f919c97fec63bc3df1a850cd7833421af8441994afd191951d4",
|
||||||
|
"addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeMortarProbe.c": "ddb892141500c192c0787b011d57dd8c07dd8c9a3ca5fdc407f6c271897bde0a",
|
||||||
|
"addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeMountedAmmoProbe.c": "7ddb634444c79ad9291d53a754dc0ed383342e36720ddaa4b7aa4bd4e7ee656d",
|
||||||
|
"addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeMountedCourierProbe.c": "12710e9e5548fe8856f7a52f3566338369a8a1eedf0bd92af16229271872ada5",
|
||||||
|
"addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeMountedInterceptProbe.c": "34b0b1e38a59f14c4e83d93ec412779945388e6f4d697bda2f6cb90f519a6372",
|
||||||
|
"addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeMountedSwapProbe.c": "a6721fcaaccadf8eddb06687c7d587d0a3e377d5d1bb0b8e72e630fede8690ac",
|
||||||
|
"addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeRadioProbe.c": "a4bd5cd9fe0594e05238b2d6dcd80466773f8fa160dc60bbe1eda70e3acdbe79",
|
||||||
|
"addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeRandomRadiusTrace.c": "7e946406067092e30b6b75cc6ef0c56db7f866249e02bd13648156933ee578d9",
|
||||||
|
"addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeSmoke.c": "4dfb218419db4cd7a46d25cb1f2e578e75ad89efc43f99c6ca8ab8e591e139d7",
|
||||||
|
"addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeSupplyConvoyProbe.c": "89c2696071912500840f4bb91d754f695bf674335b51a7ee1d03727084fd4869",
|
||||||
|
"addons/core/Scripts/Game/ERR/40_Chat/ERR_NativeSupplyTravelProbe.c": "32e6074e912491f2643a24cb44311b9fe5b069c76e4e94a45e7409ac82d36507",
|
||||||
|
"addons/core/Scripts/Game/ERR/40_Chat/ERR_OrdinaryScenarioLaunchChat.c": "a747af09599ce4d0c52051f18f00c4624d24d137e328341b580b82e896c6bf65",
|
||||||
|
"addons/core/Scripts/GameLib/ERR/00_Core/ERR_DiagnosticNoSplash.c": "0ea1b402f8927b6d68bf6f7e5caa2967f7e3a39147634faab147796b791933b5",
|
||||||
|
"addons/core/Scripts/WorkbenchGame/ERR/00_Core/ERR_BuildAtlasModel.c": "f6cb5e6f5afc9bb60a8a46d96b52c7506882faf0a880e0b20a01a2603b336d2c",
|
||||||
|
"addons/core/Scripts/WorkbenchGame/ERR/00_Core/ERR_ValidateBaseWorldPlugin.c": "49a38c37b51e5318c7dcbcb01543dd9a6300d053f0d39808b3974f4edc45b871",
|
||||||
|
"addons/core/Scripts/WorkbenchGame/ERR/40_Chat/ERR_ValidateWorldPlugin.c": "d1f3fc372d0d16062a5983f2a6cffb6e72f202cb93fea5b33b4d77e0c852ecc7",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_01.acp": "cf63378bf3950f5e6c1c1f46c057ad38a371b14b945b1201777820384805c3af",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_01.acp.meta": "d5966526f35aa64dc980238f72f4f93f9d0e6a360f10e3f6538e97b7d086aa47",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_01.wav": "cfe4a00000bc9b629a9e8e282ed64e7177673f829c5657b1ae2b2cb9e661d2ae",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_01.wav.meta": "eaf33fa344fccf9aacab626117d03b96b135fa819d3e63ae300fac544291b571",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_02.acp": "9111d118594094a8e09acdf80d8b107cc7d5d890b6ab086274e0e1004039e345",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_02.acp.meta": "76b55d9abf7f599c5db3269a5829546a6d5f92e6350b2fe987245f9cd6b599fb",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_02.wav": "6f0c94ae0e501afe6cc1aba804ba6a0403ba4de931debc28bf22970f591d0798",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_02.wav.meta": "06ec85166aa4c54a6fafa1fa2eb2cc32f4a36dc8eecde8f9ba9912229e5e00e0",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_03.acp": "019f939d65396f4a334a024bbf53c41479a9f8ce806610945af2be13e7352c70",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_03.acp.meta": "8aa2f4f26f04bc3085ae046f543c047cdadf9af9e06a38920f1e1fd8a3aa02fe",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_03.wav": "415a206bd1de167342cf1b82d59c708441b8d802395f941d15097c064133802a",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_03.wav.meta": "de1d81fb653146404de5b6a6018c1cd73e902571b82d544de5b6cfccf21f5410",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_04.acp": "77bcff7cc7ce49036a440e829fb4eab1dbe5252b0fc9ea24c42e6f6b68e2698e",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_04.acp.meta": "dd61ee2545776cf23403240424470661c737048d01432d90b24f2c9e75f45d82",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_04.wav": "a225810c7fba048517248fd9f7e9f7ab8aad5bac35e59f22e11e69166551f7f3",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_04.wav.meta": "0ae046e2ac7f9653661ba99646d40dd78d52f113ea6554e1dbfd6e578572a4f4",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_05.acp": "7dbc2b3b3d251eb8d3e749b0a7f32186b0421a95fa5585be493cf04b45510e3d",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_05.acp.meta": "cbf3b48ed3865e30ba5d838d96ec4f1ee950cdcd51368f7a9259460e4b78cc1b",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_05.wav": "90f5abe221165ac5cd7d88c9b3e01cf6fd4d00b594c84d09c6baf101fdb776ad",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_05.wav.meta": "d8e3de0e1ae8670a01bcc272a1adf4199ffcea514ce024ee3286820dedab4d83",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_06.acp": "e14da41c1cd186f35a4f385fab71ad85ad6fe718e67299a65466339ae23a2922",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_06.acp.meta": "efc810a60e93453942adba476b423121f2a7dc1133b25d8764c1bec546a3949b",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_06.wav": "b3f86b8dde535bc1a63301376c8d42775446d1b6117168557841565391fe0a14",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_06.wav.meta": "07f53131f4ad153cc09051ba1de07f7b43d38f69781aad24371c4eeb331b280b",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_07.acp": "bf3a48af07ad6e5da2ca6ed6c581fc6232e1bd62ebb905b934188366f2bc3d77",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_07.acp.meta": "60aab59223c0ea734f7c1e88f803de30164ccef1a909730abed3eb76b3378ca2",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_07.wav": "f3fd18ddaebe9eb3d0db9ac73c89a7b7a7f18b76e4b66d404d544be660a6825e",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_07.wav.meta": "ef6c72aa32c1c46f7133782536744bdaf4eee03bcdb75aecb87accef6d1c4f2d",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_08.acp": "a82c5dbcd7094085324d93d539c6f829c53dcf3781f40b8d65a10b7cb4125bae",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_08.acp.meta": "69fb3400109e19d4f4d0fb371d056edbecc0a96a0a923174d1aba95dfeac1014",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_08.wav": "ce3c2aff20dbea83aa6545a383c454969c5caeb53d5a88155ec182f789047d4a",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_08.wav.meta": "72c5e117ab7b605b8370fe90923edee73593df6071c39b86556731387814a014",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_09.acp": "73725377def1832742c7620fec46dc0100400d92b9cb79add8b4d44e94c46c0a",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_09.acp.meta": "95456fe20def274a1972867024e9d0eb572f3878eae19c63522fcefe401dcb07",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_09.wav": "3eb0be6393c431b526dbddc723cb608a7681a2dcd8af6910d9f2234aa98c923c",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_09.wav.meta": "724dd301d1b25e41318503a815e87b54e7283735c51fd122af55c070f26adb37",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_10.acp": "f976a0fecf73b3379ffb9728e96c68ca79800712919320e7ff7f3484cd2c9724",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_10.acp.meta": "5411a9ffa23e42c8a2e8d4eba75d6e87631bcf542128327dfefd603a64d5b6ec",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_10.wav": "2b2dac499a45a7779e79465d628a67b87078c0951db7db3e051feeb4342f2816",
|
||||||
|
"addons/core/Sounds/ERR/Speech/radio_10.wav.meta": "c3ac10a092dcb26ec637be6c9264a85eae1b6da55b9d8b44a14766a70ddf2933",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1001.acp": "1af0d303063f37811a9b1a25424d887fe5eed4b5c57da71cf36ba6985f8cf002",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1001.acp.meta": "2fbdda4d9fa83c6945985bd2f2215aa9f745b3a18adb0e7edafac1b01c161ba5",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1001.wav": "a8935a5aded028f2fb03734f4423e731ea4f5b17394526df47c0407a3deddfe7",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1001.wav.meta": "aff7a92a727d8bd4df033be2961fb85cafdc5c45fd272c5ea718bc07fb8e5cce",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1002.acp": "1444636949683a430efe20a7f296e85e669cb8e26799c326f73a00c4f8d32fa5",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1002.acp.meta": "d8eb34135a3b76f0a4f889f9662d954b3b0b3638c10c0732e25ca29d7b2ef412",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1002.wav": "8535643e93757dd916f4158b5b03671cefc599489dbccf6bb0f7abf294fbae88",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1002.wav.meta": "e8c8813e5a1989a0d7e4d2a5c90622c4b0f909aafb929f4737c82e5710220d1f",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1003.acp": "5ab123f150debd6fda0b822fee7ffca5a0bdc168f4d8d2e28b3982972db05613",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1003.acp.meta": "f89fa8e7ac42e7f675d29f0b241d181df572413c6c41bf31cfb98fa205baa87e",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1003.wav": "5910896661ad67333d2374a16ca44ce831a5820feb337655df99c02df2915d5a",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1003.wav.meta": "5281a71be599a70aeb9972ea85364e5ef32f824db94c71953d8a1912fb2a27c2",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1004.acp": "10ac847b206834168e63d8d0f7ad25d7542a58a49d331af50aecf13e7e070ac9",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1004.acp.meta": "8c073328d3f5f06ca583d97e9ce2453d8167ec7bc5643ab90783748a4cd9b6bf",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1004.wav": "76375e462ba518c76f752d4b194c9370dffcebd8ce0037865133b37af3ff9a9e",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1004.wav.meta": "563aae8d93efeaa7ca098c12bf0004da279321607793bb32a93b2530d6832d06",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1005.acp": "ea3d874f84dd85f09871444c348b1c7f4948fc043c59cba4d3aea8b8eaa8b86e",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1005.acp.meta": "40cbfddfa9937e319d412f3ecb66b75e2c1c88f2823a64e43a81a2939fb9021a",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1005.wav": "3e20728fb61863278738f5366343cddd6fac1b8b114a14867f91ebb5cac547d8",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1005.wav.meta": "e330fc819872b0a97a280a42d936ff75e30d21ea3ac96891988b48ded36af7b0",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1100.acp": "86dc8e90d826947672342f44a6ff8d2fd4a8f014db0b215c0865b3728b14ea88",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1100.acp.meta": "1a41730365335ebfabf6c75ab1c67ecb1d0d6c85db56d1d85f688a780a3ecf15",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1100.wav": "eaf1deb5381f6bac165e364a652920fcf78438c351c564ebe50a216f3f3ba5a0",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1100.wav.meta": "dcd087d3e0bec53abdd4e42218a3bbb234b7ae3cd2da05dcee71a298632a8da9",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1101.acp": "2680131b5364efe39f3dee44ce1605dbc9e064cea9baf8247a8c5b55dcfa8d99",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1101.acp.meta": "4feaa2b8e069ee2e9576d4009329f585b1b5ade9e47816882b78075f4897646f",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1101.wav": "4bca012ec25d8456cd38d26606312f54b480b674365b76a9c9f54e408314570b",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1101.wav.meta": "6ac6bd7a06be3fa35c513137b4584e405c0cd7e32d0c6912f2d7f9b5a3087d36",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1102.acp": "08002dc26a4c07d6bf488d5f7c8c6587787c1755ce374b4053dad582eb2d77cb",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1102.acp.meta": "2133e516f162d6aaa7f0d3a191421964ca6df7b00d0a50fa42ffaba70864bef4",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1102.wav": "1432bb3c9d99910314a84d9773d2afafe4f5fbb143afb291b0deed55d25ee6d0",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1102.wav.meta": "a6ca33938733e22789434db35ca2cdfb0fc4c51716feadf4a28a60ee9d1044b2",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1103.acp": "c93e1e75c272d31107fde86205b859cf505e2acf7d8776fbd81357bc8b3625b9",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1103.acp.meta": "f3d41ab27e932b10d46c3a2aa63f826825403a70640381a089db608c1c00a257",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1103.wav": "c294454907a229d521c2285eec26dbb82f9782f2a7eca764e11713ff63f0e004",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1103.wav.meta": "968d93e9dee2104aee94407604d021d8849a83dc3d115484088e81289654c246",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1104.acp": "cb94ed3c95670f11f78f6470f1f50492fff6d2f0ac94602d054d474d52400cec",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1104.acp.meta": "92d43bf610784953d8d94322b73ae235f7a8aeb83ece72733d795c8034275052",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1104.wav": "952b3d71366c26fc12bdbb9014665bfc0402f30944c22b1b2369d26a93db7104",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1104.wav.meta": "939562214b39250feaa8f6f6c6bd10c3d4e0b4c529f338490a2dc234919c0d31",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1105.acp": "62c5d3d230a8a15cf2a4de193620ccdf83ca9973b550ace4e8edf7cc49f52851",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1105.acp.meta": "6774063562b9c83975bc394dd3c72aa2a0d8001d0990ab8ff870ae2876889f93",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1105.wav": "20e9e82d9897b598497da4722432f83ae03a5e6bf9a1f7a77caab712e3fc3130",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1105.wav.meta": "6f21652352edbd59d1244ce9c2dcd1ad4ab65f022222381d9709c28148121c42",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1200.acp": "c27db60629a41145697e041224cc2dde21c72d6a883fa305c71ec9c5b86bd84e",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1200.acp.meta": "ea228ec869a7a0266f5604266f68c4166abc6cfeaa29180cb3b4351464b71079",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1200.wav": "5a1561e821ef33a574c1f9ef95ccf76e69b832bf0a20bcbbf914760345921859",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1200.wav.meta": "ccf3b62fd2eea460d576fa68863a901eb0025f47b1b76729a4289162d0dfa0c8",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1201.acp": "45f220c5b6bac64db61eebcf54bb52da572f9f8f1ea0872c5af9fd3238c25a4e",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1201.acp.meta": "3be417d66b05e11e0b520af136dfc45c86c17d5e35b56a611efbcf38e0d35003",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1201.wav": "f058f0482cfe4034fdf37d9b596f7ba8172fae1c57aeb387ce153f8041895e45",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1201.wav.meta": "abaebe719eff7e009eb4d0222060280877451126c02154706df6d13e4c5d3e11",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1202.acp": "c08625886d8c6dc405cf96c640c9dafd4510ba5cef2c22b037c8c7b3eb5bea39",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1202.acp.meta": "cf345e968edad1b825dd33b87267b63f770c169250f8c51195bffc3161d396bd",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1202.wav": "c875f4e798ff5e24c3eb3b48bdfa1b8af03de9326a19c671eca86660297ad737",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1202.wav.meta": "dd2d6411abe914bce71c6688a1647c2699303ca248191ec01c6325b366e5d7fb",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1203.acp": "f0237a51ffe0e7d463154d321117a9b19c6914f6ee680ebf07a0ff9ab51fc340",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1203.acp.meta": "0e93332191ac74be950ce8139b96ed6fdfe3ddbe68de8949826dc801d12c97f2",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1203.wav": "6e7857dc96dfb556f011ba89f2f4ea659cfd7b605b88790c69e754d5cc51398a",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1203.wav.meta": "0f564169dc05a95f7b01f64f72bdabf6de9ed3f37a2f44b4751f89b38eb18cd8",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1204.acp": "94dbf98b5e05f1ebf6960495032c46203caaa4440dfb1ffd3beda2679fe6bec5",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1204.acp.meta": "7cc8c61f4bb210c0576fac350d170f8f54a6e55531db6102c1a0fa7cb7a8a809",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1204.wav": "bd170ca015b017114e42078dcc5c49d5626aef17d22e4a12b8282e9ee4908ae6",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1204.wav.meta": "1c6ddb11c22a14d9d498074e2fb2864783f91afc552c4cd671452fa8df483de0",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1205.acp": "47180a3445a265335d682eac6fa51fedca51d76f329adc39b1802092b311118b",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1205.acp.meta": "c34346f4b10149b426ebb4e94db8c29883c9d0e36f2b42d07d41570eb8932554",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1205.wav": "769c457805376e9c0172ddb525ead5f1d8774e15bd1f3f3b218a19f9d77b6883",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_1205.wav.meta": "31a2a7314b44afb3f0031376b2ad6df22649e8089bf1a3bbeb64cdc41156cff7",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_clear.acp": "f33f03f3d24182a95db7d02058f2dd6ae52098e3b5142a33ede833ee881d54ed",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_clear.acp.meta": "7d3643c9de2d81ab0f1b4898e781341c1962bd8505c20882233ef7c40159b23b",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_clear.wav": "d6527b8136aa720b721463210420f47de0dbc45acc4e4c390b6a44968c5f0acd",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_clear.wav.meta": "d9f9a921a85fe275c6cce649421a19946ff6aec49559796725c3858d9fe9b261",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_covering.acp": "7d4109edbd6c20f9e2af0b394fa12e8b3b40fc18bf2b5ac118beebb1fa4a79b1",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_covering.acp.meta": "320908bf7decea55b8d8b4a89b30e84e7d96a033d4a9cd1bd84912dce013f0d8",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_covering.wav": "f51e0086eaf0eece8b4061711088a413a2dbeae263deab7ea30fb1852dafda69",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_covering.wav.meta": "7bdf2d2c5f9cf741bae523e1ab0b9acc99b38ccd1228ebfbcba92f2b9a5cba9d",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_engaging.acp": "9f052e87edaf182030edb656821621cdeabbf13d65bc181308357530c9d93a74",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_engaging.acp.meta": "9e487fa3746c46b2993f1dfd1f0513f375571728704533674bee62586e25b72b",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_engaging.wav": "ac0f2d7d698732e3d7c270186e7aa2ab7e6bd4c908f36b07fb6f66a3cbe75ccf",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_engaging.wav.meta": "d571b9ebce196cc209078a83e4bde8f6a5f4b6d28c2945e2b47953ccb6889e97",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_moving.acp": "05503ca7af13a7ad03ed2a3aa562cc58504fdfff3148477f8d81b5a01abdf37c",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_moving.acp.meta": "a2474c87e4e1587226919dfdbd03739d938803d34f4a4f441889b0d8015513bd",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_moving.wav": "a61dda64e6fc2a11eac3e6008ee14b89f360bd67e258dce1191a71d9e2e26fad",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_moving.wav.meta": "bd87cd72ccb819584f9da09fb0d6973ffd6eb0bb5572c562978500e2af467217",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_no_ammo.acp": "c821c61afb2ddc12d3ecdb552a66d2a9ff89a5258a567ff2a99fed4f45a33520",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_no_ammo.acp.meta": "65a27b81a5b437163befd4dc566785a9dda4def1798495ca53c8f768a5d7a73f",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_no_ammo.wav": "ffe6ef5fdf30411749e0cb73186e3005b1ce6a52fcb7c836caeb1bca422ed3ed",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_no_ammo.wav.meta": "25b5680fd2a313c18e15ce6e0d3f709d78352b93206c22c7881be19b81faddd5",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_reloading.acp": "51c5cb464bab6637cf9e3b1880a010e05774d76a92298daf40b1d84970845be7",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_reloading.acp.meta": "ca351e809b1ba7c69b066d2c1d0a5d2afdcaa833c1163e6d13a0396437e98cf6",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_reloading.wav": "15b2749f79bc73fd0784bcd6e6076e1bc50da835e0c434cd43bd185d0735c732",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_reloading.wav.meta": "161c9ebee1d0496c7aa9501d00eba646094bf1ce89cda4efde6e3a0229a49e4f",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_target_down.acp": "77acc89c4ef0b912b969a2e5f6c41e071e04d10cfe89666fbc1296878dab62bf",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_target_down.acp.meta": "fe456d354ace93b0f2261de483e86ccc92991011b1738c5703d6d7bc0daa49a6",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_target_down.wav": "e2e60e8b83a24a548c90b84c5e1137adb7e792cf1d4ba6232ddfb1012fa78892",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_target_down.wav.meta": "064588b86589ac9437fbccafedeefae04bec3331dd8a229d1c6d27b5e524a9e9",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_target_lost.acp": "5ffd3ff57550296274e9e93fb64efdf2fb06a51161d6deb221c1f3eb408d1459",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_target_lost.acp.meta": "366a3c9e20f27c0f73bdff5827576df8924e99241061f933e72bd342e5bc7119",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_target_lost.wav": "bbcf454d48adea47478d410b1baf14df3a5d018237272e70ae33ee62823f822f",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_target_lost.wav.meta": "d1ac64242280521a7e40de51ae32a007878d7801401020e7a074a48e0f8ce62e",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_under_fire.acp": "5af1c949d4662c2f33320165d2efdbd69cb183af1101aa246fe538bf0d91a33e",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_under_fire.acp.meta": "aa7799e8a790539166a1d3a9c691416e7b2f6589d1674f5cf4b3e47523f15259",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_under_fire.wav": "e4bd5e69fda289593fc6e6b8c2fae9a271a10d0a9bae877f18ba02dbbf75d1fc",
|
||||||
|
"addons/core/Sounds/ERR/Speech/soldier_under_fire.wav.meta": "25a988c31e4fc3ae6540920df3d4548307a4a1e3b96b1303e9b7bdb4ac5eea27",
|
||||||
|
"addons/core/Sounds/ERR/Speech/welcome.acp": "f8a7b6cdd08b57b4b227a2d5b480a6c76857d7fc8ace3434478aec01c0de5a83",
|
||||||
|
"addons/core/Sounds/ERR/Speech/welcome.acp.meta": "d3ac98b02c0725d347b30d0ac7586cb22904d46b65a145e4a1131222484a6929",
|
||||||
|
"addons/core/Sounds/ERR/Speech/welcome.wav": "01de068469bd6746dba7634fb6b5b85b150621d3359c17fd01bcb916b34b1720",
|
||||||
|
"addons/core/Sounds/ERR/Speech/welcome.wav.meta": "bf33edad44bbb04df852501154f08a9a9900ce503248abc698127a51e9eec934",
|
||||||
|
"addons/core/UI/Textures/ERR/SiteMarkers.edds": "611ec6c68c2456c2af017c47135134d73122461017b315f64ed7ca9891f20c21",
|
||||||
|
"addons/core/UI/Textures/ERR/SiteMarkers.edds.meta": "90f40b38e52a79951b72da2960e30887d5ee8bbcefbada0c0ac950c1bfcf847f",
|
||||||
|
"addons/core/UI/Textures/ERR/SiteMarkers.imageset": "3f947d03b3492ada541032539cdb3f34a03d68ae83c0ef8796dc7fd091b5911d",
|
||||||
|
"addons/core/UI/Textures/ERR/SiteMarkers.imageset.meta": "1dc5285abd0062af288fb40b2f22b5b7c3925cf7270a096862335db250ac1453",
|
||||||
|
"addons/core/UI/Textures/ERR/SiteMarkers.png": "76b472982234bd27050a9430e6a53f4c14fa38f7388db3706ebef506eab4e660",
|
||||||
|
"addons/core/UI/layouts/ERR/AdminMenu.layout": "31ec8906218e5e377560fc7264c0b05b160d36e9fa2fea8446985d1a9d63d675",
|
||||||
|
"addons/core/UI/layouts/ERR/AdminMenu.layout.meta": "9deeece996f43b1f1fed6b5ec89279645c7b6424250200a42580cc088142e9bf",
|
||||||
|
"addons/core/UI/layouts/ERR/AdminValue.layout": "cd811af6d2fb187f01c74e20ea07ad85669546b0ad70efae2ce52921ce26cbca",
|
||||||
|
"addons/core/UI/layouts/ERR/AdminValue.layout.meta": "56b3d2335db400c1308e07c4a35d278b23ef32013dfd6dc82951866327428d08",
|
||||||
|
"addons/core/UI/layouts/ERR/ContentRow.layout": "942e33bf2e08550446b40bcac31fb4504b7d8c717a42c196f54bf4025c72706c",
|
||||||
|
"addons/core/UI/layouts/ERR/ContentRow.layout.meta": "8c4bc13b41e7aee38e0ca640a97813ed1a6964a00e2cff9e1fe4ebd71fc2fdc6",
|
||||||
|
"addons/core/UI/layouts/ERR/ItemRow.layout": "6d364ce48158b90abd2185ca87ee27b095d0f7a5c8d59a0c65940e4be5488ac3",
|
||||||
|
"addons/core/UI/layouts/ERR/ItemRow.layout.meta": "33eaef9c403ea3a030e58ec17f78e46af457048243571ad5856fff04101fb60b",
|
||||||
|
"addons/core/UI/layouts/ERR/ItemWeightRow.layout": "dfa6b87420efc683cb278178553350daa7753004d64672741a3dc13b4316810d",
|
||||||
|
"addons/core/UI/layouts/ERR/ItemWeightRow.layout.meta": "eb4b28587abdf6100092fd6eee1695663fa6e1548d5e53017173c4a5f7320240",
|
||||||
|
"addons/core/UI/layouts/ERR/PauseModsButton.layout": "d21d436291e2c1b262e33dc228b0d60a1d188dc9e85cfda6d2373f8281431b79",
|
||||||
|
"addons/core/UI/layouts/ERR/PauseModsButton.layout.meta": "9ed6adabd8f53eb9a562d7186789876bba5c4202155ca894c1af866ca47354f3",
|
||||||
|
"addons/core/UI/layouts/ERR/PreparationFailure.layout": "b7c4a2e6aa2be0992b478bb4f969f80355753573fffbc15be44670f3b136ea2e",
|
||||||
|
"addons/core/UI/layouts/ERR/PreparationFailure.layout.meta": "17ca2c9a12f691680883cec368ff06f511c996e5da5c25498f5f0955887867b0",
|
||||||
|
"addons/core/UI/layouts/ERR/PreparationStatus.layout": "ec3369f4030e593d34043e70a311b0963606cf024cb452648671556f25f5b52a",
|
||||||
|
"addons/core/UI/layouts/ERR/PreparationStatus.layout.meta": "75b12176a443bb911fc4ad446982d762201fda42ed38736b79bc5439fca31ccc",
|
||||||
|
"addons/core/UI/layouts/ERR/RoundResults.layout": "8550ebc009024f619827a43fd766aff8b7fbf8bc87ef7593db0fd7f4d778c615",
|
||||||
|
"addons/core/UI/layouts/ERR/RoundResults.layout.meta": "7509e050b3910ee5730dd25c60aacf405110e943f4ab46e3fc2186b3b15a3cf9",
|
||||||
|
"addons/core/UI/layouts/ERRMap/ObjectiveMapElement.layout": "82d9ae77f076f945583791dfa0b01f1c925e6ff8aaebcf382fd56089fe61a115",
|
||||||
|
"addons/core/UI/layouts/ERRMap/ObjectiveMapElement.layout.meta": "8691fe2eaf46568bca4a9f8128b247a8da810bb87a5546aa7ca3334e740270d6",
|
||||||
|
"addons/core/UI/layouts/ERRMap/SharedMapRenderTarget.layout": "aef5d565301046ae902033ec4eb4799ff1bdd9a37bc507898781d8790f04fc2a",
|
||||||
|
"addons/core/UI/layouts/ERRMap/SharedMapRenderTarget.layout.meta": "5c846445cc089e2e08899ba703059d4adb805ff30ab5a16409a3cd59718cbd54",
|
||||||
|
"addons/core/Worlds/ERR_Everon.ent": "22324bc7eb0d80dec8a1f3bd61a9df9201b72f749f4e751766b0c9d0b7d46b87",
|
||||||
|
"addons/core/Worlds/ERR_Everon.ent.meta": "19d1903ca72baa326b4724a6791d0da1104a1e53f3f31dc1ca41a856efd68e83",
|
||||||
|
"addons/core/Worlds/ERR_Everon_Layers/default.layer": "6bcb7fbb27b6282719dae8a37486e518d4cbaea385f2ea9af1918b36bb28b175",
|
||||||
|
"addons/core/addon.gproj": "73e973a1f1c5910393e16f86a3a40d792031bb2fa3fc7f4dd87a06a16c3e34a4"
|
||||||
|
}
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
{
|
||||||
|
"schema_version": 1,
|
||||||
|
"launch_id": "842a5e29-3772-4aa0-b48d-88bc6b0cfc51",
|
||||||
|
"captured_unix": 1793378610.5652032,
|
||||||
|
"source_root": "/tmp/erri-compact-roadblocks-source",
|
||||||
|
"command": [
|
||||||
|
"gamescope",
|
||||||
|
"--backend",
|
||||||
|
"headless",
|
||||||
|
"-W",
|
||||||
|
"1280",
|
||||||
|
"-H",
|
||||||
|
"720",
|
||||||
|
"-w",
|
||||||
|
"1280",
|
||||||
|
"-h",
|
||||||
|
"720",
|
||||||
|
"-r",
|
||||||
|
"30",
|
||||||
|
"--",
|
||||||
|
"/home/jakub/.local/share/Steam/steamapps/common/Proton - Experimental/proton",
|
||||||
|
"run",
|
||||||
|
"/home/jakub/.local/share/Steam/steamapps/common/Arma Reforger Tools/Workbench/ArmaReforgerWorkbenchSteamDiag.exe",
|
||||||
|
"-gproj",
|
||||||
|
"Z:/tmp/erri-compact-roadblocks-source/addons/core/addon.gproj",
|
||||||
|
"-addonsDir",
|
||||||
|
"Z:/tmp/erri-compact-roadblocks-source/addons",
|
||||||
|
"-profile",
|
||||||
|
"Z:/tmp/erri-compact-roadblocks-30-run",
|
||||||
|
"-logconsole",
|
||||||
|
"-wbModule=WorldEditor",
|
||||||
|
"-load",
|
||||||
|
"Worlds/ERR_Everon.ent",
|
||||||
|
"-plugin=ERR_ValidateBaseWorldPlugin",
|
||||||
|
"-errPlay",
|
||||||
|
"1",
|
||||||
|
"-errBaseSmoke",
|
||||||
|
"1",
|
||||||
|
"-errSmokeOutcome",
|
||||||
|
"roadblocks",
|
||||||
|
"-noThrow",
|
||||||
|
"-disableCrashReporter",
|
||||||
|
"-errRoadblockProbeCount",
|
||||||
|
"30"
|
||||||
|
],
|
||||||
|
"manifest_sha256": "5f3e2057579018a5ba501a344f6a9d5d76400dcc41e25bc924204568c8979b57"
|
||||||
|
}
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
17:45:20.642 SCRIPT : ERR ROADBLOCK PROP NATIVE: prefab={21D83950DF36F250}Prefabs/Props/Military/Sandbags/Sandbag_01_long_burlap.et low=<-1.76013,-0.109878,-0.599179> high=<1.6901,0.809471,0.615311>
|
||||||
|
17:45:20.642 SCRIPT : ERR ROADBLOCK PROP NATIVE: prefab={21D83950DF36F250}Prefabs/Props/Military/Sandbags/Sandbag_01_long_burlap.et low=<-1.76013,-0.109878,-0.599179> high=<1.6901,0.809471,0.615311>
|
||||||
|
17:45:20.643 SCRIPT : ERR ROADBLOCK PROP NATIVE: prefab={64C9C1D1C2C1B38D}Prefabs/Props/Infrastructure/Roadblocks/RoadBlock_01.et low=<-1.10784,-0.01098,-0.261985> high=<1.10379,1.1563,0.257987>
|
||||||
|
17:45:20.643 SCRIPT : ERR ROADBLOCK PROP NATIVE: prefab={C1977A326F2AA011}Prefabs/Structures/Signs/Military/SignCheckpoint_01_stop.et low=<-0.3508,-0.013245,-0.295384> high=<0.3508,0.669,0.194535>
|
||||||
|
17:45:20.643 SCRIPT : ERR ROADBLOCK PROP NATIVE: prefab={21D83950DF36F250}Prefabs/Props/Military/Sandbags/Sandbag_01_long_burlap.et low=<-1.76013,-0.109878,-0.599179> high=<1.6901,0.809471,0.615311>
|
||||||
|
17:45:20.643 SCRIPT : ERR ROADBLOCK PROP NATIVE: prefab={21D83950DF36F250}Prefabs/Props/Military/Sandbags/Sandbag_01_long_burlap.et low=<-1.76013,-0.109878,-0.599179> high=<1.6901,0.809471,0.615311>
|
||||||
|
17:45:20.643 SCRIPT : ERR ROADBLOCK PROP NATIVE: prefab={64C9C1D1C2C1B38D}Prefabs/Props/Infrastructure/Roadblocks/RoadBlock_01.et low=<-1.10784,-0.01098,-0.261985> high=<1.10379,1.1563,0.257987>
|
||||||
|
17:45:20.643 SCRIPT : ERR ROADBLOCK PROP NATIVE: prefab={C1977A326F2AA011}Prefabs/Structures/Signs/Military/SignCheckpoint_01_stop.et low=<-0.3508,-0.013245,-0.295384> high=<0.3508,0.669,0.194535>
|
||||||
|
17:45:20.644 SCRIPT : Reintroduced [roadblocks]: roadblock-0 at <11348.7,25.1008,11663.8> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:45:25.965 SCRIPT : Reintroduced [roadblocks]: roadblock-1 at <3467.73,131.982,4438.38> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:45:30.339 SCRIPT : Reintroduced [roadblocks]: roadblock-2 at <5847.32,4.6625,9770.9> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:45:31.922 SCRIPT : ERR SMOKE PASS: roadblocks prison unlocked with 3/30 posts; background still pending
|
||||||
|
17:45:36.671 SCRIPT : Reintroduced [roadblocks]: roadblock-3 at <2543.05,109.287,5709.98> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:45:44.310 SCRIPT : Reintroduced [roadblocks]: roadblock-4 at <4897.54,31.4119,9312.93> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:45:50.144 SCRIPT : Reintroduced [roadblocks]: roadblock-5 at <7438.56,46.3787,8310.31> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:45:56.029 SCRIPT : Reintroduced [roadblocks]: roadblock-6 at <5006.43,23.6938,12150.6> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:46:02.509 SCRIPT : Reintroduced [roadblocks]: roadblock-7 at <7795.65,2.725,5823.57> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:46:10.792 SCRIPT : Reintroduced [roadblocks]: roadblock-8 at <10822.6,21.1021,11978.8> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:46:19.149 SCRIPT : Reintroduced [roadblocks]: roadblock-9 at <5928.2,46.8874,8358.6> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:46:27.728 SCRIPT : Reintroduced [roadblocks]: roadblock-10 at <7648.94,1.68125,9244.14> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:46:29.810 SCRIPT : Reintroduced [roadblocks background]: placed=11/30 attempts=252 steps=211 workMs=598 maxStepMs=17 candidates=34 plans=11; still searching safe locations
|
||||||
|
17:46:35.240 SCRIPT : Reintroduced [roadblocks]: roadblock-11 at <5456.71,41.9879,10906.8> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:46:41.112 SCRIPT : Reintroduced [roadblocks]: roadblock-12 at <6356.67,175.1,7472.08> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:46:46.962 SCRIPT : Reintroduced [roadblocks]: roadblock-13 at <7743.91,86.4893,1741.18> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:46:54.241 SCRIPT : Reintroduced [roadblocks]: roadblock-14 at <4884.42,161.418,6873.87> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:47:01.106 SCRIPT : Reintroduced [roadblocks]: roadblock-15 at <6417.79,7.96761,4522.37> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:47:08.698 SCRIPT : Reintroduced [roadblocks]: roadblock-16 at <8403.73,12.2037,1078.27> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:47:16.044 SCRIPT : Reintroduced [roadblocks]: roadblock-17 at <4125.42,23.1938,10518.1> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:47:21.503 SCRIPT : Reintroduced [roadblocks]: roadblock-18 at <2411.81,56.6747,6947.69> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:47:28.356 SCRIPT : Reintroduced [roadblocks]: roadblock-19 at <6418.15,89.8594,5223.68> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:47:30.417 SCRIPT : Reintroduced [roadblocks background]: placed=20/30 attempts=454 steps=420 workMs=1246 maxStepMs=21 candidates=60 plans=20; still searching safe locations
|
||||||
|
17:47:34.790 SCRIPT : Reintroduced [roadblocks]: roadblock-20 at <5661.94,74.0522,4712.47> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:47:40.448 SCRIPT : Reintroduced [roadblocks]: roadblock-21 at <6783.05,9.83837,3863.96> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:47:45.878 SCRIPT : Reintroduced [roadblocks]: roadblock-22 at <2228.43,44.0109,4836.7> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:47:51.729 SCRIPT : Reintroduced [roadblocks]: roadblock-23 at <8685.88,119.499,2581.73> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:47:57.605 SCRIPT : Reintroduced [roadblocks]: roadblock-24 at <3183.91,106.22,4976.25> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:48:03.221 SCRIPT : Reintroduced [roadblocks]: roadblock-25 at <2881.42,5.9125,3912.19> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:48:10.950 SCRIPT : Reintroduced [roadblocks]: roadblock-26 at <10631.1,146.985,2269.76> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:48:21.224 SCRIPT : Reintroduced [roadblocks]: roadblock-27 at <7819.59,156.984,4598.09> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:48:29.368 SCRIPT : Reintroduced [roadblocks]: roadblock-28 at <5423.26,80.1845,5732.07> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:48:31.494 SCRIPT : Reintroduced [roadblocks background]: placed=29/30 attempts=674 steps=631 workMs=1915 maxStepMs=28 candidates=84 plans=29; still searching safe locations
|
||||||
|
17:48:36.923 SCRIPT : Reintroduced [roadblocks]: roadblock-29 at <4815.69,13.4799,3993.51> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:48:36.923 SCRIPT : Reintroduced [roadblocks]: placed=30 requested=30 attempts=723 roadCandidates=87 clearPlans=30; requested count reached in background
|
||||||
|
17:48:37.400 SCRIPT : ERR ROADBLOCK BACKGROUND NATIVE: posts=30 guards=120 steps=657 workMs=1998 maxStepMs=28 attempts=723
|
||||||
|
17:48:37.400 SCRIPT : ERR SMOKE PASS: roadblocks 30 physical posts / 120 guards / 240 replicated checkpoint props with distance streaming disabled; verified model footprints and centre lane; background completed after prison unlock, no extra posts on repeat tick
|
||||||
|
17:48:38.082 SCRIPT : ERR SMOKE COMPLETE: roadblocks background completion on Everon; scripted local fixture
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"scope": "Isolated local Workbench Everon fixture; not a dedicated multiplayer or FPS test",
|
||||||
|
"requestedPosts": 30,
|
||||||
|
"placedPosts": 30,
|
||||||
|
"guards": 120,
|
||||||
|
"replicatedProps": 240,
|
||||||
|
"postsAtPrisonUnlock": 3,
|
||||||
|
"secondsFromPrisonUnlockToLastPost": 185.001,
|
||||||
|
"attempts": 723,
|
||||||
|
"roadCandidates": 87,
|
||||||
|
"clearPlans": 30,
|
||||||
|
"backgroundSteps": 657,
|
||||||
|
"backgroundWorkMilliseconds": 1998,
|
||||||
|
"maxBackgroundStepMilliseconds": 28,
|
||||||
|
"nativeChecks": [
|
||||||
|
"model bounds enclosed by clearance footprints",
|
||||||
|
"four-metre vehicle lane",
|
||||||
|
"all 30 groups have four living guards and are registered with force ledger and HQ",
|
||||||
|
"background completion after prison unlock",
|
||||||
|
"repeat tick does not create extra posts"
|
||||||
|
],
|
||||||
|
"scriptOrRuntimeFailures": [],
|
||||||
|
"runnerExitCode": 1,
|
||||||
|
"engineResourceErrors": [
|
||||||
|
"17:43:33.986 RESOURCES (E): Wrong GUID/name for resource @\"{0AFDD005CD669892}Language/rhs_localization.st\" in property \"StringTableSource\"",
|
||||||
|
"17:43:33.986 RESOURCES (E): Wrong GUID/name for resource @\"{41FA2A08B6971D4C}Language/wcs_armament_localization.st\" in property \"StringTableSource\"",
|
||||||
|
"17:43:33.987 RESOURCES (E): Wrong GUID/name for resource @\"{84270E09F7A4A7A0}Language/wcs_spacecore_localization.st\" in property \"StringTableSource\"",
|
||||||
|
"17:43:33.987 RESOURCES (E): Wrong GUID/name for resource @\"{E50E557B468C7073}Language/wcs_bmp1_localization.st\" in property \"StringTableSource\"",
|
||||||
|
"17:44:12.864 WORLD (E): Unknown keyword/data 'Parent' at offset 35955(0x8c73)",
|
||||||
|
"17:44:12.864 WORLD (E): Unknown keyword/data 'Parent' at offset 36915(0x9033)",
|
||||||
|
"17:44:12.865 WORLD (E): Unknown keyword/data 'Parent' at offset 42646(0xa696)",
|
||||||
|
"17:44:12.865 WORLD (E): Unknown keyword/data 'Parent' at offset 43645(0xaa7d)",
|
||||||
|
"17:44:12.865 WORLD (E): Unknown keyword/data 'Parent' at offset 44617(0xae49)",
|
||||||
|
"17:44:12.865 WORLD (E): Unknown keyword/data 'Parent' at offset 45590(0xb216)",
|
||||||
|
"17:44:12.965 WORLD (E): Unknown keyword/data 'SlidingTrackMaterial' at offset 19441(0x4bf1)",
|
||||||
|
"17:44:19.483 WORLD (E): Unknown keyword/data 'm_HardLandingVelocity' at offset 133(0x85)",
|
||||||
|
"17:44:19.483 WORLD (E): Unknown keyword/data 'm_DeathLandingVelocity' at offset 163(0xa3)"
|
||||||
|
],
|
||||||
|
"limitation": "Roadblock smoke completed and cleanup confirmed. Runner exits nonzero for the same 13 external localization/world asset errors as the four-post run."
|
||||||
|
}
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"stopped_unix": 1793378924.3515246,
|
||||||
|
"console_sha256": "684583044f2be82861fcc006dbed0e7f43bd4c66f0d9fd8be20aa714248a3c9c",
|
||||||
|
"end_source_sha256": "5f3e2057579018a5ba501a344f6a9d5d76400dcc41e25bc924204568c8979b57",
|
||||||
|
"source_unchanged_after_run": true,
|
||||||
|
"source_provenance": "launch_snapshot",
|
||||||
|
"launch_id": "842a5e29-3772-4aa0-b48d-88bc6b0cfc51",
|
||||||
|
"launch_source_manifest": "launch-source-sha256.json",
|
||||||
|
"launch_source_metadata": "launch-source.json",
|
||||||
|
"launch_source_sha256": "5f3e2057579018a5ba501a344f6a9d5d76400dcc41e25bc924204568c8979b57",
|
||||||
|
"external_addons_unchanged_after_run": true,
|
||||||
|
"external_addon_count": 7,
|
||||||
|
"external_addon_inputs": "external-addons-inputs.json",
|
||||||
|
"started_unix": 1793378610.5652866,
|
||||||
|
"result": "smoke-completed",
|
||||||
|
"result_before_cleanup": "smoke-completed",
|
||||||
|
"cleanup_confirmed": true,
|
||||||
|
"cleanup_report": {
|
||||||
|
"cleanup_confirmed": true,
|
||||||
|
"idle_verified": true,
|
||||||
|
"errors": [],
|
||||||
|
"orphan_cleanup": {
|
||||||
|
"attempted": false,
|
||||||
|
"reason": "noncanonical-private-prefix"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runner_error": null,
|
||||||
|
"session": "/tmp/erri-compact-roadblocks-30-run/logs/logs_2026-10-30_17-43-32",
|
||||||
|
"rounds_required": 1,
|
||||||
|
"project": "core",
|
||||||
|
"display": "headless Gamescope 1280x720/30Hz",
|
||||||
|
"dedicated_server": false,
|
||||||
|
"audio": "silent sink and per-test-stream mute"
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
17:41:04.977 SCRIPT : ERR ROADBLOCK PROP NATIVE: prefab={21D83950DF36F250}Prefabs/Props/Military/Sandbags/Sandbag_01_long_burlap.et low=<-1.76013,-0.109878,-0.599179> high=<1.6901,0.809471,0.615311>
|
||||||
|
17:41:04.977 SCRIPT : ERR ROADBLOCK PROP NATIVE: prefab={21D83950DF36F250}Prefabs/Props/Military/Sandbags/Sandbag_01_long_burlap.et low=<-1.76013,-0.109878,-0.599179> high=<1.6901,0.809471,0.615311>
|
||||||
|
17:41:04.977 SCRIPT : ERR ROADBLOCK PROP NATIVE: prefab={64C9C1D1C2C1B38D}Prefabs/Props/Infrastructure/Roadblocks/RoadBlock_01.et low=<-1.10784,-0.01098,-0.261985> high=<1.10379,1.1563,0.257987>
|
||||||
|
17:41:04.977 SCRIPT : ERR ROADBLOCK PROP NATIVE: prefab={C1977A326F2AA011}Prefabs/Structures/Signs/Military/SignCheckpoint_01_stop.et low=<-0.3508,-0.013245,-0.295384> high=<0.3508,0.669,0.194535>
|
||||||
|
17:41:04.978 SCRIPT : ERR ROADBLOCK PROP NATIVE: prefab={21D83950DF36F250}Prefabs/Props/Military/Sandbags/Sandbag_01_long_burlap.et low=<-1.76013,-0.109878,-0.599179> high=<1.6901,0.809471,0.615311>
|
||||||
|
17:41:04.978 SCRIPT : ERR ROADBLOCK PROP NATIVE: prefab={21D83950DF36F250}Prefabs/Props/Military/Sandbags/Sandbag_01_long_burlap.et low=<-1.76013,-0.109878,-0.599179> high=<1.6901,0.809471,0.615311>
|
||||||
|
17:41:04.978 SCRIPT : ERR ROADBLOCK PROP NATIVE: prefab={64C9C1D1C2C1B38D}Prefabs/Props/Infrastructure/Roadblocks/RoadBlock_01.et low=<-1.10784,-0.01098,-0.261985> high=<1.10379,1.1563,0.257987>
|
||||||
|
17:41:04.978 SCRIPT : ERR ROADBLOCK PROP NATIVE: prefab={C1977A326F2AA011}Prefabs/Structures/Signs/Military/SignCheckpoint_01_stop.et low=<-0.3508,-0.013245,-0.295384> high=<0.3508,0.669,0.194535>
|
||||||
|
17:41:04.979 SCRIPT : Reintroduced [roadblocks]: roadblock-0 at <3613.8,81.8845,6528.44> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:41:09.537 SCRIPT : Reintroduced [roadblocks]: roadblock-1 at <6596.37,16.6703,4580.38> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:41:14.184 SCRIPT : Reintroduced [roadblocks]: roadblock-2 at <5527.29,74.9463,8000.55> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:41:15.206 SCRIPT : ERR SMOKE PASS: roadblocks prison unlocked with 3/4 posts; background still pending
|
||||||
|
17:41:19.890 SCRIPT : Reintroduced [roadblocks]: roadblock-3 at <6520.13,161.439,6485.73> guards=4 props=8 networkedProps=8 propStreaming=always roadPassage=open HQ=registered
|
||||||
|
17:41:19.891 SCRIPT : Reintroduced [roadblocks]: placed=4 requested=4 attempts=22 roadCandidates=6 clearPlans=4; requested count reached in background
|
||||||
|
17:41:20.289 SCRIPT : ERR ROADBLOCK BACKGROUND NATIVE: posts=4 guards=16 steps=26 workMs=65 maxStepMs=15 attempts=22
|
||||||
|
17:41:20.289 SCRIPT : ERR SMOKE PASS: roadblocks 4 physical posts / 16 guards / 32 replicated checkpoint props with distance streaming disabled; verified model footprints and centre lane; background completed after prison unlock, no extra posts on repeat tick
|
||||||
|
17:41:20.604 SCRIPT : ERR SMOKE COMPLETE: roadblocks background completion on Everon; scripted local fixture
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
{
|
||||||
|
"scope": "Isolated local Workbench Everon fixture; not a dedicated multiplayer test",
|
||||||
|
"requestedPosts": 4,
|
||||||
|
"placedPosts": 4,
|
||||||
|
"guards": 16,
|
||||||
|
"replicatedProps": 32,
|
||||||
|
"attempts": 22,
|
||||||
|
"nativeChecks": [
|
||||||
|
"model bounds enclosed by clearance footprints",
|
||||||
|
"four-metre vehicle lane",
|
||||||
|
"background completion after prison unlock",
|
||||||
|
"repeat tick does not create extra posts"
|
||||||
|
],
|
||||||
|
"policyTests": [
|
||||||
|
"test_roadblock_layout.py",
|
||||||
|
"test_roadblocks.py",
|
||||||
|
"test_roadblock_background.py",
|
||||||
|
"test_roadblock_mining.py"
|
||||||
|
],
|
||||||
|
"scriptOrRuntimeFailures": [],
|
||||||
|
"runnerExitCode": 1,
|
||||||
|
"engineResourceErrors": [
|
||||||
|
"17:39:20.822 RESOURCES (E): Wrong GUID/name for resource @\"{0AFDD005CD669892}Language/rhs_localization.st\" in property \"StringTableSource\"",
|
||||||
|
"17:39:20.823 RESOURCES (E): Wrong GUID/name for resource @\"{41FA2A08B6971D4C}Language/wcs_armament_localization.st\" in property \"StringTableSource\"",
|
||||||
|
"17:39:20.823 RESOURCES (E): Wrong GUID/name for resource @\"{84270E09F7A4A7A0}Language/wcs_spacecore_localization.st\" in property \"StringTableSource\"",
|
||||||
|
"17:39:20.824 RESOURCES (E): Wrong GUID/name for resource @\"{E50E557B468C7073}Language/wcs_bmp1_localization.st\" in property \"StringTableSource\"",
|
||||||
|
"17:39:59.625 WORLD (E): Unknown keyword/data 'Parent' at offset 35955(0x8c73)",
|
||||||
|
"17:39:59.625 WORLD (E): Unknown keyword/data 'Parent' at offset 36915(0x9033)",
|
||||||
|
"17:39:59.626 WORLD (E): Unknown keyword/data 'Parent' at offset 42646(0xa696)",
|
||||||
|
"17:39:59.626 WORLD (E): Unknown keyword/data 'Parent' at offset 43645(0xaa7d)",
|
||||||
|
"17:39:59.626 WORLD (E): Unknown keyword/data 'Parent' at offset 44617(0xae49)",
|
||||||
|
"17:39:59.626 WORLD (E): Unknown keyword/data 'Parent' at offset 45590(0xb216)",
|
||||||
|
"17:39:59.726 WORLD (E): Unknown keyword/data 'SlidingTrackMaterial' at offset 19441(0x4bf1)",
|
||||||
|
"17:40:06.327 WORLD (E): Unknown keyword/data 'm_HardLandingVelocity' at offset 133(0x85)",
|
||||||
|
"17:40:06.327 WORLD (E): Unknown keyword/data 'm_DeathLandingVelocity' at offset 163(0xa3)"
|
||||||
|
],
|
||||||
|
"limitation": "Runner remains nonzero due to the 13 existing external localization/world asset errors seen in earlier fixtures; roadblock smoke completed and cleanup was confirmed."
|
||||||
|
}
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"stopped_unix": 1793378487.4832487,
|
||||||
|
"console_sha256": "697ea6572d8e23d494d8463477099d91d7c4e2b8c54604c28755b374232f5aae",
|
||||||
|
"end_source_sha256": "5f3e2057579018a5ba501a344f6a9d5d76400dcc41e25bc924204568c8979b57",
|
||||||
|
"source_unchanged_after_run": true,
|
||||||
|
"source_provenance": "launch_snapshot",
|
||||||
|
"launch_id": "4f9f1f37-ad94-4d5e-91b9-0bad47551828",
|
||||||
|
"launch_source_manifest": "launch-source-sha256.json",
|
||||||
|
"launch_source_metadata": "launch-source.json",
|
||||||
|
"launch_source_sha256": "5f3e2057579018a5ba501a344f6a9d5d76400dcc41e25bc924204568c8979b57",
|
||||||
|
"external_addons_unchanged_after_run": true,
|
||||||
|
"external_addon_count": 7,
|
||||||
|
"external_addon_inputs": "external-addons-inputs.json",
|
||||||
|
"started_unix": 1793378357.2874713,
|
||||||
|
"result": "smoke-completed",
|
||||||
|
"result_before_cleanup": "smoke-completed",
|
||||||
|
"cleanup_confirmed": true,
|
||||||
|
"cleanup_report": {
|
||||||
|
"cleanup_confirmed": true,
|
||||||
|
"idle_verified": true,
|
||||||
|
"errors": [],
|
||||||
|
"orphan_cleanup": {
|
||||||
|
"attempted": false,
|
||||||
|
"reason": "noncanonical-private-prefix"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runner_error": null,
|
||||||
|
"session": "/tmp/erri-compact-roadblocks-run/logs/logs_2026-10-30_17-39-18",
|
||||||
|
"rounds_required": 1,
|
||||||
|
"project": "core",
|
||||||
|
"display": "headless Gamescope 1280x720/30Hz",
|
||||||
|
"dedicated_server": false,
|
||||||
|
"audio": "silent sink and per-test-stream mute"
|
||||||
|
}
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
# Extraction anywhere — 28 October 2026
|
||||||
|
|
||||||
|
Original Everon now includes extraction in random clear-ground placement. Its
|
||||||
|
former airport coordinate remains only a checked fallback, not the first choice.
|
||||||
|
Automatic terrain placement samples world bounds from the first candidate and
|
||||||
|
no longer starts with an airport discovery/preference pass. Authored scenarios
|
||||||
|
can still explicitly require an airfield for their own fixed pads.
|
||||||
|
|
||||||
|
Primary dry-ground and aircraft/overhead clearance, guard footing, rescue-fleet
|
||||||
|
space and the prison-relative escape boundary remain required. Terrain-independent
|
||||||
|
placement also retains its streamed-navigation checks. Original Everon now checks
|
||||||
|
the primary aircraft footprint before committing a random candidate and checks
|
||||||
|
extraction-to-prison escape range in either placement order. The final site-spawn
|
||||||
|
check applies to randomized original-Everon pads as well as terrain-generated ones.
|
||||||
|
Scenario validation now accepts extraction's `RandomClear` flag.
|
||||||
|
|
||||||
|
## Verification
|
||||||
|
|
||||||
|
The full `python3 tools/check.py` run passed, with output in `repository-checks.log`.
|
||||||
|
The final validation-rule change and boundary tests also passed separately in
|
||||||
|
`final-generated-site-checks.log`. The focused terrain scheduler and maintenance
|
||||||
|
stock checks passed. Generated-menu freshness and `git diff --check` passed.
|
||||||
|
|
||||||
|
The native fixture uses frozen production addon sources and a private Workbench
|
||||||
|
profile. It keeps the live scenario definitions and normal generation instead
|
||||||
|
of switching to the historical fixed-site catalog. `--terrain` enables the actual
|
||||||
|
terrain-independent placement path on Everon's native world/navigation. Neither
|
||||||
|
mode bypasses ground, clearance or navigation checks.
|
||||||
|
|
||||||
|
Original-Everon run E3 completed normal preparation and admitted a player. It
|
||||||
|
selected an extraction point approximately 5,885 m from the former airport pad
|
||||||
|
and 684 m from the prison, without falling back to authored coordinates. The
|
||||||
|
fixture verified the resolved non-airfield definition, escape-boundary distance,
|
||||||
|
dry ground and rescue-fleet space. Evidence is in `original-everon/`.
|
||||||
|
|
||||||
|
Terrain-independent run E4 also completed normal preparation and player admission.
|
||||||
|
It selected a landing zone approximately 6,665 m from the old airport pad and
|
||||||
|
1,399 m from the prison. Evidence is in `terrain-independent/`. Both final runs
|
||||||
|
report `smoke-completed`, no script/runtime failures, confirmed private-profile
|
||||||
|
cleanup, and unchanged production sources and installed dependencies.
|
||||||
|
|
||||||
|
The first diagnostic run E1 exceeded the native compiler's expression limit in
|
||||||
|
a test-only fixture exclusion. E2 exposed the production definition validator's
|
||||||
|
old rejection of randomized extraction. Both were corrected before E3. Their
|
||||||
|
private test profiles were cleaned; the failed diagnostics were not treated as
|
||||||
|
successful verification.
|
||||||
|
|
||||||
|
These are scripted local Workbench checks, not dedicated multiplayer or a complete
|
||||||
|
rescue-flight/landing test. The strict native report still lists installed
|
||||||
|
localization resource and world-property errors, so its process exit code is
|
||||||
|
nonzero even when smoke assertions complete. Consult the raw runner report for
|
||||||
|
those errors and the separate cleanup/source-integrity results.
|
||||||
|
|
||||||
|
Reproduce with fresh alphanumeric suffixes:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
python3 docs/evidence/extraction-anywhere-2026-10-28/isolated-runner.py E5
|
||||||
|
python3 docs/evidence/extraction-anywhere-2026-10-28/isolated-runner.py E6 --terrain
|
||||||
|
```
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
PASS: actual generation scheduler bounds each tick, enforces deadline/candidate ceiling, validates fallback, commits only accepted positions, skips only dispensable sites, preserves required objectives/intel, and resets the next search budget
|
||||||
|
PASS: actual background activation waits an hour empty without consuming placement time; disconnect does not reset active budget
|
||||||
|
PASS: actual separation keeps randomized extraction within the escape boundary in both placement orders, including fallback
|
||||||
|
PASS: scenario validation admits randomized extraction definitions and rejects unsupported randomized site kinds
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
"""Frozen local Workbench extraction-anywhere fixture; no live server or installed asset writes."""
|
||||||
|
from pathlib import Path
|
||||||
|
import hashlib,json,shutil,subprocess,sys
|
||||||
|
ROOT=Path(__file__).resolve().parents[3]
|
||||||
|
sys.path.insert(0,str(ROOT/'tools'))
|
||||||
|
from source_manifest import addon_manifest
|
||||||
|
from headless_game import assert_prefix_idle
|
||||||
|
name=sys.argv[1]
|
||||||
|
if not name.isalnum(): raise ValueError('Use an alphanumeric run suffix')
|
||||||
|
source=Path('/tmp/erri-extraction-anywhere-source-'+name)
|
||||||
|
profile=Path('/tmp/erri-extraction-anywhere-run-'+name)
|
||||||
|
compat=ROOT/'.local/playtest-compat-20260920'
|
||||||
|
assert_prefix_idle(compat)
|
||||||
|
source.mkdir();profile.mkdir()
|
||||||
|
for rel in addon_manifest(ROOT):
|
||||||
|
target=source/rel;target.parent.mkdir(parents=True,exist_ok=True);shutil.copy2(ROOT/rel,target)
|
||||||
|
shutil.copytree(ROOT/'tools',source/'tools',ignore=shutil.ignore_patterns('__pycache__'))
|
||||||
|
(source/'docs').mkdir();shutil.copy2(ROOT/'docs/external-addons.json',source/'docs/external-addons.json')
|
||||||
|
fixture=Path(__file__).with_name('native-fixture.c')
|
||||||
|
shutil.copy2(fixture,source/'addons/core/Scripts/Game/ERR/00_Core/ERR_ZExtractionAnywhereFixture.c')
|
||||||
|
# Opt-in fixture is independent of the historical generic Core smoke.
|
||||||
|
p=source/'addons/core/Scripts/Game/ERR/00_Core/ERR_NativeBaseSmoke.c'
|
||||||
|
p.write_text(p.read_text().replace('array<string> independentFixtures = {','array<string> independentFixtures = {"anywhere-extraction", '))
|
||||||
|
p=source/'tools/headless_workbench.py'
|
||||||
|
p.write_text(p.read_text().replace("choices=['coordinated-ai',", "choices=['anywhere-extraction', 'coordinated-ai',").replace("a.smoke not in {'coordinated-ai',", "a.smoke not in {'anywhere-extraction', 'coordinated-ai',"))
|
||||||
|
# Keep the production scenario definitions and random placement for this opt-in fixture.
|
||||||
|
p=source/'addons/core/Scripts/Game/ERR/00_Core/ERR_ScenarioComponent.c'
|
||||||
|
s=p.read_text().replace('historicalFixture != "normal-escape-route"', 'historicalFixture != "anywhere-extraction"').replace('fixture != "normal-escape-route"', 'fixture != "anywhere-extraction"')
|
||||||
|
p.write_text(s)
|
||||||
|
if '--terrain' in sys.argv:
|
||||||
|
p=source/'tools/headless_workbench.py'
|
||||||
|
p.write_text(p.read_text().replace("'-noThrow',", "'-errExtractionTerrain', '1', '-noThrow',"))
|
||||||
|
installed=Path.home()/'.local/share/Steam/steamapps/compatdata/1874880/pfx/drive_c/users/steamuser/Documents/My Games/ArmaReforger/addons'
|
||||||
|
(profile/'profile').mkdir()
|
||||||
|
(profile/'profile/EscapistsFactions.json').write_text(json.dumps({'escapists':'ussr','enemy':'us','independent':'fia'})+'\n')
|
||||||
|
(profiles:=profile/'fixture-inputs.json').write_text(json.dumps({'fixture_sha256':hashlib.sha256(fixture.read_bytes()).hexdigest(),'production_sources':addon_manifest(ROOT),'source':str(source),'profile':str(profile)},indent=2)+'\n')
|
||||||
|
command=[sys.executable,str(source/'tools/headless_workbench.py'),'--compat',str(compat),'--profile',str(profile),'--external-addons',str(installed),'--project','core','--smoke','anywhere-extraction','--rounds','1','--timeout','300']
|
||||||
|
with (profile/'runner-output.log').open('w') as output:
|
||||||
|
result=subprocess.run(command,stdout=output,stderr=subprocess.STDOUT)
|
||||||
|
print(json.dumps({'exit':result.returncode,'source':str(source),'profile':str(profile)}))
|
||||||
|
print('\n'.join((profile/'runner-output.log').read_text().splitlines()[-45:]))
|
||||||
|
raise SystemExit(result.returncode)
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user