Commit Graph

1002 Commits

Author SHA1 Message Date
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
He-Man
6f3a68bd7f Workaround for login-issue (BlackScreen) 2017-09-03 19:18:35 +02:00
He-Man
e286914461 Fixe for exploding new spaned Vehicles
"HitHull" > 0.95 causes exploding Landvehicles
2017-09-03 16:03:41 +02:00
vbawol
52e02b954c Optimize: nearestObjects use object instead of pos 2017-09-02 17:06:27 -05:00
vbawol
8c28ebc1a9 Merge branch 'experimental' of https://github.com/EpochModTeam/Epoch into experimental 2017-09-02 16:51:58 -05:00
vbawol
ab5ea172a4 move weather temp and toxic feaver stats to master loop 2017-09-02 16:51:54 -05:00
vbawol
acd1d02f23 Merge pull request #844 from Ignatz-HeMan/patch-7
Usage of "unitloadout" on player revive
2017-09-02 15:45:53 -05:00
He-Man
2484804c7a Usage of "unitleadout" on player revive 2017-09-02 19:56:59 +02:00
He-Man
15bd919dd1 Fixed some craftings 2017-09-02 18:27:59 +02:00
He-Man
eb3b86dfad Corrected "Epoch_ServerVersion" variable 2017-09-02 16:56:18 +02:00
He-Man
c3f7dede38 Changed Icon Path to epochcore 2017-09-01 19:54:16 +02:00
vbawol
6f95e6b0d3 remove backup 2017-08-31 08:34:13 -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
DESKTOP-UH65DCE\MusTanG
6d9ba4b0ec Add to DynaMenu actions target
Could not see the groups menu at all if looking directly at another
player.
This adds all groups menus and invitation menus to dynamenu player
targets.
2017-08-30 20:47:36 -05:00
DESKTOP-UH65DCE\MusTanG
a53149a5d1 Link new paa's to EpochCore 2017-08-30 20:44:39 -05:00
DESKTOP-UH65DCE\MusTanG
71f6c3db70 fixes
Added the _allPlayers variable to complete the delete and readd to
original Perm Group.

Optimized forEach statements.
Fixed use of _groupId with _permGroup
2017-08-30 20:43:19 -05:00
vbawol
a59fc4aee2 make AI spawn every 5 minutes instead of 10 2017-08-30 17:55:39 -05:00
vbawol
9028cec8df add missing plant classes thanks to @morgoth0 2017-08-30 17:27:02 -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
f7f839abf8 Satellite Event Starter 2017-08-30 17:06:18 -05:00
vbawol
e4903fd870 move weightedArray to Cfgfunctions for both server and client use 2017-08-30 17:00:06 -05:00
vbawol
a81088645c call compile to parseSimpleArray 2017-08-30 16:44:55 -05:00
vbawol
dddeb6c866 optimize unit spawn
only one getMissionConfig is needed, 10:1 reduction 👍
2017-08-30 16:40:42 -05:00
vbawol
ff4471552a improve earthquake event 2017-08-30 16:38:48 -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
3b82e8b0b0 clean up server side temp groups 2017-08-30 03:36:37 -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
vbawol
fa3577473e Merge pull request #834 from ravmustang/Bool-spam-fix
Bool spam fix
2017-08-25 19:02:18 -05:00
DESKTOP-UH65DCE\MusTanG
b98f6e042a remove backup 2017-08-25 18:45:11 -05:00
DESKTOP-UH65DCE\MusTanG
e5fea7a53a correct configClasses usage 2017-08-25 18:44:26 -05:00
DESKTOP-UH65DCE\MusTanG
69acb31fd3 move icons to core 2017-08-25 16:36:27 -05:00
vbawol
901047eaef revert define test 2017-08-25 16:15:02 -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
db18932055 Merge branch 'experimental' of https://github.com/EpochModTeam/Epoch into experimental 2017-08-24 09:29:01 -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
ecf904415b Remove forbidden Wpns / Ammo after upgrade 2017-08-22 23:40:41 +02:00
vbawol
383d67c28c Check to see if define true/false will fix bool conversion errors 2017-08-21 11:25:56 -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
f7c3f748f7 add currentweapon to data new format 2017-08-18 15:00:30 -05:00
vbawol
94c5fee877 allow/setDamage and disableAI tweaks 2017-08-18 12:06:46 -05:00
vbawol
f0fbbe2cbb fixed spelling on Shipwreak 2017-08-18 11:12:47 -05: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
b08e092cd4 Vehicle Damage On Spawn #824 2017-08-18 08:40:14 -05:00
vbawol
aea096ce68 add showHUD settings #822
Thanks to @Ghostrider-DbD-
2017-08-18 08:37:39 -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
vbawol
ba3041ce8d Merge pull request #823 from Ignatz-HeMan/patch-5
Fixed wrong EPOCH_InteractedItem on crates
2017-08-13 23:46:22 -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
e9499d6b17 Missing config for upgrading Cinder Floor 2017-08-09 19:10:00 +02:00
Raimonds Virtoss
5420ce3dc5 Merge pull request #820 from Ignatz-HeMan/patch-3
Fix "throw items" from Fav-Bar
2017-08-08 17:42:40 +01:00
vbawol
f28cc43cd5 b826 2017-08-07 18:53:00 -05: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
236da86acb Upgrade for CinderFloor 2017-08-06 19:22:49 +02:00
He-Man
370896c150 Update CfgLootTable_MADCUP.h 2017-08-06 02:37:48 +02:00
He-Man
e0a002f808 Update CfgLootTable_MAD.h 2017-08-06 02:37:27 +02:00
He-Man
4609b4e236 Update CfgLootTable_CUP.h 2017-08-06 02:37:02 +02:00
He-Man
7028ad8011 Update CfgLootTable.h 2017-08-06 02:36:36 +02:00
He-Man
497db196ad Added missing Loot / Pricing / ItemSort 2017-08-05 20:56:36 +02:00
vbawol
163d702271 b824 2017-08-04 15:16:51 -05:00
He-Man
5388ca2210 changes for Vehicle Repair + iteminteracts 2017-08-04 21:50:26 +02:00
vbawol
6e3dcd090a b823 2017-08-04 14:39:46 -05:00
DESKTOP-UH65DCE\MusTanG
c783e6854b update killed EH
if killer is unit exit handler
2017-08-04 13:44:03 -05:00
vbawol
02c6e96f0c b822 2017-08-03 19:19:27 -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
366068fd82 Customize HUD option removed from ESC menu #800 2017-08-01 22:42:06 +01: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
He-Man
826ddcc234 New item Classnames 2017-08-01 14:44:50 +02:00
vbawol
e022e6bfb3 b821 2017-07-31 23:19:08 -05:00