Commit Graph

41 Commits

Author SHA1 Message Date
ebayShopper abdb3e0e42 Fix survival time not counted after clothes change
Vanilla commits:

https://github.com/DayZMod/DayZ/commit/cf4fde633539a6980f3ca4297cd37c558d4fca03

https://github.com/DayZMod/DayZ/commit/74dd04616f81f580057927bad37be98156a7b123
2017-06-10 10:07:19 -04:00
ebayShopper 9fc72a8b87 Change dayz_survived to actual play time
Vanilla commits:

https://github.com/DayZMod/DayZ/commit/18eaecb19fc1ea26f5769fccd920824bf843e19b

https://github.com/DayZMod/DayZ/commit/b76b1200cabac8661a0628489a128a561f1f379c

https://github.com/DayZMod/DayZ/commit/78ea61e3345e197e9350910b5808d85ef56f7f11

https://github.com/DayZMod/DayZ/commit/8309427f0dc3f7e5a6acd1d5ec1d155cbe11aec5

Should be ready for Hive update @icomrade . If you upload it to a test
folder I'll test it.
2017-04-13 18:35:28 -04:00
ebayShopper 9190f303f9 Replace max blood constant of 12000 to r_player_bloodTotal
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/78b608c854b90640ca1d46ae6c2708b525bc55e0
2017-03-05 09:59:11 -05:00
ebayShopper bb6acc4e7b Remove needless recompile of player_spawnCheck
This was recompiling it every six seconds unnecessarily.
2017-02-24 15:43:37 -05:00
ebayShopper b786432526 Reduce pain shake intensity and frequency
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/4fb7bcbd5b36e816843c44b85532f11fd43e96e1
2017-02-19 19:31:01 -05:00
ebaydayz 752ed00566 Use playersNumber for player count in sched_animals #1889
This won't count AI units unless they are spawned on side west.
2017-01-30 13:41:19 -05:00
ebaydayz 8c1caa9c1c Remove some redundant checks
Vanilla commits:

https://github.com/DayZMod/DayZ/commit/da7061429a8cda4d31f95bcfdf564e4b255bbcfb

https://github.com/DayZMod/DayZ/commit/da55eaa53e2a9bda3a30733785b2e0f5b540bb53
2017-01-29 19:36:48 -05:00
ebaydayz c7b71f93f0 Remove fn_upgradeActions
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/02bc22f325ff57c16b25c20b5de6ecb81d29d86c
2017-01-26 21:19:17 -05:00
ebaydayz 04986190d9 Update change log
Removed unused variable from c641bc2
2017-01-25 16:10:42 -05:00
ebaydayz c641bc20a8 Properly disable antiTP and sched security when dayz_antihack=0;
This prevents them being called unnecessarily on loop.
2017-01-25 15:02:05 -05:00
ebaydayz b148293920 Move group icons to separate slower loop 2017-01-22 19:09:02 -05:00
ebaydayz 94f342e7b6 Fix typo from 26c1bd9 2017-01-21 22:36:37 -05:00
ebaydayz 26c1bd9a86 Properly disable town generator and plant spawner loops
Stops intensive loop from running unnecessarily when dayz_townGenerator
= false; The comfrey plants are pointless atm since the only thing they
may be used for is crafting a sepsis bandage.

Also added waterHoleProxy for Napf and Namalsk placed by @skigoggles

Vanilla commit:

https://github.com/DayZMod/DayZ/commit/b5a91250865db7f3bdce7f0d2bfc676be27d7884
2017-01-21 21:44:43 -05:00
ebaydayz e4d48cbf38 Revert pain effect to pre-1.8 version #1839
Same as 1051

Vanilla commit:

https://github.com/DayZMod/DayZ/commit/9b6d3dcd9c97671c26c2e5f5183afc57f08514a3
2017-01-07 16:51:48 -05:00
ebaydayz fa89487f22 Revert pain effect to original #1839 2017-01-07 14:09:52 -05:00
ebaydayz d509c15c82 Split player_death into scheduled and unscheduled #1833
Death message was sometimes showing incorrectly due to spawn delay.

