Commit Graph

739 Commits

Author SHA1 Message Date
Grahame
035ff7aa09 Added variable handling of accelerated HTA loss 2017-10-21 16:40:44 -04:00
vbawol
414013497c increase loot bias for bunkers 2017-10-21 06:08:39 -05:00
vbawol
2ce47c3a3f comment 2017-10-20 17:05:01 -05:00
vbawol
ae581880a4 fix possible random var collisions 2017-10-20 17:04:32 -05:00
He-Man
2d1835d455 SnapPoints for Floors 2017-10-20 23:15:17 +02:00
DirtySanchez
5427db38fe mapOnZoomSetMarkerSize upgrades to maintain preset size scaling
all markers now scaled based on sizing desired in the cfgMarkerSets.
Adjustment of 2.25 to the mapScale was added to achieve smaller markers sooner and maintain non cluttered map markers
2017-10-20 13:49:16 -05:00
DirtySanchez
6857111a02 remove comments, edit high value 2017-10-20 11:17:42 -05:00
DirtySanchez
9297fa539e onZoomMarkerScaling upgrade
use better mapScale value management and calculation
2017-10-20 11:15:09 -05:00
vbawol
27ef146313 make use of config based snap points 2017-10-20 10:08:52 -05:00
vbawol
760547789f item interaction fixes
Allow eating of all seeds
Fixed no effect from nanite injector, nanite cream, nanite pills, iodide
pills
Provide feedback when attempting to use morphine when you dont need it.

NOTE:
when using Default as parent class InteractAction defaults to ammo
repack = 0
interactActions 1,2 ,6,7,8,9 are all do the same thing via
_unifiedInteract function
2017-10-20 08:06:41 -05:00
DirtySanchez
2f6e0bf4c6 snapping corrections and direction lock for similar constructions
Add direction lock.
If direction lock it only allows 0 and 180 degrees adjustment.
Will force 90 to 180 an 270 to 0
This keeps all snaps in proper order during tests
2017-10-20 00:50:22 -05:00
vbawol
17f396b51b player stats changes
logic to select low or high criticalAttributes
forced blood drop if player is hypothermic.
force blood pressure rise if toxicity or radiation is over 55
removed Radiation reduction in master loop so you can only reduce
radiation with treatments
players blood pressure must stay within 11-179 range or be killed.
2017-10-19 19:44:05 -05:00
He-Man
7c43bc6e0d Trader Kill + BuildMode Keydown fixed 2017-10-19 20:45:41 +02:00
vbawol
d2bdbcb5d6 updates for toilet and kitchen sink
kitchenSink positions can be added to kitchenSinkPos at any time and
should spawn without BE kicks.
2017-10-19 13:16:34 -05:00
DirtySanchez
184b2da59e remove unused code
added a compile for code sent from config entry, this need not apply anymore
2017-10-19 12:58:46 -05:00
He-Man
b28ed47141 Fix for Marker 2017-10-19 19:22:44 +02:00
He-Man
96f72fc98a Option to overwrite Marker Text
Added Option to overwrite marker text and use it for Service Points
2017-10-19 19:10:52 +02:00
DirtySanchez
4aa72d5a5d add config mapOnZoomSetMarkerSize 2017-10-19 11:30:42 -05:00
DirtySanchez
83363f693b added same change below for the counter to raise 2017-10-19 10:43:35 -05:00
Grahame
8f4420f88d Update Event1.sqf
Only do the marker resizing of core Epoch mod markers since it causes issues with mission markers.

