mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
0.3.4 part 4
This commit is contained in:
parent
c03579471c
commit
fce25ae6ae
@ -7,6 +7,7 @@ Client:
|
|||||||
[Fixed] Dog not taming due to var reset in wrong place / BIS animal update.
|
[Fixed] Dog not taming due to var reset in wrong place / BIS animal update.
|
||||||
[Fixed] Reduce client fps lag when first joining the server by preloading objects before exiting loadig screen.
|
[Fixed] Reduce client fps lag when first joining the server by preloading objects before exiting loadig screen.
|
||||||
[Fixed] Being unable to remove a solar generator.
|
[Fixed] Being unable to remove a solar generator.
|
||||||
|
[Fixed] Shadow artifact at top of Jammer.
|
||||||
[Changed] Removed debug hint text for 3d rotation of objects as it was not needed.
|
[Changed] Removed debug hint text for 3d rotation of objects as it was not needed.
|
||||||
[Changed] Re-enable Move button, this system will stay and be refined in the next few patches.
|
[Changed] Re-enable Move button, this system will stay and be refined in the next few patches.
|
||||||
|
|
||||||
|
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 "" !="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|SolarGen)_SIM_EPOCH" !="Wood(Floor|LargeWall|Stairs|Ramp|Foundation|Ladder|Tower)_EPOCH" !="(Tipi|Workbench|StorageShelf|CinderWallHalf|Foundation|Wood(Floor|LargeWall|Stairs|Ramp|Foundation|Ladder|Tower))_Ghost_EPOCH" !="(Tipi|StorageShelf|Safe|LockBox|FirePlace|FirePlaceOn|PlotPole|SolarGen|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|Cabinet)_EPOCH" !="(Sheep|Goat|Snake|Snake2|Hen|Cock|Fin|Alsatian)_random_EPOCH" !="(Safe|LockBox|CinderWall|CinderWallGarage|CinderWallHalf|PlotPole|Tipi|StorageShelf|Fireplace)_SIM_EPOCH" !="Wood(Floor|LargeWall|LargeWallCor|LargeWallDoor|LargeWallDoorL|LargeWallDoorway|Stairs|Stairs2|Ramp|Ladder|Tower)_SIM_EPOCH" !="(WoodFoundation|Foundation)_EPOCH" !="WoodWall[1-4](_SIM|_Ghost|)_EPOCH"
|
5 "_EPOCH" !="(SapperHead|Jack|SolarGen)_SIM_EPOCH" !="Wood(Floor|LargeWall|Stairs|Ramp|Foundation|Ladder|Tower)_EPOCH" !="(Tipi|Workbench|StorageShelf|CinderWallHalf|Foundation|Wood(Floor|LargeWall|Stairs|Ramp|Foundation|Ladder|Tower))_Ghost_EPOCH" !="(Tipi|StorageShelf|Safe|LockBox|FirePlace|FirePlaceOn|PlotPole|SolarGen|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|Cabinet)_EPOCH" !="(Sheep|Goat|Snake|Snake2|Hen|Cock|Fin|Alsatian)_random_EPOCH" !="(Safe|Workbench|LockBox|CinderWall|CinderWallGarage|CinderWallHalf|PlotPole|Tipi|StorageShelf|Fireplace)_SIM_EPOCH" !="Wood(Floor|LargeWall|LargeWallCor|LargeWallDoor|LargeWallDoorL|LargeWallDoorway|Stairs|Stairs2|Ramp|Ladder|Tower)_SIM_EPOCH" !="(WoodFoundation|Foundation)_EPOCH" !="WoodWall[1-4](_SIM|_Ghost|)_EPOCH"
|
||||||
5 SeaGull
|
5 SeaGull
|
||||||
|
@ -1189,6 +1189,20 @@ class CfgMagazines
|
|||||||
buildClass = "StorageShelf_SIM_EPOCH";
|
buildClass = "StorageShelf_SIM_EPOCH";
|
||||||
isStorage = 1;
|
isStorage = 1;
|
||||||
};
|
};
|
||||||
|
class KitWorkbench : CA_Magazine
|
||||||
|
{
|
||||||
|
model = "\x\addons\a3_epoch_assets_1\models\supply_crate.p3d";
|
||||||
|
picture = "\x\addons\a3_epoch_assets_1\pictures\equip_wooden_crate_ca.paa";
|
||||||
|
displayName = "Workbench Kit";
|
||||||
|
scope = 2;
|
||||||
|
descriptionShort = "Workbench";
|
||||||
|
count = 1;
|
||||||
|
mass = 20;
|
||||||
|
interactAction = 3; // 0 = examine, 1 = eat, 2 = drink, 3 = build
|
||||||
|
interactText = "BUILD";
|
||||||
|
buildClass = "Workbench_SIM_EPOCH";
|
||||||
|
isStorage = 1;
|
||||||
|
};
|
||||||
class KitFoundation : CA_Magazine
|
class KitFoundation : CA_Magazine
|
||||||
{
|
{
|
||||||
model = "\x\addons\a3_epoch_assets_1\models\supply_crate.p3d";
|
model = "\x\addons\a3_epoch_assets_1\models\supply_crate.p3d";
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
/*
|
/*
|
||||||
Load Buildings
|
Load Buildings
|
||||||
|
by Aaron Clark - EpochMod.com
|
||||||
|
|
||||||
Epoch Mod - EpochMod.com
|
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
|
||||||
All Rights Reserved.
|
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/compile/epoch_bases/EPOCH_server_loadBuildings.sqf
|
||||||
*/
|
*/
|
||||||
|
|
||||||
_maxTTL = parseNumber EPOCH_expiresBuilding;
|
_maxTTL = parseNumber EPOCH_expiresBuilding;
|
||||||
|
@ -59,23 +59,29 @@ if (getNumber(configFile >> "CfgVehicles" >> _type >> "isSecureStorage") == 1) t
|
|||||||
_plyrUID = getPlayerUID _plyr;
|
_plyrUID = getPlayerUID _plyr;
|
||||||
_plyrGroup = _plyr getVariable ["GROUP",""];
|
_plyrGroup = _plyr getVariable ["GROUP",""];
|
||||||
if (_plyrGroup != "") then {
|
if (_plyrGroup != "") then {
|
||||||
_response = ["Group", _plyrGroup] call EPOCH_fnc_server_hiveGETRANGE;
|
if (_plyrGroup in _owners) then {
|
||||||
if ((_response select 0) == 1 && typeName (_response select 1) == "ARRAY") then {
|
_parent setVariable ["EPOCH_Locked", _lockStatus, true];
|
||||||
_gArray = _response select 1;
|
_currentPos = getPosATL _unit;
|
||||||
diag_log format["_gArray2 %1 _plyrUID %2 _plyrGroup %3", _gArray, _plyrUID, _plyrGroup];
|
_currentPos set[2, -10];
|
||||||
if (
|
_unit setPosATL _currentPos;
|
||||||
{(_x select 0) in _owners}count(_gArray select 3) > 0 ||
|
} else {
|
||||||
{(_x select 0) in _owners}count(_gArray select 4) > 0 ||
|
_response = ["Group", _plyrGroup] call EPOCH_fnc_server_hiveGETRANGE;
|
||||||
_plyrUID in _owners
|
if ((_response select 0) == 1 && typeName (_response select 1) == "ARRAY") then {
|
||||||
) then {
|
_gArray = _response select 1;
|
||||||
_parent setVariable ["EPOCH_Locked", _lockStatus, true];
|
diag_log format["_gArray2 %1 _plyrUID %2 _plyrGroup %3", _gArray, _plyrUID, _plyrGroup];
|
||||||
_currentPos = getPosATL _unit;
|
if (
|
||||||
_currentPos set[2, -10];
|
{(_x select 0) in _owners}count(_gArray select 3) > 0 ||
|
||||||
_unit setPosATL _currentPos;
|
{(_x select 0) in _owners}count(_gArray select 4) > 0 ||
|
||||||
|
_plyrUID in _owners
|
||||||
|
) then {
|
||||||
|
_parent setVariable ["EPOCH_Locked", _lockStatus, true];
|
||||||
|
_currentPos = getPosATL _unit;
|
||||||
|
_currentPos set[2, -10];
|
||||||
|
_unit setPosATL _currentPos;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
if (_plyrUID in _owners) then {
|
if (_plyrUID in _owners) then {
|
||||||
_parent setVariable ["EPOCH_Locked", _lockStatus, true];
|
_parent setVariable ["EPOCH_Locked", _lockStatus, true];
|
||||||
_currentPos = getPosATL _unit;
|
_currentPos = getPosATL _unit;
|
||||||
|
Loading…
Reference in New Issue
Block a user