Also the sched_corpses two minute loop was occasionally deleting bodies
right away because bodyName setVariable was delayed by the time it took
PVDZ_plr_death to send (up to a few seconds). See #1825
2016-12-28 16:16:46 -05:00
ebaydayz b62569932d Fix missing return variable in sched_antiTeleport
My mistake from 5058308
2016-12-12 16:22:43 -05:00
ebaydayz 5058308f00 Prevent issues caused by respawn_west marker being moved
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/39bcedb4b6e6c1d61f8e8e837b35f28d3502e231
2016-12-05 14:37:28 -05:00
ebaydayz 45159d81c2 Update pain sound effect
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/7cdb2e67fde01bb1cff9be98eb76af199c7c065b
2016-12-03 13:25:31 -05:00
ebayShopper 2cb55d85cd Don't show low FPS hint when map is open
FPS is automatically capped on map display.
2016-11-29 11:10:00 -05:00
ebaydayz a8ab2f5d54 Allow drinking from hands at ponds on Cherno
Town generator configs may be added for other maps in the future.
2016-11-27 14:04:18 -05:00
ebaydayz 3aad4b61e9 Move some addActions to config UserActions
Should improve client FPS while still allowing conditions and scripts to
be customized.

Some special vehicles like MV22, UH1Y, etc. have UserActions overwritten
in their configs, so please let me know if you find any others that do
not get the option to repair or salvage because UserActions is
overwritten in their config. I think I got them all.

Vanilla commits:

https://github.com/DayZMod/DayZ/commit/a8c4238c0c1a35fbe8415b53c4ee220d28d18b92

https://github.com/DayZMod/DayZ/commit/350d73abe1e39f15b3b41d38400ce9ec2d0d74e8
2016-11-20 19:47:21 -05:00
ebaydayz b01a4165a8 Comment some unused achievement code
Vanilla commits:

https://github.com/DayZMod/DayZ/commit/3ec1cc3c5db3cb9c8a0a974ef6d11248b761cea0

https://github.com/DayZMod/DayZ/commit/3171f68beee73430d3236cfd4e43e13535209174
2016-11-18 13:22:36 -05:00
ebaydayz 064fa8c8d0 Only spawn wild dogs if dayz_tameDogs is enabled 2016-10-30 15:47:01 -04:00
oiad cf8e06bc8b Reduce client RPT spam
As per subject
2016-10-29 12:59:21 +13:00
ebaydayz f770b0a85d Add group system
Initial commit, not tested in multiplayer yet. Some revisions still left
to do.
2016-10-27 16:06:49 -04:00
ebaydayz 0a17804e36 Change inCombat to bool instead of number
When a variable is only going to be 0 or 1 it makes more sense to use a
bool.

Also avoided unnecessary network broadcasts of inCombat from e446603
2016-10-01 13:07:59 -04:00
ebaydayz 16e4dc7b30 Move HeliCrash and CarePackage area variables to markers
This allows finer grained control of crashsite, carepackage and infected
camp spawn positions and radii (further north, south, east, west, etc.).

Also removed some hardcoded checks for Chernarus, since
dayz_townGenerator should always be off on other maps for now. Someone
may add town generator coordinates for other maps later.

Related vanilla commits:

https://github.com/DayZMod/DayZ/commit/b20b402bf030769350cf662b985efba9e83ebe55

https://github.com/DayZMod/DayZ/commit/7c8b69eb82a8c741d01251b2552d009abe2687c4

https://github.com/DayZMod/DayZ/commit/7dfd3ef9cf3cf1751759fd76f8eae10c0b1740dc
2016-09-11 14:45:49 -04:00
ebaydayz 29acecc2f2 Retire DZE_MissionLootTable variable
AFAIK there is no performance difference between configFile and
missionConfigFile.

