Commit Graph

823 Commits

Author SHA1 Message Date
He-Man
c7e58da56d Reworked Building Script
- 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.
2017-05-28 00:25:42 +02:00
vbawol
84c46c7d2c b774 2017-05-26 09:03:59 -05:00
vbawol
818289161f pre 0.6 updates
[Added] Dynamic Debris Epoch Event. Dynamically spawns vehicle and other
debris on the roadways.
Scans the roads on startup and uses a random seed generator to determine
the locations of debris.
Debris is spawned using createSimpleObject and is made to conform with
the upper most roadway surface.

[Added]  Epoch Events 3.0
- Supports events based on server side configs and pbos.
- New server side events can be added by just dropping .pbo into
@epochhive/addons folder.
- To make your own standalone events you can use Dynamic Debris Event as
a template.

[Removed] Vehicle simulation handler, so we can use A3 Dynamic
Simulation instead.
[Changed] Safe Vehicle and token checks simplified to only check the
vehicles a player is in.
[Changed] Safe Vehicle classes can now be configured via server settings
pbo CfgSecConf >> vehicles >> safeVehicles array.
2017-05-26 08:32:34 -05:00
He-Man
c32d3e2136 Added option to drink from source 2017-05-25 00:14:53 +02:00
He-Man
c548d570f6 Added option to drink from source 2017-05-25 00:08:59 +02:00
Raymix
5af91794ae sry this commit is bugged for me 2017-05-23 20:00:46 +01:00
vbawol
45b58a3ea6 debug location of player and new player object 2017-05-23 08:22:12 -05:00
vbawol
7351081b1b Merge branch 'experimental' of https://github.com/EpochModTeam/Epoch into experimental 2017-05-21 16:24:44 -05:00
vbawol
db030763bd move this workaround to onDisconnect.
should handle removing any doppelgangers if the player did not log in
correctly.
2017-05-21 16:24:41 -05:00
vbawol
759daa7ee5 remove unused functions 2017-05-20 22:51:28 -05:00
He-Man
d3c937ec8c Added Custom KeyMap 2017-05-19 22:46:28 +02:00
He-Man
220a728cd4 Added Custom KeyMap 2017-05-19 22:44:55 +02:00
He-Man
4123718a50 Added Custom KeyMaps 2017-05-19 22:44:02 +02:00
vbawol
f55b305a3e add exta debug to login fsm 2017-05-16 11:12:09 -05:00
He-Man
0d0ee71dc4 Force Save Player after Spawnpoint set
If not force save, sometimes the Spawnpoint is not saved after death (if to close after set)
2017-05-11 21:59:59 +02:00
vbawol
3902d63b4f 0.5 b757 2017-05-02 12:48:48 -05:00
vbawol
9a7bc7b455 more cleanup and privates 2017-05-02 08:28:52 -05:00
vbawol
e8d136a293 fixed missing _display variable 2017-05-02 08:28:28 -05:00
vbawol
52db132ca9 more privates, cleanup and fixes. 2017-05-02 07:35:38 -05:00
vbawol
f101f66281 0.5 b756 2017-05-01 21:30:15 -05:00
vbawol
3f462d43ba more private updates 2017-05-01 19:23:00 -05:00
vbawol
0c035ae07c minor fixes and cleanup 2017-05-01 15:26:18 -05:00
vbawol
c1cfc3d297 fixed invaild format for missionComms params
Thanks to @LordGolias and his awesomeparser for catching it:
https://www.reddit.com/r/armadev/comments/681236/released_static_analyzer_for_sqf_and_integration/
2017-05-01 14:36:51 -05:00
vbawol
06fc5e3006 cleanup and bulk private array updates 2017-05-01 09:07:41 -05:00
He-Man
c6a1da84d0 Fix for Weaponholder disappear to fast
Empty WH disappear after 1 second.
If filling of WH takes longer than 1s, the WH disappears. This fix let
the Server create the WH, if objnull
2017-04-23 18:52:36 +02:00
vbawol
46a5d37026 0.5 b755 2017-04-22 10:25:14 -05:00
vbawol
c76e8bdb36 update private array 2017-04-22 09:29:59 -05:00
He-Man
eede62bd38 Fixed / updated and added Trader Missions
Ported to run it on Events instead fsm
2017-04-21 19:03:58 +02:00
vbawol
10f127fc27 move be folder to fix case 2017-04-20 07:47:13 -05:00
vbawol
b5584ffbfe fixed #747 2017-04-18 15:35:41 -05:00
vbawol
3317b8f25d 0.5 b754 2017-04-18 14:27:04 -05:00
vbawol
fe3c464472 fixed missing semicolons 2017-04-18 14:21:25 -05:00
He-Man
de4f703e23 Added "MeleeRod" (Fishing Rod) to Crafting Menu
1x Rope
1x Stick
1x Metal Scraps
2017-04-18 17:07:13 +02:00
vbawol
21c797c39b 0.5 b753 2017-04-17 12:07:29 -05:00
vbawol
4382aef326 Merge pull request #744 from EpochModTeam/release
sync changes from release to experimental
2017-04-17 09:21:44 -07:00
vbawol
2cdcf1c418 Merge pull request #740 from morgoth0/patch-3
Force enablesimulation on gates
2017-04-17 09:19:15 -07:00
vbawol
d77fb154ed Merge pull request #741 from morgoth0/patch-4
Force enablesimulation on gates
2017-04-17 09:19:09 -07:00
vbawol
586b6018f1 Merge pull request #742 from morgoth0/patch-5
Force enablesimulation on gates
2017-04-17 09:19:01 -07:00
vbawol
f88ab84b30 Merge pull request #743 from Ignatz-HeMan/patch-6
Fix if only HitPointDamage > 0
2017-04-17 09:18:44 -07:00
vbawol
662c401d84 Merge pull request #739 from morgoth0/patch-2
Force enablesimulation on bargates
2017-04-17 09:17:22 -07:00
vbawol
6600844a4b further optimized db call for weather script 2017-04-12 10:16:23 -05:00
vbawol
af56e4b89a update privates
since this is execVM'ed it is not really needed but done just in case
the code is compiled call'ed at a later time.
2017-04-12 09:57:55 -05:00
vbawol
91e70e21d9 fix static weather 2017-04-12 09:46:31 -05:00
vbawol
1fd690a43c 0.5 b752 2017-04-11 14:50:28 -05:00
He-Man
b2fbd6ef91 Fix if only HitPointDamage > 0
Important, when using SafeZones with VehicleGodmode and only HitPoint is damaged.
2017-04-10 16:38:54 +02:00
Grahame
e7b377383c Force enablesimulation on gates 2017-04-10 09:24:28 -04:00
Grahame
0a9843e3da Force enablesimulation on gates 2017-04-10 09:23:06 -04:00
Grahame
4f0973155f Force enablesimulation on gates 2017-04-10 09:21:32 -04:00
Grahame
941cdae08b Force enablesimulation on bargates 2017-04-10 09:19:42 -04:00
Grahame
ef600d3536 Force enablesimulation on Land_BarGate_F 2017-04-10 09:10:13 -04:00
He-Man
f1a3d46c64 Removed redundant checks 2017-04-10 00:10:07 +02:00
vbawol
e3a94eaeb8 0.5 b751 2017-04-09 17:08:16 -05:00
vbawol
acc341666b Merge pull request #735 from Ignatz-HeMan/patch-3
Fixed Heal not working, if only hitpoint damaged
2017-04-09 13:55:44 -07:00
He-Man
1c201ea77d Fixed Heal not working, if only hitpoint damaged 2017-04-09 21:26:43 +02:00
He-Man
3458edf473 Fix for create / leave Group
Once closed the Invites Screen, no more invites from the same Group are possible until relog.
Not sure, for what "Epoch_invited_GroupUIDsPrev" should be needed. Noticed no disadvantages by not compare it here
2017-04-08 18:56:18 +02:00
He-Man
bd89a1eadd Fix for create / leave Group
- Server was looking for Players with Groupuid after the UID was already set on the new member self. So the Player was sometimes found as first and has joined his own Group
- [["groupUidUpdate", _groupID], _x] call EPOCH_sendRemoteExecClient; was missing, so the Player had to relog to get the Groupuid variable -> Leaving group was also only possible after Relog
- added usage of params []
2017-04-08 18:52:26 +02:00
He-Man
01779e4780 Delete rest of clientside Airdrop Event 2017-04-07 17:39:17 +02:00
vbawol
705a577d9a 0.5 b750
[Added] epochconfig settings (forcedVehicleSpawnTable,
forcedLootSpawnTable) to force specific vehicle or loot tables.
[Changed] Removed "Alpha" from debug monitor
2017-04-05 11:27:57 -05:00
vbawol
63817d743e add forced overrides of vehicle and loot tables 2017-04-05 11:10:28 -05:00
vbawol
b02209184f redis server updates and debug option flag
[Changed] Add flag to enable database unit test. enableUnitTestOnStart =
1 in epochconfig.hpp to enable
Update redis-server.exe to latest version: 3.2.100 from:
https://github.com/MSOpenTech/redis/releases
2017-04-04 17:36:09 -05:00
vbawol
fd5bd898fa remove Alpha tag from debug 2017-04-03 12:04:42 -05:00
vbawol
4f6fc29717 Merge pull request #729 from EpochModTeam/experimental
0.5 b749
2017-04-03 11:58:35 -05:00
vbawol
1386f675b7 0.5 b749 2017-04-03 11:50:28 -05:00
vbawol
3e44c3edd8 Merge pull request #725 from Ignatz-HeMan/patch-8
Make SpawnPoint on Player Pos + Bugfix
2017-04-03 09:54:07 -05:00
vbawol
2950f77d4b Merge pull request #723 from Ignatz-HeMan/patch-6
Added optional Classnames for Service Point Pos.
2017-04-02 11:34:32 -05:00
vbawol
9eaa200389 Merge pull request #724 from Ignatz-HeMan/patch-7
Force "TakeCrypto" menu on dead Player
2017-04-02 10:32:21 -05:00
vbawol
17762afbdc Merge pull request #722 from Ignatz-HeMan/patch-5
Set damage to value, not to 0
2017-04-02 10:31:42 -05:00
vbawol
b6b69c52bb Merge pull request #726 from Ignatz-HeMan/patch-9
Give SmokeShellToxic_Ammo Toxic
2017-04-02 10:28:40 -05:00
vbawol
086c97f20f 0.5 b748
[Added] 200 player support to all mission files, thanks to increased
group limits in Arma 1.68!
[Added] Experimental support for Mad ArmA Mod:
https://forums.bistudio.com/forums/topic/200295-mad-arma-mad-max-inspired-mod/
(Note: a few known issues with this mod bisign/key for this mod atm)
2017-04-01 23:17:46 -05:00
He-Man
8b09c02a94 Give SmokeShellToxic_Ammo Toxic 2017-04-01 23:19:01 +02:00
He-Man
4c16ed80dd Make SpawnPoint on Player Pos + Bugfix
More accurate to define for Players (bugging through a wall and falling down or hanging stuck in a corner)

