Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

Commit

Permalink
22.7
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFrozenThr0ne committed Dec 3, 2015
1 parent 486d667 commit fe950ff
Show file tree
Hide file tree
Showing 7 changed files with 1,067 additions and 895 deletions.
1 change: 1 addition & 0 deletions description.ext
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ RespawnDelay = 10; // Delay prior to respawn, ensure longer than BTC re
RespawnDialog = 1; // default = 1. show respawn timer and scoreboard when killed.
reviveForceRespawnDelay = 15;
reviveBleedOutDelay = 300;
respawnOnStart = 1

//------------------------- Garbage collector

Expand Down
2 changes: 2 additions & 0 deletions init.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ if (_IntroMusic) then { playMusic "intro";};


["Initialize"] call BIS_fnc_dynamicGroups;


ETG_Reinforcements = 0;
// [] execVM "VCOMAI\init.sqf";

Expand Down
18 changes: 4 additions & 14 deletions initPlayerLocal.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ for [ {_i = 0}, {_i < count(paramsArray)}, {_i = _i + 1} ] do {

//------------------- client executions

["InitializePlayer", [player]] call BIS_fnc_dynamicGroups;

_null = [] execVM "scripts\vehicle\crew\crew.sqf"; // vehicle HUD
_null = [] execVM 'scripts\group_manager.sqf'; // group manager
_null = [] execVM "scripts\restrictions.sqf"; // gear restrictions and safezone
Expand Down Expand Up @@ -67,8 +69,8 @@ systemChat "Initialize SpyGlass";
[] call SPY_fnc_initSpy;
systemChat "SpyGlass Initialized";

[] call QS_fnc_respawnPilot;
[] call QS_fnc_respawnPilotAttack;
//[] call QS_fnc_respawnPilot;
//[] call QS_fnc_respawnPilotAttack;

//-------------------- PVEHs

Expand Down Expand Up @@ -181,22 +183,10 @@ player addEventHandler [ "Respawn", {
//Did we respawn from the menu
if ( missionNamespace getVariable [ "menuRespawn", false ] ) then {

// Compile scripts
getLoadout = compile preprocessFileLineNumbers 'get_loadout.sqf';


loadout = [player,["repetitive"]] call getLoadout;

[] call QS_fnc_respawnPilot;
[] call QS_fnc_respawnPilotAttack;

missionNamespace setVariable [ "menuRespawn", false ];

};
}];

[] call QS_fnc_respawnPilot;
[] call QS_fnc_respawnPilotAttack;

//If the respawn menu button is active
if ( !isNumber( missionConfigFile >> "respawnButton" ) || { getNumber( missionConfigFile >> "respawnButton" ) > 0 } ) then {
Expand Down
2 changes: 2 additions & 0 deletions initServer.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ if !(hasInterface or isServer) then {

};

["Initialize"] call BIS_fnc_dynamicGroups;

if (PARAMS_AO == 1) then { _null = [] execVM "mission\main\missionControl.sqf"; }; // Main AO
if (PARAMS_SideObjectives == 1) then { _null = [] execVM "mission\side\missionControl.sqf";}; // Side objectives
_null = [] execVM "mission\others\missionControl.sqf"; // Secondary Infantry Only Objective
Expand Down
Loading

0 comments on commit fe950ff

Please sign in to comment.