mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
c7e58da56d
- Added Vecorbuilding - Added: Building element can be detached to walk around the Element before saving - Added: Help-Arrow to indicate door-opening direction - Added: Max building height now will be checked direcly by building element placement - Changed: Replaced 0/90/180/270° direction build mode with "Rotate 90°" - Fixed: 90° and 270° Snap was broken - Fixed: Sometimes rotated elements rotate back on save Credits: The Base Vector Building Scripts comes from DirtySanches from "DonkeyPunch Community Gaming Development Team". Based on his Script, we reworked and fixed some more stuff in the building script together.
59 lines
1.4 KiB
Plaintext
59 lines
1.4 KiB
Plaintext
/*
|
|
Author: Aaron Clark - EpochMod.com
|
|
|
|
Contributors:
|
|
|
|
Description:
|
|
Initalize player variables
|
|
|
|
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/release/Sources/epoch_code/compile/setup/EPOCH_clientInit.sqf
|
|
|
|
Example:
|
|
call EPOCH_clientInit;
|
|
|
|
Parameter(s):
|
|
NONE
|
|
|
|
Returns:
|
|
NOTHING
|
|
*/
|
|
EPOCH_buildMode = 0;
|
|
EPOCH_buildDirection = 0;
|
|
EPOCH_buildDirectionPitch = 0;
|
|
EPOCH_buildDirectionRoll = 0;
|
|
EPOCH_target_attachedTo = player;
|
|
EPOCH_debugMode = false;
|
|
EPOCH_snapDirection = 0;
|
|
EPOCH_stabilityTarget = objNull;
|
|
EPOCH_equippedItem_PVS = [];
|
|
EPOCH_nearPower = false;
|
|
EPOCH_pendingP2ptradeTarget = objNull;
|
|
EPOCH_lastNPCtradeTarget = objNull;
|
|
EPOCH_clientAliveTimer = diag_tickTime;
|
|
EPOCH_lastJumptime = diag_tickTime;
|
|
EPOCH_lastAGTime = diag_tickTime;
|
|
EPOCH_lastMineRocks = diag_tickTime;
|
|
EPOCH_target = objNull;
|
|
EPOCH_Z_OFFSET = 0;
|
|
EPOCH_X_OFFSET = 0;
|
|
EPOCH_Y_OFFSET = 5;
|
|
EPOCH_arr_snapPoints = [];
|
|
EPOCH_prevTarget = objNull;
|
|
EPOCH_interactOption = 0;
|
|
EPOCH_playerStaminaMax = 100;
|
|
EPOCH_playerEnergyMax = 2500;
|
|
|
|
{
|
|
missionNamespace setVariable [format ["EPOCH_player%1",_x],EPOCH_defaultVars select _forEachIndex];
|
|
}forEach EPOCH_customVars;
|
|
|
|
// suppress group chatter
|
|
0 fadeRadio 0;
|
|
enableSentences false;
|
|
enableRadio false;
|
|
player setVariable["BIS_noCoreConversations", true];
|