Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_AutotestFramework.c
Go to the documentation of this file.
1
/*
2
This file integrates the Autotest Framework into the game project.
3
*/
4
5
modded
class
SCR_AutotestHelper
6
{
7
static
const
ResourceName WORLD_EMPTY =
"{B82E6DD9E16C665E}worlds/Autotest/Empty.ent"
;
8
static
const
ResourceName WORLD_AUTOTEST_PLAIN =
"{3048828FE14AE687}worlds/Autotest/Autotest_GameMode_Plain.ent"
;
9
static
const
ResourceName WORLD_MPTEST =
"{96A8AF57260A7392}worlds/MP/MpTest/MpTest.ent"
;
10
11
static
const
ResourceName SYSTEMS_CONFIG_BASE =
"{1C60D2EDA2B468B8}Configs/Systems/BaseGameModeSystems.conf"
;
12
13
override
static
ResourceName GetDefaultWorld()
14
{
15
return
WORLD_AUTOTEST_PLAIN;
16
}
17
18
override
static
ResourceName GetDefaultSystemsConfig()
19
{
20
return
GetGame
().GetSystemsConfig();
21
}
22
23
override
static
string
GetDefaultLaunchParams()
24
{
25
return
"-profile ArmaReforger/autotest\n-logLevel debug\n-noFocus\n-forceUpdate\n-noThrow\n-window\n"
;
26
}
27
28
override
static
bool
RequestScenarioChangeTransition
(ResourceName mapResource, ResourceName worldSystemsConfigResourceName)
29
{
30
string
mapPath = mapResource.GetPath();
31
return
GameStateTransitions.RequestScenarioChangeTransition(
32
mapPath,
33
worldSystemsConfigResourceName,
34
addonList:
"58D0FB3206B6F859"
35
);
36
}
37
}
GetGame
ArmaReforgerScripted GetGame()
Definition
game.c:1398
SCR_AutotestHelper
Definition
SCR_AutotestHelper.c:4
SCR_AutotestHelper::RequestScenarioChangeTransition
static bool RequestScenarioChangeTransition(ResourceName mapResource, ResourceName worldSystemsConfigResourceName)
Game specific way to transition to world for testing.
scripts
Game
Tests
TestFramework
SCR_AutotestFramework.c
Generated by
1.17.0