Also shrank the sizes a bit after discussion with @xDrokz
2017-10-19 11:27:30 -04:00
Grahame
d92e0f65be Update EPOCH_fnc_createLocalMarkerSet.sqf
Added EPOCH_ to the name of all local Epoch markers
2017-10-19 11:23:14 -04:00
DirtySanchez
b2cf56a7b6 global marker sets and map upgrade
New global marker sets and functions.
Replace all markers for events and locations(fully configurable in CfgMarkerSets)
New MapScale marker zoom feature.
2017-10-18 11:27:23 -05:00
He-Man
6590d3d655 Check Slot for Veh Upgrade 2017-10-17 18:31:14 +02:00
vbawol
2d4a7a0258 crafting changes
reverted changes to check Nearby
added crafted item count, default is 1. Allows for crafting multiples of
the same item (for example 1 plant in and 2 Seeds out)
added item return after crafting, this allows the smelting tools to be a
recipe requirement that gets refunded to player.
2017-10-17 07:51:53 -05:00
DirtySanchez
3eb4d63eba vector building enhancements
rework tempTarget for vectored objects and snapping
2017-10-17 04:50:31 -05:00
He-Man
0935cb3f08 Animations for Consumeitems 2017-10-17 00:24:38 +02:00
He-Man
ae1f874dc8 Morphine Usage 2017-10-16 20:56:04 +02:00
vbawol
853586def5 reworked mineral node harvesting
Can only use sledge hammer only to harvest nodes
seperated loot tables per mineral nodes
chance to loot on first strike 1 in 3
2017-10-16 11:02:09 -05:00
He-Man
35c9902232 Remove Ammo Tweaks 2017-10-15 18:19:41 +02:00
vbawol
aaf7b215c9 make use of underwater command 2017-10-13 16:15:03 -05:00
He-Man
ffa4ad32fd Make Sharks Lootable under Water 2017-10-12 22:48:32 +02:00
vbawol
63fc23b8cb fix snap checks 2017-10-12 07:04:34 -05:00
vbawol
9242b01f3b extra debug 2017-10-11 11:30:34 -05:00
vbawol
28340c2311 Base Building: spawn only ghost
used to spawn static version then swap, now it just spawns ghost version
first.
should also fix Garden_Epoch and other new item kicks.
2017-10-11 00:42:11 -05:00
vbawol
cd4f557f66 revert side changes for male
unlocked additional uniforms for side = 0,
Side =1 is still reserved for females
2017-10-10 21:29:04 -05:00
vbawol
cd32c98def cleanup 2 2017-10-10 14:57:11 -05:00
vbawol
3cb74266dd minor cleanup 2017-10-10 14:55:43 -05:00
vbawol
ebf28e6dae optimize EPOCH_fnc_weightedArray and usage
added isClass check to make sure item exists before adding to loottable.
updated for use with single array syntax of selectRandomWeighted
2017-10-10 10:50:07 -05:00
He-Man
49442da4d4 Restrict SP to local resources
Rearming not local turrets do not work, so make it similar to new
Dyna-Options to add / remove Magazines
- Driver can Refuel / Repair and Reload only Driver-Weapons
- All other Seats can only rearm they current available weapons
2017-10-09 22:51:22 +02:00
DESKTOP-UH65DCE\MusTanG
df12dc1b61 marker sets (local)
Player Location Marker with Assigned GPS
Death Marker location saved only when assigned GPS on death

CfgEpochClient on/off toggle for hosts
DynaMenu on map toggle for players

