-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.sqf
62 lines (51 loc) · 1.73 KB
/
init.sqf
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
// FAR Revive system
call compileFinal preprocessFileLineNumbers "FAR_revive\FAR_revive_init.sqf";
enableSaving [false, false];
RscSpectator_allowFreeCam = false;
X_Server = false;
X_Client = false;
X_JIP = false;
StartProgress = false;
/////////////////////////////////////
// Réglages Task Force Radio //
/////////////////////////////////////
/*
tf_radio_channel_name = "SALON TFR"; // Nom du Channel TeamSpeak
tf_radio_channel_password = "12691269"; // Mot de passe du channel TeamSpeak
TF_terrain_interception_coefficient = 4.0; // Réglage de l'interception sur le terrain
player setVariable ["tf_unable_to_use_radio", false]; // Permet d'autoriser la radio ou non ( False = autoriser, true = refuser )
tf_no_auto_long_range_radio = true; // Permet de donner une radio long porter ou non
*/
if(!isDedicated) then { X_Client = true;};
enableSaving[false,false];
if(isDedicated && isNil("life_market_prices")) then
{
[] call life_fnc_marketconfiguration;
diag_log "Market prices generated!";
};
if (hasInterface) then {[] execVM "monitor\info.sqf";};
life_versionInfo = "Tanoa Life RPG v3.1.3.5";
/* ===================== */
/* ====== ADDONS ======= */
/* ===================== */
//Load Briefing
[] execVM "briefing.sqf";
[] execVM "KRON_Strings.sqf";
// Attention, réduis les FPS : TO DO : Optimize with no while(true)
//[] execVM "addons\anti-hack.sqf";
[] execVM "addons\fastrope.sqf";
// WTF ??
//[] execVM "core\inventory\init.sqf";
StartProgress = true;
MISSION_ROOT = call {
private "_arr";
_arr = toArray str missionConfigFile;
_arr resize (count _arr - 15);
toString _arr
};
/* Komodo: j'y comprends rien...!
if (isDedicated) then
{
execFSM "core\fsm\server.fsm"; //Komodo: added for market random changes
};
*/