mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
test fix for login
This commit is contained in:
parent
3c11332ea3
commit
b5cb2787f4
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -28,7 +28,7 @@ item23[] = {"Wrong_Server_Ver",4,218,125.000000,475.000000,225.000000,525.000000
|
||||
item24[] = {"true",8,218,-150.000000,1125.000000,-50.000000,1175.000000,0.000000,"true"};
|
||||
item25[] = {"ERROR_Wrong_Server",2,250,275.000000,475.000000,375.000000,525.000000,0.000000,"ERROR" \n "Wrong" \n "Server Version"};
|
||||
item26[] = {"Display_Message",4,218,600.000000,1150.000000,700.000000,1200.000000,0.000000,"" \n "Display Message" \n "Wait..."};
|
||||
item27[] = {"Setup_Player_Obj",2,4346,-25.000000,975.000000,75.000000,1025.000000,0.000000,"Setup Player" \n "Object"};
|
||||
item27[] = {"Setup_Player_Obj",2,250,-25.000000,975.000000,75.000000,1025.000000,0.000000,"Setup Player" \n "Object"};
|
||||
item28[] = {"Check_if_Player",4,218,750.000000,1225.000000,850.000000,1275.000000,0.000000,"Check if" \n "Player got Kicked"};
|
||||
item29[] = {"Preload_done",8,218,-150.000000,1425.000000,-50.000000,1475.000000,0.000000,"Preload" \n "done"};
|
||||
item30[] = {"",7,210,471.000000,796.000000,479.000000,804.000000,0.000000,""};
|
||||
@ -62,7 +62,7 @@ item57[] = {"Select_Weapon",2,250,150.000000,1300.000000,250.000000,1350.000000,
|
||||
item58[] = {"true",8,218,225.000000,1375.000000,325.000000,1425.000000,0.000000,"true"};
|
||||
item59[] = {"Do_nothing",2,250,300.000000,1300.000000,400.000000,1350.000000,0.000000,"Do nothing"};
|
||||
item60[] = {"Check_New_Player",2,250,-25.000000,875.000000,75.000000,925.000000,0.000000,"Check" \n "New Player" \n "Setup"};
|
||||
item61[] = {"check_new__player",4,218,-150.000000,925.000000,-50.000000,975.000000,0.000000,"check new " \n "player not null"};
|
||||
item61[] = {"check_new__player",4,4314,-150.000000,925.000000,-50.000000,975.000000,0.000000,"check new " \n "player not null"};
|
||||
item62[] = {"true",8,218,-150.000000,-325.000000,-50.000000,-275.000000,0.000000,"true"};
|
||||
item63[] = {"Process_1",2,250,-25.000000,-275.000000,75.000000,-225.000000,0.000000,"Process"};
|
||||
item64[] = {"Wait_ArmA_Loading",4,218,-150.000000,-225.000000,-50.000000,-175.000000,0.000000,"Wait ArmA" \n "Loading Screen" \n "Done"};
|
||||
@ -190,8 +190,8 @@ link97[] = {85,79};
|
||||
link98[] = {86,16};
|
||||
link99[] = {86,22};
|
||||
link100[] = {87,31};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-207.564026,582.257507,1595.816406,409.736633,586,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,890,78,1370,78,3,604};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-207.564026,582.257507,1746.772461,560.692383,586,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,994,182,1474,182,3,604};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@ -1037,7 +1037,7 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Setup_Player_Obj";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject)"/*%FSM</CONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]}"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
|
@ -305,9 +305,8 @@ if (typename _this == "ARRAY") then {
|
||||
diag_log format["DEBUG (Load Player) Set Group: %1", _plyrGroup];
|
||||
};
|
||||
|
||||
_newPlyr setVariable["SETUP", true];
|
||||
_newPlyr setVariable["PUID", _plyrUID];
|
||||
|
||||
_newPlyr setVariable["PUID", _plyrUID];
|
||||
|
||||
if !(_vars isEqualTo[]) then {
|
||||
_newPlyr setVariable["VARS", _vars];
|
||||
@ -321,6 +320,8 @@ if (typename _this == "ARRAY") then {
|
||||
_newPlyr setVariable["REVIVE", _canBeRevived]
|
||||
};
|
||||
[_plyrNetID, _plyrUID, [_newPlyr, _vars, _currWeap, count(magazines _newPlyr), _plyrGroup, _canBeRevived, _newPlyr call EPOCH_server_setPToken]] call EPOCH_server_pushPlayer;
|
||||
|
||||
_newPlyr setVariable["SETUP", true, true];
|
||||
};
|
||||
} else {
|
||||
diag_log format["LOGIN FAILED UNIT NULL: %1 [%2|%3]", _plyr, _group, count allgroups];
|
||||
|
1398
Sources/mpmissions/epoch.Altis/System/player_login.fsm
Normal file
1398
Sources/mpmissions/epoch.Altis/System/player_login.fsm
Normal file
File diff suppressed because it is too large
Load Diff
@ -50,6 +50,7 @@ class cfgFunctions
|
||||
};
|
||||
class postinit
|
||||
{
|
||||
file = "init\fn_postinit.sqf";
|
||||
postInit = 1;
|
||||
};
|
||||
};
|
||||
|
76
Sources/mpmissions/epoch.Altis/init/client_init.sqf
Normal file
76
Sources/mpmissions/epoch.Altis/init/client_init.sqf
Normal file
@ -0,0 +1,76 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize variables used client side and start login FSM
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/client_init.sqf
|
||||
*/
|
||||
//Variables
|
||||
EPOCH_CraftingItem = "";
|
||||
EPOCH_ESP_TARGETS = [];
|
||||
EPOCH_ESPMAP_TARGETS = [];
|
||||
EPOCH_ESPGROUPS = [];
|
||||
EPOCH_ESPGROUPCOLORS = [];
|
||||
EPOCH_ESP_PLAYER = false;
|
||||
EPOCH_ESP_VEHICLES = false;
|
||||
EPOCH_ESP_VEHICLEPLAYER = [];
|
||||
EPOCH_group_level_img = ["x\addons\a3_epoch_code\data\owner.paa", "x\addons\a3_epoch_code\data\mod.paa", "x\addons\a3_epoch_code\data\member.paa"];
|
||||
if (isNil 'EPOCH_diag_fps') then {
|
||||
EPOCH_diag_fps = 0;
|
||||
};
|
||||
EPOCH_playerIsSwimming = false;
|
||||
EPOCH_lastTrash = diag_tickTime;
|
||||
EPOCH_tradeDone = false;
|
||||
EPOCH_bankBalance = 0;
|
||||
EPOCH_antiWallCount = 0;
|
||||
EPOCH_lastTargetTime = diag_tickTime;
|
||||
EPOCH_lastSave = diag_tickTime;
|
||||
EPOCH_arr_countdown = [];
|
||||
EP_light = objNull;
|
||||
EPOCH_p2ptradeTarget = objNull;
|
||||
EPOCH_lastPlayerPos = getPosATL player;
|
||||
EPOCH_Holstered = "";
|
||||
Epoch_invited_GroupUID = "";
|
||||
Epoch_invited_GroupName = "";
|
||||
Epoch_invited_GroupUIDs = [];
|
||||
Epoch_invited_GroupUIDsPrev = [];
|
||||
EPOCH_lastPlayerPos = [0,0,0];
|
||||
EPOCH_prevOffer = [];
|
||||
EPOCH_drawIcon3d = false;
|
||||
EPOCH_velTransform = false;
|
||||
EPOCH_stabilityTarget = objNull;
|
||||
EPOCH_currentVehicle = objNull;
|
||||
EPOCH_currentTarget = objNull;
|
||||
EPOCH_LootedBlds = [];
|
||||
EPOCH_soundLevel = 1;
|
||||
EPOCH_arr_interactedObjs = [];
|
||||
EPOCH_buildOption = 0;
|
||||
EPOCH_nearestLocations = [];
|
||||
onEachFrame EPOCH_onEachFrame;
|
||||
|
||||
EPOCH_LastAirDrop = time;
|
||||
EPOCH_AirDropCheck = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropFreq");
|
||||
if(EPOCH_AirDropCheck < 120)then{EPOCH_AirDropCheck = 120;};
|
||||
EPOCH_AirDropChance = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropChance");
|
||||
if(EPOCH_AirDropChance < 0)then{EPOCH_AirDropChance = 101;EPOCH_AirDropCheck = 99999;};
|
||||
|
||||
EPOCH_droneRndChance = 100;
|
||||
|
||||
// Custom Keys
|
||||
EPOCH_keysActionPressed = false; //prevents EH spam
|
||||
0 call EPOCH_clientKeyMap;
|
||||
|
||||
//ON INIT and RESPAWN
|
||||
call EPOCH_clientInit;
|
||||
|
||||
[] execFSM "\x\addons\a3_epoch_code\system\SPVEH.fsm";
|
||||
[] execFSM "system\player_login.fsm";
|
||||
|
||||
true
|
18
Sources/mpmissions/epoch.Altis/init/fn_postinit.sqf
Normal file
18
Sources/mpmissions/epoch.Altis/init/fn_postinit.sqf
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize Player
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/fn_postinit.sqf
|
||||
*/
|
||||
if (!isDedicated && isMultiplayer && hasInterface) then {
|
||||
call compile preprocessFileLineNumbers "init\client_init.sqf";
|
||||
};
|
||||
true
|
1398
Sources/mpmissions/epoch.Australia/System/player_login.fsm
Normal file
1398
Sources/mpmissions/epoch.Australia/System/player_login.fsm
Normal file
File diff suppressed because it is too large
Load Diff
@ -50,6 +50,7 @@ class cfgFunctions
|
||||
};
|
||||
class postinit
|
||||
{
|
||||
file = "init\fn_postinit.sqf";
|
||||
postInit = 1;
|
||||
};
|
||||
};
|
||||
|
76
Sources/mpmissions/epoch.Australia/init/client_init.sqf
Normal file
76
Sources/mpmissions/epoch.Australia/init/client_init.sqf
Normal file
@ -0,0 +1,76 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize variables used client side and start login FSM
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/client_init.sqf
|
||||
*/
|
||||
//Variables
|
||||
EPOCH_CraftingItem = "";
|
||||
EPOCH_ESP_TARGETS = [];
|
||||
EPOCH_ESPMAP_TARGETS = [];
|
||||
EPOCH_ESPGROUPS = [];
|
||||
EPOCH_ESPGROUPCOLORS = [];
|
||||
EPOCH_ESP_PLAYER = false;
|
||||
EPOCH_ESP_VEHICLES = false;
|
||||
EPOCH_ESP_VEHICLEPLAYER = [];
|
||||
EPOCH_group_level_img = ["x\addons\a3_epoch_code\data\owner.paa", "x\addons\a3_epoch_code\data\mod.paa", "x\addons\a3_epoch_code\data\member.paa"];
|
||||
if (isNil 'EPOCH_diag_fps') then {
|
||||
EPOCH_diag_fps = 0;
|
||||
};
|
||||
EPOCH_playerIsSwimming = false;
|
||||
EPOCH_lastTrash = diag_tickTime;
|
||||
EPOCH_tradeDone = false;
|
||||
EPOCH_bankBalance = 0;
|
||||
EPOCH_antiWallCount = 0;
|
||||
EPOCH_lastTargetTime = diag_tickTime;
|
||||
EPOCH_lastSave = diag_tickTime;
|
||||
EPOCH_arr_countdown = [];
|
||||
EP_light = objNull;
|
||||
EPOCH_p2ptradeTarget = objNull;
|
||||
EPOCH_lastPlayerPos = getPosATL player;
|
||||
EPOCH_Holstered = "";
|
||||
Epoch_invited_GroupUID = "";
|
||||
Epoch_invited_GroupName = "";
|
||||
Epoch_invited_GroupUIDs = [];
|
||||
Epoch_invited_GroupUIDsPrev = [];
|
||||
EPOCH_lastPlayerPos = [0,0,0];
|
||||
EPOCH_prevOffer = [];
|
||||
EPOCH_drawIcon3d = false;
|
||||
EPOCH_velTransform = false;
|
||||
EPOCH_stabilityTarget = objNull;
|
||||
EPOCH_currentVehicle = objNull;
|
||||
EPOCH_currentTarget = objNull;
|
||||
EPOCH_LootedBlds = [];
|
||||
EPOCH_soundLevel = 1;
|
||||
EPOCH_arr_interactedObjs = [];
|
||||
EPOCH_buildOption = 0;
|
||||
EPOCH_nearestLocations = [];
|
||||
onEachFrame EPOCH_onEachFrame;
|
||||
|
||||
EPOCH_LastAirDrop = time;
|
||||
EPOCH_AirDropCheck = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropFreq");
|
||||
if(EPOCH_AirDropCheck < 120)then{EPOCH_AirDropCheck = 120;};
|
||||
EPOCH_AirDropChance = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropChance");
|
||||
if(EPOCH_AirDropChance < 0)then{EPOCH_AirDropChance = 101;EPOCH_AirDropCheck = 99999;};
|
||||
|
||||
EPOCH_droneRndChance = 100;
|
||||
|
||||
// Custom Keys
|
||||
EPOCH_keysActionPressed = false; //prevents EH spam
|
||||
0 call EPOCH_clientKeyMap;
|
||||
|
||||
//ON INIT and RESPAWN
|
||||
call EPOCH_clientInit;
|
||||
|
||||
[] execFSM "\x\addons\a3_epoch_code\system\SPVEH.fsm";
|
||||
[] execFSM "system\player_login.fsm";
|
||||
|
||||
true
|
18
Sources/mpmissions/epoch.Australia/init/fn_postinit.sqf
Normal file
18
Sources/mpmissions/epoch.Australia/init/fn_postinit.sqf
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize Player
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/fn_postinit.sqf
|
||||
*/
|
||||
if (!isDedicated && isMultiplayer && hasInterface) then {
|
||||
call compile preprocessFileLineNumbers "init\client_init.sqf";
|
||||
};
|
||||
true
|
1398
Sources/mpmissions/epoch.Bootcamp_ACR/System/player_login.fsm
Normal file
1398
Sources/mpmissions/epoch.Bootcamp_ACR/System/player_login.fsm
Normal file
File diff suppressed because it is too large
Load Diff
@ -50,6 +50,7 @@ class cfgFunctions
|
||||
};
|
||||
class postinit
|
||||
{
|
||||
file = "init\fn_postinit.sqf";
|
||||
postInit = 1;
|
||||
};
|
||||
};
|
||||
|
76
Sources/mpmissions/epoch.Bootcamp_ACR/init/client_init.sqf
Normal file
76
Sources/mpmissions/epoch.Bootcamp_ACR/init/client_init.sqf
Normal file
@ -0,0 +1,76 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize variables used client side and start login FSM
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/client_init.sqf
|
||||
*/
|
||||
//Variables
|
||||
EPOCH_CraftingItem = "";
|
||||
EPOCH_ESP_TARGETS = [];
|
||||
EPOCH_ESPMAP_TARGETS = [];
|
||||
EPOCH_ESPGROUPS = [];
|
||||
EPOCH_ESPGROUPCOLORS = [];
|
||||
EPOCH_ESP_PLAYER = false;
|
||||
EPOCH_ESP_VEHICLES = false;
|
||||
EPOCH_ESP_VEHICLEPLAYER = [];
|
||||
EPOCH_group_level_img = ["x\addons\a3_epoch_code\data\owner.paa", "x\addons\a3_epoch_code\data\mod.paa", "x\addons\a3_epoch_code\data\member.paa"];
|
||||
if (isNil 'EPOCH_diag_fps') then {
|
||||
EPOCH_diag_fps = 0;
|
||||
};
|
||||
EPOCH_playerIsSwimming = false;
|
||||
EPOCH_lastTrash = diag_tickTime;
|
||||
EPOCH_tradeDone = false;
|
||||
EPOCH_bankBalance = 0;
|
||||
EPOCH_antiWallCount = 0;
|
||||
EPOCH_lastTargetTime = diag_tickTime;
|
||||
EPOCH_lastSave = diag_tickTime;
|
||||
EPOCH_arr_countdown = [];
|
||||
EP_light = objNull;
|
||||
EPOCH_p2ptradeTarget = objNull;
|
||||
EPOCH_lastPlayerPos = getPosATL player;
|
||||
EPOCH_Holstered = "";
|
||||
Epoch_invited_GroupUID = "";
|
||||
Epoch_invited_GroupName = "";
|
||||
Epoch_invited_GroupUIDs = [];
|
||||
Epoch_invited_GroupUIDsPrev = [];
|
||||
EPOCH_lastPlayerPos = [0,0,0];
|
||||
EPOCH_prevOffer = [];
|
||||
EPOCH_drawIcon3d = false;
|
||||
EPOCH_velTransform = false;
|
||||
EPOCH_stabilityTarget = objNull;
|
||||
EPOCH_currentVehicle = objNull;
|
||||
EPOCH_currentTarget = objNull;
|
||||
EPOCH_LootedBlds = [];
|
||||
EPOCH_soundLevel = 1;
|
||||
EPOCH_arr_interactedObjs = [];
|
||||
EPOCH_buildOption = 0;
|
||||
EPOCH_nearestLocations = [];
|
||||
onEachFrame EPOCH_onEachFrame;
|
||||
|
||||
EPOCH_LastAirDrop = time;
|
||||
EPOCH_AirDropCheck = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropFreq");
|
||||
if(EPOCH_AirDropCheck < 120)then{EPOCH_AirDropCheck = 120;};
|
||||
EPOCH_AirDropChance = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropChance");
|
||||
if(EPOCH_AirDropChance < 0)then{EPOCH_AirDropChance = 101;EPOCH_AirDropCheck = 99999;};
|
||||
|
||||
EPOCH_droneRndChance = 100;
|
||||
|
||||
// Custom Keys
|
||||
EPOCH_keysActionPressed = false; //prevents EH spam
|
||||
0 call EPOCH_clientKeyMap;
|
||||
|
||||
//ON INIT and RESPAWN
|
||||
call EPOCH_clientInit;
|
||||
|
||||
[] execFSM "\x\addons\a3_epoch_code\system\SPVEH.fsm";
|
||||
[] execFSM "system\player_login.fsm";
|
||||
|
||||
true
|
18
Sources/mpmissions/epoch.Bootcamp_ACR/init/fn_postinit.sqf
Normal file
18
Sources/mpmissions/epoch.Bootcamp_ACR/init/fn_postinit.sqf
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize Player
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/fn_postinit.sqf
|
||||
*/
|
||||
if (!isDedicated && isMultiplayer && hasInterface) then {
|
||||
call compile preprocessFileLineNumbers "init\client_init.sqf";
|
||||
};
|
||||
true
|
1398
Sources/mpmissions/epoch.Bornholm/System/player_login.fsm
Normal file
1398
Sources/mpmissions/epoch.Bornholm/System/player_login.fsm
Normal file
File diff suppressed because it is too large
Load Diff
@ -50,6 +50,7 @@ class cfgFunctions
|
||||
};
|
||||
class postinit
|
||||
{
|
||||
file = "init\fn_postinit.sqf";
|
||||
postInit = 1;
|
||||
};
|
||||
};
|
||||
|
76
Sources/mpmissions/epoch.Bornholm/init/client_init.sqf
Normal file
76
Sources/mpmissions/epoch.Bornholm/init/client_init.sqf
Normal file
@ -0,0 +1,76 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize variables used client side and start login FSM
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/client_init.sqf
|
||||
*/
|
||||
//Variables
|
||||
EPOCH_CraftingItem = "";
|
||||
EPOCH_ESP_TARGETS = [];
|
||||
EPOCH_ESPMAP_TARGETS = [];
|
||||
EPOCH_ESPGROUPS = [];
|
||||
EPOCH_ESPGROUPCOLORS = [];
|
||||
EPOCH_ESP_PLAYER = false;
|
||||
EPOCH_ESP_VEHICLES = false;
|
||||
EPOCH_ESP_VEHICLEPLAYER = [];
|
||||
EPOCH_group_level_img = ["x\addons\a3_epoch_code\data\owner.paa", "x\addons\a3_epoch_code\data\mod.paa", "x\addons\a3_epoch_code\data\member.paa"];
|
||||
if (isNil 'EPOCH_diag_fps') then {
|
||||
EPOCH_diag_fps = 0;
|
||||
};
|
||||
EPOCH_playerIsSwimming = false;
|
||||
EPOCH_lastTrash = diag_tickTime;
|
||||
EPOCH_tradeDone = false;
|
||||
EPOCH_bankBalance = 0;
|
||||
EPOCH_antiWallCount = 0;
|
||||
EPOCH_lastTargetTime = diag_tickTime;
|
||||
EPOCH_lastSave = diag_tickTime;
|
||||
EPOCH_arr_countdown = [];
|
||||
EP_light = objNull;
|
||||
EPOCH_p2ptradeTarget = objNull;
|
||||
EPOCH_lastPlayerPos = getPosATL player;
|
||||
EPOCH_Holstered = "";
|
||||
Epoch_invited_GroupUID = "";
|
||||
Epoch_invited_GroupName = "";
|
||||
Epoch_invited_GroupUIDs = [];
|
||||
Epoch_invited_GroupUIDsPrev = [];
|
||||
EPOCH_lastPlayerPos = [0,0,0];
|
||||
EPOCH_prevOffer = [];
|
||||
EPOCH_drawIcon3d = false;
|
||||
EPOCH_velTransform = false;
|
||||
EPOCH_stabilityTarget = objNull;
|
||||
EPOCH_currentVehicle = objNull;
|
||||
EPOCH_currentTarget = objNull;
|
||||
EPOCH_LootedBlds = [];
|
||||
EPOCH_soundLevel = 1;
|
||||
EPOCH_arr_interactedObjs = [];
|
||||
EPOCH_buildOption = 0;
|
||||
EPOCH_nearestLocations = [];
|
||||
onEachFrame EPOCH_onEachFrame;
|
||||
|
||||
EPOCH_LastAirDrop = time;
|
||||
EPOCH_AirDropCheck = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropFreq");
|
||||
if(EPOCH_AirDropCheck < 120)then{EPOCH_AirDropCheck = 120;};
|
||||
EPOCH_AirDropChance = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropChance");
|
||||
if(EPOCH_AirDropChance < 0)then{EPOCH_AirDropChance = 101;EPOCH_AirDropCheck = 99999;};
|
||||
|
||||
EPOCH_droneRndChance = 100;
|
||||
|
||||
// Custom Keys
|
||||
EPOCH_keysActionPressed = false; //prevents EH spam
|
||||
0 call EPOCH_clientKeyMap;
|
||||
|
||||
//ON INIT and RESPAWN
|
||||
call EPOCH_clientInit;
|
||||
|
||||
[] execFSM "\x\addons\a3_epoch_code\system\SPVEH.fsm";
|
||||
[] execFSM "system\player_login.fsm";
|
||||
|
||||
true
|
18
Sources/mpmissions/epoch.Bornholm/init/fn_postinit.sqf
Normal file
18
Sources/mpmissions/epoch.Bornholm/init/fn_postinit.sqf
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize Player
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/fn_postinit.sqf
|
||||
*/
|
||||
if (!isDedicated && isMultiplayer && hasInterface) then {
|
||||
call compile preprocessFileLineNumbers "init\client_init.sqf";
|
||||
};
|
||||
true
|
1398
Sources/mpmissions/epoch.Chernarus/System/player_login.fsm
Normal file
1398
Sources/mpmissions/epoch.Chernarus/System/player_login.fsm
Normal file
File diff suppressed because it is too large
Load Diff
@ -50,6 +50,7 @@ class cfgFunctions
|
||||
};
|
||||
class postinit
|
||||
{
|
||||
file = "init\fn_postinit.sqf";
|
||||
postInit = 1;
|
||||
};
|
||||
};
|
||||
|
76
Sources/mpmissions/epoch.Chernarus/init/client_init.sqf
Normal file
76
Sources/mpmissions/epoch.Chernarus/init/client_init.sqf
Normal file
@ -0,0 +1,76 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize variables used client side and start login FSM
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/client_init.sqf
|
||||
*/
|
||||
//Variables
|
||||
EPOCH_CraftingItem = "";
|
||||
EPOCH_ESP_TARGETS = [];
|
||||
EPOCH_ESPMAP_TARGETS = [];
|
||||
EPOCH_ESPGROUPS = [];
|
||||
EPOCH_ESPGROUPCOLORS = [];
|
||||
EPOCH_ESP_PLAYER = false;
|
||||
EPOCH_ESP_VEHICLES = false;
|
||||
EPOCH_ESP_VEHICLEPLAYER = [];
|
||||
EPOCH_group_level_img = ["x\addons\a3_epoch_code\data\owner.paa", "x\addons\a3_epoch_code\data\mod.paa", "x\addons\a3_epoch_code\data\member.paa"];
|
||||
if (isNil 'EPOCH_diag_fps') then {
|
||||
EPOCH_diag_fps = 0;
|
||||
};
|
||||
EPOCH_playerIsSwimming = false;
|
||||
EPOCH_lastTrash = diag_tickTime;
|
||||
EPOCH_tradeDone = false;
|
||||
EPOCH_bankBalance = 0;
|
||||
EPOCH_antiWallCount = 0;
|
||||
EPOCH_lastTargetTime = diag_tickTime;
|
||||
EPOCH_lastSave = diag_tickTime;
|
||||
EPOCH_arr_countdown = [];
|
||||
EP_light = objNull;
|
||||
EPOCH_p2ptradeTarget = objNull;
|
||||
EPOCH_lastPlayerPos = getPosATL player;
|
||||
EPOCH_Holstered = "";
|
||||
Epoch_invited_GroupUID = "";
|
||||
Epoch_invited_GroupName = "";
|
||||
Epoch_invited_GroupUIDs = [];
|
||||
Epoch_invited_GroupUIDsPrev = [];
|
||||
EPOCH_lastPlayerPos = [0,0,0];
|
||||
EPOCH_prevOffer = [];
|
||||
EPOCH_drawIcon3d = false;
|
||||
EPOCH_velTransform = false;
|
||||
EPOCH_stabilityTarget = objNull;
|
||||
EPOCH_currentVehicle = objNull;
|
||||
EPOCH_currentTarget = objNull;
|
||||
EPOCH_LootedBlds = [];
|
||||
EPOCH_soundLevel = 1;
|
||||
EPOCH_arr_interactedObjs = [];
|
||||
EPOCH_buildOption = 0;
|
||||
EPOCH_nearestLocations = [];
|
||||
onEachFrame EPOCH_onEachFrame;
|
||||
|
||||
EPOCH_LastAirDrop = time;
|
||||
EPOCH_AirDropCheck = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropFreq");
|
||||
if(EPOCH_AirDropCheck < 120)then{EPOCH_AirDropCheck = 120;};
|
||||
EPOCH_AirDropChance = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropChance");
|
||||
if(EPOCH_AirDropChance < 0)then{EPOCH_AirDropChance = 101;EPOCH_AirDropCheck = 99999;};
|
||||
|
||||
EPOCH_droneRndChance = 100;
|
||||
|
||||
// Custom Keys
|
||||
EPOCH_keysActionPressed = false; //prevents EH spam
|
||||
0 call EPOCH_clientKeyMap;
|
||||
|
||||
//ON INIT and RESPAWN
|
||||
call EPOCH_clientInit;
|
||||
|
||||
[] execFSM "\x\addons\a3_epoch_code\system\SPVEH.fsm";
|
||||
[] execFSM "system\player_login.fsm";
|
||||
|
||||
true
|
18
Sources/mpmissions/epoch.Chernarus/init/fn_postinit.sqf
Normal file
18
Sources/mpmissions/epoch.Chernarus/init/fn_postinit.sqf
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize Player
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/fn_postinit.sqf
|
||||
*/
|
||||
if (!isDedicated && isMultiplayer && hasInterface) then {
|
||||
call compile preprocessFileLineNumbers "init\client_init.sqf";
|
||||
};
|
||||
true
|
1398
Sources/mpmissions/epoch.Chernarus_Summer/System/player_login.fsm
Normal file
1398
Sources/mpmissions/epoch.Chernarus_Summer/System/player_login.fsm
Normal file
File diff suppressed because it is too large
Load Diff
@ -50,6 +50,7 @@ class cfgFunctions
|
||||
};
|
||||
class postinit
|
||||
{
|
||||
file = "init\fn_postinit.sqf";
|
||||
postInit = 1;
|
||||
};
|
||||
};
|
||||
|
@ -0,0 +1,76 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize variables used client side and start login FSM
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/client_init.sqf
|
||||
*/
|
||||
//Variables
|
||||
EPOCH_CraftingItem = "";
|
||||
EPOCH_ESP_TARGETS = [];
|
||||
EPOCH_ESPMAP_TARGETS = [];
|
||||
EPOCH_ESPGROUPS = [];
|
||||
EPOCH_ESPGROUPCOLORS = [];
|
||||
EPOCH_ESP_PLAYER = false;
|
||||
EPOCH_ESP_VEHICLES = false;
|
||||
EPOCH_ESP_VEHICLEPLAYER = [];
|
||||
EPOCH_group_level_img = ["x\addons\a3_epoch_code\data\owner.paa", "x\addons\a3_epoch_code\data\mod.paa", "x\addons\a3_epoch_code\data\member.paa"];
|
||||
if (isNil 'EPOCH_diag_fps') then {
|
||||
EPOCH_diag_fps = 0;
|
||||
};
|
||||
EPOCH_playerIsSwimming = false;
|
||||
EPOCH_lastTrash = diag_tickTime;
|
||||
EPOCH_tradeDone = false;
|
||||
EPOCH_bankBalance = 0;
|
||||
EPOCH_antiWallCount = 0;
|
||||
EPOCH_lastTargetTime = diag_tickTime;
|
||||
EPOCH_lastSave = diag_tickTime;
|
||||
EPOCH_arr_countdown = [];
|
||||
EP_light = objNull;
|
||||
EPOCH_p2ptradeTarget = objNull;
|
||||
EPOCH_lastPlayerPos = getPosATL player;
|
||||
EPOCH_Holstered = "";
|
||||
Epoch_invited_GroupUID = "";
|
||||
Epoch_invited_GroupName = "";
|
||||
Epoch_invited_GroupUIDs = [];
|
||||
Epoch_invited_GroupUIDsPrev = [];
|
||||
EPOCH_lastPlayerPos = [0,0,0];
|
||||
EPOCH_prevOffer = [];
|
||||
EPOCH_drawIcon3d = false;
|
||||
EPOCH_velTransform = false;
|
||||
EPOCH_stabilityTarget = objNull;
|
||||
EPOCH_currentVehicle = objNull;
|
||||
EPOCH_currentTarget = objNull;
|
||||
EPOCH_LootedBlds = [];
|
||||
EPOCH_soundLevel = 1;
|
||||
EPOCH_arr_interactedObjs = [];
|
||||
EPOCH_buildOption = 0;
|
||||
EPOCH_nearestLocations = [];
|
||||
onEachFrame EPOCH_onEachFrame;
|
||||
|
||||
EPOCH_LastAirDrop = time;
|
||||
EPOCH_AirDropCheck = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropFreq");
|
||||
if(EPOCH_AirDropCheck < 120)then{EPOCH_AirDropCheck = 120;};
|
||||
EPOCH_AirDropChance = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropChance");
|
||||
if(EPOCH_AirDropChance < 0)then{EPOCH_AirDropChance = 101;EPOCH_AirDropCheck = 99999;};
|
||||
|
||||
EPOCH_droneRndChance = 100;
|
||||
|
||||
// Custom Keys
|
||||
EPOCH_keysActionPressed = false; //prevents EH spam
|
||||
0 call EPOCH_clientKeyMap;
|
||||
|
||||
//ON INIT and RESPAWN
|
||||
call EPOCH_clientInit;
|
||||
|
||||
[] execFSM "\x\addons\a3_epoch_code\system\SPVEH.fsm";
|
||||
[] execFSM "system\player_login.fsm";
|
||||
|
||||
true
|
@ -0,0 +1,18 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize Player
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/fn_postinit.sqf
|
||||
*/
|
||||
if (!isDedicated && isMultiplayer && hasInterface) then {
|
||||
call compile preprocessFileLineNumbers "init\client_init.sqf";
|
||||
};
|
||||
true
|
1398
Sources/mpmissions/epoch.Desert_E/System/player_login.fsm
Normal file
1398
Sources/mpmissions/epoch.Desert_E/System/player_login.fsm
Normal file
File diff suppressed because it is too large
Load Diff
@ -50,6 +50,7 @@ class cfgFunctions
|
||||
};
|
||||
class postinit
|
||||
{
|
||||
file = "init\fn_postinit.sqf";
|
||||
postInit = 1;
|
||||
};
|
||||
};
|
||||
|
76
Sources/mpmissions/epoch.Desert_E/init/client_init.sqf
Normal file
76
Sources/mpmissions/epoch.Desert_E/init/client_init.sqf
Normal file
@ -0,0 +1,76 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize variables used client side and start login FSM
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/client_init.sqf
|
||||
*/
|
||||
//Variables
|
||||
EPOCH_CraftingItem = "";
|
||||
EPOCH_ESP_TARGETS = [];
|
||||
EPOCH_ESPMAP_TARGETS = [];
|
||||
EPOCH_ESPGROUPS = [];
|
||||
EPOCH_ESPGROUPCOLORS = [];
|
||||
EPOCH_ESP_PLAYER = false;
|
||||
EPOCH_ESP_VEHICLES = false;
|
||||
EPOCH_ESP_VEHICLEPLAYER = [];
|
||||
EPOCH_group_level_img = ["x\addons\a3_epoch_code\data\owner.paa", "x\addons\a3_epoch_code\data\mod.paa", "x\addons\a3_epoch_code\data\member.paa"];
|
||||
if (isNil 'EPOCH_diag_fps') then {
|
||||
EPOCH_diag_fps = 0;
|
||||
};
|
||||
EPOCH_playerIsSwimming = false;
|
||||
EPOCH_lastTrash = diag_tickTime;
|
||||
EPOCH_tradeDone = false;
|
||||
EPOCH_bankBalance = 0;
|
||||
EPOCH_antiWallCount = 0;
|
||||
EPOCH_lastTargetTime = diag_tickTime;
|
||||
EPOCH_lastSave = diag_tickTime;
|
||||
EPOCH_arr_countdown = [];
|
||||
EP_light = objNull;
|
||||
EPOCH_p2ptradeTarget = objNull;
|
||||
EPOCH_lastPlayerPos = getPosATL player;
|
||||
EPOCH_Holstered = "";
|
||||
Epoch_invited_GroupUID = "";
|
||||
Epoch_invited_GroupName = "";
|
||||
Epoch_invited_GroupUIDs = [];
|
||||
Epoch_invited_GroupUIDsPrev = [];
|
||||
EPOCH_lastPlayerPos = [0,0,0];
|
||||
EPOCH_prevOffer = [];
|
||||
EPOCH_drawIcon3d = false;
|
||||
EPOCH_velTransform = false;
|
||||
EPOCH_stabilityTarget = objNull;
|
||||
EPOCH_currentVehicle = objNull;
|
||||
EPOCH_currentTarget = objNull;
|
||||
EPOCH_LootedBlds = [];
|
||||
EPOCH_soundLevel = 1;
|
||||
EPOCH_arr_interactedObjs = [];
|
||||
EPOCH_buildOption = 0;
|
||||
EPOCH_nearestLocations = [];
|
||||
onEachFrame EPOCH_onEachFrame;
|
||||
|
||||
EPOCH_LastAirDrop = time;
|
||||
EPOCH_AirDropCheck = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropFreq");
|
||||
if(EPOCH_AirDropCheck < 120)then{EPOCH_AirDropCheck = 120;};
|
||||
EPOCH_AirDropChance = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropChance");
|
||||
if(EPOCH_AirDropChance < 0)then{EPOCH_AirDropChance = 101;EPOCH_AirDropCheck = 99999;};
|
||||
|
||||
EPOCH_droneRndChance = 100;
|
||||
|
||||
// Custom Keys
|
||||
EPOCH_keysActionPressed = false; //prevents EH spam
|
||||
0 call EPOCH_clientKeyMap;
|
||||
|
||||
//ON INIT and RESPAWN
|
||||
call EPOCH_clientInit;
|
||||
|
||||
[] execFSM "\x\addons\a3_epoch_code\system\SPVEH.fsm";
|
||||
[] execFSM "system\player_login.fsm";
|
||||
|
||||
true
|
18
Sources/mpmissions/epoch.Desert_E/init/fn_postinit.sqf
Normal file
18
Sources/mpmissions/epoch.Desert_E/init/fn_postinit.sqf
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize Player
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/fn_postinit.sqf
|
||||
*/
|
||||
if (!isDedicated && isMultiplayer && hasInterface) then {
|
||||
call compile preprocessFileLineNumbers "init\client_init.sqf";
|
||||
};
|
||||
true
|
1398
Sources/mpmissions/epoch.Esseker/System/player_login.fsm
Normal file
1398
Sources/mpmissions/epoch.Esseker/System/player_login.fsm
Normal file
File diff suppressed because it is too large
Load Diff
@ -24,7 +24,7 @@ debriefing = 0;
|
||||
enableDebugConsole = 0;
|
||||
joinUnassigned = 0;
|
||||
respawnOnStart = 0;
|
||||
forceRotorLibSimulation = 0;
|
||||
forceRotorLibSimulation = 1;
|
||||
|
||||
corpseManagerMode = 1;
|
||||
corpseLimit = 10;
|
||||
@ -50,6 +50,7 @@ class cfgFunctions
|
||||
};
|
||||
class postinit
|
||||
{
|
||||
file = "init\fn_postinit.sqf";
|
||||
postInit = 1;
|
||||
};
|
||||
};
|
||||
|
76
Sources/mpmissions/epoch.Esseker/init/client_init.sqf
Normal file
76
Sources/mpmissions/epoch.Esseker/init/client_init.sqf
Normal file
@ -0,0 +1,76 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize variables used client side and start login FSM
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/client_init.sqf
|
||||
*/
|
||||
//Variables
|
||||
EPOCH_CraftingItem = "";
|
||||
EPOCH_ESP_TARGETS = [];
|
||||
EPOCH_ESPMAP_TARGETS = [];
|
||||
EPOCH_ESPGROUPS = [];
|
||||
EPOCH_ESPGROUPCOLORS = [];
|
||||
EPOCH_ESP_PLAYER = false;
|
||||
EPOCH_ESP_VEHICLES = false;
|
||||
EPOCH_ESP_VEHICLEPLAYER = [];
|
||||
EPOCH_group_level_img = ["x\addons\a3_epoch_code\data\owner.paa", "x\addons\a3_epoch_code\data\mod.paa", "x\addons\a3_epoch_code\data\member.paa"];
|
||||
if (isNil 'EPOCH_diag_fps') then {
|
||||
EPOCH_diag_fps = 0;
|
||||
};
|
||||
EPOCH_playerIsSwimming = false;
|
||||
EPOCH_lastTrash = diag_tickTime;
|
||||
EPOCH_tradeDone = false;
|
||||
EPOCH_bankBalance = 0;
|
||||
EPOCH_antiWallCount = 0;
|
||||
EPOCH_lastTargetTime = diag_tickTime;
|
||||
EPOCH_lastSave = diag_tickTime;
|
||||
EPOCH_arr_countdown = [];
|
||||
EP_light = objNull;
|
||||
EPOCH_p2ptradeTarget = objNull;
|
||||
EPOCH_lastPlayerPos = getPosATL player;
|
||||
EPOCH_Holstered = "";
|
||||
Epoch_invited_GroupUID = "";
|
||||
Epoch_invited_GroupName = "";
|
||||
Epoch_invited_GroupUIDs = [];
|
||||
Epoch_invited_GroupUIDsPrev = [];
|
||||
EPOCH_lastPlayerPos = [0,0,0];
|
||||
EPOCH_prevOffer = [];
|
||||
EPOCH_drawIcon3d = false;
|
||||
EPOCH_velTransform = false;
|
||||
EPOCH_stabilityTarget = objNull;
|
||||
EPOCH_currentVehicle = objNull;
|
||||
EPOCH_currentTarget = objNull;
|
||||
EPOCH_LootedBlds = [];
|
||||
EPOCH_soundLevel = 1;
|
||||
EPOCH_arr_interactedObjs = [];
|
||||
EPOCH_buildOption = 0;
|
||||
EPOCH_nearestLocations = [];
|
||||
onEachFrame EPOCH_onEachFrame;
|
||||
|
||||
EPOCH_LastAirDrop = time;
|
||||
EPOCH_AirDropCheck = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropFreq");
|
||||
if(EPOCH_AirDropCheck < 120)then{EPOCH_AirDropCheck = 120;};
|
||||
EPOCH_AirDropChance = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropChance");
|
||||
if(EPOCH_AirDropChance < 0)then{EPOCH_AirDropChance = 101;EPOCH_AirDropCheck = 99999;};
|
||||
|
||||
EPOCH_droneRndChance = 100;
|
||||
|
||||
// Custom Keys
|
||||
EPOCH_keysActionPressed = false; //prevents EH spam
|
||||
0 call EPOCH_clientKeyMap;
|
||||
|
||||
//ON INIT and RESPAWN
|
||||
call EPOCH_clientInit;
|
||||
|
||||
[] execFSM "\x\addons\a3_epoch_code\system\SPVEH.fsm";
|
||||
[] execFSM "system\player_login.fsm";
|
||||
|
||||
true
|
18
Sources/mpmissions/epoch.Esseker/init/fn_postinit.sqf
Normal file
18
Sources/mpmissions/epoch.Esseker/init/fn_postinit.sqf
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize Player
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/fn_postinit.sqf
|
||||
*/
|
||||
if (!isDedicated && isMultiplayer && hasInterface) then {
|
||||
call compile preprocessFileLineNumbers "init\client_init.sqf";
|
||||
};
|
||||
true
|
1398
Sources/mpmissions/epoch.Mountains_ACR/System/player_login.fsm
Normal file
1398
Sources/mpmissions/epoch.Mountains_ACR/System/player_login.fsm
Normal file
File diff suppressed because it is too large
Load Diff
@ -50,6 +50,7 @@ class cfgFunctions
|
||||
};
|
||||
class postinit
|
||||
{
|
||||
file = "init\fn_postinit.sqf";
|
||||
postInit = 1;
|
||||
};
|
||||
};
|
||||
|
76
Sources/mpmissions/epoch.Mountains_ACR/init/client_init.sqf
Normal file
76
Sources/mpmissions/epoch.Mountains_ACR/init/client_init.sqf
Normal file
@ -0,0 +1,76 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize variables used client side and start login FSM
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/client_init.sqf
|
||||
*/
|
||||
//Variables
|
||||
EPOCH_CraftingItem = "";
|
||||
EPOCH_ESP_TARGETS = [];
|
||||
EPOCH_ESPMAP_TARGETS = [];
|
||||
EPOCH_ESPGROUPS = [];
|
||||
EPOCH_ESPGROUPCOLORS = [];
|
||||
EPOCH_ESP_PLAYER = false;
|
||||
EPOCH_ESP_VEHICLES = false;
|
||||
EPOCH_ESP_VEHICLEPLAYER = [];
|
||||
EPOCH_group_level_img = ["x\addons\a3_epoch_code\data\owner.paa", "x\addons\a3_epoch_code\data\mod.paa", "x\addons\a3_epoch_code\data\member.paa"];
|
||||
if (isNil 'EPOCH_diag_fps') then {
|
||||
EPOCH_diag_fps = 0;
|
||||
};
|
||||
EPOCH_playerIsSwimming = false;
|
||||
EPOCH_lastTrash = diag_tickTime;
|
||||
EPOCH_tradeDone = false;
|
||||
EPOCH_bankBalance = 0;
|
||||
EPOCH_antiWallCount = 0;
|
||||
EPOCH_lastTargetTime = diag_tickTime;
|
||||
EPOCH_lastSave = diag_tickTime;
|
||||
EPOCH_arr_countdown = [];
|
||||
EP_light = objNull;
|
||||
EPOCH_p2ptradeTarget = objNull;
|
||||
EPOCH_lastPlayerPos = getPosATL player;
|
||||
EPOCH_Holstered = "";
|
||||
Epoch_invited_GroupUID = "";
|
||||
Epoch_invited_GroupName = "";
|
||||
Epoch_invited_GroupUIDs = [];
|
||||
Epoch_invited_GroupUIDsPrev = [];
|
||||
EPOCH_lastPlayerPos = [0,0,0];
|
||||
EPOCH_prevOffer = [];
|
||||
EPOCH_drawIcon3d = false;
|
||||
EPOCH_velTransform = false;
|
||||
EPOCH_stabilityTarget = objNull;
|
||||
EPOCH_currentVehicle = objNull;
|
||||
EPOCH_currentTarget = objNull;
|
||||
EPOCH_LootedBlds = [];
|
||||
EPOCH_soundLevel = 1;
|
||||
EPOCH_arr_interactedObjs = [];
|
||||
EPOCH_buildOption = 0;
|
||||
EPOCH_nearestLocations = [];
|
||||
onEachFrame EPOCH_onEachFrame;
|
||||
|
||||
EPOCH_LastAirDrop = time;
|
||||
EPOCH_AirDropCheck = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropFreq");
|
||||
if(EPOCH_AirDropCheck < 120)then{EPOCH_AirDropCheck = 120;};
|
||||
EPOCH_AirDropChance = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropChance");
|
||||
if(EPOCH_AirDropChance < 0)then{EPOCH_AirDropChance = 101;EPOCH_AirDropCheck = 99999;};
|
||||
|
||||
EPOCH_droneRndChance = 100;
|
||||
|
||||
// Custom Keys
|
||||
EPOCH_keysActionPressed = false; //prevents EH spam
|
||||
0 call EPOCH_clientKeyMap;
|
||||
|
||||
//ON INIT and RESPAWN
|
||||
call EPOCH_clientInit;
|
||||
|
||||
[] execFSM "\x\addons\a3_epoch_code\system\SPVEH.fsm";
|
||||
[] execFSM "system\player_login.fsm";
|
||||
|
||||
true
|
18
Sources/mpmissions/epoch.Mountains_ACR/init/fn_postinit.sqf
Normal file
18
Sources/mpmissions/epoch.Mountains_ACR/init/fn_postinit.sqf
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize Player
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/fn_postinit.sqf
|
||||
*/
|
||||
if (!isDedicated && isMultiplayer && hasInterface) then {
|
||||
call compile preprocessFileLineNumbers "init\client_init.sqf";
|
||||
};
|
||||
true
|
1398
Sources/mpmissions/epoch.Porto/System/player_login.fsm
Normal file
1398
Sources/mpmissions/epoch.Porto/System/player_login.fsm
Normal file
File diff suppressed because it is too large
Load Diff
@ -50,6 +50,7 @@ class cfgFunctions
|
||||
};
|
||||
class postinit
|
||||
{
|
||||
file = "init\fn_postinit.sqf";
|
||||
postInit = 1;
|
||||
};
|
||||
};
|
||||
|
76
Sources/mpmissions/epoch.Porto/init/client_init.sqf
Normal file
76
Sources/mpmissions/epoch.Porto/init/client_init.sqf
Normal file
@ -0,0 +1,76 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize variables used client side and start login FSM
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/client_init.sqf
|
||||
*/
|
||||
//Variables
|
||||
EPOCH_CraftingItem = "";
|
||||
EPOCH_ESP_TARGETS = [];
|
||||
EPOCH_ESPMAP_TARGETS = [];
|
||||
EPOCH_ESPGROUPS = [];
|
||||
EPOCH_ESPGROUPCOLORS = [];
|
||||
EPOCH_ESP_PLAYER = false;
|
||||
EPOCH_ESP_VEHICLES = false;
|
||||
EPOCH_ESP_VEHICLEPLAYER = [];
|
||||
EPOCH_group_level_img = ["x\addons\a3_epoch_code\data\owner.paa", "x\addons\a3_epoch_code\data\mod.paa", "x\addons\a3_epoch_code\data\member.paa"];
|
||||
if (isNil 'EPOCH_diag_fps') then {
|
||||
EPOCH_diag_fps = 0;
|
||||
};
|
||||
EPOCH_playerIsSwimming = false;
|
||||
EPOCH_lastTrash = diag_tickTime;
|
||||
EPOCH_tradeDone = false;
|
||||
EPOCH_bankBalance = 0;
|
||||
EPOCH_antiWallCount = 0;
|
||||
EPOCH_lastTargetTime = diag_tickTime;
|
||||
EPOCH_lastSave = diag_tickTime;
|
||||
EPOCH_arr_countdown = [];
|
||||
EP_light = objNull;
|
||||
EPOCH_p2ptradeTarget = objNull;
|
||||
EPOCH_lastPlayerPos = getPosATL player;
|
||||
EPOCH_Holstered = "";
|
||||
Epoch_invited_GroupUID = "";
|
||||
Epoch_invited_GroupName = "";
|
||||
Epoch_invited_GroupUIDs = [];
|
||||
Epoch_invited_GroupUIDsPrev = [];
|
||||
EPOCH_lastPlayerPos = [0,0,0];
|
||||
EPOCH_prevOffer = [];
|
||||
EPOCH_drawIcon3d = false;
|
||||
EPOCH_velTransform = false;
|
||||
EPOCH_stabilityTarget = objNull;
|
||||
EPOCH_currentVehicle = objNull;
|
||||
EPOCH_currentTarget = objNull;
|
||||
EPOCH_LootedBlds = [];
|
||||
EPOCH_soundLevel = 1;
|
||||
EPOCH_arr_interactedObjs = [];
|
||||
EPOCH_buildOption = 0;
|
||||
EPOCH_nearestLocations = [];
|
||||
onEachFrame EPOCH_onEachFrame;
|
||||
|
||||
EPOCH_LastAirDrop = time;
|
||||
EPOCH_AirDropCheck = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropFreq");
|
||||
if(EPOCH_AirDropCheck < 120)then{EPOCH_AirDropCheck = 120;};
|
||||
EPOCH_AirDropChance = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropChance");
|
||||
if(EPOCH_AirDropChance < 0)then{EPOCH_AirDropChance = 101;EPOCH_AirDropCheck = 99999;};
|
||||
|
||||
EPOCH_droneRndChance = 100;
|
||||
|
||||
// Custom Keys
|
||||
EPOCH_keysActionPressed = false; //prevents EH spam
|
||||
0 call EPOCH_clientKeyMap;
|
||||
|
||||
//ON INIT and RESPAWN
|
||||
call EPOCH_clientInit;
|
||||
|
||||
[] execFSM "\x\addons\a3_epoch_code\system\SPVEH.fsm";
|
||||
[] execFSM "system\player_login.fsm";
|
||||
|
||||
true
|
18
Sources/mpmissions/epoch.Porto/init/fn_postinit.sqf
Normal file
18
Sources/mpmissions/epoch.Porto/init/fn_postinit.sqf
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize Player
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/fn_postinit.sqf
|
||||
*/
|
||||
if (!isDedicated && isMultiplayer && hasInterface) then {
|
||||
call compile preprocessFileLineNumbers "init\client_init.sqf";
|
||||
};
|
||||
true
|
1398
Sources/mpmissions/epoch.ProvingGrounds_PMC/System/player_login.fsm
Normal file
1398
Sources/mpmissions/epoch.ProvingGrounds_PMC/System/player_login.fsm
Normal file
File diff suppressed because it is too large
Load Diff
@ -50,6 +50,7 @@ class cfgFunctions
|
||||
};
|
||||
class postinit
|
||||
{
|
||||
file = "init\fn_postinit.sqf";
|
||||
postInit = 1;
|
||||
};
|
||||
};
|
||||
|
@ -0,0 +1,76 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize variables used client side and start login FSM
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/client_init.sqf
|
||||
*/
|
||||
//Variables
|
||||
EPOCH_CraftingItem = "";
|
||||
EPOCH_ESP_TARGETS = [];
|
||||
EPOCH_ESPMAP_TARGETS = [];
|
||||
EPOCH_ESPGROUPS = [];
|
||||
EPOCH_ESPGROUPCOLORS = [];
|
||||
EPOCH_ESP_PLAYER = false;
|
||||
EPOCH_ESP_VEHICLES = false;
|
||||
EPOCH_ESP_VEHICLEPLAYER = [];
|
||||
EPOCH_group_level_img = ["x\addons\a3_epoch_code\data\owner.paa", "x\addons\a3_epoch_code\data\mod.paa", "x\addons\a3_epoch_code\data\member.paa"];
|
||||
if (isNil 'EPOCH_diag_fps') then {
|
||||
EPOCH_diag_fps = 0;
|
||||
};
|
||||
EPOCH_playerIsSwimming = false;
|
||||
EPOCH_lastTrash = diag_tickTime;
|
||||
EPOCH_tradeDone = false;
|
||||
EPOCH_bankBalance = 0;
|
||||
EPOCH_antiWallCount = 0;
|
||||
EPOCH_lastTargetTime = diag_tickTime;
|
||||
EPOCH_lastSave = diag_tickTime;
|
||||
EPOCH_arr_countdown = [];
|
||||
EP_light = objNull;
|
||||
EPOCH_p2ptradeTarget = objNull;
|
||||
EPOCH_lastPlayerPos = getPosATL player;
|
||||
EPOCH_Holstered = "";
|
||||
Epoch_invited_GroupUID = "";
|
||||
Epoch_invited_GroupName = "";
|
||||
Epoch_invited_GroupUIDs = [];
|
||||
Epoch_invited_GroupUIDsPrev = [];
|
||||
EPOCH_lastPlayerPos = [0,0,0];
|
||||
EPOCH_prevOffer = [];
|
||||
EPOCH_drawIcon3d = false;
|
||||
EPOCH_velTransform = false;
|
||||
EPOCH_stabilityTarget = objNull;
|
||||
EPOCH_currentVehicle = objNull;
|
||||
EPOCH_currentTarget = objNull;
|
||||
EPOCH_LootedBlds = [];
|
||||
EPOCH_soundLevel = 1;
|
||||
EPOCH_arr_interactedObjs = [];
|
||||
EPOCH_buildOption = 0;
|
||||
EPOCH_nearestLocations = [];
|
||||
onEachFrame EPOCH_onEachFrame;
|
||||
|
||||
EPOCH_LastAirDrop = time;
|
||||
EPOCH_AirDropCheck = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropFreq");
|
||||
if(EPOCH_AirDropCheck < 120)then{EPOCH_AirDropCheck = 120;};
|
||||
EPOCH_AirDropChance = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropChance");
|
||||
if(EPOCH_AirDropChance < 0)then{EPOCH_AirDropChance = 101;EPOCH_AirDropCheck = 99999;};
|
||||
|
||||
EPOCH_droneRndChance = 100;
|
||||
|
||||
// Custom Keys
|
||||
EPOCH_keysActionPressed = false; //prevents EH spam
|
||||
0 call EPOCH_clientKeyMap;
|
||||
|
||||
//ON INIT and RESPAWN
|
||||
call EPOCH_clientInit;
|
||||
|
||||
[] execFSM "\x\addons\a3_epoch_code\system\SPVEH.fsm";
|
||||
[] execFSM "system\player_login.fsm";
|
||||
|
||||
true
|
@ -0,0 +1,18 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize Player
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/fn_postinit.sqf
|
||||
*/
|
||||
if (!isDedicated && isMultiplayer && hasInterface) then {
|
||||
call compile preprocessFileLineNumbers "init\client_init.sqf";
|
||||
};
|
||||
true
|
1398
Sources/mpmissions/epoch.Sara/System/player_login.fsm
Normal file
1398
Sources/mpmissions/epoch.Sara/System/player_login.fsm
Normal file
File diff suppressed because it is too large
Load Diff
@ -50,6 +50,7 @@ class cfgFunctions
|
||||
};
|
||||
class postinit
|
||||
{
|
||||
file = "init\fn_postinit.sqf";
|
||||
postInit = 1;
|
||||
};
|
||||
};
|
||||
|
76
Sources/mpmissions/epoch.Sara/init/client_init.sqf
Normal file
76
Sources/mpmissions/epoch.Sara/init/client_init.sqf
Normal file
@ -0,0 +1,76 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize variables used client side and start login FSM
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/client_init.sqf
|
||||
*/
|
||||
//Variables
|
||||
EPOCH_CraftingItem = "";
|
||||
EPOCH_ESP_TARGETS = [];
|
||||
EPOCH_ESPMAP_TARGETS = [];
|
||||
EPOCH_ESPGROUPS = [];
|
||||
EPOCH_ESPGROUPCOLORS = [];
|
||||
EPOCH_ESP_PLAYER = false;
|
||||
EPOCH_ESP_VEHICLES = false;
|
||||
EPOCH_ESP_VEHICLEPLAYER = [];
|
||||
EPOCH_group_level_img = ["x\addons\a3_epoch_code\data\owner.paa", "x\addons\a3_epoch_code\data\mod.paa", "x\addons\a3_epoch_code\data\member.paa"];
|
||||
if (isNil 'EPOCH_diag_fps') then {
|
||||
EPOCH_diag_fps = 0;
|
||||
};
|
||||
EPOCH_playerIsSwimming = false;
|
||||
EPOCH_lastTrash = diag_tickTime;
|
||||
EPOCH_tradeDone = false;
|
||||
EPOCH_bankBalance = 0;
|
||||
EPOCH_antiWallCount = 0;
|
||||
EPOCH_lastTargetTime = diag_tickTime;
|
||||
EPOCH_lastSave = diag_tickTime;
|
||||
EPOCH_arr_countdown = [];
|
||||
EP_light = objNull;
|
||||
EPOCH_p2ptradeTarget = objNull;
|
||||
EPOCH_lastPlayerPos = getPosATL player;
|
||||
EPOCH_Holstered = "";
|
||||
Epoch_invited_GroupUID = "";
|
||||
Epoch_invited_GroupName = "";
|
||||
Epoch_invited_GroupUIDs = [];
|
||||
Epoch_invited_GroupUIDsPrev = [];
|
||||
EPOCH_lastPlayerPos = [0,0,0];
|
||||
EPOCH_prevOffer = [];
|
||||
EPOCH_drawIcon3d = false;
|
||||
EPOCH_velTransform = false;
|
||||
EPOCH_stabilityTarget = objNull;
|
||||
EPOCH_currentVehicle = objNull;
|
||||
EPOCH_currentTarget = objNull;
|
||||
EPOCH_LootedBlds = [];
|
||||
EPOCH_soundLevel = 1;
|
||||
EPOCH_arr_interactedObjs = [];
|
||||
EPOCH_buildOption = 0;
|
||||
EPOCH_nearestLocations = [];
|
||||
onEachFrame EPOCH_onEachFrame;
|
||||
|
||||
EPOCH_LastAirDrop = time;
|
||||
EPOCH_AirDropCheck = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropFreq");
|
||||
if(EPOCH_AirDropCheck < 120)then{EPOCH_AirDropCheck = 120;};
|
||||
EPOCH_AirDropChance = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropChance");
|
||||
if(EPOCH_AirDropChance < 0)then{EPOCH_AirDropChance = 101;EPOCH_AirDropCheck = 99999;};
|
||||
|
||||
EPOCH_droneRndChance = 100;
|
||||
|
||||
// Custom Keys
|
||||
EPOCH_keysActionPressed = false; //prevents EH spam
|
||||
0 call EPOCH_clientKeyMap;
|
||||
|
||||
//ON INIT and RESPAWN
|
||||
call EPOCH_clientInit;
|
||||
|
||||
[] execFSM "\x\addons\a3_epoch_code\system\SPVEH.fsm";
|
||||
[] execFSM "system\player_login.fsm";
|
||||
|
||||
true
|
18
Sources/mpmissions/epoch.Sara/init/fn_postinit.sqf
Normal file
18
Sources/mpmissions/epoch.Sara/init/fn_postinit.sqf
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize Player
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/fn_postinit.sqf
|
||||
*/
|
||||
if (!isDedicated && isMultiplayer && hasInterface) then {
|
||||
call compile preprocessFileLineNumbers "init\client_init.sqf";
|
||||
};
|
||||
true
|
1398
Sources/mpmissions/epoch.SaraLite/System/player_login.fsm
Normal file
1398
Sources/mpmissions/epoch.SaraLite/System/player_login.fsm
Normal file
File diff suppressed because it is too large
Load Diff
@ -50,6 +50,7 @@ class cfgFunctions
|
||||
};
|
||||
class postinit
|
||||
{
|
||||
file = "init\fn_postinit.sqf";
|
||||
postInit = 1;
|
||||
};
|
||||
};
|
||||
|
76
Sources/mpmissions/epoch.SaraLite/init/client_init.sqf
Normal file
76
Sources/mpmissions/epoch.SaraLite/init/client_init.sqf
Normal file
@ -0,0 +1,76 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize variables used client side and start login FSM
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/client_init.sqf
|
||||
*/
|
||||
//Variables
|
||||
EPOCH_CraftingItem = "";
|
||||
EPOCH_ESP_TARGETS = [];
|
||||
EPOCH_ESPMAP_TARGETS = [];
|
||||
EPOCH_ESPGROUPS = [];
|
||||
EPOCH_ESPGROUPCOLORS = [];
|
||||
EPOCH_ESP_PLAYER = false;
|
||||
EPOCH_ESP_VEHICLES = false;
|
||||
EPOCH_ESP_VEHICLEPLAYER = [];
|
||||
EPOCH_group_level_img = ["x\addons\a3_epoch_code\data\owner.paa", "x\addons\a3_epoch_code\data\mod.paa", "x\addons\a3_epoch_code\data\member.paa"];
|
||||
if (isNil 'EPOCH_diag_fps') then {
|
||||
EPOCH_diag_fps = 0;
|
||||
};
|
||||
EPOCH_playerIsSwimming = false;
|
||||
EPOCH_lastTrash = diag_tickTime;
|
||||
EPOCH_tradeDone = false;
|
||||
EPOCH_bankBalance = 0;
|
||||
EPOCH_antiWallCount = 0;
|
||||
EPOCH_lastTargetTime = diag_tickTime;
|
||||
EPOCH_lastSave = diag_tickTime;
|
||||
EPOCH_arr_countdown = [];
|
||||
EP_light = objNull;
|
||||
EPOCH_p2ptradeTarget = objNull;
|
||||
EPOCH_lastPlayerPos = getPosATL player;
|
||||
EPOCH_Holstered = "";
|
||||
Epoch_invited_GroupUID = "";
|
||||
Epoch_invited_GroupName = "";
|
||||
Epoch_invited_GroupUIDs = [];
|
||||
Epoch_invited_GroupUIDsPrev = [];
|
||||
EPOCH_lastPlayerPos = [0,0,0];
|
||||
EPOCH_prevOffer = [];
|
||||
EPOCH_drawIcon3d = false;
|
||||
EPOCH_velTransform = false;
|
||||
EPOCH_stabilityTarget = objNull;
|
||||
EPOCH_currentVehicle = objNull;
|
||||
EPOCH_currentTarget = objNull;
|
||||
EPOCH_LootedBlds = [];
|
||||
EPOCH_soundLevel = 1;
|
||||
EPOCH_arr_interactedObjs = [];
|
||||
EPOCH_buildOption = 0;
|
||||
EPOCH_nearestLocations = [];
|
||||
onEachFrame EPOCH_onEachFrame;
|
||||
|
||||
EPOCH_LastAirDrop = time;
|
||||
EPOCH_AirDropCheck = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropFreq");
|
||||
if(EPOCH_AirDropCheck < 120)then{EPOCH_AirDropCheck = 120;};
|
||||
EPOCH_AirDropChance = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropChance");
|
||||
if(EPOCH_AirDropChance < 0)then{EPOCH_AirDropChance = 101;EPOCH_AirDropCheck = 99999;};
|
||||
|
||||
EPOCH_droneRndChance = 100;
|
||||
|
||||
// Custom Keys
|
||||
EPOCH_keysActionPressed = false; //prevents EH spam
|
||||
0 call EPOCH_clientKeyMap;
|
||||
|
||||
//ON INIT and RESPAWN
|
||||
call EPOCH_clientInit;
|
||||
|
||||
[] execFSM "\x\addons\a3_epoch_code\system\SPVEH.fsm";
|
||||
[] execFSM "system\player_login.fsm";
|
||||
|
||||
true
|
18
Sources/mpmissions/epoch.SaraLite/init/fn_postinit.sqf
Normal file
18
Sources/mpmissions/epoch.SaraLite/init/fn_postinit.sqf
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize Player
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/fn_postinit.sqf
|
||||
*/
|
||||
if (!isDedicated && isMultiplayer && hasInterface) then {
|
||||
call compile preprocessFileLineNumbers "init\client_init.sqf";
|
||||
};
|
||||
true
|
1398
Sources/mpmissions/epoch.Sara_dbe1/System/player_login.fsm
Normal file
1398
Sources/mpmissions/epoch.Sara_dbe1/System/player_login.fsm
Normal file
File diff suppressed because it is too large
Load Diff
@ -50,6 +50,7 @@ class cfgFunctions
|
||||
};
|
||||
class postinit
|
||||
{
|
||||
file = "init\fn_postinit.sqf";
|
||||
postInit = 1;
|
||||
};
|
||||
};
|
||||
|
76
Sources/mpmissions/epoch.Sara_dbe1/init/client_init.sqf
Normal file
76
Sources/mpmissions/epoch.Sara_dbe1/init/client_init.sqf
Normal file
@ -0,0 +1,76 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize variables used client side and start login FSM
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/client_init.sqf
|
||||
*/
|
||||
//Variables
|
||||
EPOCH_CraftingItem = "";
|
||||
EPOCH_ESP_TARGETS = [];
|
||||
EPOCH_ESPMAP_TARGETS = [];
|
||||
EPOCH_ESPGROUPS = [];
|
||||
EPOCH_ESPGROUPCOLORS = [];
|
||||
EPOCH_ESP_PLAYER = false;
|
||||
EPOCH_ESP_VEHICLES = false;
|
||||
EPOCH_ESP_VEHICLEPLAYER = [];
|
||||
EPOCH_group_level_img = ["x\addons\a3_epoch_code\data\owner.paa", "x\addons\a3_epoch_code\data\mod.paa", "x\addons\a3_epoch_code\data\member.paa"];
|
||||
if (isNil 'EPOCH_diag_fps') then {
|
||||
EPOCH_diag_fps = 0;
|
||||
};
|
||||
EPOCH_playerIsSwimming = false;
|
||||
EPOCH_lastTrash = diag_tickTime;
|
||||
EPOCH_tradeDone = false;
|
||||
EPOCH_bankBalance = 0;
|
||||
EPOCH_antiWallCount = 0;
|
||||
EPOCH_lastTargetTime = diag_tickTime;
|
||||
EPOCH_lastSave = diag_tickTime;
|
||||
EPOCH_arr_countdown = [];
|
||||
EP_light = objNull;
|
||||
EPOCH_p2ptradeTarget = objNull;
|
||||
EPOCH_lastPlayerPos = getPosATL player;
|
||||
EPOCH_Holstered = "";
|
||||
Epoch_invited_GroupUID = "";
|
||||
Epoch_invited_GroupName = "";
|
||||
Epoch_invited_GroupUIDs = [];
|
||||
Epoch_invited_GroupUIDsPrev = [];
|
||||
EPOCH_lastPlayerPos = [0,0,0];
|
||||
EPOCH_prevOffer = [];
|
||||
EPOCH_drawIcon3d = false;
|
||||
EPOCH_velTransform = false;
|
||||
EPOCH_stabilityTarget = objNull;
|
||||
EPOCH_currentVehicle = objNull;
|
||||
EPOCH_currentTarget = objNull;
|
||||
EPOCH_LootedBlds = [];
|
||||
EPOCH_soundLevel = 1;
|
||||
EPOCH_arr_interactedObjs = [];
|
||||
EPOCH_buildOption = 0;
|
||||
EPOCH_nearestLocations = [];
|
||||
onEachFrame EPOCH_onEachFrame;
|
||||
|
||||
EPOCH_LastAirDrop = time;
|
||||
EPOCH_AirDropCheck = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropFreq");
|
||||
if(EPOCH_AirDropCheck < 120)then{EPOCH_AirDropCheck = 120;};
|
||||
EPOCH_AirDropChance = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropChance");
|
||||
if(EPOCH_AirDropChance < 0)then{EPOCH_AirDropChance = 101;EPOCH_AirDropCheck = 99999;};
|
||||
|
||||
EPOCH_droneRndChance = 100;
|
||||
|
||||
// Custom Keys
|
||||
EPOCH_keysActionPressed = false; //prevents EH spam
|
||||
0 call EPOCH_clientKeyMap;
|
||||
|
||||
//ON INIT and RESPAWN
|
||||
call EPOCH_clientInit;
|
||||
|
||||
[] execFSM "\x\addons\a3_epoch_code\system\SPVEH.fsm";
|
||||
[] execFSM "system\player_login.fsm";
|
||||
|
||||
true
|
18
Sources/mpmissions/epoch.Sara_dbe1/init/fn_postinit.sqf
Normal file
18
Sources/mpmissions/epoch.Sara_dbe1/init/fn_postinit.sqf
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize Player
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/fn_postinit.sqf
|
||||
*/
|
||||
if (!isDedicated && isMultiplayer && hasInterface) then {
|
||||
call compile preprocessFileLineNumbers "init\client_init.sqf";
|
||||
};
|
||||
true
|
1398
Sources/mpmissions/epoch.Shapur_BAF/System/player_login.fsm
Normal file
1398
Sources/mpmissions/epoch.Shapur_BAF/System/player_login.fsm
Normal file
File diff suppressed because it is too large
Load Diff
@ -50,6 +50,7 @@ class cfgFunctions
|
||||
};
|
||||
class postinit
|
||||
{
|
||||
file = "init\fn_postinit.sqf";
|
||||
postInit = 1;
|
||||
};
|
||||
};
|
||||
|
76
Sources/mpmissions/epoch.Shapur_BAF/init/client_init.sqf
Normal file
76
Sources/mpmissions/epoch.Shapur_BAF/init/client_init.sqf
Normal file
@ -0,0 +1,76 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize variables used client side and start login FSM
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/client_init.sqf
|
||||
*/
|
||||
//Variables
|
||||
EPOCH_CraftingItem = "";
|
||||
EPOCH_ESP_TARGETS = [];
|
||||
EPOCH_ESPMAP_TARGETS = [];
|
||||
EPOCH_ESPGROUPS = [];
|
||||
EPOCH_ESPGROUPCOLORS = [];
|
||||
EPOCH_ESP_PLAYER = false;
|
||||
EPOCH_ESP_VEHICLES = false;
|
||||
EPOCH_ESP_VEHICLEPLAYER = [];
|
||||
EPOCH_group_level_img = ["x\addons\a3_epoch_code\data\owner.paa", "x\addons\a3_epoch_code\data\mod.paa", "x\addons\a3_epoch_code\data\member.paa"];
|
||||
if (isNil 'EPOCH_diag_fps') then {
|
||||
EPOCH_diag_fps = 0;
|
||||
};
|
||||
EPOCH_playerIsSwimming = false;
|
||||
EPOCH_lastTrash = diag_tickTime;
|
||||
EPOCH_tradeDone = false;
|
||||
EPOCH_bankBalance = 0;
|
||||
EPOCH_antiWallCount = 0;
|
||||
EPOCH_lastTargetTime = diag_tickTime;
|
||||
EPOCH_lastSave = diag_tickTime;
|
||||
EPOCH_arr_countdown = [];
|
||||
EP_light = objNull;
|
||||
EPOCH_p2ptradeTarget = objNull;
|
||||
EPOCH_lastPlayerPos = getPosATL player;
|
||||
EPOCH_Holstered = "";
|
||||
Epoch_invited_GroupUID = "";
|
||||
Epoch_invited_GroupName = "";
|
||||
Epoch_invited_GroupUIDs = [];
|
||||
Epoch_invited_GroupUIDsPrev = [];
|
||||
EPOCH_lastPlayerPos = [0,0,0];
|
||||
EPOCH_prevOffer = [];
|
||||
EPOCH_drawIcon3d = false;
|
||||
EPOCH_velTransform = false;
|
||||
EPOCH_stabilityTarget = objNull;
|
||||
EPOCH_currentVehicle = objNull;
|
||||
EPOCH_currentTarget = objNull;
|
||||
EPOCH_LootedBlds = [];
|
||||
EPOCH_soundLevel = 1;
|
||||
EPOCH_arr_interactedObjs = [];
|
||||
EPOCH_buildOption = 0;
|
||||
EPOCH_nearestLocations = [];
|
||||
onEachFrame EPOCH_onEachFrame;
|
||||
|
||||
EPOCH_LastAirDrop = time;
|
||||
EPOCH_AirDropCheck = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropFreq");
|
||||
if(EPOCH_AirDropCheck < 120)then{EPOCH_AirDropCheck = 120;};
|
||||
EPOCH_AirDropChance = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropChance");
|
||||
if(EPOCH_AirDropChance < 0)then{EPOCH_AirDropChance = 101;EPOCH_AirDropCheck = 99999;};
|
||||
|
||||
EPOCH_droneRndChance = 100;
|
||||
|
||||
// Custom Keys
|
||||
EPOCH_keysActionPressed = false; //prevents EH spam
|
||||
0 call EPOCH_clientKeyMap;
|
||||
|
||||
//ON INIT and RESPAWN
|
||||
call EPOCH_clientInit;
|
||||
|
||||
[] execFSM "\x\addons\a3_epoch_code\system\SPVEH.fsm";
|
||||
[] execFSM "system\player_login.fsm";
|
||||
|
||||
true
|
18
Sources/mpmissions/epoch.Shapur_BAF/init/fn_postinit.sqf
Normal file
18
Sources/mpmissions/epoch.Shapur_BAF/init/fn_postinit.sqf
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize Player
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/fn_postinit.sqf
|
||||
*/
|
||||
if (!isDedicated && isMultiplayer && hasInterface) then {
|
||||
call compile preprocessFileLineNumbers "init\client_init.sqf";
|
||||
};
|
||||
true
|
1398
Sources/mpmissions/epoch.Stratis/System/player_login.fsm
Normal file
1398
Sources/mpmissions/epoch.Stratis/System/player_login.fsm
Normal file
File diff suppressed because it is too large
Load Diff
@ -50,6 +50,7 @@ class cfgFunctions
|
||||
};
|
||||
class postinit
|
||||
{
|
||||
file = "init\fn_postinit.sqf";
|
||||
postInit = 1;
|
||||
};
|
||||
};
|
||||
|
76
Sources/mpmissions/epoch.Stratis/init/client_init.sqf
Normal file
76
Sources/mpmissions/epoch.Stratis/init/client_init.sqf
Normal file
@ -0,0 +1,76 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize variables used client side and start login FSM
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/client_init.sqf
|
||||
*/
|
||||
//Variables
|
||||
EPOCH_CraftingItem = "";
|
||||
EPOCH_ESP_TARGETS = [];
|
||||
EPOCH_ESPMAP_TARGETS = [];
|
||||
EPOCH_ESPGROUPS = [];
|
||||
EPOCH_ESPGROUPCOLORS = [];
|
||||
EPOCH_ESP_PLAYER = false;
|
||||
EPOCH_ESP_VEHICLES = false;
|
||||
EPOCH_ESP_VEHICLEPLAYER = [];
|
||||
EPOCH_group_level_img = ["x\addons\a3_epoch_code\data\owner.paa", "x\addons\a3_epoch_code\data\mod.paa", "x\addons\a3_epoch_code\data\member.paa"];
|
||||
if (isNil 'EPOCH_diag_fps') then {
|
||||
EPOCH_diag_fps = 0;
|
||||
};
|
||||
EPOCH_playerIsSwimming = false;
|
||||
EPOCH_lastTrash = diag_tickTime;
|
||||
EPOCH_tradeDone = false;
|
||||
EPOCH_bankBalance = 0;
|
||||
EPOCH_antiWallCount = 0;
|
||||
EPOCH_lastTargetTime = diag_tickTime;
|
||||
EPOCH_lastSave = diag_tickTime;
|
||||
EPOCH_arr_countdown = [];
|
||||
EP_light = objNull;
|
||||
EPOCH_p2ptradeTarget = objNull;
|
||||
EPOCH_lastPlayerPos = getPosATL player;
|
||||
EPOCH_Holstered = "";
|
||||
Epoch_invited_GroupUID = "";
|
||||
Epoch_invited_GroupName = "";
|
||||
Epoch_invited_GroupUIDs = [];
|
||||
Epoch_invited_GroupUIDsPrev = [];
|
||||
EPOCH_lastPlayerPos = [0,0,0];
|
||||
EPOCH_prevOffer = [];
|
||||
EPOCH_drawIcon3d = false;
|
||||
EPOCH_velTransform = false;
|
||||
EPOCH_stabilityTarget = objNull;
|
||||
EPOCH_currentVehicle = objNull;
|
||||
EPOCH_currentTarget = objNull;
|
||||
EPOCH_LootedBlds = [];
|
||||
EPOCH_soundLevel = 1;
|
||||
EPOCH_arr_interactedObjs = [];
|
||||
EPOCH_buildOption = 0;
|
||||
EPOCH_nearestLocations = [];
|
||||
onEachFrame EPOCH_onEachFrame;
|
||||
|
||||
EPOCH_LastAirDrop = time;
|
||||
EPOCH_AirDropCheck = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropFreq");
|
||||
if(EPOCH_AirDropCheck < 120)then{EPOCH_AirDropCheck = 120;};
|
||||
EPOCH_AirDropChance = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropChance");
|
||||
if(EPOCH_AirDropChance < 0)then{EPOCH_AirDropChance = 101;EPOCH_AirDropCheck = 99999;};
|
||||
|
||||
EPOCH_droneRndChance = 100;
|
||||
|
||||
// Custom Keys
|
||||
EPOCH_keysActionPressed = false; //prevents EH spam
|
||||
0 call EPOCH_clientKeyMap;
|
||||
|
||||
//ON INIT and RESPAWN
|
||||
call EPOCH_clientInit;
|
||||
|
||||
[] execFSM "\x\addons\a3_epoch_code\system\SPVEH.fsm";
|
||||
[] execFSM "system\player_login.fsm";
|
||||
|
||||
true
|
18
Sources/mpmissions/epoch.Stratis/init/fn_postinit.sqf
Normal file
18
Sources/mpmissions/epoch.Stratis/init/fn_postinit.sqf
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize Player
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/fn_postinit.sqf
|
||||
*/
|
||||
if (!isDedicated && isMultiplayer && hasInterface) then {
|
||||
call compile preprocessFileLineNumbers "init\client_init.sqf";
|
||||
};
|
||||
true
|
1398
Sources/mpmissions/epoch.Takistan/System/player_login.fsm
Normal file
1398
Sources/mpmissions/epoch.Takistan/System/player_login.fsm
Normal file
File diff suppressed because it is too large
Load Diff
@ -50,6 +50,7 @@ class cfgFunctions
|
||||
};
|
||||
class postinit
|
||||
{
|
||||
file = "init\fn_postinit.sqf";
|
||||
postInit = 1;
|
||||
};
|
||||
};
|
||||
|
76
Sources/mpmissions/epoch.Takistan/init/client_init.sqf
Normal file
76
Sources/mpmissions/epoch.Takistan/init/client_init.sqf
Normal file
@ -0,0 +1,76 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize variables used client side and start login FSM
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/client_init.sqf
|
||||
*/
|
||||
//Variables
|
||||
EPOCH_CraftingItem = "";
|
||||
EPOCH_ESP_TARGETS = [];
|
||||
EPOCH_ESPMAP_TARGETS = [];
|
||||
EPOCH_ESPGROUPS = [];
|
||||
EPOCH_ESPGROUPCOLORS = [];
|
||||
EPOCH_ESP_PLAYER = false;
|
||||
EPOCH_ESP_VEHICLES = false;
|
||||
EPOCH_ESP_VEHICLEPLAYER = [];
|
||||
EPOCH_group_level_img = ["x\addons\a3_epoch_code\data\owner.paa", "x\addons\a3_epoch_code\data\mod.paa", "x\addons\a3_epoch_code\data\member.paa"];
|
||||
if (isNil 'EPOCH_diag_fps') then {
|
||||
EPOCH_diag_fps = 0;
|
||||
};
|
||||
EPOCH_playerIsSwimming = false;
|
||||
EPOCH_lastTrash = diag_tickTime;
|
||||
EPOCH_tradeDone = false;
|
||||
EPOCH_bankBalance = 0;
|
||||
EPOCH_antiWallCount = 0;
|
||||
EPOCH_lastTargetTime = diag_tickTime;
|
||||
EPOCH_lastSave = diag_tickTime;
|
||||
EPOCH_arr_countdown = [];
|
||||
EP_light = objNull;
|
||||
EPOCH_p2ptradeTarget = objNull;
|
||||
EPOCH_lastPlayerPos = getPosATL player;
|
||||
EPOCH_Holstered = "";
|
||||
Epoch_invited_GroupUID = "";
|
||||
Epoch_invited_GroupName = "";
|
||||
Epoch_invited_GroupUIDs = [];
|
||||
Epoch_invited_GroupUIDsPrev = [];
|
||||
EPOCH_lastPlayerPos = [0,0,0];
|
||||
EPOCH_prevOffer = [];
|
||||
EPOCH_drawIcon3d = false;
|
||||
EPOCH_velTransform = false;
|
||||
EPOCH_stabilityTarget = objNull;
|
||||
EPOCH_currentVehicle = objNull;
|
||||
EPOCH_currentTarget = objNull;
|
||||
EPOCH_LootedBlds = [];
|
||||
EPOCH_soundLevel = 1;
|
||||
EPOCH_arr_interactedObjs = [];
|
||||
EPOCH_buildOption = 0;
|
||||
EPOCH_nearestLocations = [];
|
||||
onEachFrame EPOCH_onEachFrame;
|
||||
|
||||
EPOCH_LastAirDrop = time;
|
||||
EPOCH_AirDropCheck = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropFreq");
|
||||
if(EPOCH_AirDropCheck < 120)then{EPOCH_AirDropCheck = 120;};
|
||||
EPOCH_AirDropChance = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropChance");
|
||||
if(EPOCH_AirDropChance < 0)then{EPOCH_AirDropChance = 101;EPOCH_AirDropCheck = 99999;};
|
||||
|
||||
EPOCH_droneRndChance = 100;
|
||||
|
||||
// Custom Keys
|
||||
EPOCH_keysActionPressed = false; //prevents EH spam
|
||||
0 call EPOCH_clientKeyMap;
|
||||
|
||||
//ON INIT and RESPAWN
|
||||
call EPOCH_clientInit;
|
||||
|
||||
[] execFSM "\x\addons\a3_epoch_code\system\SPVEH.fsm";
|
||||
[] execFSM "system\player_login.fsm";
|
||||
|
||||
true
|
18
Sources/mpmissions/epoch.Takistan/init/fn_postinit.sqf
Normal file
18
Sources/mpmissions/epoch.Takistan/init/fn_postinit.sqf
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize Player
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/fn_postinit.sqf
|
||||
*/
|
||||
if (!isDedicated && isMultiplayer && hasInterface) then {
|
||||
call compile preprocessFileLineNumbers "init\client_init.sqf";
|
||||
};
|
||||
true
|
1398
Sources/mpmissions/epoch.VR/System/player_login.fsm
Normal file
1398
Sources/mpmissions/epoch.VR/System/player_login.fsm
Normal file
File diff suppressed because it is too large
Load Diff
@ -50,52 +50,13 @@ class cfgFunctions
|
||||
};
|
||||
class postinit
|
||||
{
|
||||
file = "init\fn_postinit.sqf";
|
||||
postInit = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class CfgEpochClient
|
||||
{
|
||||
epochVersion = "0.3.7.0";
|
||||
|
||||
sapperRngChance = 100; // increase number to reduce chances and reduce to increase. Default 100 = 1% - 55% if soiled (+ 2% if in city) chance to spawn sapper
|
||||
droneRngChance = 100; // increase number to reduce chances and reduce to increase. Default 100 = // 2% chance (+ 4% chance if in city) (1% - 2% Half if using silencer) to spawn drone if shot fired
|
||||
|
||||
buildingNearbyMilitary = 0; //1 to allow building nearby
|
||||
buildingNearbyMilitaryRange = 300; //Define radius of blocked area
|
||||
|
||||
buildingRequireJammer = 0; // 1 = to allow building without a jammer
|
||||
buildingCountLimit = 200; // how many objects can be built within range of a jammer
|
||||
buildingJammerRange = 75; // jammer range in meters
|
||||
|
||||
EPOCH_news[] = {"Word is that Sappers have a new boss.","Dogs will often lure them monsters away.","My dog was blown up. I miss him.."};
|
||||
|
||||
// #include "\x\addons\a3_epoch_config\Configs\CfgEpochClient\VR.hpp"
|
||||
|
||||
class vr {
|
||||
Rocks[] = {
|
||||
};
|
||||
ATM[] = {
|
||||
};
|
||||
Water[] = {
|
||||
};
|
||||
Trash[] = {
|
||||
};
|
||||
Trees[] = {
|
||||
};
|
||||
Bushes[] = {
|
||||
};
|
||||
Cinder[] = {
|
||||
};
|
||||
Wrecks[] = {
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
};
|
||||
|
||||
class CfgEpochSapper
|
||||
{
|
||||
detonateDistMax = 8; //Random distance between 3m and this number at which sapper detonates. Min value = 4
|
||||
|
76
Sources/mpmissions/epoch.VR/init/client_init.sqf
Normal file
76
Sources/mpmissions/epoch.VR/init/client_init.sqf
Normal file
@ -0,0 +1,76 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize variables used client side and start login FSM
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/client_init.sqf
|
||||
*/
|
||||
//Variables
|
||||
EPOCH_CraftingItem = "";
|
||||
EPOCH_ESP_TARGETS = [];
|
||||
EPOCH_ESPMAP_TARGETS = [];
|
||||
EPOCH_ESPGROUPS = [];
|
||||
EPOCH_ESPGROUPCOLORS = [];
|
||||
EPOCH_ESP_PLAYER = false;
|
||||
EPOCH_ESP_VEHICLES = false;
|
||||
EPOCH_ESP_VEHICLEPLAYER = [];
|
||||
EPOCH_group_level_img = ["x\addons\a3_epoch_code\data\owner.paa", "x\addons\a3_epoch_code\data\mod.paa", "x\addons\a3_epoch_code\data\member.paa"];
|
||||
if (isNil 'EPOCH_diag_fps') then {
|
||||
EPOCH_diag_fps = 0;
|
||||
};
|
||||
EPOCH_playerIsSwimming = false;
|
||||
EPOCH_lastTrash = diag_tickTime;
|
||||
EPOCH_tradeDone = false;
|
||||
EPOCH_bankBalance = 0;
|
||||
EPOCH_antiWallCount = 0;
|
||||
EPOCH_lastTargetTime = diag_tickTime;
|
||||
EPOCH_lastSave = diag_tickTime;
|
||||
EPOCH_arr_countdown = [];
|
||||
EP_light = objNull;
|
||||
EPOCH_p2ptradeTarget = objNull;
|
||||
EPOCH_lastPlayerPos = getPosATL player;
|
||||
EPOCH_Holstered = "";
|
||||
Epoch_invited_GroupUID = "";
|
||||
Epoch_invited_GroupName = "";
|
||||
Epoch_invited_GroupUIDs = [];
|
||||
Epoch_invited_GroupUIDsPrev = [];
|
||||
EPOCH_lastPlayerPos = [0,0,0];
|
||||
EPOCH_prevOffer = [];
|
||||
EPOCH_drawIcon3d = false;
|
||||
EPOCH_velTransform = false;
|
||||
EPOCH_stabilityTarget = objNull;
|
||||
EPOCH_currentVehicle = objNull;
|
||||
EPOCH_currentTarget = objNull;
|
||||
EPOCH_LootedBlds = [];
|
||||
EPOCH_soundLevel = 1;
|
||||
EPOCH_arr_interactedObjs = [];
|
||||
EPOCH_buildOption = 0;
|
||||
EPOCH_nearestLocations = [];
|
||||
onEachFrame EPOCH_onEachFrame;
|
||||
|
||||
EPOCH_LastAirDrop = time;
|
||||
EPOCH_AirDropCheck = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropFreq");
|
||||
if(EPOCH_AirDropCheck < 120)then{EPOCH_AirDropCheck = 120;};
|
||||
EPOCH_AirDropChance = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropChance");
|
||||
if(EPOCH_AirDropChance < 0)then{EPOCH_AirDropChance = 101;EPOCH_AirDropCheck = 99999;};
|
||||
|
||||
EPOCH_droneRndChance = 100;
|
||||
|
||||
// Custom Keys
|
||||
EPOCH_keysActionPressed = false; //prevents EH spam
|
||||
0 call EPOCH_clientKeyMap;
|
||||
|
||||
//ON INIT and RESPAWN
|
||||
call EPOCH_clientInit;
|
||||
|
||||
[] execFSM "\x\addons\a3_epoch_code\system\SPVEH.fsm";
|
||||
[] execFSM "system\player_login.fsm";
|
||||
|
||||
true
|
18
Sources/mpmissions/epoch.VR/init/fn_postinit.sqf
Normal file
18
Sources/mpmissions/epoch.VR/init/fn_postinit.sqf
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize Player
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/fn_postinit.sqf
|
||||
*/
|
||||
if (!isDedicated && isMultiplayer && hasInterface) then {
|
||||
call compile preprocessFileLineNumbers "init\client_init.sqf";
|
||||
};
|
||||
true
|
1398
Sources/mpmissions/epoch.Woodland_ACR/System/player_login.fsm
Normal file
1398
Sources/mpmissions/epoch.Woodland_ACR/System/player_login.fsm
Normal file
File diff suppressed because it is too large
Load Diff
@ -50,6 +50,7 @@ class cfgFunctions
|
||||
};
|
||||
class postinit
|
||||
{
|
||||
file = "init\fn_postinit.sqf";
|
||||
postInit = 1;
|
||||
};
|
||||
};
|
||||
|
76
Sources/mpmissions/epoch.Woodland_ACR/init/client_init.sqf
Normal file
76
Sources/mpmissions/epoch.Woodland_ACR/init/client_init.sqf
Normal file
@ -0,0 +1,76 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize variables used client side and start login FSM
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/client_init.sqf
|
||||
*/
|
||||
//Variables
|
||||
EPOCH_CraftingItem = "";
|
||||
EPOCH_ESP_TARGETS = [];
|
||||
EPOCH_ESPMAP_TARGETS = [];
|
||||
EPOCH_ESPGROUPS = [];
|
||||
EPOCH_ESPGROUPCOLORS = [];
|
||||
EPOCH_ESP_PLAYER = false;
|
||||
EPOCH_ESP_VEHICLES = false;
|
||||
EPOCH_ESP_VEHICLEPLAYER = [];
|
||||
EPOCH_group_level_img = ["x\addons\a3_epoch_code\data\owner.paa", "x\addons\a3_epoch_code\data\mod.paa", "x\addons\a3_epoch_code\data\member.paa"];
|
||||
if (isNil 'EPOCH_diag_fps') then {
|
||||
EPOCH_diag_fps = 0;
|
||||
};
|
||||
EPOCH_playerIsSwimming = false;
|
||||
EPOCH_lastTrash = diag_tickTime;
|
||||
EPOCH_tradeDone = false;
|
||||
EPOCH_bankBalance = 0;
|
||||
EPOCH_antiWallCount = 0;
|
||||
EPOCH_lastTargetTime = diag_tickTime;
|
||||
EPOCH_lastSave = diag_tickTime;
|
||||
EPOCH_arr_countdown = [];
|
||||
EP_light = objNull;
|
||||
EPOCH_p2ptradeTarget = objNull;
|
||||
EPOCH_lastPlayerPos = getPosATL player;
|
||||
EPOCH_Holstered = "";
|
||||
Epoch_invited_GroupUID = "";
|
||||
Epoch_invited_GroupName = "";
|
||||
Epoch_invited_GroupUIDs = [];
|
||||
Epoch_invited_GroupUIDsPrev = [];
|
||||
EPOCH_lastPlayerPos = [0,0,0];
|
||||
EPOCH_prevOffer = [];
|
||||
EPOCH_drawIcon3d = false;
|
||||
EPOCH_velTransform = false;
|
||||
EPOCH_stabilityTarget = objNull;
|
||||
EPOCH_currentVehicle = objNull;
|
||||
EPOCH_currentTarget = objNull;
|
||||
EPOCH_LootedBlds = [];
|
||||
EPOCH_soundLevel = 1;
|
||||
EPOCH_arr_interactedObjs = [];
|
||||
EPOCH_buildOption = 0;
|
||||
EPOCH_nearestLocations = [];
|
||||
onEachFrame EPOCH_onEachFrame;
|
||||
|
||||
EPOCH_LastAirDrop = time;
|
||||
EPOCH_AirDropCheck = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropFreq");
|
||||
if(EPOCH_AirDropCheck < 120)then{EPOCH_AirDropCheck = 120;};
|
||||
EPOCH_AirDropChance = getNumber(missionConfigFile >> "CfgEpochAirDrop" >> "AirDropChance");
|
||||
if(EPOCH_AirDropChance < 0)then{EPOCH_AirDropChance = 101;EPOCH_AirDropCheck = 99999;};
|
||||
|
||||
EPOCH_droneRndChance = 100;
|
||||
|
||||
// Custom Keys
|
||||
EPOCH_keysActionPressed = false; //prevents EH spam
|
||||
0 call EPOCH_clientKeyMap;
|
||||
|
||||
//ON INIT and RESPAWN
|
||||
call EPOCH_clientInit;
|
||||
|
||||
[] execFSM "\x\addons\a3_epoch_code\system\SPVEH.fsm";
|
||||
[] execFSM "system\player_login.fsm";
|
||||
|
||||
true
|
18
Sources/mpmissions/epoch.Woodland_ACR/init/fn_postinit.sqf
Normal file
18
Sources/mpmissions/epoch.Woodland_ACR/init/fn_postinit.sqf
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
Author: Aaron Clark - EpochMod.com
|
||||
|
||||
Contributors:
|
||||
|
||||
Description:
|
||||
Initalize Player
|
||||
|
||||
Licence:
|
||||
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
||||
|
||||
Github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/init/fn_postinit.sqf
|
||||
*/
|
||||
if (!isDedicated && isMultiplayer && hasInterface) then {
|
||||
call compile preprocessFileLineNumbers "init\client_init.sqf";
|
||||
};
|
||||
true
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user