New Marker Sets come to life!
First set of functions for Local Marker Sets as needed for the above
feature additions
2017-10-08 13:37:48 -05:00
He-Man
a4ec14e468 Inventory fix
Fix blocked Inventory after we set rating to -2001
Thx DirtySanchez for helping to fix it!
2017-10-08 17:38:31 +02:00
He-Man
4cf3c6c02e BuildingLootPos + Bicycle compatible 2017-10-08 17:27:27 +02:00
He-Man
14c433581b Set Rating to -2001 2017-10-07 21:23:54 +02:00
He-Man
b1775a68ba Wait for local _playerObject
Hitpoints and EH's were set before playerobjects is local, so wait for
it!
2017-10-07 18:37:09 +02:00
vbawol
7ef339d958 changelog and comment cleanup 2017-10-07 10:41:44 -05:00
DESKTOP-UH65DCE\MusTanG
25f2dd6691 add configurable values
allows for hosts to setup their own default values instead of new player
defaults
2017-10-07 07:14:59 -05:00
vbawol
bdb168ba50 fix godmode with player vars 2017-10-06 21:17:14 -05:00
He-Man
f9a5c29fa8 Force Vehicle Save after adding / removing Mags 2017-10-06 14:01:29 +02:00
He-Man
8a4ab15fd1 override default action, if FavBar slot has item 2017-10-05 21:58:24 +02:00
He-Man
c6bcbe81eb Reworked Vehicle Rearm Scrips 2017-10-05 20:59:52 +02:00
vbawol
70b5f02011 interact actions updates
added action 16 that will repair most damaged player hitpoint and give
attributes
_unifiedInteract function now returns bool based on if item was removed.
added attributes to other new items
NOTE: will consider a digest system for 1.1
2017-10-04 11:17:41 -05:00
vbawol
3b60f68acf fix blood rise issue with bitePlayer 2017-10-04 07:57:28 -05:00
vbawol
5c6cc9bac7 remove debug 2017-10-03 17:01:04 -05:00
vbawol
d72af99663 loot fix test 2017-10-03 16:41:46 -05:00
vbawol
3345cc28b4 debug loot 2017-10-03 16:23:20 -05:00
vbawol
27ef4446e4 changelog and private updates 2017-10-03 15:59:49 -05:00
vbawol
50923897ef changelog and bunker loot spawning fixes
respawn bunkers on first spawn, to see if this fixes animation issues
2017-10-03 15:05:37 -05:00
vbawol
5f640933d9 optimize remoteexec usage for multiple targets 2017-10-03 09:11:18 -05:00
vbawol
bbd958ed52 energy fixes 2017-10-03 09:04:30 -05:00
He-Man
6cf522fc16 Fixed Wet Variable 2017-10-03 00:22:14 +02:00
DESKTOP-UH65DCE\MusTanG
f3700efba7 vector corrections and improvements
Correct vector snap issues clientside
Correct vector placement issues server side
Correct remoteExec reveal to clients(fixes incorrect placement during
swap)
2017-10-02 17:05:53 -05:00
He-Man
888629ea2b Reverted last change and changed hint 2017-10-02 18:57:08 +02:00
DESKTOP-UH65DCE\MusTanG
9029bc7524 dyna-menu functionality on map 2017-10-02 11:49:27 -05:00
vbawol
c479e04607 move say3d below second local check
Only want this to repair sound to play if the repair worked and did not
get stopped by second check
2017-10-02 11:42:00 -05:00
He-Man
fe8c16d88f Moved 2nd local check behind sleep 2017-10-02 18:27:09 +02:00
vbawol
381fdd44ea change loot bubble
use nearObjects instead of nearestObjects
use _lootClasses as filter for objects array, force array to lower to
prevent case issues.
This should allow loot spawn for simple objects.
2017-10-02 11:05:48 -05:00
vbawol
bf7d35b519 move rads for locations to client
locations cannot use public var option
2017-10-02 10:06:04 -05:00
vbawol
da0d2c2ad8 add item requirements to crafting
making metal bars from gold now require Smelting Tools in players
inventory.
2017-10-02 09:54:02 -05:00
vbawol
6ac1e72a97 set read only vars
with failback to normal use.
2017-10-01 19:48:32 -05:00
vbawol
1ab0c68a45 use local var within loop 2017-10-01 18:18:38 -05:00
vbawol
4f98071e8d dynamic radio active locations 2017-10-01 18:14:18 -05:00
vbawol
cce0f4aa2b toxic sapper updates
Increase range for toxic smoke from 6m to 12m.
toxic sapper.:
trigger smoke at unit spawn
readd smaller explosive charge
2017-10-01 17:15:42 -05:00
vbawol
f11f8a5a6c remove karma Item Interactions 2017-10-01 16:20:34 -05:00
vbawol
0b71db3917 fix ai spawning 2017-09-30 10:14:43 -05:00
vbawol
675348b160 fix blood pressure 2017-09-30 10:12:32 -05:00
vbawol
e11e60d209 debug 2017-09-30 09:34:16 -05:00
vbawol
9e7cc6843d private arrays 2017-09-29 11:29:20 -05:00
vbawol
cb17f01b56 fix inverted logic 2017-09-28 12:00:48 -05:00
vbawol
a5894bca15 debug spawn units 2017-09-28 11:30:26 -05:00
vbawol
7b37ed7c07 fix radio active site 2017-09-27 15:59:38 -05:00
vbawol
f122c2db0a fix nuisance 2017-09-27 15:46:15 -05:00
vbawol
bec28218f4 play local sound on repair 2017-09-27 14:33:38 -05:00
vbawol
2ebbfa70b8 mixed up with Nuisance 2017-09-27 11:22:28 -05:00
vbawol
74aecd3849 init playerspawnarray var
since we are using an gvar array here edits to it externally should not
require redefining local var for use in other events.
2017-09-27 11:10:20 -05:00
vbawol
7459f9d3a0 last typo 🎱 2017-09-27 11:01:33 -05:00
vbawol
8f1b71a26e player stats fixes part 6 2017-09-27 10:38:18 -05:00
vbawol
0ad1a967d8 player stats fixes part 5 2017-09-27 10:13:42 -05:00
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
ed095efb48 update to notused var name 2017-09-24 17:47:08 -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
2f292d889a move karma and upgrade community stats coding 2017-09-24 12:26:11 -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
He-Man
2afc23914f fix for addrating 2017-09-20 19:35:46 +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
vbawol
f4a95f6ab4 Merge branch 'experimental' of https://github.com/EpochModTeam/Epoch into experimental 2017-09-15 11:07:15 -05:00
vbawol
589c05f597 handle incorrect index with param command 2017-09-15 11:07:10 -05:00
He-Man
02dbb34b8d Prevent filling inside Vehicles 2017-09-14 19:51:06 +02:00
vbawol
b9fffd4cb9 Better event driven cameraView checks
uses MissionEH PlayerViewChanged
removed fsm infinite loop checks
2017-09-12 16:29:42 -05:00
vbawol
80c3ba0917 testing for civ males 2017-09-12 13:50:25 -05: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
He-Man
671b2d4030 Block BarrelBombs from FavBar + Sort/Pricing adds 2017-09-06 23:41:55 +02: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
73d5d95fc5 use apply to optimize 2017-09-06 09:39:34 -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
He-Man
eb3b86dfad Corrected "Epoch_ServerVersion" variable 2017-09-02 16:56:18 +02: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
7ab0e2694b Merge remote-tracking branch 'origin/experimental' into experimental
# Conflicts:
#	Sources/epoch_config/Configs/CfgClientFunctions.hpp
2017-08-30 17:19:05 -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
DESKTOP-UH65DCE\MusTanG
f30582cc9f Function name change and fix be filter 2017-08-30 14:30:27 -05:00
DESKTOP-UH65DCE\MusTanG
963ab30581 No temp group invite if in main group 2017-08-30 04:02:25 -05:00
DESKTOP-UH65DCE\MusTanG
d90eb4774f epoch groups system
move "Delete Group" button check to onLoad from button click.
Remove owner from EPOCH_sendRemoteExecClient calls.
Add UI update push to leader on Delete Group.
Add UI update push to client on remove in case they clicked leave group.
2017-08-30 03:14:13 -05:00
DESKTOP-UH65DCE\MusTanG
56283e0c08 Temp Group System
Credit goes to AWOL for the original Epoch Group System.
Temp Groups do not allow outsiders access to bases, vehicles or safes.
Easily switch to Temp Group for Co-Op mission, then back to Perm Group.
Full access to Kick, Set Mod, Leave Group/Delete Group.
When leaving or deleting group, you will be put back into the actual
group of your teammates if online.
Fixed Leave/Delete Button to show Delete Group onLoad of Temp Group UI
Added refresh to Group UI's so all players are in sync after changes
2017-08-30 02:43:37 -05:00
vbawol
c89dffa1d0 move to functions 2017-08-28 16:26:49 -05:00
vbawol
ff5d56af46 better way to handle login fsm variables
CfgEpochClient "debug" variable to control extra debug and is currently
used in login fsm.
2017-08-26 09:57:59 -05:00
vbawol
30d8107d75 configClasses fixes thanks to @ravmustang 2017-08-26 07:12:50 -05:00
DESKTOP-UH65DCE\MusTanG
69acb31fd3 move icons to core 2017-08-25 16:36:27 -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
vbawol
5d044b3d9b proper use of copy operator
https://community.bistudio.com/wiki/Operators
2017-08-24 09:28:57 -05:00
He-Man
25e24b98e8 Fixed Ratio for DynaMenu Pics
Fix by @raymix
2017-08-21 17:05:08 +02: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
763bc80e49 fixes 2017-08-18 09:45:27 -05:00
vbawol
129d60b0b0 private update 2017-08-18 08:36:48 -05:00
vbawol
ab195d145b re-add hitpoints stats client side
removing it caused array index issues with other stats. Note: should be
able to repurpose the stat for something else instead of removing and
needing a workaround.
2017-08-18 08:25:07 -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
He-Man
c1cbb626fb Fix "throw items" from Fav-Bar 2017-08-07 23:10:21 +02:00
He-Man
aff46f13f7 Fix "throw items" from Fav-Bar 2017-08-07 22:57:59 +02:00
He-Man
5388ca2210 changes for Vehicle Repair + iteminteracts 2017-08-04 21:50:26 +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
a09c53b723 favbar: return on void 2 2017-08-02 21:53:31 +01:00
Raymix
ec701873f7 favbar: returns on void 2017-08-02 21:53:04 +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
2f5fe0f149 Favbar added: Banned items list and reset favbar on every login 2017-08-01 21:25:31 +01: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
45a02c7b91 for #340 disable refuel client side 2017-07-25 12:02:17 -05:00
DESKTOP-UH65DCE\MusTanG
05655d0cb2 crafting menu load fix
Change incoming variables from params to _this.
2017-07-25 09:59:55 -05:00
DESKTOP-UH65DCE\MusTanG
e52fc1ee25 DynSim #3 Configs
Added cfgDynamicSimulation.
Toggle entire system.
Toggle individual sections player/bases/vehicles
Set mulitpliers and distances.
Will continue to add to these configs as BIS adds more scripting
commands for us to use.
2017-07-24 12:34:58 -05:00
vbawol
312868bc70 Merge pull request #780 from ravmustang/Dynamic-Simulation-System-#1
Dynamic Simulation #1
2017-07-17 04:46:35 -05:00
DESKTOP-UH65DCE\MusTanG
44a7b78980 Dynamic Simulation #1
Init dynSim for server and client.
Load configured settings.
Enable dynSim for Buildings, Vehicles, Clients.
2017-07-16 15:26:19 -05:00
vbawol
4fa13b7a91 corrected comments 2017-07-12 09:54:03 -05:00
vbawol
07e9e1ac5c add private 2017-07-12 09:53:53 -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
vbawol
28498f3b89 update comment 2017-07-08 18:53:24 -05:00
vbawol
b2354dc5a6 enable dynamic simulation on vehicles 2017-07-08 18:52:42 -05:00
vbawol
2c7bf2e87c Merge pull request #774 from ravmustang/Vehicle-Upgrade-System-#1
Vehicle upgrade system 1
2017-07-08 11:55:05 -05: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
0030953a71 Changed path for Drink Icon 2017-06-28 17:45:14 +02: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
e304f7f791 for sanity 2017-06-23 17:23:57 -05:00
vbawol
0e5d8e9d3f zombie changes
change nearestObject check into nearEntities also add vehicle classes
for detection and isPlayer checks
2017-06-23 17:11:11 -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
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
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
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
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
vbawol
4382aef326 Merge pull request #744 from EpochModTeam/release
sync changes from release to experimental
2017-04-17 09:21:44 -07:00