Using missionConfigFile by default simplifies loot scripts and makes the
extra config variable unnecessary. It's one less step for admins to
customize their tables.
2016-08-23 12:57:12 -04:00
ebaydayz 7b287a2a23 Send PVDZ_sec_atp messages as array
Vanilla development commits:

https://github.com/DayZMod/DayZ/commit/6e0fd6203bd2ec2b6f07d3e44835c3f9c7fa5e7e

https://github.com/DayZMod/Battleye-Filters/commit/78ed0665fafc7eb286485f479c4b7d77442ba942
2016-08-12 17:23:49 -04:00
ebaydayz 7439b87779 Update damage handler and improve study body
Vanilla development commits applied:

https://github.com/DayZMod/DayZ/commit/3db0fe8e7a3df0c2ab9e0f6bb220acf84e450da3

https://github.com/DayZMod/DayZ/commit/73a63898f11501c4aad83ead106c90b3e49461ac

https://github.com/DayZMod/DayZ/commit/08e18d5b526f8f8ee570fed1a3640d217f7fa83b

https://github.com/DayZMod/DayZ/commit/126da2dcd38a03d5583627607a78d37ad7f64091

https://github.com/DayZMod/DayZ/commit/d5fa3238656c06f8a8c1996d748130002ab2a7f6

https://github.com/DayZMod/DayZ/commit/d37526fcc62a3291fe3b7135bacb4fb172184989

https://github.com/DayZMod/DayZ/commit/5fcca134f05ddf3e4b9458cf9fe54154a9575616

https://github.com/DayZMod/DayZ/commit/c9c1fc934d449b33a9ef3bf14a82b5a40d93874b
2016-08-11 15:16:53 -04:00
icomrade e446603ea2 Fix combat logging
In the initialize section of the fsm r_player_unconscious and
r_player_timeout return their default values (false and 0). Also, the
Vanilla server-side combat check doesn't appear to work, or it doesn't
work with the antihack disabled (I haven't tested with it enabled).

New variable inCombat is set more quickly than the combatTimeout
variable
2016-07-26 20:51:10 -04:00
ebaydayz 464c26861c Add back Epoch animals in sched_animals
player_animalCheck is not used
2016-04-18 14:19:41 -04:00
ebaydayz 6a42ef40d3 Disable TownGenerator and plant spawner by default
Junk and plant spawning is disabled by default. It can be enabled via
dayz_townGenerator config variable and positions blacklist (for trader
cities, etc.).

The trader objects spawn code was consolidated to functions.
2016-04-06 19:44:00 -04:00
ebaydayz 6de88c7b07 Update some WeaponHolder to WeaponHolderBase 2016-03-31 11:35:33 -04:00
ebaydayz 91f9b3e33b Make UI toggleable between three options
Admin can choose vanilla, classic epoch or classic epoch dark.

dayz_hungerThirst was replaced with dayz_NutritionSystem
2016-03-29 19:54:19 -04:00
ebaydayz 8f2ff5cb3e Update spawnCrashSite 2016-03-26 22:02:28 -04:00
ebaydayz 4bd9a9aa0b Update public variables
It makes no sense to rename the identical DayZ PVs to have an E in their
name. I don't see any good reason it was done in the first place. All it
accomplishes is breaking script compatibility between the two mods and
requiring different publicvariable.txt filters. The only time it makes
sense is for custom Epoch variables that aren't used in vanilla.

All admins have to do to update custom scripts is swap the names
according to the change log.

Note I've submitted a pull request to replace PVDZ_veh_Save with
PVDZ_obj_Save in official too because they are duplicates.
2016-03-18 21:39:22 -04:00
icomrade 68da397c52 Finish Medical and Sleep to UiSleep 2016-03-05 22:34:25 -05:00
icomrade bad0a2e461 add 2 new vars and fix up variable names
DZE_HeartBeat
DZE_UseBloodTypes
2016-03-01 00:23:14 -05:00
icomrade c034f43d0b Additional Folders/Files in System 2016-02-27 22:34:50 -05:00