Commit Graph

603 Commits

Author SHA1 Message Date
He-Man
af6318940b More precise Vehicle saving / loading
This change will save / load Vehicles much more accurate (especially on
Ramps / slopy terrain.

Background:
If use VectorDir / VectorUp, the Vehicle will be tilted around the model
Center and PosWorld also use the Modelcenter, while PosATL / PosASL use
the lowest level of the Vehicle.
2018-04-07 00:11:12 +02:00
He-Man
ad7d7ddb2d Missing commandmenu exception 2018-04-06 22:42:48 +02:00
He-Man
561012b09c Config to make Temp Vehicles tradeable 2018-04-06 17:57:42 +02:00
He-Man
18dfb95e03 Set lockstate after upgrade 2018-04-03 23:30:17 +02:00
He-Man
a11e8c6f9c Convert Starter Mags to Rounds 2018-03-31 00:58:05 +02:00
He-Man
54b739a4a2 One more Trader Limit fix 2018-03-30 16:17:27 +02:00
He-Man
84d7167a14 Recalculating of _currentStock 2018-03-30 15:58:17 +02:00
He-Man
2abcf105b5 Removed Trader Limits - handled with new vars
Have to be tested!!!!
2018-03-30 05:09:27 +02:00
vbawol
887fd41b7c bump version to 1.1.1 for experimental 2018-03-25 10:00:50 -05:00
He-Man
4df4a3f684
Ejector Seat 2018-03-21 13:32:25 +01:00
He-Man
d2b92db808 Allowdamage after porting 2018-03-19 16:57:46 +01:00
He-Man
ec192de482 Create new Player alwas at respawn first
Create new Playerobject first on respawn marker and move Player +
Playerobject at least together to final position.
Seems to help against login issues as loadout is more accurate
broadcasted to client.
2018-03-19 16:53:26 +01:00
He-Man
159555718f InFront TP toggle fix 2018-03-05 20:20:29 +01:00
He-Man
950c01d0c9 Missing Configs + Smal Admin Menu fixes 2018-03-05 20:11:44 +01:00
He-Man
47cce77649 Random Money lump with Mapmarker (like Plants)
Take the Money with Space Menu
2018-02-13 22:33:14 +01:00
DESKTOP-UH65DCE\MusTanG
1f96a6e625 Shipwreck loot upgrade
Configs:
-Custom wrecks : ClassName string expected
-Custom locations : Posistion Array{x,y,z} expected

Description:
-This upgrade was to provide maps without the built-in terrain objects
"SHIPWRECK" to have this feature available with a few custom locations
added to the servers config.

Function Changes:
-Custom Locations and Wrecks Classnames are pulled from the config
variable.
-Wrecks are created and added to the already gathered array of Terrain
Objects "SHIPWRECK".
-On Maps without these terrain objects, the original array will be
empty[], and then the custom locations will populate it from there.
-On Maps with these terrain objects, the custom locations are added to
the already populated array of "SHIPWRECK"'s and will then become part
of the random selection of all known shipwrecks and custom locations.

Remember custom shipwrecks have a distance check and will stop a loot
spawn if there is already another shipwreck within the configured
amount.
2018-02-11 11:05:53 -06:00
He-Man
d3e9b880a0 Not Serverside... 2018-01-15 18:55:44 +01:00
He-Man
f34ff90390 Use addMagazineOverflow + BE-Filter 2018-01-15 18:48:36 +01:00
He-Man
9ebeb82805 SimulationHandlerOld + Comment
Server fsm no longer handles simulation for Vehicles, so this config is
useless and can be removed
2018-01-14 20:35:13 +01:00
He-Man
291c222d9d setVectorDirAndUp first to prevent collide 2018-01-14 14:01:28 +01:00
He-Man
2ccb006697 Handle not full mags in Trader 2018-01-13 15:12:54 +01:00
He-Man
a2172aaef5 Smaller fixes and tweaks
- Fixed usedItemRepack removes all same items with same rounds
- removed action "gear" by opening Cargo Container
- removed StorageInit (EH Killed), if Storage is indestructible
- Spawn Vehicles near 0 and port them after all is loaded to final
position (prevent collide)
- increased Altis World size to 25000 (better Vehicle / Trader Spawn)
2018-01-10 20:10:00 +01:00
He-Man
ad36d16335 Missing SERVER_VARS on revive
https://github.com/EpochModTeam/Epoch/issues/963
2018-01-09 17:28:12 +01:00
He-Man
097102c1aa Vehicle Locktime now use string 2018-01-08 19:26:11 +01:00
He-Man
773d863c58 Trader Config + Reserved Vehicle Slots 2018-01-07 02:41:38 +01:00
He-Man
c615d93ba6 Tweaked SwapBuilding
- Removed disable Simulation here, because desimulated objects need a
long time to broadcast the correct position. So we only desimulate them
on next restart
- Removed reveal, because it has no effect in my tests.
- Moved the position set code more to the top of this script, as it has
a positive effect on position set performance
2018-01-02 14:39:31 +01:00
vbawol
10a18b6054 testing forcing open inventory instead of message 2017-12-10 08:25:31 -06:00
SirDice
33a9a8f682
Missing brace
There's a opening brace missing, causing this error:
```
21:15:44 Error in expression <"true");
_ep setDamage (_dmg min 0.75);
} forEach(getArray(_configWorld >> "prop>
21:15:44   Error position: <} forEach(getArray(_configWorld >> "prop>
21:15:44   Error Missing {
21:15:44 File epoch_server\compile\epoch_server\EPOCH_server_createTeleport.sqf, line 110
21:15:44 Error in expression <"true");
_ep setDamage (_dmg min 0.75);
} forEach(getArray(_configWorld >> "prop>
21:15:44   Error position: <} forEach(getArray(_configWorld >> "prop>
21:15:44   Error Missing {
21:15:44 File epoch_server\compile\epoch_server\EPOCH_server_createTeleport.sqf, line 110
```
2017-12-06 21:19:36 +01:00
He-Man
cbb0184a0e Changed propDynSimDistance 500->50 2017-11-30 23:02:50 +01:00
He-Man
8ab05047e9 Simulation tweaks
- Added an option to completely disable Simulation for specific Base
Parts.
- Added Base Parts without animations to this array.
- Removed Base Objects Init (mpAddEventhandler "mpKilled") from
indestructible Base Objects, as it is not needed.
- Moved Dynamicsimulation server side (not needed client side)
- Resorted epochonfig.hpp
All changes are running on our Server without any problems and with a
good performance boost, as the dynamicsimulationhandler has not to
handle a few thousand objects anymore
2017-11-30 22:59:29 +01:00
DESKTOP-UH65DCE\MusTanG
f582311331 add optional entries in props array
add dyn sim, allow dmg and set dmg
2017-11-27 18:05:31 -06:00
He-Man
8a452e6394 Prevent Basebuilding Storages from Auto-Cleanup 2017-11-24 19:30:44 +01:00
SirDice
1085060421
Missed variable rename
_showBoatMarkers was replaced with _showMarkers with commit bd3e331 but one was forgotten.
2017-11-20 21:31:53 +01:00
DESKTOP-UH65DCE\MusTanG
5b0931cfcc add missing and sort private arrays 2017-11-13 14:54:50 -06:00
DESKTOP-UH65DCE\MusTanG
8fb45fc35c events overhaul
Streamline all events to Events Monitor within Server Monitor fsm.
Cycles and removes events as they decay or are looted.
2017-11-12 17:39:03 -06:00
He-Man
362ec1217b Reworked Lock Storage + Lock / Unlock hints 2017-11-08 19:24:36 +01:00
vbawol
6f42a5f47f bump experimental version to 1.1 2017-11-05 12:50:33 -06:00
He-Man
056f3a0cb0 Make temp Vehicles Lockable + Lock hints 2017-11-05 02:47:15 +01:00
He-Man
0e2af36da9 rpt error for communitystats
Thx to a Friend ;)
2017-11-02 22:25:18 +01:00
DESKTOP-UH65DCE\MusTanG
3984cb89b3 complete todo with aiTables config entry 2017-10-31 21:52:47 -05:00
DESKTOP-UH65DCE\MusTanG
946c39efa9 use safe pos for loot container
move _tooClose inside for statement, remove min, add BIS_fnc_findSafePos
call for loot spots
2017-10-28 11:44:44 -05:00
DESKTOP-UH65DCE\MusTanG
e8ff66dc26 shipwrecks distance to others check and config 2017-10-28 09:01:38 -05:00
vbawol
8b4d6d457e seperate timer for forced restart 2017-10-27 10:06:13 -05:00
vbawol
0456e416f4 add note about possible crash point
This will be the last line from Epoch before the server crashes due to
Redis not running or connection issues.
2017-10-27 09:17:34 -05:00
vbawol
f579588c00 trigger trap to destroy base object
should fix issue reported in #945
2017-10-25 20:53:11 -05:00
vbawol
5c3d589443 exit loop if _shipwrecks array is empty
ref https://github.com/EpochModTeam/Epoch/issues/947
2017-10-25 19:43:13 -05:00
DESKTOP-UH65DCE\MusTanG
0f31efd467 hmmm 2017-10-24 14:57:50 -05:00
DESKTOP-UH65DCE\MusTanG
fb5345f8c5 shipwreck update and max config 2017-10-24 14:47:56 -05:00
vbawol
6821e1895d isNil check needed for nearestTerrainObjects? 2017-10-24 14:15:50 -05:00
vbawol
68e33cf4f0 use only SHIPWRECK type 2017-10-24 13:36:12 -05:00