Commit Graph

540 Commits

Author SHA1 Message Date
vbawol
5db8af19f8 push change back to gvar
debug
2017-09-27 08:58:36 -05:00
vbawol
a3a0e7e2d9 Changes to default var loading 2017-09-26 21:20:41 -05:00
vbawol
38d704468d one more?> 2017-09-26 21:02:58 -05:00
vbawol
8903145ffa fixes part 4 2017-09-26 20:52:13 -05:00
vbawol
0f9eacd28a fixes part 3 2017-09-26 17:20:04 -05:00
vbawol
e675d29752 fixes part 2 2017-09-26 17:16:13 -05:00
vbawol
c4bf9c65ee one last fix... 2017-09-26 16:51:53 -05:00
vbawol
69a869ed2c fix error with wrong var 2017-09-26 16:32:57 -05:00
vbawol
91f998a7ed should be string here 2017-09-26 16:11:06 -05:00
vbawol
f3774c855a debug 2 2017-09-26 15:54:30 -05:00
vbawol
8b1a4d0f3c debug 2017-09-26 15:14:51 -05:00
vbawol
fc3ba3b3fb customHeader test
moved debug monitor to master loop
dropped digest idea for now
removed file check on masterloop and keydown
2017-09-26 14:31:39 -05:00
vbawol
853d69d201 use setvar for digest 2017-09-26 09:08:22 -05:00
vbawol
532dc34e86 test fix 2017-09-25 17:59:03 -05:00
vbawol
d318d99a86 setVectorDirAndUp after setpos
All uses of setVectorDirAndUp in arma code is after setpos not before.
2017-09-25 16:58:28 -05:00
vbawol
a2e9b150cc Merge pull request #873 from Ignatz-HeMan/patch-5
Fix for Vehicle Maintainance
2017-09-25 15:46:30 -05:00
He-Man
0ddc7d638d Fix for Vehicle Maintainance 2017-09-25 19:06:08 +02:00
He-Man
39f45eb855 Fix for Vehicle Maintainance 2017-09-25 19:04:24 +02:00
vbawol
a1d4d411fc Merge remote-tracking branch 'refs/remotes/origin/experimental' into exp-digest-test
# Conflicts:
#	Sources/epoch_code/compile/setup/EPOCH_clientRevive.sqf
#	Sources/epoch_code/init/client_init.sqf
#	Sources/epoch_config/Configs/CfgEpochClient.hpp
2017-09-25 01:02:55 -05:00
vbawol
9b0b4bd4e7 changelog and headers 2017-09-25 00:52:20 -05:00
vbawol
c67d642ef8 suppress NotUsed stat 2017-09-24 17:51:35 -05:00
DESKTOP-UH65DCE\MusTanG
bf41fb5b7d remove from default vars and add to debug 2017-09-24 17:38:56 -05:00
DESKTOP-UH65DCE\MusTanG
3b11fc7f75 Inventory space checks 2017-09-24 04:46:20 -05:00
DESKTOP-UH65DCE\MusTanG
19b5a06215 Commander Reload and Remove Turret Mags 2017-09-23 22:29:45 -05:00
DESKTOP-UH65DCE\MusTanG
122cb8b96c Gunner and Driver Turrets
Reload and remove mags from gunner and driver turrets.
Will expand for more slots
2017-09-23 20:58:48 -05:00
He-Man
90efc9258b fix for addrating 2017-09-20 20:17:41 +02:00
He-Man
e756568334 fix for addrating 2017-09-20 19:39:55 +02:00
vbawol
a0e9ec0153 digest concept
-use the second set of GVARs to track adding and removing attributes.
-Epoch_player* vars moved to local vars only accessible inside the
master loop.
-TODO: finish digest system with a config entry to control digest
limits. Some extra logic is needed.

Basically, when you consume some food, it will not increase your hunger
level immediately but raise over time.

