mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
commit
ae62c66697
@ -43,16 +43,23 @@
|
|||||||
[Info] Some AI Scripts Mods may not work with disableRemoteSensors enabled. You can disable with "disableRemoteSensors = false;" in CfgEpochClient.
|
[Info] Some AI Scripts Mods may not work with disableRemoteSensors enabled. You can disable with "disableRemoteSensors = false;" in CfgEpochClient.
|
||||||
[Info] Removed old .bikey and added new one for 0380.
|
[Info] Removed old .bikey and added new one for 0380.
|
||||||
|
|
||||||
Build: 427
|
Build: 429
|
||||||
|
[Added] Install batch for all CUP mods and CBA. https://github.com/EpochModTeam/Epoch/tree/master/Tools/Install
|
||||||
|
[Changed] Make use of new getOutMan EH for vehicle epoch anti wall glitch checks.
|
||||||
|
[Changed] Change last few uses of hintSilent to Epoch_dynamicText. Now only the debug monitor uses hintSilent.
|
||||||
|
[Changed] 1.58 Difficulty Overhaul changes to enable 3rd person. Thanks to klinGiii on the forum: http://epochmod.com/forum/index.php?/topic/41922-158-difficulty-overhaul
|
||||||
|
[Changed] Epoch AH reworked displayAddEventHandler checks to use.
|
||||||
[Changed] Increased range for vehicle interactions to fix issues with access to larger vehicles. Thanks to Grahame for the report: http://epochmod.com/forum/index.php?/topic/41894-cannot-unlock-large-vehicles/
|
[Changed] Increased range for vehicle interactions to fix issues with access to larger vehicles. Thanks to Grahame for the report: http://epochmod.com/forum/index.php?/topic/41894-cannot-unlock-large-vehicles/
|
||||||
[Changed] Preloading sapper by spawning one on the map at server start.
|
[Changed] Preloading sapper by spawning one on the map at server start.
|
||||||
[Changed] Change to github markdown for credits and license.
|
[Changed] Change to github markdown for credits and license.
|
||||||
|
[Fixed] Fixed Arma install batch script not closing after update.
|
||||||
[Fixed] Mission loot payout not working. Thanks to @He-Man for the fix: http://epochmod.com/forum/index.php?/topic/41892-payout-trader-mission-broken/
|
[Fixed] Mission loot payout not working. Thanks to @He-Man for the fix: http://epochmod.com/forum/index.php?/topic/41892-payout-trader-mission-broken/
|
||||||
[Fixed] Crafting recipe for Vehicle Repair Kit had wrong part in usedIn array. Thanks to LeBarbare for the report: http://epochmod.com/forum/index.php?/topic/41896-wrong-recipe-place/
|
[Fixed] Crafting recipe for Vehicle Repair Kit had wrong part in usedIn array. Thanks to LeBarbare for the report: http://epochmod.com/forum/index.php?/topic/41896-wrong-recipe-place/
|
||||||
[Fixed] Green Marked traders unable to be accessed.
|
[Fixed] Green Marked traders unable to be accessed. Thanks to @He-Man for the report: http://epochmod.com/forum/index.php?/topic/41887-radom-unexpected-script-failure-with-traders-ai_slot/
|
||||||
[Fixed] Trailing commas in CfgLootTable.
|
[Fixed] Trailing commas in CfgLootTable.
|
||||||
[Fixed] Disallow building inside of vehicles.
|
[Fixed] Disallow building inside of vehicles.
|
||||||
[Fixed] Incorrectly enabled CUP vehicles and weapons support if only Core and Maps where enabled.
|
[Fixed] Incorrectly enabled CUP vehicles and weapons support if only Core and Maps where enabled.
|
||||||
[Fixed] removeExec Battleye kick fixed.
|
[Fixed] removeExec Battleye kick fixed.
|
||||||
[Fixed] Player getting stuck waiting for inventory to load.
|
[Fixed] Player getting stuck waiting for inventory to load.
|
||||||
[Fixed] Delete base object if over limit.
|
[Fixed] Delete base object if over limit.
|
||||||
|
[Info] Defined proper settings in full redis-example.conf
|
||||||
|
@ -15,4 +15,4 @@ http://www.bistudio.com/community/licenses/arma-public-license-share-alike
|
|||||||
|
|
||||||
Credits:
|
Credits:
|
||||||
=====
|
=====
|
||||||
https://github.com/EpochModTeam/Epoch/CREDITS.md
|
https://github.com/EpochModTeam/Epoch/blob/master/CREDITS.md
|
||||||
|
@ -3,7 +3,7 @@ BattlEyePath = C:\BattlEye
|
|||||||
InstanceID = NA123
|
InstanceID = NA123
|
||||||
LogAbuse = 1
|
LogAbuse = 1
|
||||||
IP = 127.0.0.1
|
IP = 127.0.0.1
|
||||||
Port = 2303
|
Port = 2304
|
||||||
Password = changeme
|
Password = changeme
|
||||||
|
|
||||||
[Redis]
|
[Redis]
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -57,7 +57,7 @@ tcp-backlog 511
|
|||||||
# Examples:
|
# Examples:
|
||||||
#
|
#
|
||||||
# bind 192.168.1.100 10.0.0.1
|
# bind 192.168.1.100 10.0.0.1
|
||||||
# bind 127.0.0.1
|
bind 127.0.0.1
|
||||||
|
|
||||||
|
|
||||||
# Specify the path for the Unix socket that will be used to listen for
|
# Specify the path for the Unix socket that will be used to listen for
|
||||||
@ -136,7 +136,7 @@ databases 16
|
|||||||
|
|
||||||
save 900 1
|
save 900 1
|
||||||
save 300 10
|
save 300 10
|
||||||
save 60 10000
|
save 60 1000
|
||||||
|
|
||||||
# By default Redis will stop accepting writes if RDB snapshots are enabled
|
# By default Redis will stop accepting writes if RDB snapshots are enabled
|
||||||
# (at least one save point) and the latest background save failed.
|
# (at least one save point) and the latest background save failed.
|
||||||
@ -383,7 +383,7 @@ slave-priority 100
|
|||||||
# 150k passwords per second against a good box. This means that you should
|
# 150k passwords per second against a good box. This means that you should
|
||||||
# use a very strong password otherwise it will be very easy to break.
|
# use a very strong password otherwise it will be very easy to break.
|
||||||
#
|
#
|
||||||
# requirepass foobared
|
requirepass Changeme9832
|
||||||
|
|
||||||
# Command renaming.
|
# Command renaming.
|
||||||
#
|
#
|
||||||
@ -512,7 +512,7 @@ slave-priority 100
|
|||||||
# Peak Working Set reported by the Windows Task Manager and the used_memory_peak
|
# Peak Working Set reported by the Windows Task Manager and the used_memory_peak
|
||||||
# reported by the INFO command.
|
# reported by the INFO command.
|
||||||
#
|
#
|
||||||
# maxmemory <bytes>
|
maxmemory 1gb
|
||||||
|
|
||||||
# MAXMEMORY POLICY: how Redis will select what to remove when maxmemory
|
# MAXMEMORY POLICY: how Redis will select what to remove when maxmemory
|
||||||
# is reached. You can select among five behaviors:
|
# is reached. You can select among five behaviors:
|
||||||
|
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.
@ -1,4 +1,4 @@
|
|||||||
RConPort 2303
|
RConPort 2304
|
||||||
RConPassword changemen0w
|
RConPassword changemen0w
|
||||||
MaxPing 350
|
MaxPing 350
|
||||||
|
|
@ -49,9 +49,10 @@
|
|||||||
7 ctrlSetEventHandler !"BIS_fnc_guiMessage_status" !"ctrlSetEventHandler ['LBDblClick', '_this call" !="_buttonRespawn ctrlseteventhandler [\"buttonclick\",\"with uinamespace do {['buttonRespawn'," !="_ctrl ctrlSetEventHandler [\"mouseEnter\"" !="_ctrlBtn ctrlSetEventHandler [\"MouseButtonDblClick\", _verAct];"
|
7 ctrlSetEventHandler !"BIS_fnc_guiMessage_status" !"ctrlSetEventHandler ['LBDblClick', '_this call" !="_buttonRespawn ctrlseteventhandler [\"buttonclick\",\"with uinamespace do {['buttonRespawn'," !="_ctrl ctrlSetEventHandler [\"mouseEnter\"" !="_ctrlBtn ctrlSetEventHandler [\"MouseButtonDblClick\", _verAct];"
|
||||||
7 addMPEventHandler
|
7 addMPEventHandler
|
||||||
7 addEventHandler !"displayAddEventHandler" !"ctrlAddEventHandler" !"[\"FiredNear"\" !"[\"EpeContactStart"\" !"[\"GetOut"\" !"[\"local"\" !"[\"PostReset"\" !"[\"TaskSetAsCurrent"\" !="player addEventHandler [_x,([\"CfgEpochClient\", _x, \"\"] call EPOCH_fnc_returnConfigEntryV2)];" !="\"CBA_fnc_addEventHandler\"" !="\\fnc_addEventHandler" !="\"addEventHandler" !="_eventFunc = _eventFunc + \"(_this select 0) addEventHandler ['Respawn', \" + str _eventFunc + \"];\";" !="_unit addEventHandler [\"hitpart\"," !="CBA_fnc_addEventHandler"
|
7 addEventHandler !"displayAddEventHandler" !"ctrlAddEventHandler" !"[\"FiredNear"\" !"[\"EpeContactStart"\" !"[\"GetOut"\" !"[\"local"\" !"[\"PostReset"\" !"[\"TaskSetAsCurrent"\" !="player addEventHandler [_x,([\"CfgEpochClient\", _x, \"\"] call EPOCH_fnc_returnConfigEntryV2)];" !="\"CBA_fnc_addEventHandler\"" !="\\fnc_addEventHandler" !="\"addEventHandler" !="_eventFunc = _eventFunc + \"(_this select 0) addEventHandler ['Respawn', \" + str _eventFunc + \"];\";" !="_unit addEventHandler [\"hitpart\"," !="CBA_fnc_addEventHandler"
|
||||||
7 displayAddEventHandler !="(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"true\"];" !="_display displayAddEventHandler [_x,([\"CfgEpochClient\", _x, \"\"] call EPOCH_fnc_returnConfigEntryV2)];" !="_addCase = _display46 displayAddEventHandler ['KeyDown',{_this call EPOCH_KeyDown}];" !="_display displayaddeventhandler\n[\n\"mousemoving\"," !="_display displayaddeventhandler [\"unload\",\"uinamespace setvariable ['BIS_fnc_guiMess" !="findDisplay -1337 displayAddEventHandler ['Unload'" !="_display displayaddeventhandler [\"keydown\",\"with uinamespace do {['keyDown'" !="_display displayaddeventhandler [_x,_fnc_animate];" !="Development\") then\n{\n_display displayaddeventhandler [\n\"keydown\"" !="_display displayaddeventhandler [\"mousemoving\",\"with uinamespace do {['watchFields'" !="/"CBA_fnc_addDisplayHandler/""
|
7 displayAddEventHandler !="(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"true\"];" !="_display displayAddEventHandler [_x,([\"CfgEpochClient\", _x, \"\"] call EPOCH_fnc_returnConfigEntryV2)];" !="_display displayaddeventhandler\n[\n\"mousemoving\"," !="_display displayaddeventhandler [\"unload\",\"uinamespace setvariable ['BIS_fnc_guiMess" !="findDisplay -1337 displayAddEventHandler ['Unload'" !="_display displayaddeventhandler [\"keydown\",\"with uinamespace do {['keyDown'" !="_display displayaddeventhandler [_x,_fnc_animate];" !="Development\") then\n{\n_display displayaddeventhandler [\n\"keydown\"" !="_display displayaddeventhandler [\"mousemoving\",\"with uinamespace do {['watchFields'" !="/"CBA_fnc_addDisplayHandler/""
|
||||||
7 ctrlAddEventHandler !"rCfg >> \"refreshDelay\");" !" [\n\"draw\"," !" [\"buttonclick\"," !="(uiNamespace getVariable 'ESP_map') ctrlAddEventHandler['Draw', '_esp_targets = EPOCH_ESPMAP_TARGETS;" !="ctrlAddEventHandler ['MouseButtonDown'" !="(_display displayctrl _idc) ctrlAddEventHandler [\"LBSelChanged\"," !="_ctrl ctrlSetEventHandler [\"mouseEnter\", (format [\"_c = _this select 0;" !="_ctrl ctrlSetEventHandler [\"mouseExit\", (format [\"_c = _this select 0;" !="_ctrl ctrlSetEventHandler [\"mouseButtonDown\", (format [\"call %1;\",(_buttonSettings select _e select 2)])];" !="_prevButton ctrlAddEventHandler [\"MouseButtonUp\", {_this call cba_diagnostic_fnc_debug"
|
7 ctrlAddEventHandler !"rCfg >> \"refreshDelay\");" !" [\n\"draw\"," !" [\"buttonclick\"," !="(uiNamespace getVariable 'ESP_map') ctrlAddEventHandler['Draw', '_esp_targets = EPOCH_ESPMAP_TARGETS;" !="ctrlAddEventHandler ['MouseButtonDown'" !="(_display displayctrl _idc) ctrlAddEventHandler [\"LBSelChanged\"," !="_ctrl ctrlSetEventHandler [\"mouseEnter\", (format [\"_c = _this select 0;" !="_ctrl ctrlSetEventHandler [\"mouseExit\", (format [\"_c = _this select 0;" !="_ctrl ctrlSetEventHandler [\"mouseButtonDown\", (format [\"call %1;\",(_buttonSettings select _e select 2)])];" !="_prevButton ctrlAddEventHandler [\"MouseButtonUp\", {_this call cba_diagnostic_fnc_debug"
|
||||||
7 removeAllEventHandlers !="ctrlRemoveAllEventHandlers" !="_vehicle removeAllEventHandlers \"GetOut\";" !="_sapper removeAllEventHandlers \"Hit\";\n_sapper removeAllEventHandlers \"FiredNear\";" !="_unit removeAllEventHandlers \"Hit\";\n_unit removeAllEventHandlers \"FiredNear\";" !="_display46 displayRemoveAllEventHandlers 'KeyDown';" !="if !(isMultiplayer) then { { (findDisplay 46) displayRemoveAllEventHandlers _x } forEach [\"KeyUp\", \"KeyDown\"] };"
|
7 removeAllEventHandlers !="ctrlRemoveAllEventHandlers" !="displayRemoveAllEventHandlers" !="_vehicle removeAllEventHandlers \"GetOut\";" !="_sapper removeAllEventHandlers \"Hit\";\n_sapper removeAllEventHandlers \"FiredNear\";" !="_unit removeAllEventHandlers \"Hit\";\n_unit removeAllEventHandlers \"FiredNear\";"
|
||||||
|
7 displayRemoveAllEventHandlers !="_display displayRemoveAllEventHandlers _x;" !="if !(isMultiplayer) then { { (findDisplay 46) displayRemoveAllEventHandlers _x } forEach [\"KeyUp\", \"KeyDown\"] };"
|
||||||
7 removeAllMissionEventHandlers
|
7 removeAllMissionEventHandlers
|
||||||
7 ctrlRemoveAllEventHandlers !="(uiNamespace getVariable 'ESP_map') ctrlRemoveAllEventHandlers 'Draw';" !="ctrlAddEventHandler ['MouseButtonDown'"
|
7 ctrlRemoveAllEventHandlers !="(uiNamespace getVariable 'ESP_map') ctrlRemoveAllEventHandlers 'Draw';" !="ctrlAddEventHandler ['MouseButtonDown'"
|
||||||
7 removeEventHandler !="displayRemoveEventHandler" !="player removeEventHandler ['Fired', 0];" !"_currentTarget removeEventHandler[\"EpeContactStart\", _onContactEH]" !" [_adminVar,objnull];\npublicvariable _adminVar;\nplayer removeeventhandler [\"respawn\",_respawn];" !="_plyr removeEventHandler [\"FiredNear\", _smokeEH];" !="player removeEventHandler [_ehKey, 0];" !="\"CBA_fnc_removeEventHandler\"" !="\\fnc_removeEventHandler" !="\"removeEventHandler"
|
7 removeEventHandler !="displayRemoveEventHandler" !="player removeEventHandler ['Fired', 0];" !"_currentTarget removeEventHandler[\"EpeContactStart\", _onContactEH]" !" [_adminVar,objnull];\npublicvariable _adminVar;\nplayer removeeventhandler [\"respawn\",_respawn];" !="_plyr removeEventHandler [\"FiredNear\", _smokeEH];" !="player removeEventHandler [_ehKey, 0];" !="\"CBA_fnc_removeEventHandler\"" !="\\fnc_removeEventHandler" !="\"removeEventHandler"
|
@ -1,14 +1,14 @@
|
|||||||
// EPOCH SERVER CONFIG
|
// EPOCH SERVER CONFIG
|
||||||
|
|
||||||
// GLOBAL SETTINGS
|
// GLOBAL SETTINGS
|
||||||
hostname = "EpochMod.com (0.3.8|1.54) ID02 YourHost";
|
hostname = "EpochMod.com (0.3.8|1.58) ID02 YourHost";
|
||||||
password = "";
|
password = "";
|
||||||
passwordAdmin = "!CHANGE_THIS_PASSWORD!";
|
passwordAdmin = "!CHANGE_THIS_PASSWORD!";
|
||||||
serverCommandPassword = "!CHANGE_THIS_PASSWORD!";
|
serverCommandPassword = "!CHANGE_THIS_PASSWORD!";
|
||||||
logFile = "A3Master.log";
|
logFile = "A3Master.log";
|
||||||
verifySignatures = 2;
|
verifySignatures = 2;
|
||||||
BattlEye = 1;
|
BattlEye = 1;
|
||||||
requiredBuild = 133741;
|
requiredBuild = 135656;
|
||||||
|
|
||||||
// WHITELIST FILE TYPES
|
// WHITELIST FILE TYPES
|
||||||
allowedLoadFileExtensions[] = {:};
|
allowedLoadFileExtensions[] = {:};
|
||||||
@ -39,7 +39,7 @@ allowedVotedAdminCmds[] = {};
|
|||||||
|
|
||||||
// INGAME SETTINGS
|
// INGAME SETTINGS
|
||||||
disableVoN = 0; // If set to 1, Voice over Net will not be available
|
disableVoN = 0; // If set to 1, Voice over Net will not be available
|
||||||
vonCodecQuality = 20; // Quality from 1 to 30
|
vonCodecQuality = 30; // Quality from 1 to 30
|
||||||
forceRotorLibSimulation = 0; // Enforces the Advanced Flight Model on the server. Default = 0 (up to the player). 1 - forced AFM, 2 - forced SFM.
|
forceRotorLibSimulation = 0; // Enforces the Advanced Flight Model on the server. Default = 0 (up to the player). 1 - forced AFM, 2 - forced SFM.
|
||||||
persistent = 1; // If 1, missions still run on even after the last player disconnected.
|
persistent = 1; // If 1, missions still run on even after the last player disconnected.
|
||||||
|
|
||||||
@ -48,7 +48,7 @@ class Missions
|
|||||||
{
|
{
|
||||||
class Epoch {
|
class Epoch {
|
||||||
template = epoch.Altis; // DO NOT CHANGE THIS, IT WILL BREAK YOUR SERVER
|
template = epoch.Altis; // DO NOT CHANGE THIS, IT WILL BREAK YOUR SERVER
|
||||||
difficulty = "veteran"; // difficulty settings: veteran == NORMAL, mercenary == HARDCORE
|
difficulty = "custom"; // difficulty settings: Recruit, Regular Veteran, Custom
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -1,58 +1,42 @@
|
|||||||
version=2;
|
version=1;
|
||||||
|
blood=1;
|
||||||
viewDistance=3000;
|
singleVoice=0;
|
||||||
preferredObjectViewDistance=3000;
|
gamma=1;
|
||||||
terrainGrid=12.5;
|
brightness=1;
|
||||||
activeKeys[]=
|
difficulty = "Custom";
|
||||||
|
class DifficultyPresets
|
||||||
{
|
{
|
||||||
};
|
class CustomDifficulty
|
||||||
|
{
|
||||||
|
class Options
|
||||||
|
{
|
||||||
|
groupIndicators=2;
|
||||||
|
friendlyTags=0;
|
||||||
|
enemyTags=0;
|
||||||
|
detectedMines=0;
|
||||||
|
commands=1;
|
||||||
|
waypoints=1;
|
||||||
|
weaponInfo=0;
|
||||||
|
stanceIndicator=1;
|
||||||
|
reducedDamage=0;
|
||||||
|
staminaBar=0;
|
||||||
|
weaponCrosshair=1;
|
||||||
|
visionAid=0;
|
||||||
|
thirdPersonView=1;
|
||||||
|
cameraShake=1;
|
||||||
|
scoreTable=1;
|
||||||
|
deathMessages=1;
|
||||||
|
vonID=1;
|
||||||
|
mapContent=0;
|
||||||
|
autoReport=0;
|
||||||
|
multipleSaves=0;
|
||||||
|
|
||||||
class Difficulties
|
|
||||||
{
|
|
||||||
class veteran
|
|
||||||
{
|
|
||||||
class Flags
|
|
||||||
{
|
|
||||||
Armor=0;
|
|
||||||
FriendlyTag=1;
|
|
||||||
EnemyTag=0;
|
|
||||||
MineTag=0;
|
|
||||||
HUD=1;
|
|
||||||
HUDWp=1;
|
|
||||||
HUDWpPerm=1;
|
|
||||||
HUDGroupInfo=1;
|
|
||||||
AutoSpot=0;
|
|
||||||
WeaponCursor=1;
|
|
||||||
ClockIndicator=1;
|
|
||||||
3rdPersonView=1;
|
|
||||||
UltraAI=0;
|
|
||||||
CameraShake=0;
|
|
||||||
DeathMessages=1;
|
|
||||||
NetStats=1;
|
|
||||||
VonID=1;
|
|
||||||
ExtendetInfoType=0;
|
|
||||||
};
|
};
|
||||||
skillFriendly=0.6;
|
aiLevelPreset=2;
|
||||||
skillEnemy=0.6;
|
|
||||||
precisionFriendly=0.28;
|
|
||||||
precisionEnemy=0.28;
|
|
||||||
};
|
};
|
||||||
class mercenary
|
class CustomAILevel
|
||||||
{
|
{
|
||||||
class Flags
|
skillAI=1;
|
||||||
{
|
precisionAI=0;
|
||||||
HUD=1;
|
|
||||||
AutoSpot=0;
|
|
||||||
WeaponCursor=0;
|
|
||||||
DeathMessages=1;
|
|
||||||
NetStats=1;
|
|
||||||
VonID=1;
|
|
||||||
};
|
|
||||||
skillFriendly=0.6;
|
|
||||||
skillEnemy=0.6;
|
|
||||||
precisionFriendly=0.28;
|
|
||||||
precisionEnemy=0.28;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
difficulty="veteran";
|
|
@ -13,10 +13,8 @@
|
|||||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/compile/EPOCH_antiWall.sqf
|
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_code/compile/EPOCH_antiWall.sqf
|
||||||
*/
|
*/
|
||||||
private ["_worldPos","_front","_dirTo","_front2"];
|
private ["_worldPos","_front","_dirTo","_front2"];
|
||||||
params ["_vehicle","_position","_unit"];
|
params ["_unit","_position","_vehicle"];
|
||||||
if (_unit == player) then {
|
if (_unit == player) then {
|
||||||
_vehicle removeAllEventHandlers "GetOut";
|
|
||||||
EPOCH_currentVehicle = objNull;
|
|
||||||
_worldPos = getPosATLVisual _vehicle;
|
_worldPos = getPosATLVisual _vehicle;
|
||||||
_worldPos set[2, (_worldPos select 2) + 1];
|
_worldPos set[2, (_worldPos select 2) + 1];
|
||||||
_front = _worldPos;
|
_front = _worldPos;
|
||||||
|
@ -40,6 +40,7 @@ if !(alive player && alive _playerObject && !isPlayer _playerObject) then {
|
|||||||
("BIS_fnc_respawnCounter" call BIS_fnc_rscLayer) cutText ["","PLAIN"];
|
("BIS_fnc_respawnCounter" call BIS_fnc_rscLayer) cutText ["","PLAIN"];
|
||||||
|
|
||||||
{
|
{
|
||||||
|
player removeEventHandler [_x, 0];
|
||||||
player addEventHandler [_x,(["CfgEpochClient", _x, ""] call EPOCH_fnc_returnConfigEntryV2)];
|
player addEventHandler [_x,(["CfgEpochClient", _x, ""] call EPOCH_fnc_returnConfigEntryV2)];
|
||||||
} forEach (["CfgEpochClient", "addEventHandler", []] call EPOCH_fnc_returnConfigEntryV2);
|
} forEach (["CfgEpochClient", "addEventHandler", []] call EPOCH_fnc_returnConfigEntryV2);
|
||||||
|
|
||||||
|
@ -50,13 +50,4 @@ while {'+_condition+'} do {
|
|||||||
};
|
};
|
||||||
';
|
';
|
||||||
}forEach _configs;
|
}forEach _configs;
|
||||||
_build_sqf = _build_sqf + '
|
|
||||||
if (vehicle player != player) then {
|
|
||||||
if (isNull EPOCH_currentVehicle) then {
|
|
||||||
EPOCH_currentVehicle = vehicle player;
|
|
||||||
EPOCH_currentVehicle addEventHandler["GetOut", "_this call EPOCH_antiWall"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
uiSleep 0.1;
|
|
||||||
};';
|
|
||||||
call compile _build_sqf;
|
call compile _build_sqf;
|
||||||
|
@ -28,12 +28,11 @@ if (_vehicle == player) then {
|
|||||||
if (EPOCH_buildMode > 0) then {
|
if (EPOCH_buildMode > 0) then {
|
||||||
EPOCH_buildMode = 0;
|
EPOCH_buildMode = 0;
|
||||||
EPOCH_snapDirection = 0;
|
EPOCH_snapDirection = 0;
|
||||||
hintsilent "BUILD MODE: DISABLED";
|
[format["<t size='1.6' color='#99ffffff'>BUILD MODE:%1</t>","DISABLED"], 5] call Epoch_dynamicText;
|
||||||
EPOCH_Target = objNull;
|
EPOCH_Target = objNull;
|
||||||
// EPOCH_SURVEY = [];
|
|
||||||
};
|
};
|
||||||
_increaseStamina = true;
|
_increaseStamina = true;
|
||||||
// TODO: move to vehicle configs
|
// TODO: move back to vehicle configs
|
||||||
switch (typeOf _vehicle) do {
|
switch (typeOf _vehicle) do {
|
||||||
case "jetski_epoch": {
|
case "jetski_epoch": {
|
||||||
_clock_hour10 = floor ((date select 3)/10);
|
_clock_hour10 = floor ((date select 3)/10);
|
||||||
|
@ -35,7 +35,7 @@ if (getPlayerUID player == Epoch_my_GroupUID) then {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
} else {
|
} else {
|
||||||
hintSilent "You need to select a player!";
|
["<t size='1.6' color='#99ffffff'>You need to select a player!</t>", 5] call Epoch_dynamicText;
|
||||||
};
|
};
|
||||||
true
|
true
|
||||||
} else {
|
} else {
|
||||||
|
@ -46,7 +46,6 @@ EPOCH_prevOffer = [];
|
|||||||
EPOCH_drawIcon3d = false;
|
EPOCH_drawIcon3d = false;
|
||||||
EPOCH_velTransform = false;
|
EPOCH_velTransform = false;
|
||||||
EPOCH_stabilityTarget = objNull;
|
EPOCH_stabilityTarget = objNull;
|
||||||
EPOCH_currentVehicle = objNull;
|
|
||||||
EPOCH_currentTarget = objNull;
|
EPOCH_currentTarget = objNull;
|
||||||
EPOCH_LootedBlds = [];
|
EPOCH_LootedBlds = [];
|
||||||
EPOCH_lootObjects = [];
|
EPOCH_lootObjects = [];
|
||||||
|
@ -59,7 +59,7 @@ class CfgEpochClient
|
|||||||
displayAddEventHandler[] = {"keyDown","keyUp"};
|
displayAddEventHandler[] = {"keyDown","keyUp"};
|
||||||
keyDown = "(_this call EPOCH_KeyDown)";
|
keyDown = "(_this call EPOCH_KeyDown)";
|
||||||
keyUp = "(_this call EPOCH_KeyUp)";
|
keyUp = "(_this call EPOCH_KeyUp)";
|
||||||
addEventHandler[] = {"Respawn","Put","Take","InventoryClosed","InventoryOpened","Fired","Killed","HandleRating"};
|
addEventHandler[] = {"Respawn","Put","Take","InventoryClosed","InventoryOpened","Fired","Killed","HandleRating","GetInMan","GetOutMan"};
|
||||||
Respawn = "(_this select 0) call EPOCH_clientRespawn";
|
Respawn = "(_this select 0) call EPOCH_clientRespawn";
|
||||||
Put = "(_this select 1) call EPOCH_interact;_this call EPOCH_PutHandler";
|
Put = "(_this select 1) call EPOCH_interact;_this call EPOCH_PutHandler";
|
||||||
Take = "(_this select 1) call EPOCH_interact;_this call EPOCH_UnisexCheck";
|
Take = "(_this select 1) call EPOCH_interact;_this call EPOCH_UnisexCheck";
|
||||||
@ -73,6 +73,8 @@ class CfgEpochClient
|
|||||||
Dammaged = "";
|
Dammaged = "";
|
||||||
Hit = "";
|
Hit = "";
|
||||||
HitPart = "";
|
HitPart = "";
|
||||||
|
GetInMan = "";
|
||||||
|
GetOutMan = "_this call EPOCH_antiWall;";
|
||||||
|
|
||||||
// suppress these units from spawning near Jammer or Traders
|
// suppress these units from spawning near Jammer or Traders
|
||||||
nonJammerAI[] = {"B_Heli_Transport_01_F","PHANTOM","Epoch_Cloak_F"};
|
nonJammerAI[] = {"B_Heli_Transport_01_F","PHANTOM","Epoch_Cloak_F"};
|
||||||
|
@ -1 +1 @@
|
|||||||
build=427;
|
build=429;
|
||||||
|
@ -1 +1 @@
|
|||||||
build=427;
|
build=429;
|
||||||
|
@ -49,9 +49,6 @@ _skn_badVarCheckArray = [_cfg_variablesConfig, "badVars", ['ESP_map','ESP_mainMa
|
|||||||
_skn_nilVarCheckArray = [_cfg_variablesConfig, "nilVars", ['EPOCH_antiWallCount','EPOCH_playerEnergy','EPOCH_playerHunger','EPOCH_playerStamina','EPOCH_playerCrypto','EPOCH_target','EPOCH_ESP_TARGETS','EPOCH_ESPMAP_TARGETS','EPOCH_taxRate','EPOCH_ESP_VEHICLEPLAYER','EPOCH_ESP_PLAYER','EPOCH_ESP_VEHICLES']] call EPOCH_fnc_returnConfigEntry;
|
_skn_nilVarCheckArray = [_cfg_variablesConfig, "nilVars", ['EPOCH_antiWallCount','EPOCH_playerEnergy','EPOCH_playerHunger','EPOCH_playerStamina','EPOCH_playerCrypto','EPOCH_target','EPOCH_ESP_TARGETS','EPOCH_ESPMAP_TARGETS','EPOCH_taxRate','EPOCH_ESP_VEHICLEPLAYER','EPOCH_ESP_PLAYER','EPOCH_ESP_VEHICLES']] call EPOCH_fnc_returnConfigEntry;
|
||||||
_skn_commandMenuArray = [(_config >> "commandMenu"), "menus",['','RscSelectTeam','RscTeam','RscMoveHigh','#GETIN','#RscStatus','#WATCH0','RscCombatMode','RscMenuReply','RscCallSupport','#CUSTOM_RADIO','#User:BIS_fnc_addCommMenuItem_menu','RscRadio','RscReply','#ACTION','RscMenuFormations','#WATCH','RscGroupRootMenu','RscMainMenu','RscMenuMove','RscWatchDir','RscWatchMoveDir','#User:BIS_Menu_GroupCommunication','RscMenuStatus','RscFormations']] call EPOCH_fnc_returnConfigEntry;
|
_skn_commandMenuArray = [(_config >> "commandMenu"), "menus",['','RscSelectTeam','RscTeam','RscMoveHigh','#GETIN','#RscStatus','#WATCH0','RscCombatMode','RscMenuReply','RscCallSupport','#CUSTOM_RADIO','#User:BIS_fnc_addCommMenuItem_menu','RscRadio','RscReply','#ACTION','RscMenuFormations','#WATCH','RscGroupRootMenu','RscMainMenu','RscMenuMove','RscWatchDir','RscWatchMoveDir','#User:BIS_Menu_GroupCommunication','RscMenuStatus','RscFormations']] call EPOCH_fnc_returnConfigEntry;
|
||||||
|
|
||||||
_skn_displayAddEHKeyDown = ["CfgEpochClient", "keyDown", "keyDown",'(_this call EPOCH_KeyDown)'] call EPOCH_fnc_returnConfigEntryV2;
|
|
||||||
_skn_displayAddEHKeyUp = ["CfgEpochClient", "keyUp", "keyUp",'(_this call EPOCH_KeyUp)'] call EPOCH_fnc_returnConfigEntryV2;
|
|
||||||
|
|
||||||
_skn_addEHConfig = (_config >> "addEventHandler");
|
_skn_addEHConfig = (_config >> "addEventHandler");
|
||||||
_skn_displayAddEHChecks = [_skn_addEHConfig, "checks",[]] call EPOCH_fnc_returnConfigEntry;
|
_skn_displayAddEHChecks = [_skn_addEHConfig, "checks",[]] call EPOCH_fnc_returnConfigEntry;
|
||||||
|
|
||||||
@ -809,7 +806,6 @@ _skn_code_antihack = compileFinal ("
|
|||||||
disableSerialization;
|
disableSerialization;
|
||||||
_ActionCount = -1;
|
_ActionCount = -1;
|
||||||
_ActionVehicle = player;
|
_ActionVehicle = player;
|
||||||
_displayCountKD = 0;
|
|
||||||
_displayCount = 0;
|
_displayCount = 0;
|
||||||
_personalToken = Epoch_personalToken;
|
_personalToken = Epoch_personalToken;
|
||||||
_antiWallCount = 0;
|
_antiWallCount = 0;
|
||||||
@ -884,18 +880,15 @@ _skn_code_antihack = compileFinal ("
|
|||||||
[format['viewDistance %1',viewDistance],0] call "+_sknBanANDSleep+";
|
[format['viewDistance %1',viewDistance],0] call "+_sknBanANDSleep+";
|
||||||
};
|
};
|
||||||
"+_sknAddActionCheck+"
|
"+_sknAddActionCheck+"
|
||||||
_display46 = findDisplay 46;
|
_display = findDisplay 46;
|
||||||
if !(isNull _display46) then {
|
if !(isNull _display) then {
|
||||||
_display46 displayRemoveAllEventHandlers 'KeyDown';
|
{
|
||||||
_addCase = _display46 displayAddEventHandler ['KeyDown',{"+_skn_displayAddEHKeyDown+"}];
|
_display displayRemoveAllEventHandlers _x;
|
||||||
if (_addCase != _displayCountKD) then {
|
_addCase = _display displayAddEventHandler [_x,([""CfgEpochClient"", _x, """"] call EPOCH_fnc_returnConfigEntryV2)];
|
||||||
[format['DEH: KeyDown %1/%2',_addCase,_displayCountKD],0] call "+_sknBanANDSleep+";
|
|
||||||
};
|
|
||||||
_display46 displayRemoveAllEventHandlers 'KeyUp';
|
|
||||||
_addCase = _display46 displayAddEventHandler ['KeyUp',{"+_skn_displayAddEHKeyUp+"}];
|
|
||||||
if (_addCase != _displayCount) then {
|
if (_addCase != _displayCount) then {
|
||||||
[format['DEH: KeyUp %1/%2',_addCase,_displayCount],0] call "+_sknBanANDSleep+";
|
[format['DEH: %3 %1/%2',_addCase,_displayCount,_x],0] call "+_sknBanANDSleep+";
|
||||||
};
|
};
|
||||||
|
} forEach (['CfgEpochClient', 'displayAddEventHandler', []] call EPOCH_fnc_returnConfigEntryV2);
|
||||||
};
|
};
|
||||||
uiSleep ((random 1)+1);
|
uiSleep ((random 1)+1);
|
||||||
};
|
};
|
||||||
|
@ -1 +1 @@
|
|||||||
build=427;
|
build=429;
|
||||||
|
@ -1 +1 @@
|
|||||||
build=427;
|
build=429;
|
||||||
|
@ -14,4 +14,5 @@ SET ARMAAPPID=107410
|
|||||||
|
|
||||||
:: more info https://community.bistudio.com/wiki/Arma_3_Dedicated_Server
|
:: more info https://community.bistudio.com/wiki/Arma_3_Dedicated_Server
|
||||||
|
|
||||||
steamcmd.exe +login %STEAMUN% %STEAMPW% +force_install_dir "%ARMASVRPATH%" "+app_update %ARMAAPPID%" validate +quit
|
:: steamcmd.exe +login %STEAMUN% %STEAMPW% +force_install_dir "%ARMASVRPATH%" "+app_update %ARMAAPPID% validate" +quit
|
||||||
|
steamcmd.exe +login %STEAMUN% %STEAMPW% +force_install_dir "%ARMASVRPATH%" "+app_update %ARMAAPPID%" +quit
|
||||||
|
84
Tools/Install/InstallCUPAll.cmd
Normal file
84
Tools/Install/InstallCUPAll.cmd
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
@ECHO OFF
|
||||||
|
SET STEAMUN=admin@youremail.net
|
||||||
|
SET STEAMPW=chamgeme
|
||||||
|
SET ARMASVRPATH=C:\Arma3Server
|
||||||
|
SET ARMAAPPID=107410
|
||||||
|
|
||||||
|
:: Use -mod line with quotes to support spaces in folder
|
||||||
|
:: Example: -mod="@epoch;@CBA_A3;@CUP Units;@CUP Vehicles;@CUP Weapons;@CUP Terrains - Core;@CUP Terrains - Maps;"
|
||||||
|
|
||||||
|
:: Install CUP CORE
|
||||||
|
SET MODFOLDER=@CUP Terrains - Core
|
||||||
|
SET ARMAWORKSHOPID=583496184
|
||||||
|
:: remove old folder
|
||||||
|
rd /s/q "%ARMASVRPATH%\%MODFOLDER%"
|
||||||
|
:: update workshop mod
|
||||||
|
START "" /WAIT steamcmd.exe +login %STEAMUN% %STEAMPW% +workshop_download_item %ARMAAPPID% %ARMAWORKSHOPID% +quit
|
||||||
|
:: copy files back to server
|
||||||
|
xcopy /s/e/y/q/i "steamapps\workshop\content\%ARMAAPPID%\%ARMAWORKSHOPID%" "%ARMASVRPATH%\%MODFOLDER%"
|
||||||
|
:: Remove old bikey
|
||||||
|
del "%ARMASVRPATH%\Keys\cup_terrains_core-*.bikey"
|
||||||
|
:: add new bikey
|
||||||
|
xcopy /s/e/y/q/i "%ARMASVRPATH%\%MODFOLDER%\Keys" "%ARMASVRPATH%\Keys"
|
||||||
|
|
||||||
|
:: Install CUP MAPS
|
||||||
|
SET MODFOLDER=@CUP Terrains - Maps
|
||||||
|
SET ARMAWORKSHOPID=583544987
|
||||||
|
:: remove old folder
|
||||||
|
rd /s/q "%ARMASVRPATH%\%MODFOLDER%"
|
||||||
|
:: update workshop mod
|
||||||
|
START "" /WAIT steamcmd.exe +login %STEAMUN% %STEAMPW% +workshop_download_item %ARMAAPPID% %ARMAWORKSHOPID% +quit
|
||||||
|
:: copy files back to server
|
||||||
|
xcopy /s/e/y/q/i "steamapps\workshop\content\%ARMAAPPID%\%ARMAWORKSHOPID%" "%ARMASVRPATH%\%MODFOLDER%"
|
||||||
|
:: Remove old bikey
|
||||||
|
del "%ARMASVRPATH%\Keys\cup_terrains_maps-*.bikey"
|
||||||
|
:: add new bikey
|
||||||
|
xcopy /s/e/y/q/i "%ARMASVRPATH%\%MODFOLDER%\Keys" "%ARMASVRPATH%\Keys"
|
||||||
|
|
||||||
|
:: Install CUP Vehicles
|
||||||
|
SET ARMAWORKSHOPID=541888371
|
||||||
|
SET MODFOLDER=@CUP Vehicles
|
||||||
|
:: remove mod folder
|
||||||
|
rd /s/q "%ARMASVRPATH%\%MODFOLDER%"
|
||||||
|
:: update workshop mod
|
||||||
|
START "" /WAIT steamcmd.exe +login %STEAMUN% %STEAMPW% +workshop_download_item %ARMAAPPID% %ARMAWORKSHOPID% validate +quit
|
||||||
|
:: copy files back to server
|
||||||
|
xcopy /s/e/y/q/i "steamapps\workshop\content\%ARMAAPPID%\%ARMAWORKSHOPID%" "%ARMASVRPATH%\%MODFOLDER%"
|
||||||
|
del "%ARMASVRPATH%\Keys\cup_vehicles-*.bikey"
|
||||||
|
xcopy /s/e/y/q/i "%ARMASVRPATH%\%MODFOLDER%\Keys" "%ARMASVRPATH%\Keys"
|
||||||
|
|
||||||
|
:: Install CBA
|
||||||
|
SET ARMAWORKSHOPID=450814997
|
||||||
|
SET MODFOLDER=@CBA_A3
|
||||||
|
:: remove mod folder
|
||||||
|
rd /s/q "%ARMASVRPATH%\%MODFOLDER%"
|
||||||
|
:: update workshop mod
|
||||||
|
START "" /WAIT steamcmd.exe +login %STEAMUN% %STEAMPW% +workshop_download_item %ARMAAPPID% %ARMAWORKSHOPID% validate +quit
|
||||||
|
:: copy files back to server
|
||||||
|
xcopy /s/e/y/q/i "steamapps\workshop\content\%ARMAAPPID%\%ARMAWORKSHOPID%" "%ARMASVRPATH%\%MODFOLDER%"
|
||||||
|
del "%ARMASVRPATH%\Keys\cba_*.bikey"
|
||||||
|
xcopy /s/e/y/q/i "%ARMASVRPATH%\%MODFOLDER%\Keys" "%ARMASVRPATH%\Keys"
|
||||||
|
|
||||||
|
:: Install CUP Weapons
|
||||||
|
SET ARMAWORKSHOPID=497660133
|
||||||
|
SET MODFOLDER=@CUP Weapons
|
||||||
|
:: remove mod folder
|
||||||
|
rd /s/q "%ARMASVRPATH%\%MODFOLDER%"
|
||||||
|
:: update workshop mod
|
||||||
|
START "" /WAIT steamcmd.exe +login %STEAMUN% %STEAMPW% +workshop_download_item %ARMAAPPID% %ARMAWORKSHOPID% validate +quit
|
||||||
|
:: copy files back to server
|
||||||
|
xcopy /s/e/y/q/i "steamapps\workshop\content\%ARMAAPPID%\%ARMAWORKSHOPID%" "%ARMASVRPATH%\%MODFOLDER%"
|
||||||
|
del "%ARMASVRPATH%\Keys\cup_weapons-*.bikey"
|
||||||
|
xcopy /s/e/y/q/i "%ARMASVRPATH%\%MODFOLDER%\Keys" "%ARMASVRPATH%\Keys"
|
||||||
|
|
||||||
|
:: Install CUP Units
|
||||||
|
SET ARMAWORKSHOPID=497661914
|
||||||
|
SET MODFOLDER=@CUP Units
|
||||||
|
:: remove mod folder
|
||||||
|
rd /s/q "%ARMASVRPATH%\%MODFOLDER%"
|
||||||
|
:: update workshop mod
|
||||||
|
START "" /WAIT steamcmd.exe +login %STEAMUN% %STEAMPW% +workshop_download_item %ARMAAPPID% %ARMAWORKSHOPID% validate +quit
|
||||||
|
:: copy files back to server
|
||||||
|
xcopy /s/e/y/q/i "steamapps\workshop\content\%ARMAAPPID%\%ARMAWORKSHOPID%" "%ARMASVRPATH%\%MODFOLDER%"
|
||||||
|
del "%ARMASVRPATH%\Keys\cup_units-*.bikey"
|
||||||
|
xcopy /s/e/y/q/i "%ARMASVRPATH%\%MODFOLDER%\Keys" "%ARMASVRPATH%\Keys"
|
@ -21,6 +21,13 @@ START "" /WAIT steamcmd.exe +login %STEAMUN% %STEAMPW% +workshop_download_item %
|
|||||||
:: copy files back to server
|
:: copy files back to server
|
||||||
xcopy /s/e/y/q/i "steamapps\workshop\content\%ARMAAPPID%\%ARMAWORKSHOPID%" "%ARMASVRPATH%\%MODFOLDER%"
|
xcopy /s/e/y/q/i "steamapps\workshop\content\%ARMAAPPID%\%ARMAWORKSHOPID%" "%ARMASVRPATH%\%MODFOLDER%"
|
||||||
|
|
||||||
|
:: Remove old bikey
|
||||||
|
del "%ARMASVRPATH%\Keys\cup_terrains_core-*.bikey"
|
||||||
|
|
||||||
|
:: add new bikey
|
||||||
|
xcopy /s/e/y/q/i "%ARMASVRPATH%\%MODFOLDER%\Keys" "%ARMASVRPATH%\Keys"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
:: Install CUP MAPS
|
:: Install CUP MAPS
|
||||||
|
|
||||||
@ -35,3 +42,9 @@ START "" /WAIT steamcmd.exe +login %STEAMUN% %STEAMPW% +workshop_download_item %
|
|||||||
|
|
||||||
:: copy files back to server
|
:: copy files back to server
|
||||||
xcopy /s/e/y/q/i "steamapps\workshop\content\%ARMAAPPID%\%ARMAWORKSHOPID%" "%ARMASVRPATH%\%MODFOLDER%"
|
xcopy /s/e/y/q/i "steamapps\workshop\content\%ARMAAPPID%\%ARMAWORKSHOPID%" "%ARMASVRPATH%\%MODFOLDER%"
|
||||||
|
|
||||||
|
:: Remove old bikey
|
||||||
|
del "%ARMASVRPATH%\Keys\cup_terrains_maps-*.bikey"
|
||||||
|
|
||||||
|
:: add new bikey
|
||||||
|
xcopy /s/e/y/q/i "%ARMASVRPATH%\%MODFOLDER%\Keys" "%ARMASVRPATH%\Keys"
|
||||||
|
Loading…
Reference in New Issue
Block a user