forked from genesis92x/VcomAI-3.0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.cpp
63 lines (50 loc) · 1.23 KB
/
config.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#include "common_includes.hpp"
//Extra config needed if we build VCOM as an addon, rather than integrate it into a mission.
#ifndef USE_VCOM_IN_MISSION
#include "BIS_AddonInfo.hpp"
class CfgPatches
{
class VCOM_AI
{
units[] = {};
weapons[] = {};
requiredAddons[] = {};
author[]= {"Genesis"};
};
};
#endif
class CfgFunctions
{
class VCOMlaunch
{
class VCOM_Initialization
{
class Init
{
file = STRINGIFY(VCOM_PREFIX\VcomInit.sqf);
#ifndef USE_VCOM_IN_MISSION
postInit = 1;
#endif
};
};
};
#include "cfgFunctions.hpp"
};
class Extended_PreInit_EventHandlers {
VCM_CBASettings = call compile preprocessFileLineNumbers STRINGIFY(VCOM_PREFIX\Functions\VCM_Functions\fn_CBASettings.sqf);
};
class CfgRemoteExec
{
// List of script functions allowed to be sent from client via remoteExec
class Functions
{
mode = 2;
jip = 1;
class vcm_serverask { allowedTargets = 0;jip = 1; };
class VCM_PublicScript { allowedTargets = 0;jip = 1; };
class BIS_fnc_debugConsoleExec { allowedTargets = 0;jip = 1; };
class SpawnScript { allowedTargets = 0;jip = 1; };
class enableSimulationGlobal { allowedTargets = 0;jip = 1; };
class VCM_fnc_KnowAbout { allowedTargets = 0;jip = 1; };
};
};