Each of these should have limits on how much you can store in the digest
and how much each tick the digest var can affect the local player var in
the master loop.
2017-09-20 09:23:46 -05:00
He-Man
02dbb34b8d Prevent filling inside Vehicles 2017-09-14 19:51:06 +02:00
vbawol
a3a2de0841 Merge pull request #859 from Ignatz-HeMan/experimental
Fixes and Cleanups for VehRepair + ServicePoint
2017-09-08 11:43:30 -05:00
He-Man
3543ce892d Fixes and Cleanups for VehRepair + ServicePoint
- Added CinderWall Door to DoorCount in UpgradeBuild
- Added Option to prevent repairing full damaged HitPoints in
ServicePoint
- Added Option to disable removing Parts in Advanced Vehicle Repair
- Added CinderWallDoorwHatch_EPOCH to cfgBaseBuilding
- Fix in cfgCrafting for KitVehicleUpgradeI_200_EPOCH
- Added an "isdamageallowed" check in EPOCH_server_repairVehicle for
repairing untouched Vehicles in Bases
https://github.com/EpochModTeam/Epoch/blob/experimental/Sources/epoch_server/compile/epoch_vehicle/EPOCH_load_vehicles.sqf#L202-L203
- Some Cleanups of commented out lines
2017-09-08 18:34:56 +02:00
vbawol
f4ff04590f selectRandomWeighted is available now 2017-09-07 11:50:31 -05:00
vbawol
2cffcbc740 cleanup 2017-09-06 14:00:03 -05:00
vbawol
47e16a8318 use local vars for player stats 2017-09-06 09:43:15 -05:00
vbawol
3c13af5944 move AliveTime to local pt2 2017-09-05 16:28:07 -05:00
vbawol
422fdcc487 move AliveTime stat to local loop 2017-09-05 16:16:20 -05:00
He-Man
3cb8db20ec Additional Check 2017-09-05 18:06:30 +02:00
He-Man
5fea5ba136 Fix for undefined var on environment Animals
https://github.com/EpochModTeam/Epoch/issues/850
2017-09-04 19:10:52 +02:00
vbawol
ac92ca4415 Merge pull request #851 from ravmustang/Vector-Snapping-Wall2Wall
Vector Snapping Wall 2 Wall
2017-09-04 11:54:11 -05:00
DESKTOP-UH65DCE\MusTanG
53e0e45b08 Snap Wall 2 Wall
Wall 2 Wall Snapping with rotation fixes.
Move around code for use in both para and perp snapping
2017-09-04 11:19:29 -05:00
vbawol
31f65f6bee comments 2017-09-04 10:54:55 -05:00
vbawol
9fc38dd537 BE fixes for 1.76 and radiation fixes 2017-09-04 10:37:29 -05:00
vbawol
4449412c2d fixed double var usage 2017-09-04 08:36:15 -05:00
vbawol
a5fb7a0a53 add tents #829 2017-09-04 08:11:37 -05:00
DESKTOP-UH65DCE\MusTanG
df8346af2c Snap Wall to Floor Fixes and Upgrades
[Fixed] Snapping Stud Walls to Floors tilted on their left or right(had
forward and back working)
[Added] Checks for Tilt Left / Right / Forward / Back
[Added] Checks for Snap Points N,S / E,W
[Added] Checks for Snapping Direction 0,2 / 1,3
[Fixed] Snapping Direction's failed to keep level with tilt of floor on
some snap points with specific directions requiring the above checks
2017-09-03 18:45:56 -05:00
vbawol
c76b2badf9 move save stats to master loop and basic radiation system 2017-09-03 17:11:52 -05:00
vbawol
fcbdd594ae Screen effect when taking radiation damage #796 2017-09-03 17:11:52 -05:00
vbawol
52e02b954c Optimize: nearestObjects use object instead of pos 2017-09-02 17:06:27 -05:00
vbawol
ab5ea172a4 move weather temp and toxic feaver stats to master loop 2017-09-02 16:51:54 -05:00
DESKTOP-UH65DCE\MusTanG
33a663f72d Revert "missing ; 's"
This reverts commit 9230db9c7a.
2017-08-31 00:42:45 -05:00
DESKTOP-UH65DCE\MusTanG
f2fc2c9d6a Add TODO reminder 2017-08-31 00:28:30 -05:00
DESKTOP-UH65DCE\MusTanG
7d136cddb3 selectRandomWeighted not ready
Switch to BIS_fnc_selectRandomWeighted
2017-08-30 23:46:13 -05:00
DESKTOP-UH65DCE\MusTanG
9230db9c7a missing ; 's 2017-08-30 23:39:08 -05:00
vbawol
a59fc4aee2 make AI spawn every 5 minutes instead of 10 2017-08-30 17:55:39 -05:00
vbawol
01c8641ff2 Conditional Loot table feature and reworking antagonist spawning
- We no longer spawn antagonists on opening loot containers or trash.
Instead we have the client spawn them from a new weighted array. Note:
Admins can control what AI are spawning by removing from array
(antagonistChances) or setting chance to 0
- moved EPOCH_spawnIndex and EPOCH_spawnLimits to master loop init
instead of both_init as it is only needed client side.
- loot table updates for extra logic condition.
2017-08-30 17:15:14 -05:00
vbawol
e4903fd870 move weightedArray to Cfgfunctions for both server and client use 2017-08-30 17:00:06 -05:00
vbawol
dddeb6c866 optimize unit spawn
only one getMissionConfig is needed, 10:1 reduction 👍
2017-08-30 16:40:42 -05:00
vbawol
c89dffa1d0 move to functions 2017-08-28 16:26:49 -05:00
vbawol
30d8107d75 configClasses fixes thanks to @ravmustang 2017-08-26 07:12:50 -05:00
vbawol
23b1710d7c test out of bounds checks
added _isOnFoot var to init that refreshes with event1 every second and
is reused in any events
2017-08-24 10:22:13 -05:00
He-Man
2d0ef031c6 Moved Vehicle Upgrade to DynaMenu
- Vehicle Upgrade moved to DynaMenu
- Hitpoints now also will be given to Vehicles from other BaseClasses
(controlled by HitPointNames)
- Added a security Check that Players must have a bit distance to
upgrade
- Fixed some errors in Colorscript for upgraded Vehicles. If it is only
an upgrade, same color is used. If it is another Class, a new random
color will be taken.
- Removed Upgrade Vehicle from Inventory Click
- Changed DynaMenu to make it possible to call a script to get iconpath
(use "iconcode" instead of "icon" then)
2017-08-21 14:26:13 +02:00
vbawol
35cd51d748 disable nite light by default 2017-08-18 11:09:14 -05:00
vbawol
065de1c165 make nitelight only work at night
https://community.bistudio.com/wiki/setLightDayLight
2017-08-18 11:07:02 -05:00
vbawol
1a211407b9 updates to login system and hitpoints
- No longer track hitpoints from client side, now saved server side only
and pushed to clients on login.
https://community.bistudio.com/wiki/getAllHitPointsDamage
- Changed use set / getUnitLoadout and should still have legacy player
data support that will upgrade automatically on first save.
- Default loadout can be controlled via new variables in epochconfig.hpp
- Made data validation check dynamic using isEqualTypeParams as it does
type checking and still fails if input is shorter than the default.
https://community.bistudio.com/wiki/isEqualTypeParams
- Added back server side damage protection for the new player body. If
the new unit dies before the player switch it could cause login issues
and should not cause issues with scripted setdamage or hitpoints as
first thought. https://community.bistudio.com/wiki/allowDamage
2017-08-15 14:19:03 -05:00
He-Man
8185d0dbf5 Fixed wrong EPOCH_InteractedItem on crates
This has no effect to Epoch, but if you are working with EPOCH_InteractedItem in custom scripts, the crate items are from the wrong wh (if a crate and a groundWH is in target.
2017-08-13 20:43:33 +02:00
DESKTOP-UH65DCE\MusTanG
c783e6854b update killed EH
if killer is unit exit handler
2017-08-04 13:44:03 -05:00
vbawol
6a78895879 Merge branch 'experimental' into Community-Stats-#1 2017-08-03 18:20:00 -05:00
DESKTOP-UH65DCE\MusTanG
c19847b156 updates
local antagonists killed by non-local entity needed to be handled.
Local and Non-Local stat changes are now sent to server first then back
to the appropriate client after pToken check is verified.
2017-08-03 18:11:10 -05:00
vbawol
0074d505a8 Merge pull request #810 from Ignatz-HeMan/experimental
Option to prevent selling damaged veh
2017-08-03 14:55:42 -05:00
He-Man
c7f467be77 Option to prevent selling damaged veh 2017-08-03 20:43:58 +02:00
Raymix
3abac17557 trade: calc damage %, return new cost 2017-08-03 19:32:55 +01:00
He-Man
ff4b401b5f Some Fav-Bar Tweaks
- Moved configs to cfgepochclient
- Changed Keydown-Check from EPOCH_Buildmode to EPOCH_Target
- Replaced "resetonLogin" to only remove "forbidden items"
2017-08-03 18:18:18 +02:00
DESKTOP-UH65DCE\MusTanG
a2a3b7e3bd Zombie Stat
addEventHandler in 2 places for same zombie _unit, removed from unit
spawn function.
2017-08-03 10:46:46 -05:00
DESKTOP-UH65DCE\MusTanG
c49ee69265 add some tidybowl 2017-08-03 09:42:49 -05:00
DESKTOP-UH65DCE\MusTanG
4f88928bd0 Missions simplified
Category changed to TraderMissions.
Removed CompletedMissions.
2017-08-03 09:37:08 -05:00
DESKTOP-UH65DCE\MusTanG
43958142b8 Community Stats System #1
Fully customizable system.
Base system laid out more so as an example.
Included:
-Murders
-Deaths
-Suicides
-Revives
-AIKills
-AntagonistKills
-ZombieKills
-MissionsAttempted
-CompletedMissions

Client side stat change with optional send to server.
Server side stat change with optional send to client.
Server is backed up with token check if sent from client.
2017-08-02 22:16:21 -05:00
Raymix
97cf50183e FavBar: build mode fix 2017-08-02 23:16:50 +01:00
Raymix
49e67d24d4 FavBar: perf optimization - new 5 sec event 2017-08-02 22:07:55 +01:00
Raymix
a0e9ddbbef FavBar: performance optimization 2017-08-02 21:48:09 +01:00
Raymix
082036236a favbar: cleanup + private declares 2017-08-02 19:33:53 +01:00
vbawol
4cdc67cf9d Merge pull request #804 from Ignatz-HeMan/experimental
Advanced Vehicle Repair
2017-08-01 16:47:39 -05:00
Raymix
80329a9b16 Favbar: dupe fix (sorry lol, needs more field testing) 2017-08-01 21:09:50 +01:00
Raymix
45b6bf1fb2 Favorites bar - full release 2017-08-01 03:00:28 +01:00
He-Man
5dd672cb68 Advanced Vehicle Repair 2017-07-31 18:28:18 +02:00
DESKTOP-UH65DCE\MusTanG
39d8f05029 add virtual obj for setDir 2017-07-27 15:16:16 -05:00
DESKTOP-UH65DCE\MusTanG
f8461d247e Fix snapping with Vector Tilt
I feel crazy after this one.
2017-07-26 21:38:33 -05:00
vbawol
f2b0aab6e6 disable fuel after player is already in the server 2017-07-25 12:19:23 -05:00
vbawol
4fa13b7a91 corrected comments 2017-07-12 09:54:03 -05:00
vbawol
fd5f4cb1f9 maxBuildingHeight now var as it is used oneachframe 2017-07-12 09:53:39 -05:00
He-Man
96b4a33677 Fixed flip storages, added height check 2017-07-09 21:34:32 +02:00
He-Man
3539a43734 Fixed flip Storages, added height-check 2017-07-09 21:08:00 +02:00
He-Man
b95b845b9a Fixed flip storages above Water 2017-07-09 20:57:08 +02:00
DESKTOP-UH65DCE\MusTanG
1e77e0a22b Add reading documents
Add configs for easy editing of readable documents messages
Array for multiple messages, even a story. lol
Default messages are a hoot!
2017-07-03 19:08:04 -05:00
DESKTOP-UH65DCE\MusTanG
e906d29c9c More upgrades and new functions 2017-07-03 15:59:40 -05:00
DESKTOP-UH65DCE\MusTanG
44eb34445d Msg for missing item 2017-07-03 07:40:47 -05:00
DESKTOP-UH65DCE\MusTanG
711e7aba06 Update VUS#1
Change call to configFile to new missionConfigFile CfgVehicleUpgrades.
Add check for crypto client side before sent off to server for
completion
2017-07-03 07:35:42 -05:00
DESKTOP-UH65DCE\MusTanG
1dc4d147be VUS #1
ItemInteractions for VehDoc's set for UPGRADE
CfgVehicleUpgrade added for customizing materials needed
Server function for upgrading vehicle
CfgRemoteExec addition for server function above.
2017-07-03 07:22:20 -05:00
He-Man
394074c71d Updated missing ServiePoint Changes 2017-06-25 03:51:48 +02:00
He-Man
093e600ae2 Updated missing ServiePoint Changes 2017-06-25 03:21:31 +02:00
He-Man
94c8db8408 Updated missing ServiePoint Changes 2017-06-25 03:19:29 +02:00
vbawol
61700f5b41 fix from @Ignatz-HeMan
"otherwise he checks the aimpos of the Vehicle and this is mostly not
visible for the zombie"
2017-06-24 10:40:41 -05:00
vbawol
66f15a968f make bitePlayer function also work with vehicles 2017-06-24 10:36:48 -05:00
vbawol
3a59388163 use player instead of getPosATL for nearEntities 2017-06-23 17:38:56 -05:00
vbawol
e7092ad55d b788
- Can now mine metal scraps from Dynamic Debris vehicle wrecks using
sledgehammer.
- Can now "Search/Examine" Dynamic Debris Trash piles for loot.
- (Known issue: Dynamic Debris will respawn after server restart)
- Initial support for Malden 2035 map released with A3 1.72+.
- Fixed Admin panel corpse markers.
2017-06-11 12:28:23 -05:00
vbawol
784bb3d7f3 fixes to worldObjectType function 2017-06-06 08:13:36 -05:00
vbawol
c887028d9b comment 2017-06-04 19:23:15 -05:00
vbawol
684bff7e08 unify EPOCH_worldObjectType logic
EPOCH_worldObjectType now supports objects and object string names
2017-06-04 19:22:56 -05:00
vbawol
dc03dae4bb b780
- Debris Updates and MD5 unit test
- reworked to only use one single hive call.
- add debug flag to remove markers by default.
- added check to prevent spawning debris on top of each other.
2017-06-03 10:55:47 -05:00
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
7351081b1b Merge branch 'experimental' of https://github.com/EpochModTeam/Epoch into experimental 2017-05-21 16:24:44 -05:00
vbawol
759daa7ee5 remove unused functions 2017-05-20 22:51:28 -05:00
He-Man
220a728cd4 Added Custom KeyMap 2017-05-19 22:44:55 +02: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
3f462d43ba more private updates 2017-05-01 19:23:00 -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
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
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
He-Man
f1a3d46c64 Removed redundant checks 2017-04-10 00:10:07 +02:00
He-Man
1c201ea77d Fixed Heal not working, if only hitpoint damaged 2017-04-09 21:26:43 +02:00
vbawol
fd5bd898fa remove Alpha tag from debug 2017-04-03 12:04:42 -05:00
vbawol
1386f675b7 0.5 b749 2017-04-03 11:50:28 -05: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
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
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
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
4acb24c8b2 update usage of createGroup to 1.68+ 2017-03-26 10:21:26 -05:00
vbawol
b5b54bd513 more fixes and cleanup 2017-03-23 15:38:19 -05:00
vbawol
4b3a72f970 improve usage of Epoch_my_Group 2017-03-23 14:28:04 -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
35f2f67d0b use another class for sapper 2017-03-08 12:26:41 -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
He-Man
26d4999def deleted redundant variable
variable "_units = []" was twice
2017-03-07 09:33:31 +01: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
82ndab-Bravo17
39c7ff9ac7 Option to re-allow non Group Leaders to place Jammers 2017-03-02 19:37:20 -05: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
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
a24130d517 allow for more than one type of UAV response 2017-03-01 17:16:06 -06:00
vbawol
556506acbe fixed inventory opened script not returning bool
also block totally if both linked containers are locked
2017-02-28 13:30:08 -06:00
vbawol
b477f4ffc3 moved air drop trigger server side Epoch Events 2017-02-28 12:33:28 -06:00
vbawol
40f2c98f0c 0.5 b684 pt1
[Added] Customizability of units spawned by UAV alert via CfgEpochClient
> uavAlertUnitSpawnTemplate. (Default: I_Soldier_EPOCH)
[Changed] Great White Sharks will now spawn if player is deep enough in
the ocean.
[Changed] Objects or Players that have been given "Crypto" variable can
be accessed via the dynamic menu (Space Bar) for a "Take Crypto" action.
changed zombieRndChance to zombieRngChance and added default entry into
CfgEpochClient
2017-02-28 10:34:24 -06:00
vbawol
3ab94871a3 fixed incorrect usage for setFSMvar on sappers
set local var on unit to get FSM ref
2017-02-25 16:36:14 -06:00
He-Man
fb9882185d Faster feedback from Targets
reaveal player to all near objects on Epoch-ActionKey pressed.
Whithout this, upgraded Buildings need up to 10 seconds to get in Target.
2017-02-16 23:34:48 +01:00
He-Man
fa05a9d9eb Fixed forcewalk stucks 2017-02-15 23:46:16 +01:00
He-Man
2467875a80 Update EPOCH_NpcTrade_return.sqf 2017-02-10 21:34:45 +01:00
He-Man
69a3b8b5d7 Reworked NPC Trade Script
- no longer use PubVar for Trade
- "Purchase Failed" not abort the complete trade
- Added an option, that Players with to much Bank-debit can not sell,
but can purchase. The Money for Purchasing goes directly to the Bank
then.
2017-02-10 21:28:00 +01:00
He-Man
1816c9755f Update EPOCH_isBuildAllowed.sqf
Only the Group Leader can place a Jammer
2017-02-10 20:25:36 +01:00
He-Man
6c08d6835f Only Group Leader can place a Jammer 2017-02-10 20:21:32 +01:00
He-Man
2f7216d63c Update EPOCH_onEachFrame.sqf 2017-02-05 18:55:20 +01:00
He-Man
de36d8225c Update EPOCH_KeyUp.sqf 2017-02-05 18:54:44 +01:00
He-Man
3c5d112463 Update EPOCH_KeyDown.sqf 2017-02-05 18:54:06 +01:00
He-Man
ee3224f14a Add files via upload 2017-02-05 18:51:57 +01:00
vbawol
40949a09b9 Fixed: Repack Energy Pack not possible #698 2017-01-23 17:12:50 -06:00
vbawol
a40dfadde6 use internal EH reference to sapper agent 2017-01-10 14:15:33 -06:00
He-Man
9eb8557107 wrong var name 2017-01-10 19:31:05 +01:00
vbawol
2eefc2e343 typo 2017-01-02 17:28:07 -06:00
vbawol
bc314ca5f8 use isEqualto 2017-01-01 12:33:53 -06:00
vbawol
468deeb252 test making player revive work similar to load #693
on revive, use reveal against new player object.
send loadABS value from server and wait client side for a match before
using selectPlayer.
Note: may need some form of code lock to prevent duplicate calls
Todo: Look into changing revive system to A3's own.
2017-01-01 12:33:04 -06:00
vbawol
1db988095e booleans in configs
- change bools in config files to string or a number.
- EPOCH_fnc_returnConfigEntry(V2) now also supports 0/1 via config when
default input is a bool.
Note: this commit may address issue with Bad conversion: bool rpt spam.

It is suggested to use the following format for storing booleans in
config:
1 = true
"true"=true
0 = false
"false"=false
2016-12-29 12:18:09 -06:00
He-Man
fb9356d804 Added Filter for TraderMenu 2016-12-13 17:19:54 +01:00
He-Man
55351e891c Added Filter for TraderMenu 2016-12-13 17:18:59 +01:00
He-Man
b1d5c173b0 Added Filter for TraderMenu 2016-12-13 17:15:01 +01:00
He-Man
3009c82a24 Added Filter for TraderMenu 2016-12-13 17:14:51 +01:00
He-Man
13f27ba56f Update EPOCH_startNPCTraderMenu.sqf 2016-12-13 17:12:11 +01:00
He-Man
7a30a439c1 Added Filter for TraderMenu 2016-12-13 17:11:18 +01:00
He-Man
24f57dd9a5 Update EPOCH_isBuildAllowed.sqf 2016-12-10 20:53:52 +01:00
He-Man
2418d08ee5 Update EPOCH_simulSwap.sqf
Throw _object instead of _objtype to EPOCH_isBuildAllowed, so it can be ignored by counting elements
2016-12-10 20:30:50 +01:00
He-Man
51f4564550 Update EPOCH_staticMove.sqf
Throw _object to EPOCH_isBuildAllowed, so it can be ignored in element counting
2016-12-10 20:26:32 +01:00
He-Man
4a6e6b006f Update EPOCH_consumeItem.sqf
- removed _buildingCountLimit, because it is not needed in this script
- moved "Press 1" message, so it only comes up, if building a Part
2016-12-10 20:24:35 +01:00
He-Man
f02a3ecf1b Some Bugfixes in Building Script
- Added Ghost Classes for Biulding-Count
- Added SIM Classes for Storage-Count
- 2nd Storage outsinde PlotPole range can not be set fixed
- Cleanup the whole Script a bit
2016-12-10 20:20:40 +01:00
He-Man
51a6ff3e31 Changed back Epoch EPOCH_fnc_playerDeath
Changed back Epoch EPOCH_fnc_playerDeath since setPlayerRespawnTime to prevent respawning before timer ends and display close.
2016-12-10 20:13:15 +01:00
vbawol
cbc6012eb1 Merge pull request #673 from SPKcoding/experimental
fixed player death screen
2016-12-03 10:33:29 -06:00
Sp4rkY
2830f50be7 FIXED playerDeath function 2016-12-03 16:58:21 +01:00
Sp4rkY
b88113eb96 FIXED playerDeath function 2016-12-03 16:47:18 +01:00
Sp4rkY
e1e2dde224 temp fixed player death screen 2016-12-03 03:23:43 +01:00
vbawol
98741939e1 fixes part 2 2016-12-01 23:25:50 -06:00
vbawol
8e614b0b78 Arma 3 1.66 fixes part1
playableUnits changed to allPlayers
improved Epoch_selectInventoryItem function
mproved inventory locked check
2016-12-01 17:44:43 -06:00
vbawol
c2a09465a9 move to top OCD 💯 2016-11-26 10:54:25 -06:00
vbawol
7c7f8a4aa0 Item interaction support for ConfigFile fallback
Experimental EPOCH_returnConfigV2 function that allows falling back to
configFile if specific config class does not exist in missionConfig.
2016-11-26 10:21:37 -06:00
vbawol
8e1d960496 simply prevent display EH loading after revive.
Thanks to @Ignatz-HeMan for the report.
2016-11-26 10:18:06 -06:00
Sp4rkY
b624641f32 more custom options 2016-11-14 02:04:08 +01:00
vbawol
ba6f19e7bb b653 pt1
- fixed a typo in takeCrypto and updated private array
- moved epoch_2DCtrlHeartbeat to is Critical logic so it only beats when
critical (todo make slower faster based on high or low status)
2016-11-11 16:43:48 -06:00
Raymix
77f3ca71ff Changed: Replaced _scaleUI with heartbeat animations for "topRight" dynamicHUD when critical 2016-11-09 23:47:14 +00:00
vbawol
a0b078a683 Epoch Survival 0.4 b650
- experiment with using dynamic UI (HOLD down Space Bar) for base
building: enable, disable, free mode, and snap alignment options. build
mode can still be disabled with "1" key only if already enabled.
- Replace the use of 1,2,3 keys for base building to free them up to be
used for Arma 3 weapon switching.
2016-11-09 17:04:15 -06:00
vbawol
c15ea5c42b Epoch Survival 0.4 b646
removed "wet" HUD icon for now.
reworked login fsm, thanks to some feedback on the forum.
removed most blocking of f1-12 keys and number keys via keyDown
function.
comment out some diag_log spam.
workaround for Arma 3 client crash when an admin uses F5 to delete a
vehicle.
Fixed Ryan Zombies mod detection issues.
Optimized and fixed wall state issues thanks to @Ignatz-HeMan for PR and
Xirtti for the feedback.
2016-11-09 15:21:15 -06:00
vbawol
149261ac83 fix using 1,2,3,4 keys for weapon switching 2016-11-09 11:17:53 -06:00
He-Man
a4c75841db Fix for "add wall" to Wooden Tower
Add Wall on Wooden Tower was not working since 0.4. 
_x params ["_recipeItem","_recipeQty"];	 seem not work here and the paramterer was twice loaded.
This fix is already tested and works.
2016-11-09 17:16:43 +01:00
Raymix
4cbad753af OCD fix: centered scaling for dynamic HUD critical animation. 2016-11-07 21:02:57 +00:00
vbawol
4f50c4513b disable TI on mission spawned UAV's 2016-11-02 14:40:26 -05:00
vbawol
b48acf626f Epoch Survival 0.4 b637
tanoa mission file added that adds RyanZombies to the addons array
Test extended options support for double click item interaction sub
menu.
- "Drink" gas to poison your self.
- Pour our Honey "Empty" option to gain the empty jar without consuming
the honey.
2016-11-02 14:20:58 -05:00
He-Man
91e4a80ae2 Update EPOCH_lockCheck.sqf
Otherwise it is possible to unlock foreign Doors / Gates while controling an UAV.
If you control an UAV, cameraon will check the Plotpoles near the UAV.
2016-11-01 17:41:03 +01:00
vbawol
0e3d163ab2 b632
test not suppessing SPACE key press to fix
https://github.com/EpochModTeam/Epoch/issues/539
2016-10-31 13:31:28 -05:00
vbawol
119bc9ac8a Epoch Survival 0.4 b628 2016-10-28 14:37:12 -05:00
He-Man
00a626604f Update EPOCH_upgradeBUILD.sqf 2016-10-24 23:02:46 +02:00
He-Man
19c171aed1 Update EPOCH_upgradeBUILD.sqf 2016-10-24 23:01:40 +02:00
He-Man
897653f8ee Update EPOCH_upgradeBUILD.sqf
This was missing in my Changes for Building restrictions.
With this, the Configs "maxdoors" and "maxgates" are useable.
2016-10-24 22:53:26 +02:00
vbawol
4aa8c8152d Epoch Survival 0.4 b619
[Changed] Dynamic sub menu for inventory item interaction and crafting
options. (Double click item in your inventory)
[Changed] Armor stat inventory feature now dynamic and no longer forced
via config.
[Changed] Group menu and requests are now on the self action menu.
2016-10-23 23:52:25 -05:00
vbawol
6cdb9633d4 0.4 b602
new compiler with optional v2 format more like BI's
added expanded startup init logic
moved mirror setup to own function inside epoch core
moved server init code to main gamemode init logic.
2016-09-08 12:09:58 -05:00
vbawol
e817f1e2e5 0.4.0.0 b597 2016-09-04 23:32:38 -05:00
vbawol
128996724b configize pp effects 2016-08-31 21:20:07 -05:00
vbawol
67e372196c private array cleanup pt3 2016-08-31 21:19:23 -05:00
vbawol
4c25bbd3f0 private array cleanup pt2 2016-08-31 19:40:18 -05:00
vbawol
d285fe4ad0 private array cleanup p1 2016-08-31 19:29:08 -05:00
He-Man
67eb8bc114 Update EPOCH_spawnLoot.sqf 2016-08-26 18:33:19 +02:00
He-Man
b791137b42 Update EPOCH_worldObjectType.sqf
Added private Variables, so external scripts calling this script can use "_return" as variable without problems

example EPOCH_lootTrash.sqf:
_return = false;
_getWorldTypes = [str(_x), _inputWorldTypes] call EPOCH_worldObjectType;
_return  <--- Is an array!!!
2016-08-24 21:20:38 +02:00
vbawol
90f5674a74 0.4.0.0 b584
More work on Dynamic HUD and hudConfigs are now found in CfgEpochClient.
Animal spawn table now found in CfgEpochClient.
Two new functions added to handle get(In|Out)Man Event Handlers.
moved forced disabling of build mode when getting in vehicle to getInMan
EH function.
removed a few unused files.
2016-08-12 13:15:11 -05:00
vbawol
810fe5d65c bump version to 0.4
* Adds experimental test of new HUD from @raymix
* Hud elements are added and removed dynamically so that all active
icons are always right justified.
* Icons scale in size when critical levels are reached.
* added use of new A3 features to control angle and scale of hud icons.
* warning and critical levels are controlled via customVarsDefaults.

* Added larger group sizes up to 64 players and increased Krypto costs.
* reworked Finsh login in login fsm to wait for display 46 not to be
Null.
2016-08-08 14:45:39 -05:00
vbawol
e2d621a4c8 add no Krypto found message
changed logic of dyna_isDeadPlayer to only allow typeOf Epoch_Male_F or
Epoch_Female_F as isKindOf Man without the isplayer check would have
returned for traders incorrectly. (unless we want killing traders to
come with a Krypto payout)
2016-08-08 14:24:47 -05:00
vbawol
4ea5404cd5 remove phone and add crypto to player body.
now uses dynamic action menu for take option on dead player bodies.
2016-08-08 12:12:20 -05:00
vbawol
9022e07ddc config support for epoch nite light 2016-08-06 12:54:53 -05:00
He-Man
11a92e2b56 Update EPOCH_maintainIT.sqf 2016-08-05 20:47:13 +02:00
vbawol
de4bf3d0e9 Merge branch 'experimental' of https://github.com/EpochModTeam/Epoch into experimental 2016-07-28 09:57:43 -05:00
vbawol
9e43105413 added changes for #587 2016-07-28 09:57:36 -05:00
He-Man
f093723949 Update EPOCH_startNpcTrade.sqf
Handgunweapons are 2
Secondary Weapons are 4
2016-07-26 20:07:05 +02:00
vbawol
1688486cd1 configize isBuildAllowed 2016-07-14 16:36:24 -05:00
vbawol
792e2d90bf 0.3.9 b570 2016-07-12 15:17:22 -05:00
vbawol
c1a7c977e0 remove references to unneeded player var 2016-07-12 14:38:03 -05:00
vbawol
ee7f7497c0 0.3.9 b568
change gamemode from Survival to Survive
enabled Ryan Zombies support by default.
added random delay in revenge detonation.
added min alive time setting for player revenge options. Default 15
minutes (900 seconds).
2016-07-12 14:19:56 -05:00
vbawol
443c6e90bc 0.3.9 b566
fixed incorrect index in weighted array fnc when zombies not used
added 3 additional water sources
fixed BE kick when base building since b564
removed allowdamage false on player revive, that caused player immunity
to server side AI.
trade request text feedback changed
2016-07-10 08:54:27 -05:00
vbawol
4ec283034d change trade request text
http://epochmod.com/forum/topic/42379-p2p-trade-message/
2016-07-09 15:09:44 -05:00
vbawol
d3b0d80005 fixed more typos 2016-07-09 11:07:10 -05:00
vbawol
57930c84a4 add configs for revenge dialog 2016-07-09 09:01:40 -05:00
vbawol
dd42401de2 Merge pull request #568 from Ignatz-HeMan/patch-1
Building Configs
2016-07-09 08:40:54 -05:00
He-Man
4532219923 Update EPOCH_isBuildAllowed.sqf 2016-07-08 01:58:09 +02:00
He-Man
b2fd0e4c67 Update EPOCH_isBuildAllowed.sqf 2016-07-08 01:54:50 +02:00
He-Man
b86c3e7436 Update EPOCH_isBuildAllowed.sqf 2016-07-08 01:48:34 +02:00
vbawol
055995e795 not needed to setface again 2016-07-07 16:00:21 -05:00
vbawol
de065ea3a7 0.3.9 b558
allow disable of ryan zombies support
suppressed zombies and more ai from jammers and traders
2016-07-07 14:50:35 -05:00
vbawol
1da15073d8 0.3.9 b556
fixed unneeded message when suppressing forced AI spawn.
fixed no message if player does not have energy for NVG.
2016-07-06 20:48:53 -05:00
vbawol
8dc77ec853 0.3.9 b555 2016-07-06 14:35:20 -05:00
vbawol
d1854aaaa3 0.3.9 b554
fixed missing var in biteplayer
2016-07-05 14:15:42 -05:00
vbawol
8f3b06f0f4 0.3.9.0 b553
Zombies: fixed issue with multiple targets
moved CfgSounds and CfgSay3Dhandler to mission file
added new mission config (CfgSwitchMovehandler) for
EPOCH_server_handle_switchMove function
minor cleanup to EPOCH_server_handle_say3D usages.
2016-07-05 13:22:14 -05:00
Andrew Gregory
274d5fb33f Update EPOCH_removeMarker.sqf 2016-07-04 20:32:57 +01:00
Andrew Gregory
e88179fecc Update EPOCH_makeMarker.sqf 2016-07-04 20:32:31 +01:00
vbawol
eaf23d4e31 0.3.9.0 b552
zombie fixes
removed armed vtol
prices for APEX vehicles
message when NVG disabed due to lack of energy
2016-06-30 17:43:28 -05:00
vbawol
6a01291440 0.3.9.0546
add server invoked looting text based feedback
2016-06-29 13:35:37 -05:00
vbawol
926ad37a06 0.3.9.0543
Tanoa container positions thanks to Sparky
Tanoa Apex vehicles added
give attributes should not return anything if data is 0 even if random
is used
2016-06-27 11:51:31 -05:00
vbawol
9e548a1c04 0.3.9.0542
fixes to a few typos
2016-06-25 10:12:26 -05:00
vbawol
ed75234adb 0.3.9.0541
revert setVectorDirAndUp after setpos and use [0,0,0]
2016-06-25 08:35:36 -05:00
vbawol
05bbb9a14e 0.3.9.0539
add loot class override variable epochLootClass, to allow all zed
classes to return
BE filter updates for extra zombie classes
added loot table for zombies.
added looting of Dogs for meat with negative karma.
cooking of dog meat.
loot configs for shark
interactAttributes format changed to an array ["Hunger",100,1] //
CustomVarName, value, make value randomized.
BE updates and fixes
new function EPOCH_giveAttributes
2016-06-23 20:43:22 -05:00