In EPOCH 0.4, ServerVars was set to [""] in case of wrong _varscount.
If you have it on your character, you are not able to set SpawnPoint.
SO I added a check, if spawnlocation isequaltype []
2017-04-01 17:10:02 +02:00
He-Man
85e6e15b0e Make SpawnPoint on Player Pos + Bugfix
More accurate to define for Players (bugging through a wall and falling down or hanging stuck in a corner)

In EPOCH 0.4, ServerVars was set to [""] in case of wrong _varscount.
If you have it on your character, you are not able to set SpawnPoint.
SO I added a check, if spawnlocation isequaltype []
2017-04-01 17:08:45 +02:00
He-Man
e310aee27d Make SpawnPoint on Player Pos + Bugfix
More accurate to define for Players (bugging through a wall and falling down or hanging stuck in a corner)

In EPOCH 0.4, ServerVars was set to [""] in case of wrong _varscount.
If you have it on your character, you are not able to set SpawnPoint.
SO I added a check, if spawnlocation isequaltype []
2017-04-01 17:08:21 +02:00
He-Man
dffe73afa8 Make SpawnPoint on Player Pos
- More accurate to define for Players (bugging through a wall and falling down or hanging stuck in a corner)
2017-04-01 17:04:27 +02:00
He-Man
5d3f6c1465 Force "TakeCrypto" menu on dead Player
Dead Player sometimes comes hard in target and Players are trying and trying to get "Take Krypto".
So it's better to make it everytime available on Dead Player.
2017-04-01 16:25:12 +02:00
He-Man
9d558083c2 Added optional Classnames for Service Point Pos.
- Added optional Classnames for Service Point Pos
- Some Cleanups and Script optimization
2017-04-01 16:06:03 +02:00
He-Man
a84326d446 Added optional Classnames for Service Point Pos.
- Added optional Classnames for Service Point Pos
- Some Cleanups and Script optimization
2017-04-01 16:03:32 +02:00
He-Man
b90fbafb05 Added optional Classnames for Service Point Pos.
- Added optional Classnames for Service Point Pos
- Some Cleanups and Script optimization
2017-04-01 16:03:12 +02:00
He-Man
a5a51a9ac6 Added optional Classnames for Service Point Pos.
- Added optional Classnames for Service Point Pos
- Some Cleanups and Script optimization
2017-04-01 16:02:48 +02:00
He-Man
cf27001966 Added optional Classnames for Service Point Pos.
- Added optional Classnames for Service Point Pos
- Some Cleanups and Script optimization
2017-04-01 16:02:25 +02:00
He-Man
ac86ccf254 Added optional Classnames for Service Point Pos.
- Added optional Classnames for Service Point Pos
- Some Cleanups and Script optimization
2017-04-01 16:01:09 +02:00
He-Man
c376ee2809 Set damage to value, not to 0
All Scripts are using as params ['ALL',0].
With this change it is possible to set the damage to a value (0 for all actual scripts).
2017-04-01 15:46:54 +02:00
vbawol
7b0729cf89 Merge pull request #719 from EpochModTeam/experimental
Release 0.5
2017-03-30 16:02:47 -05:00
vbawol
ff13d929ec 0.5 741 2017-03-30 15:57:44 -05:00
vbawol
0046ed18ef merge 2017-03-30 15:34:37 -05:00
vbawol
e6549ff7e7 0.5 b740 2017-03-30 11:54:36 -05:00
vbawol
be52b911f2 add color support to epoch message @SPKcoding 2017-03-30 11:19:46 -05:00
vbawol
e379038ab4 0.5 b739
move icons to mod
add token check to remote exec
2017-03-30 11:02:15 -05:00
vbawol
5aae0aa1e2 Merge pull request #716 from Ignatz-HeMan/patch-1
Building Parts not delete when disallowed
2017-03-30 10:39:50 -05:00
vbawol
a95a5b2076 Merge pull request #714 from Ignatz-HeMan/experimental
Added Service Point to Rearm, Repair and Refuel
2017-03-30 10:39:09 -05:00
He-Man
d3309926fa Building Parts not delete when disallowed
When already building (simulswap) but building is disallowed, the building part will fall down instead of been deleted (without returning items)
2017-03-29 19:43:10 +02:00
vbawol
b402cb3219 0.5 b737 2017-03-28 13:20:40 -05:00
vbawol
a4dca6ffb5 add 7 new keesha camo skins from Craig Hauer
@ComatoseBadger
2017-03-28 12:08:57 -05:00
vbawol
d07593d038 added unit test and further hive optimizations 2017-03-27 17:44:55 -05:00
vbawol
1394dec6ba weather tweaks 2017-03-27 17:43:10 -05:00
He-Man
aa2f7b02ce Added Service Point to Rearm, Repair and Refuel
- I have no idea, where to upload the new needed pics for DynaMenu, so I
have added them into the root folder. Please move to the correct
location.
- Added needed "PayCrypto" function serverside. This function can only
remove Crypto from player. If someone try to add crypto, he will be
killed (could also changed to ban?!)
- I tried to avoid all Battleye filters (excepted remoteexec, of
course). But I have not tested it with Battleye for now.
2017-03-26 20:15:24 +02:00
vbawol
723584aa80 moved required Arma version var to mission config 2017-03-26 10:30:39 -05:00
vbawol
4acb24c8b2 update usage of createGroup to 1.68+ 2017-03-26 10:21:26 -05:00
vbawol
2c49a8ad93 add previous location check
If you had set a spawnpoint previously at another location and attempt
to set a new one, it would say "spawnpoint removed" instead of "set".
2017-03-24 07:24:35 -05:00
vbawol
f4c0d24e42 0.5 b708 2017-03-23 20:24:58 -05:00
82ndab-Bravo17
e181ae2425 Allow toggle Jammer spawnpoint on/off
Otherwise it stays there until the end of time ....
2017-03-23 19:12:24 -04:00
vbawol
ea1e96d807 0.5 b707 2017-03-23 16:11:25 -05:00
vbawol
70f91f6041 Merge branch 'experimental' of https://github.com/EpochModTeam/Epoch into experimental 2017-03-23 15:53:44 -05:00
vbawol
2c75d87869 revert, makes variable out of scope 2017-03-23 15:51:44 -05:00
vbawol
d2948dfc7e Merge pull request #712 from Ignatz-HeMan/patch-3
Dyna Buildmode also persistent without Energy
2017-03-23 15:51:31 -05:00
vbawol
b5b54bd513 more fixes and cleanup 2017-03-23 15:38:19 -05:00
He-Man
b3647282e2 Dyna Buildmode also persistent without Energy
Players often are confused, why Build mode is not in DynaMenu
2017-03-23 21:08:18 +01:00
vbawol
28baecfd71 0.5 b705 2017-03-23 14:45:19 -05:00
vbawol
4b3a72f970 improve usage of Epoch_my_Group 2017-03-23 14:28:04 -05:00
vbawol
3e2148e147 reforce wind direction again 2017-03-23 13:57:57 -05:00
vbawol
768da17740 optimize and fix bugs 2017-03-23 13:57:29 -05:00
vbawol
2156309fcf MORE WIND! 2017-03-23 10:38:01 -05:00
vbawol
6e9e5ff9d3 server b703 2017-03-23 10:09:17 -05:00
vbawol
ee2cf61d83 optimize and fix recent group issue 2017-03-23 10:09:02 -05:00
vbawol
77b6ed4f18 0.5 b701 2017-03-22 17:37:02 -05:00
vbawol
dfd719e77c TEST: force nearby players to reveal new object 2017-03-22 17:32:18 -05:00
vbawol
d97d2d8360 fixed issue with group system 2017-03-22 17:11:02 -05:00
vbawol
8029c21811 same 2017-03-22 16:52:04 -05:00
vbawol
e6a4e39bb9 fixed soldier units spawning long after spotted
if unit is forced to spawn no need to increase random spawn limit, Also
since there was no way to decrease the spawn for soldiers they would
randomly spawn forever.
get random postion around player to spawn soldier if extra data is not
sent.
set soldiers to spawn at ground level.
2017-03-22 16:51:51 -05:00
vbawol
872d8dcb73 0.5 b700
weather tweaks and repack for PR
2017-03-18 00:24:02 -05:00
He-Man
15f7b0492c Removed "Inspect" & "Build Mode" from DynaMenu
Both functions are useless inside Vehicles.
2017-03-17 19:25:01 +01:00
vbawol
aff9d38c70 0.5 b699 2017-03-08 14:45:24 -06:00
vbawol
35f2f67d0b use another class for sapper 2017-03-08 12:26:41 -06:00
vbawol
16e70faf8e 0.5 b698 2017-03-08 08:17:06 -06:00
vbawol
cd84b51862 Merge pull request #708 from 82ndab-Bravo17/PlaceJammer
Option to re-allow non Group Leaders to place Jammers
2017-03-08 07:33:48 -06:00
vbawol
bb66c7b211 Merge pull request #704 from Ignatz-HeMan/patch-3
Anti-Dupe on Revive
2017-03-08 07:32:52 -06:00
He-Man
26d4999def deleted redundant variable
variable "_units = []" was twice
2017-03-07 09:33:31 +01:00
vbawol
5857f56583 0.5 b697 2017-03-06 11:46:54 -06:00
vbawol
7543950e8d give toxic sapper his own toxic bomb 2017-03-06 11:35:18 -06:00
vbawol
8b77ed0be7 add toxic sapper to spawn, give loot, etc.
also give feedback to player when Spawnpoint set
2017-03-06 11:19:20 -06:00
vbawol
dcd0954786 0.5 b696 2017-03-05 13:35:03 -06:00
vbawol
7714c62e96 test fix issue with joining a dead players groups
optimize reduce number of allPlayer calls
2017-03-05 11:04:43 -06:00
vbawol
c477b9bf58 prevent crash on dynamic menu loading upgrades 2017-03-05 11:02:00 -06:00
vbawol
4f5d0baf8d 0.5 b695 2017-03-04 16:46:03 -06:00
vbawol
308f1eb875 fixed issue that could cause spawning at old position
if jammer owner checks failed
2017-03-04 13:00:31 -06:00
vbawol
f5d51c4127 fixed typo in load player 2017-03-04 11:35:39 -06:00
vbawol
b695f29577 example Epoch Event: Payday
Give all connected players 100 Crypto every 30 minutes
2017-03-04 10:57:14 -06:00
vbawol
4cd7fdd5c6 0.5 b691 2017-03-04 00:53:05 -06:00
vbawol
b2629ca10f allow respawn in base 2017-03-04 00:52:45 -06:00
vbawol
4a08ccf033 fixed missing semicolons 2017-03-04 00:21:59 -06:00
82ndab-Bravo17
39c7ff9ac7 Option to re-allow non Group Leaders to place Jammers 2017-03-02 19:37:20 -05:00
He-Man
4a72867eac SupportCopter v2 2017-03-02 18:23:38 +01:00
He-Man
0d35af5052 SupportCopter v2 2017-03-02 18:22:35 +01:00
He-Man
965ff047e9 SupportCopter v2 2017-03-02 18:12:35 +01:00
He-Man
a0c1648a0c SupportCopter v2 2017-03-02 18:04:17 +01:00
He-Man
3cc5a7df4d SupportCopter v2 2017-03-02 17:58:48 +01:00
He-Man
d3a5799808 SupportCopter v2 2017-03-02 17:58:12 +01:00
He-Man
180cd363f4 SupportCopter v2 2017-03-02 17:57:41 +01:00
vbawol
4a95679713 Toxic Sapper pt1 2017-03-01 17:17:58 -06:00
vbawol
4ce94718ab add function EPOCH_fnc_addItemToX
reduce redundant code
rebuild private arrays
2017-03-01 17:17:30 -06:00