mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
commit
b6d243408c
29
Changelogs/0.3.1.0.txt
Normal file
29
Changelogs/0.3.1.0.txt
Normal file
@ -0,0 +1,29 @@
|
||||
[Added] Epoch version of the M-900 helicopter with all texture variants.
|
||||
[Added] Crafting of Energy Packs from electronic components, clean water and near a fire.
|
||||
[Added] Experimental Sapper Migration Event.
|
||||
[Added] Increased precision of positions stored in database for Bases, Vehicles, and storage.
|
||||
[Added] More variations of soldier classes and loadouts (from drone detection).
|
||||
[Added] CfgBuildingLootPos can be now overridden via missionConfig.
|
||||
[Added] Weather code migrated into an Epoch Event and code moved to settings pbo.
|
||||
[Fixed] Typo in esseker.h position only had 2 elements of the needed 3 for setposATL.
|
||||
[Fixed] Added checks to make sure you can only P2P trade while not in a vehicle.
|
||||
[Fixed] Re-add missing AiA TP and Bornholm loot positions.
|
||||
[Fixed] Fixed "no config.bin SmokeShellWhite" error when sapper off gasses.
|
||||
[Fixed] Environment sounds had been disabled. Removed enableEnvironment false; from client init.
|
||||
[Fixed] Can't chop down tall trees. Converted to 2d Distance check.
|
||||
[Fixed] Shipping container doors did not open and threw error. Updated to the 1.48 way of opening doors using functions.
|
||||
[Fixed] Shoeboxes added to more building on Takistan and any other maps that use the same building classes.
|
||||
[Fixed] Vehicle storage space has been normalized. Thanks to Uro1!
|
||||
[Fixed] Missing function compile for helicopter Air Drop.
|
||||
[Changed] Lower crafting requirement of cinder block wall, from 4 cinder blocks to 2.
|
||||
[Changed] Removed epoch setWaves sync code as it should no longer be needed after 1.46.
|
||||
[Changed] Female Ghillies armor, weight, storage now match CSAT male variants.
|
||||
[Changed] Female Wetsuits armor, weight, storage now match CSAT male variants.
|
||||
[Changed] Female Camo Clothes armor, weight, storage now match "Guerilla" gear, like "U_OG_Guerilla2_2".
|
||||
[Changed] Increased loot position bias for all buildings from 15 to 25%.
|
||||
[Changed] Enabled Air Drops.
|
||||
[Changed] Added small chance for primary weapons to be found under green military beds.
|
||||
[Changed] Land_Laptop_device_F can now be used as a Bank terminal.
|
||||
[Updated] Config.cfg requiredBuild and hostname for A3 1.48
|
||||
[Updated] Added bornholm blocked areas to main config and description.ext. Thanks to DarthRogue!
|
||||
[Info] Server pbo is no longer obfuscated.
|
Binary file not shown.
Binary file not shown.
@ -12,10 +12,11 @@ lootMultiplier = 0.5; // 1 = max loot bias. This controls how much loot can payo
|
||||
// Events
|
||||
airDrops = false; // TBA
|
||||
WeatherChangeTime = 1200; // This controls how fast the weather changes as well as how fast shipping containers and earthquakes happen.
|
||||
WeatherStaticForecast[] = {}; // Default: {75.5,0,{0,0,0},0,{1,1}}; // Clear day; {19,1,{1,1,40},1,{5,5}}; // Cold Foggy Rainy Overcast Windy; Format: {temp <scalar>,rain <scalar>,fog <array>,overcast <scalar>,wind <array>}
|
||||
WeatherStaticForecast[] = {}; // Default: {75.5,0,{0,0,0},0,{1,1}}; // Clear day; {19,1,{1,1,40},1,{5,5}}; // Cold Foggy Rainy Overcast Windy; Format: {temp <scalar>,rain <scalar>,fog <array>,overcast <scalar>,wind <array>}
|
||||
events[] = {
|
||||
{ 3600, "CarnivalSpawner" }, // SECOND <scalar>, EVENT <string>
|
||||
{ 1200, "EarthQuake" },
|
||||
{ 2400, "EarthQuake" },
|
||||
{ 1800, "ChangeWeather" },
|
||||
{ 1200, "ContainerSpawner" },
|
||||
{ 300, "PlantSpawner" } //No comma on last Entry
|
||||
};
|
||||
@ -71,7 +72,8 @@ allowedVehiclesList[] = {
|
||||
{"K03",2},
|
||||
{"K04",2},
|
||||
{"ebike_epoch",7},
|
||||
{"mosquito_epoch",7}
|
||||
{"mosquito_epoch",5},
|
||||
{"C_Heli_Light_01_civil_EPOCH",5}
|
||||
};
|
||||
|
||||
// Traders
|
||||
@ -84,8 +86,8 @@ forceStaticTraders = true; // disables traders moving from work to home
|
||||
showEarthQuakes = true; // show mineral viens caused by earthquakes
|
||||
showShippingContainers = true; // Show location of events based loots (plants, shipping container, Carnival)
|
||||
SHOW_TRADERS = true; // Show locations of traders
|
||||
SHOW_JAMMERS = false; // Shows location of base jammers
|
||||
SHOW_BOATLOOT = true; // Shows the location of shipwreck loot
|
||||
SHOW_JAMMERS = false; // Shows location of base jammers
|
||||
SHOW_BOATLOOT = true; // Shows the location of shipwreck loot
|
||||
DEBUG_VEH = false; // DEBUG ONLY used to debug spawing of vehicles
|
||||
|
||||
// Hive Related
|
||||
@ -99,4 +101,4 @@ hiveAsync = true; // true = asynchronous hive calls (non blocking), false = sync
|
||||
// Admin Features
|
||||
hiveAdminCmdExec = false; // true = enables extra (To Be Released) feature to allow execution of code via hive.
|
||||
hiveAdminSavePlayerList = true; // true = enables saving of playerUID array to hive value PLAYERS:#InstanceID.
|
||||
hiveAdminCmdTime = 5; // how many seconds between each command queue call.
|
||||
hiveAdminCmdTime = 5; // how many seconds between each command queue call.
|
||||
|
BIN
Server_Install_Pack/keys/epoch0310.bikey
Normal file
BIN
Server_Install_Pack/keys/epoch0310.bikey
Normal file
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,3 +1,3 @@
|
||||
5 "" !="I_UAV_01_F" !="(I|B|O)_UAV_AI" !"_EPOCH" !="B_65x39_Minigun_Caseless_Red_splash" !="B_762x51_Minigun_Tracer_Yellow_splash" !="B_(Swing|Stick)" !"^SmokeShell" !"^G_40mm_" !"^F_40mm_" !"Sub_F_" !"^F_Signal_" !="mini_Grenade" !="GrenadeHand" !="LaserTarget(C|W|E)" !"^Chemlight_" !="(ClaymoreDirectionalMine|DemoCharge|SatchelCharge)_Remote_Ammo" !="SLAMDirectionalMine_Wire_Ammo" !="(CMflare_Chaff|Sapper_Charge|SapperB_Charge|ATMine_Range)_Ammo" !="APERS(TripMine_Wire|BoundingMine_Range|Mine_Range)_Ammo" !="Epoch_(Sapper|SapperB|Cloak)_F" !="GreatWhite_F" !="groundWeaponHolder" !="WeaponHolderSimulated" !="Epoch_(Male|Female)_F" !"Supply[0-9]" !"Steerable_Parachute_F" !="Epoch_Female_CamoRed_F" !="Land_Cages_F" !="(O|I|B)_UAV_01_backpack_F" !="I_(helipilot|helicrew)_F"
|
||||
5 "_EPOCH" !="(SapperHead|Jack)_SIM_EPOCH" !="Wood(Floor|LargeWall|Stairs|Ramp|Foundation)_EPOCH" !="(Tipi|StorageShelf|CinderWallHalf|Foundation|Wood(Floor|LargeWall|Stairs|Ramp|Foundation))_Ghost_EPOCH" !="(Tipi|StorageShelf|LockBox|FirePlace|FirePlaceOn|PlotPole|I_Soldier|Jack|Freezer|Tarp|CinderWallHalf)_EPOCH" !="(Bed|locker|Filing|Chair|ChairRed|wardrobe|cooker|Couch|Table|Pelican|Fridge|Shelf|ToolRack|Shoebox|Bunk|Rabbit)_EPOCH" !="(Sheep|Goat|Snake|Hen|Cock|Fin|Alsatian)_random_EPOCH" !="(LockBox|CinderWall|CinderWallGarage|CinderWallHalf|PlotPole|Tipi|StorageShelf|Fireplace)_SIM_EPOCH" !="Wood(Floor|LargeWall|LargeWallCor|LargeWallDoor|LargeWallDoorL|LargeWallDoorway|Stairs|Stairs2|Ramp)_SIM_EPOCH" !="(WoodFoundation|Foundation)_EPOCH"
|
||||
5 SeaGull
|
||||
5 "_EPOCH" !="(SapperHead|Jack)_SIM_EPOCH" !="Wood(Floor|LargeWall|Stairs|Ramp|Foundation)_EPOCH" !="(Tipi|StorageShelf|CinderWallHalf|Foundation|Wood(Floor|LargeWall|Stairs|Ramp|Foundation))_Ghost_EPOCH" !="(Tipi|StorageShelf|LockBox|FirePlace|FirePlaceOn|PlotPole|Jack|Freezer|Tarp|CinderWallHalf)_EPOCH" !="I_(Soldier[1-3]|Soldier)_EPOCH" !="(Bed|locker|Filing|Chair|ChairRed|wardrobe|cooker|Couch|Table|Pelican|Fridge|Shelf|ToolRack|Shoebox|Bunk|Rabbit)_EPOCH" !="(Sheep|Goat|Snake|Hen|Cock|Fin|Alsatian)_random_EPOCH" !="(LockBox|CinderWall|CinderWallGarage|CinderWallHalf|PlotPole|Tipi|StorageShelf|Fireplace)_SIM_EPOCH" !="Wood(Floor|LargeWall|LargeWallCor|LargeWallDoor|LargeWallDoorL|LargeWallDoorway|Stairs|Stairs2|Ramp)_SIM_EPOCH" !="(WoodFoundation|Foundation)_EPOCH"
|
||||
5 SeaGull
|
||||
|
@ -1 +1 @@
|
||||
5 "" !="EPOCH_(UP|SAVE|PAINT|MAINT|REM)BUILD" !="EPOCH_(say3D|switchMove|(store|take)Crypto|TEMPOBJ|packJack|selectedGender)_PVS" !="EPOCH_(mineRocks|create(Object|AirDrop)|FillContainer|SapperObjs)_PVS" !="EPOCH_(load|revive|dead|push|force|respawn|check)Player_PVS" !="EPOCH_(build|equipped)Item_PVS" !="EPOCH_GROUP_(Upgrade|Player|create|Delete|Invite)_PVS" !="EPOCH_(lock|pack)Storage_PVS" !="EPOCH_(unlock|lock|fill|repair)Vehicle_PVS" !="EPOCH_(knockDownTree|destroyTrash|MAKETRADEREQ|MAKETRADE|S_S_VEHICLES|MAKENPCTRADE|oneWayTP)" !="EPOCH_Loot(Animal|Container|Building)" !="EPAH_[a-z]{5,10}" !="BIS_fnc_objectVar_obj2_[0-9]{1,10}" !="bis_fnc_sharedObjectives_serverUpdate"
|
||||
5 "" !="EPOCH_(UP|SAVE|PAINT|MAINT|REM)BUILD" !="EPOCH_(say3D|switchMove|(store|take)Crypto|TEMPOBJ|packJack|selectedGender)_PVS" !="EPOCH_(mineRocks|create(Object|AirDrop)|FillContainer|SapperObjs|airDropCrate)_PVS" !="EPOCH_(load|revive|dead|push|force|respawn|check)Player_PVS" !="EPOCH_(build|equipped)Item_PVS" !="EPOCH_GROUP_(Upgrade|Player|create|Delete|Invite)_PVS" !="EPOCH_(lock|pack)Storage_PVS" !="EPOCH_(unlock|lock|fill|repair)Vehicle_PVS" !="EPOCH_(knockDownTree|destroyTrash|MAKETRADEREQ|MAKETRADE|S_S_VEHICLES|MAKENPCTRADE|oneWayTP)" !="EPOCH_Loot(Animal|Container|Building)" !="EPAH_[a-z]{5,10}" !="BIS_fnc_objectVar_obj2_[0-9]{1,10}" !="bis_fnc_sharedObjectives_serverUpdate"
|
@ -1,25 +1,22 @@
|
||||
7 "BIS_fnc_dynamictext" !", 0, 1, 5, 2, 0, 1] spawn bis_fnc_dynamictext;" !", 0, 0.4, 5, 2, 0, 2] spawn bis_fnc_dynamictext;" !", 0, 1, 6, 2, 0, 1] spawn bis_fnc_dynamictext;" !"snil '_fnc_scriptName') then {_fnc_scriptName}"
|
||||
7 "BIS_fnc_dynamictext" !="\"BIS_fnc_dynamictext"\" !", 0, 1, 5, 2, 0, 1] spawn bis_fnc_dynamictext;" !", 0, 0.4, 5, 2, 0, 2] spawn bis_fnc_dynamictext;" !", 0, 1, 6, 2, 0, 1] spawn bis_fnc_dynamictext;" !"snil '_fnc_scriptName') then {_fnc_scriptName}"
|
||||
7 forceRespawn
|
||||
7 setFriend
|
||||
7 setAmmo
|
||||
7 RscDebugConsole_watch
|
||||
7 RscDebugConsole_watch !="RscDebugConsole_watchSave = [true,true,true,true];"
|
||||
7 enableFatigue
|
||||
7 setUnitRecoilCoefficient
|
||||
7 setWeaponReloadingTime
|
||||
7 allMissionObjects
|
||||
7 callExtension
|
||||
7 showCommandingMenu
|
||||
7 showCommandingMenu !="showCommandingMenu '';" !"showCommandingMenu '#USER:"
|
||||
7 moveIn !="\"A3\functions_f\Misc\fn_moveIn.sqf\"" !="\"A3\functions_f\arrays\fn_removeIndex.sqf\"" !="player moveInAny _vehicle;\nEPOCH_antiWallCount = EPOCH_antiWallCount + 1;" !="[\"I_UAV_AI\", position _unit, [], 0, \"CAN_COLLIDE\"];\n_driver moveInAny _unit;" !="_driver moveInAny Epoch_mission_uav;" !="axeVIP moveInDriver vehicle axeVIP;" !="axeVIP moveInCargo vehicle axeVIP; !="_driver moveInDriver _axeCopter;" !="_unit moveInGunner _axeCopter;" !="axeVIP moveInDriver vehicle axeVIP;" !="axeVIP moveInCargo vehicle axeVIP;"
|
||||
7 attachTo !="EP_light attachTo [player];" !="_bomb attachTo [_unit, [0,0,0],\"Pelvis\"];" !="_dogHolder attachTo [_dog, [-0.2,1.2,0.7]];" !="EPOCH_target attachTo[player];" !="_sapperSmoke attachTo [_sapper,[0,0,-0.4]];"" !="_cage attachTo [_cage2,[0,1.3,0]];"
|
||||
7 enableCollisionWith
|
||||
7 hideObject !="_dogHolder hideobject true;" !="_dogHolder hideobject false;"
|
||||
7 setvelocity !="_bolt setPosATL _pos;\n_bolt setVelocity [0, 0, -10];" !="EPOCH_target setvelocitytransformation" !="_currentTarget setVelocity [0,0,-0.01];" !="_head setVelocity [\n(sin _dir * _speed), \n(cos _dir * _speed)" !="_vel = velocity this; _dir = getDir player; this setVelocity[(_vel select 0)+(sin _dir * 2),(_vel select 1)+(cos _dir * 2),(_vel select 2)];" !="_head setVelocity [random 2,random 2,10];"
|
||||
7 setvelocity !="setVelocityTarget" !="_bolt setPosATL _pos;\n_bolt setVelocity [0, 0, -10];" !="EPOCH_target setvelocitytransformation" !="_currentTarget setVelocity [0,0,-0.01];" !="_head setVelocity [\n(sin _dir * _speed), \n(cos _dir * _speed)" !="_vel = velocity this; _dir = getDir player; this setVelocity[(_vel select 0)+(sin _dir * 2),(_vel select 1)+(cos _dir * 2),(_vel select 2)];" !="_head setVelocity [random 2,random 2,10];"
|
||||
7 assignAs !="assignAsCargo" !="_unit assignAsGunner _axeCopter;" !="_driver assignAsDriver _axeCopter;" !="axeVIP assignAsDriver vehicle axeVIP;"
|
||||
7 assignAsCargo !="_x assignAsCargo axeGeneralsBoat;" !="axeVIP assignAsCargo vehicle player;" !="axeVIP assignAsCargo vehicle axeVIP;"
|
||||
7 playableunits !="getDir _x, name _x];};}forEach playableUnits;};if" !"{getplayeruid _x == _ownerVar} count playableunits" !="lbSetData[21500, _index, netId _x];\n} forEach(playableUnits - [player]);"
|
||||
7 allUnits !="allUnits-playableUnits;};if" !="{_x allowFleeing 0} forEach allUnits;" !="EPOCH_ESPMAP_TARGETS = allUnits + vehicles;"
|
||||
7 allowDamage !="_unit allowDamage false;" !="_unit allowDamage true;" !="player allowDamage true;vehicle player allowDamage true;" !="player allowDamage false;{missionNamespace setVariable[format['EPOCH_player%1"
|
||||
7 exec !="<execute expression=" !"RscDebugConsole_execute" !"execFSM" !"_executeStackedEventHandler" !"fn_execVM" !"fn_moduleExecute" !"fn_execRemote" !"fn_MPexec" !"bis_fnc_moduleExecute_activate" !"fn_tridentExecute" !"randomize_civ1" !"executed from" !"EPOCH_DebugGUI_exec" !"_handle = [_display] execVM _script;" !"execVM \"\A3\Structures_F\scripts" !="execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\"" !="reviveExecuteTemplates"
|
||||
7 allowDamage !="_unit allowDamage false;" !="_unit allowDamage true;" !="player allowDamage true;" !="vehicle player allowDamage true;" !="player allowDamage false;"
|
||||
7 addWeaponCargo !="_acceptHolder addWeaponCargo [_wWeapon, 1] ;"
|
||||
7 onMapSingleClick !="onMapSingleClick '';"
|
||||
7 addMagazine !"addMagazineCargo" !="player addMagazine _craftItem;" !="player addMagazine \"jerrycanE_epoch\";" !="player addMagazine \"emptyjar_epoch\";" !="player addMagazine \"jerrycan_epoch\";" !="player addMagazine \"Hatchet_swing\";" !="player addMagazine [(_x select 0),(_x select 1)]" !="player addMagazine _x;" !="if !(player canAdd (_x select 0)) exitWith {};\nplayer addMagazine[_x select 0, _x select 1];"
|
||||
@ -30,38 +27,38 @@
|
||||
7 removeAllItems
|
||||
7 removeAllActions
|
||||
7 setViewDistance !"setViewDistance 1600"
|
||||
7 createGroup !="_grp = createGroup RESISTANCE;" !="if (isserver) then {\n_group = creategroup sidelogic;" !="grpVIPGeneral = createGroup RESISTANCE;" !="_grp = createGroup side _plyr;" !="_grp = createGroup side player;" !="_grp = createGroup _side;" !="_grp = createGroup (side _plyr);"
|
||||
7 createGroup !="_grp = createGroup RESISTANCE;" !="if (isserver) then {\n_group = creategroup sidelogic;" !="grpVIPGeneral = createGroup RESISTANCE;" !="_grp = createGroup side _plyr;" !="_grp = createGroup side player;" !="_grp = createGroup _side;" !="_grp = createGroup (side _plyr);" !="createcenter sidelogic;\n_grpLogic = creategroup sidelogic;\nbis_functions_mainscope"
|
||||
7 createVehicleCrew
|
||||
7 createVehicleLocal !"\"#particlesource\" createVehicleLocal" !"\"#lightpoint\" createVehicleLocal" !"\"BloodSplat\" createVehicleLocal" !"[\"lightning1_F\", \"lightning2_F\"] call BIS_fnc_selectRandom;\n_lighting = _class createVehicleLocal"
|
||||
7 createUnit !="_unit = _grp createUnit[(_arrUnits select _i), _pos, [], 0, \"FORM\"];" !="_driver = _grp createUnit[\"I_UAV_AI\", position _unit, [], 0, \"CAN_COLLIDE\"];" !="axeGeneral = grpVIPGeneral createUnit ["I_officer_F", axeGeneralPos, [], 1, "CAN_COLLIDE"];"
|
||||
7 createAgent !="_unit = createAgent[_unitClass, _targetPos, [], 256, \"FORM\"];" !="_unit = createAgent [_unitClass, _targetPos, [], 120, \"FORM\"];" !="_animal = createAgent[_randomAIClass, _animalPos, [], 5, \"NONE\"];" !="_unit = createAgent [\"Epoch_Cloak_F\", _pos, [], 0, \"CAN_COLLIDE\"];" !="_unit = createAgent [\"Epoch_Sapper_F\", _targetPos, [], 180, \"FORM\"];" !="_sapper = createAgent ["Epoch_Sapper_F", getPos _cage2, [], 0, "FORM"];"
|
||||
7 createTeam
|
||||
7 createDialog !="createDialog \"QuickTake\";" !="createDialog \"InteractBank\";" !="createdialog \"SelectGender\";" !="_handled = createdialog _dialog;" !="if (!dialog) then {createDialog 'Skaronator_AdminMenu'};" !="if !(createdialog \"InteractItem\") exitWith {};" !="createDialog \"TapOut\";" !="if !(createdialog \"Trade\") exitWith {};" !="_ok = createdialog \"Interact\";" !="_ok = createdialog \"TradeNPCMenu\";" !="createDialog \"Epoch_myGroup\";" !="createDialog (if ((Epoch_my_GroupUID == \"\") && (Epoch_my_Group isEqualTo [])) then {\"EPOCH_createGrp\"} else {\"Epoch_myGroup\"});" !="createDialog \"GroupRequests\";" !="_ok = createdialog \"MissionSelect\";"
|
||||
7 createDialog !="createDialog \"QuickTake\";" !="createDialog \"InteractBank\";" !="createdialog \"SelectGender\";" !="_handled = createdialog _dialog;" !="if !(createdialog \"InteractItem\") exitWith {};" !="createDialog \"TapOut\";" !="if !(createdialog \"Trade\") exitWith {};" !="_ok = createdialog \"Interact\";" !="_ok = createdialog \"TradeNPCMenu\";" !="createDialog \"Epoch_myGroup\";" !="createDialog (if ((Epoch_my_GroupUID == \"\") && (Epoch_my_Group isEqualTo [])) then {\"EPOCH_createGrp\"} else {\"Epoch_myGroup\"});" !="createDialog \"GroupRequests\";" !="_ok = createdialog \"MissionSelect\";" !="createDialog 'Skaronator_AdminMenu';"
|
||||
7 deleteMarker
|
||||
7 setMarker
|
||||
7 createMarker
|
||||
7 assignItem !="axeVIP assignItem _item;"
|
||||
7 forceAddUniform
|
||||
7 removeAllMPEventHandlers
|
||||
7 setDamage
|
||||
7 setDamage !="player setdamage 1;"
|
||||
7 setDammage
|
||||
7 displaySetEventHandler
|
||||
7 ctrlSetEventHandler !"BIS_fnc_guiMessage_status"
|
||||
7 ctrlSetEventHandler !"BIS_fnc_guiMessage_status" !"ctrlSetEventHandler ['LBDblClick', '_this call" !="_buttonRespawn ctrlseteventhandler [\"buttonclick\",\"with uinamespace do {['buttonRespawn',"
|
||||
7 addMPEventHandler
|
||||
7 addEventHandler !"displayAddEventHandler" !"ctrlAddEventHandler" !"FiredNear" !"EpeContactStart" !"InventoryClosed" !"GetOut" !"InventoryOpened" !"local" !"Respawn" !"Put" !"Take" !"Fired" !"Killed" !" [\"PostReset\",{BIS_EnginePPReset = true;} ];" !"_logic addeventhandler [\n\"local\""
|
||||
7 displayAddEventHandler !"[_display] call _fnc_animate;" !"tVersion select 4) == \"Development\") then" !"_display displayaddeventhandler\n[\n\"mousemoving\"," !"(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"true\"];" !"(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"_this call EPOCH_KeyDown\"];" !"_display displayaddeventhandler [\"unload\",\"uinamespace setvariable ['BIS_fnc_guiMess" !="findDisplay -1337 displayAddEventHandler ['Unload'"
|
||||
7 ctrlAddEventHandler !"rCfg >> \"refreshDelay\");" !" [\n\"draw\"," !" [\"buttonclick\"," !="(uiNamespace getVariable 'ESP_map') ctrlAddEventHandler['Draw', '_esp_targets = EPOCH_ESPMAP_TARGETS;"
|
||||
7 removeAllEventHandlers !="ctrlRemoveAllEventHandlers" !="_vehicle removeAllEventHandlers \"GetOut\";" !="_sapper removeAllEventHandlers \"Hit\";\n_sapper removeAllEventHandlers \"FiredNear\";"
|
||||
7 displayAddEventHandler !"[_display] call _fnc_animate;" !"tVersion select 4) == \"Development\") then" !"_display displayaddeventhandler\n[\n\"mousemoving\"," !"(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"true\"];" !"(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"_this call EPOCH_KeyDown\"];" !="_addCase = _display46 displayAddEventHandler ['KeyDown',{_this call EPOCH_KeyDown;}];" !"_display displayaddeventhandler [\"unload\",\"uinamespace setvariable ['BIS_fnc_guiMess" !="findDisplay -1337 displayAddEventHandler ['Unload'"
|
||||
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\","
|
||||
7 removeAllEventHandlers !="ctrlRemoveAllEventHandlers" !="_vehicle removeAllEventHandlers \"GetOut\";" !="_sapper removeAllEventHandlers \"Hit\";\n_sapper removeAllEventHandlers \"FiredNear\";" !="_display46 displayRemoveAllEventHandlers 'KeyDown';"
|
||||
7 removeAllMissionEventHandlers
|
||||
7 ctrlRemoveAllEventHandlers !="(uiNamespace getVariable 'ESP_map') ctrlRemoveAllEventHandlers 'Draw';"
|
||||
7 removeEventHandler !="displayRemoveEventHandler" !="player removeEventHandler ['Fired', 0];" !"_currentTarget removeEventHandler[\"EpeContactStart\", _onContactEH]" !" [_adminVar,objnull];\npublicvariable _adminVar;\nplayer removeeventhandler [\"respawn\",_respawn];" !="_plyr removeEventHandler [\"FiredNear\", _smokeEH];"
|
||||
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];"
|
||||
7 displayRemoveEventHandler !"BIS_fnc_guiMessage_status"
|
||||
7 switchCamera
|
||||
7 remoteControl !"fn_moduleRemoteControl.sqf"
|
||||
7 switchCamera !="{if (cameraOn != vehicle player) then { vehicle player switchCamera 'External' } };"
|
||||
7 remoteControl !"fn_moduleRemoteControl.sqf" !="\"BIS_fnc_moduleRemoteControl"\"
|
||||
7 drawIcon3D !="drawIcon3D[\"\x\addons\a3_epoch_code\Data\Member.paa\",_color,_pos,1,1,0,_text,1,0.025,\"PuristaMedium\"];\n}forEach EPOCH_ESP_TARGETS;" !"drawIcon3D[format[\"\x\addons\a3_epoch_code\Data\UI\loading_bar_%1.paa\",_stability],_color,(getPosATL EPOCH_stabilityTarget),5,5,0,\"\",1,0.05,\"PuristaMedium\"];" !"drawIcon3D[format[\"\x\addons\a3_epoch_code\Data\UI\loading_bar_%1.paa\",_num],_color,_pos,4,4,0,\"\",1,0.05,\"PuristaMedium\"];" !"EPOCH_drawIcon3dStability" !"EPOCH_drawIcon3d" !"if (_condition) then {\ndrawIcon3D [_icon, _color, _position, _sizeX, _sizeY, _angle, _text," !="drawIcon3D [\"\A3\UI_F_MP_Mark\Data\Tasks\Misc\background.paa\""
|
||||
7 drawLine3D !"{\nfor [{_i = 1}, {_i < count _x}, {_i = _i + 1}] do {\ndrawLine3D [_x select (_i - 1), _x select _i, ((BIS_tracedShooter getVari"
|
||||
7 ctrlCreate
|
||||
7 ctrlDelete
|
||||
7 ctrlCreate !="_ListGroup = _display ctrlCreate [\"RscControlsGroupNoHScrollbars\", 21903 ];"
|
||||
7 ctrlDelete !="ctrlDelete _ListGroup;"
|
||||
7 ctrlClassName
|
||||
7 ctrlModel
|
||||
7 ctrlModelDirection
|
||||
@ -69,27 +66,12 @@
|
||||
7 ctrlModelUp
|
||||
7 ctrlSetDirection
|
||||
7 ctrlSetModel
|
||||
7 deleteVehicleCrew !="[\"A3\functions_f\MP\fn_deleteVehicleCrew.sqf\",\".sqf\",0,false,false,false,\"A3\",\"MP\",\"deleteVehicleCrew\"]"
|
||||
7 deleteVehicleCrew !"fn_deleteVehicleCrew.sqf" !="\"BIS_fnc_deleteVehicleCrew"\"
|
||||
7 loadFile
|
||||
7 selectPlayer !="selectPlayer _playerObject;"
|
||||
7 setGroupIconsVisible
|
||||
7 setGroupIconsSelectable
|
||||
7 setGroupIconParams
|
||||
7 addGroupIcon
|
||||
7 EPOCH_whitelist
|
||||
7 EPOCH_defaultVars_SEPXVar
|
||||
7 EPOCH_group_upgrade_lvl_SVar
|
||||
7 EPOCH_GROUP_Delete_PVS !="EPOCH_GROUP_Delete_PVS = [player,Epoch_personalToken];"
|
||||
7 Dayz_GUI_R
|
||||
7 dayz_originalPlayer
|
||||
7 zZombie_Base
|
||||
7 infiSTAR
|
||||
7 GodMode
|
||||
7 shazbot
|
||||
7 _typeofHookMonky
|
||||
7 _allocMemory
|
||||
7 _d3d9multipliervariable
|
||||
7 _runASM
|
||||
7 _addGFX_hookD3D9eventhandler
|
||||
7 _BEhookBYPASSBOB
|
||||
7 JJMMEE_INIT_MENU
|
||||
|
@ -1,7 +1,7 @@
|
||||
// EPOCH SERVER CONFIG
|
||||
|
||||
// GLOBAL SETTINGS
|
||||
hostname = "EpochMod.com (0.3.0.4|1.48) ID02 YourHost";
|
||||
hostname = "EpochMod.com (0.3.1|1.48) ID02 YourHost";
|
||||
password = "";
|
||||
passwordAdmin = "!CHANGE_THIS_PASSWORD!";
|
||||
serverCommandPassword = "!CHANGE_THIS_PASSWORD!";
|
||||
|
@ -1,3 +1,12 @@
|
||||
/*
|
||||
Carnival Event
|
||||
by Aaron Clark - EpochMod.com
|
||||
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
|
||||
http://creativecommons.org/licenses/by-nc-nd/4.0/
|
||||
Improvements and or bugfixes and other contributions are welcome via the github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_server_settings/EpochEvents/CarnivalSpawner.sqf
|
||||
*/
|
||||
|
||||
_ferrisPosition = [epoch_centerMarkerPosition, 0, EPOCH_dynamicVehicleArea, 10, 0, 4000, 0] call BIS_fnc_findSafePos;
|
||||
if ((count _ferrisPosition) == 2) then{
|
||||
_item = createVehicle["ferrisWheel_EPOCH", _ferrisPosition, [], 0.0, "CAN_COLLIDE"];
|
||||
@ -14,4 +23,4 @@ if ((count _ferrisPosition) == 2) then{
|
||||
// _marker setMarkerText "Ferris";
|
||||
_marker setMarkerColor "ColorOrange";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
84
Sources/epoch_server_settings/EpochEvents/ChangeWeather.sqf
Normal file
84
Sources/epoch_server_settings/EpochEvents/ChangeWeather.sqf
Normal file
@ -0,0 +1,84 @@
|
||||
/*
|
||||
Weather Control System
|
||||
by Aaron Clark - EpochMod.com
|
||||
|
||||
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
|
||||
http://creativecommons.org/licenses/by-nc-nd/4.0/
|
||||
|
||||
Improvements and or bugfixes and other contributions are welcome via the github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_server_settings/EpochEvents/ChangeWeather.sqf
|
||||
*/
|
||||
|
||||
// Initalize variable for tracking time between runs.
|
||||
if (isNil "EPOCH_lastWeatherChange") then {
|
||||
EPOCH_lastWeatherChange = diag_tickTime;
|
||||
};
|
||||
|
||||
// get the time between weather change events to use as tranistion time.
|
||||
_WeatherChangeTime = diag_tickTime - EPOCH_lastWeatherChange;
|
||||
|
||||
// increment timer to current time.
|
||||
EPOCH_lastWeatherChange = diag_tickTime;
|
||||
|
||||
_force = false;
|
||||
|
||||
// use config static weather if set.
|
||||
if !(EPOCH_WeatherStaticForecast isEqualTo []) then {
|
||||
_tempOVRD = EPOCH_WeatherStaticForecast select 0;
|
||||
_rainOVRD = EPOCH_WeatherStaticForecast select 1;
|
||||
_fogOVRD = EPOCH_WeatherStaticForecast select 2;
|
||||
_overcastOVRD = EPOCH_WeatherStaticForecast select 3;
|
||||
_windOVRD = EPOCH_WeatherStaticForecast select 4;
|
||||
diag_log format["DEBUG: static weather: %1", EPOCH_WeatherStaticForecast];
|
||||
} else {
|
||||
|
||||
// Make database call to get "Weather:InstanceID" that can be set in the database to allow for weather controls outside of the game.
|
||||
_response = ["Weather", (call EPOCH_fn_InstanceID)] call EPOCH_server_hiveGETRANGE;
|
||||
if ((_response select 0) == 1 && typeName(_response select 1) == "ARRAY" && !((_response select 1) isEqualTo[])) then {
|
||||
_arr = _response select 1;
|
||||
_tempOVRD = _arr select 0;
|
||||
_rainOVRD = _arr select 1;
|
||||
_fogOVRD = _arr select 2;
|
||||
_overcastOVRD = _arr select 3;
|
||||
_windOVRD = _arr select 4;
|
||||
diag_log format["DEBUG: hive weather: %1", _arr];
|
||||
};
|
||||
};
|
||||
|
||||
// get random temp.
|
||||
_rnd_temp = if (sunOrMoon < 1) then { (random 35) + 15 } else { (random 75) + 50 };
|
||||
|
||||
// push temp to all players and JIP.
|
||||
EPOCH_CURRENT_WEATHER = if (isNil "_tempOVRD") then { _rnd_temp } else { _tempOVRD };
|
||||
publicVariable "EPOCH_CURRENT_WEATHER";
|
||||
|
||||
// fog, rain, overcast.
|
||||
_fog = if (isNil "_fogOVRD") then { [random 0.2, random 0.2, random 20] } else { _fogOVRD };
|
||||
_rain = if (isNil "_rainOVRD") then { random 1 } else { _rainOVRD };
|
||||
_overcast = if (isNil "_overcastOVRD") then { random 1 } else { _overcastOVRD };
|
||||
|
||||
_WeatherChangeTime setFog _fog;
|
||||
_WeatherChangeTime setOvercast _overcast;
|
||||
_WeatherChangeTime setRain _rain;
|
||||
|
||||
// wind.
|
||||
_windValX = random 10 - 5;
|
||||
_windValZ = random 10 - 5;
|
||||
if (_rain > 0.5) then {
|
||||
_windValX = random 20 - 10;
|
||||
_windValZ = random 20 - 10;
|
||||
};
|
||||
|
||||
if !(isNil "_windOVRD") then {
|
||||
_windValX = _windOVRD select 0;
|
||||
_windValZ = _windOVRD select 1;
|
||||
};
|
||||
|
||||
setWind[_windValX, _windValZ, true];
|
||||
|
||||
// will force weather change if set to true (will cause lag).
|
||||
if (_force) then {
|
||||
forceWeatherChange;
|
||||
};
|
||||
|
||||
diag_log format["Weather Change: fog: %1 rain: %2 overcast: %3 windx: %4 windz: %5 forced: %6", _fog, _overcast, _rain, _windValX, _windValZ, _force];
|
@ -1,3 +1,11 @@
|
||||
/*
|
||||
Shipping Containter Event
|
||||
by Aaron Clark - EpochMod.com
|
||||
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
|
||||
http://creativecommons.org/licenses/by-nc-nd/4.0/
|
||||
Improvements and or bugfixes and other contributions are welcome via the github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_server_settings/EpochEvents/ContainterSpawner.sqf
|
||||
*/
|
||||
_cargoPosition = [epoch_centerMarkerPosition, 0, EPOCH_dynamicVehicleArea, 10, 0, 4000, 1] call BIS_fnc_findSafePos;
|
||||
if ((count _cargoPosition) == 2) then{
|
||||
_item = createVehicle["Cargo_Container", _cargoPosition, [], 0.0, "CAN_COLLIDE"];
|
||||
@ -8,4 +16,4 @@ if ((count _cargoPosition) == 2) then{
|
||||
// _marker setMarkerText "Container";
|
||||
_marker setMarkerColor "ColorOrange";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -1,4 +1,11 @@
|
||||
|
||||
/*
|
||||
Earthquake and Mineral Deposit Event
|
||||
by Aaron Clark - EpochMod.com
|
||||
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
|
||||
http://creativecommons.org/licenses/by-nc-nd/4.0/
|
||||
Improvements and or bugfixes and other contributions are welcome via the github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_server_settings/EpochEvents/Earthquake.sqf
|
||||
*/
|
||||
_position = [epoch_centerMarkerPosition, 0, EPOCH_dynamicVehicleArea, 10, 0, 1000, 0] call BIS_fnc_findSafePos;
|
||||
if ((count _position) == 2) then{
|
||||
_plyrsNearEpicenter = _position nearEntities[["Epoch_Male_F", "Epoch_Female_F"], 1000];
|
||||
@ -21,4 +28,4 @@ if ((count _position) == 2) then{
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -1,3 +1,12 @@
|
||||
/*
|
||||
Plant Spawn Event
|
||||
by Aaron Clark - EpochMod.com
|
||||
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
|
||||
http://creativecommons.org/licenses/by-nc-nd/4.0/
|
||||
Improvements and or bugfixes and other contributions are welcome via the github:
|
||||
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_server_settings/EpochEvents/PlantSpawner.sqf
|
||||
*/
|
||||
|
||||
_plantPosition = [epoch_centerMarkerPosition, 0, EPOCH_dynamicVehicleArea, 10, 0, 4000, 0] call BIS_fnc_findSafePos;
|
||||
if ((count _plantPosition) == 2) then{
|
||||
|
||||
@ -14,4 +23,4 @@ if ((count _plantPosition) == 2) then{
|
||||
_marker setMarkerColor "ColorGreen";
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
@ -9,7 +9,7 @@ class CfgPatches {
|
||||
units[] = {};
|
||||
weapons[] = {};
|
||||
requiredVersion = 0.1;
|
||||
epochVersion = "0.3.0.4";
|
||||
epochVersion = "0.3.1.0";
|
||||
requiredAddons[] = {};
|
||||
};
|
||||
};
|
||||
|
File diff suppressed because one or more lines are too long
@ -40,7 +40,7 @@ class CfgRemoteExecCommands {};
|
||||
|
||||
class CfgEpochClient
|
||||
{
|
||||
epochVersion = "0.3.0.4";
|
||||
epochVersion = "0.3.1.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
|
||||
|
@ -40,7 +40,7 @@ class CfgRemoteExecCommands {};
|
||||
|
||||
class CfgEpochClient
|
||||
{
|
||||
epochVersion = "0.3.0.4";
|
||||
epochVersion = "0.3.1.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
|
||||
|
@ -40,7 +40,7 @@ class CfgRemoteExecCommands {};
|
||||
|
||||
class CfgEpochClient
|
||||
{
|
||||
epochVersion = "0.3.0.4";
|
||||
epochVersion = "0.3.1.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
|
||||
|
@ -40,7 +40,7 @@ class CfgRemoteExecCommands {};
|
||||
|
||||
class CfgEpochClient
|
||||
{
|
||||
epochVersion = "0.3.0.4";
|
||||
epochVersion = "0.3.1.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
|
||||
|
@ -40,7 +40,7 @@ class CfgRemoteExecCommands {};
|
||||
|
||||
class CfgEpochClient
|
||||
{
|
||||
epochVersion = "0.3.0.4";
|
||||
epochVersion = "0.3.1.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
|
||||
|
@ -40,7 +40,7 @@ class CfgRemoteExecCommands {};
|
||||
|
||||
class CfgEpochClient
|
||||
{
|
||||
epochVersion = "0.3.0.4";
|
||||
epochVersion = "0.3.1.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
|
||||
|
@ -40,7 +40,7 @@ class CfgRemoteExecCommands {};
|
||||
|
||||
class CfgEpochClient
|
||||
{
|
||||
epochVersion = "0.3.0.4";
|
||||
epochVersion = "0.3.1.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
|
||||
|
@ -40,7 +40,7 @@ class CfgRemoteExecCommands {};
|
||||
|
||||
class CfgEpochClient
|
||||
{
|
||||
epochVersion = "0.3.0.4";
|
||||
epochVersion = "0.3.1.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
|
||||
|
15
Tools/Install/InstallEpoch.cmd
Normal file
15
Tools/Install/InstallEpoch.cmd
Normal file
@ -0,0 +1,15 @@
|
||||
@ECHO OFF
|
||||
SET STEAMUN=admin@youremail.net
|
||||
SET STEAMPW=chamgeme
|
||||
SET ARMASVRPATH=C:\Arma3Server
|
||||
SET ARMAAPPID=107410
|
||||
:: Workshop IDs: EpochExperimental = 455221958, Normal Epoch = 421839251
|
||||
SET ARMAWORKSHOPID=455221958
|
||||
:: remove mod folder
|
||||
rd /s/q "%ARMASVRPATH%\@Epoch"
|
||||
:: remove cache C:\Users\Administrator\Downloads\steamcmd\steamapps\workshop
|
||||
del "steamapps\workshop\appworkshop_%ARMAAPPID%.acf"
|
||||
:: 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%\@Epoch"
|
Loading…
Reference in New Issue
Block a user