Commit Graph

404 Commits

Author SHA1 Message Date
ebaydayz
e660704f97 Add journal and preliminary strings for crafting
The journal is now functional. Preliminary strings are added for the
1.8.7 crafting system, but it is disabled for now.

I've messaged @marceldev89 (ziellos2k) and @AlbyBDPK on the DayZ forums
to ask permission to use fn_updateCraftUI, player_checkRecipe and
player_craftItemGUI. Are you guys okay with us including these in DayZ
Epoch 1.0.6?
2016-03-03 20:11:11 -05:00
ebaydayz
585841a3ad Fix snap build errors
@raymix in most of your helper functions you are using exitWith {}; in
the same way the main player_build uses it. The problem is exitWith
inside of a called function only exits that function, not the parent
script it was called from.

When a helper function exits the main script continues on with undefined
variables and other problems. The easiest solution was to just remove
these helper functions for now. I just directly substituted their code
back into the main modular_build file and removed the passes to and from
them.

We should consolidate player_build and modular_build into one file first
since they are about 80% identical. After that we need to integrate
plot4life. Dividing player_build up into smaller sub functions like this
can be left for last.

I tested this thoroughly and can confirm the undefined errors are fixed
now.
2016-03-02 22:16:07 -05:00
ebaydayz
959507bfc7 Add autorun hotkey
Tested while autorunning:
- getting knocked out
- breaking legs
- running into water
- getting into and out of vehicles
- climbing a ladder
- dying
- antiTP enabled
- running up steep hills
- as player zombie

Everything works as expected. This does allow you to run up and down
pretty steep hills, but if you try to scale something too steep you will
break your legs as expected.
2016-03-01 22:34:36 -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
a47c3dc137 Fixes 2016-02-29 01:20:37 -05:00
icomrade
cfbebe7ffd Init more or less done 2016-02-27 22:30:15 -05:00
ebaydayz
03353b9483 Add lock and unlock vehicle from inside
See: #1103
Made vehicle gear always accessible from inside.

Also added optional variable to prevent stealing from backpacks by
non-friendlies at traders.  Thanks to @maca134 for the method.
2016-02-24 20:56:13 -05:00
ebaydayz
0075b44c0e Add option to restrict wearable clothes
See #1560

Note: Already wearing check is not needed in player_humanityMorph
because it is already done in player_wearClothes. See:

0726311df5
2016-02-20 22:08:20 -05:00
ebaydayz
103467a111 Remove unused variables
These vars are unused. See #1605
Amphib FPS issues confirmed. See #1612
RequiredSecureID is deprecated. See #1647
2016-02-20 16:17:48 -05:00
ebaydayz
9d1185409c Fix combine mags not working for M1911 and Revolver
See #1313
2016-02-19 17:37:52 -05:00
ebaydayz
2b0a5ae790 Animal spawn radius lowered
Animal spawn radius lowered to 600m around player (DayZ Mod default).
Should help with low animal count #1403
2016-02-18 23:53:56 -05:00
ebaydayz
441e9fb231 Update keyboard eventhandler and add rules.sqf
See: https://github.com/EpochModTeam/DayZ-Epoch/pull/1673
2016-02-16 21:59:29 -05:00
Utomnia
97cfe73926 updated variables.sqf with Isla Duala trees
found typo during testing - corrected.
2015-07-15 16:31:03 +01:00
Utomnia
dc907623fc Added Isla Duala trees to variables.sqf 2015-07-10 14:36:54 +01:00
Mikeeeyy
aa6dad1c42 Toggle Slow Zombies 2015-02-08 00:20:41 +00:00
raymix
c66b229a96 modular build code optimization + some extras 2014-08-15 05:40:26 +01:00
raymix
176c0372b4 bug fix & adjustable snap range 2014-08-08 13:30:25 +01:00
raymix
361ab3a3e5 function based player_build 2014-08-07 13:03:14 +01:00
raymix
411055260f some missing defines 2014-07-26 03:36:26 +01:00
raymix
2355d6b18e snap code optimization, vault points added 2014-07-12 20:23:42 +01:00
icomrade
81b147d3e2 Update variables.sqf 2014-07-07 13:28:42 -04:00
SilvDev
26b3bd046f Added missing variable initialization
s_player_dropflare was not initialized, causing errors in RPT log.
2014-07-04 19:34:32 +01:00
vbawol
3036b31bbb Merge pull request #1384 from hogscraper/test_branch
UI Update - Graphical and code changes
2014-07-02 21:33:21 -05:00
hogscraper
be3e492405 UI Update - Graphical and code changes
Changed player_updateGui.sqf with an update to how the UI elements are
loaded. Changed all status icons to use the full value so no more fading
icons. Also changed the colors from red/green setup to a black and white
setup. All icons start off as black if the value is optimal, (full
blood, full food/drink, temperature, out of combat, seen, heard), then
progress continually towards white as the player loses blood, gets
hungry, etc. This was done to make the differences between full and
empty more drastic as the current method starts off with obvious icons
that slowly fade. If player is color blind, there have been reported
issues of the two colors showing up as similar shades of gray. For those
that are not CB the elements currently become less obvious in the user's
peripheral until they begin flashing. Changes also made to variables.sqf
to add the ability to turn this feature on/off:
Dayz_Dark_UI = true;
Sets UI to new darker theme. Turned off by setting the value to false.
2014-07-02 20:16:25 -04:00
icomrade
fa7c3a6c2b Merge pull request #1373 from vbawol/GetPlayerUIDOld
Legacy UID
2014-06-30 14:28:01 -04:00
icomrade
3491e4462d Add variable 2014-06-30 12:46:06 -04:00
icomrade
2f7d7a9287 Duplicate define 2014-06-30 00:59:42 -04:00
Namindu
8d37745870 Added CH53_DZE to Heli allowed to tow.
#1344
2014-06-22 18:51:18 -07:00
[VB]AWOL
2bda70b516 1.8 code merge needed here and revert x2 limit change 2014-06-22 17:20:51 -05:00
[VB]AWOL
cffd65f839 increase WH limits x2 2014-06-22 17:00:27 -05:00
[VB]AWOL
a5452ab019 fixed #1328 2014-06-16 12:11:01 -05:00
icomrade
a79e86ba33 Hopefully get names 100% of the time now 2014-06-13 14:13:51 -04:00
icomrade
b144c7dce6 Fix death messages 2014-06-09 13:01:56 -04:00
icomrade
a8f3fc3b30 Undefined Vars 2014-06-09 12:56:18 -04:00
icomrade
6fc575cacc Fix #1278 2014-06-04 20:41:50 -04:00
icomrade
40b1063fa9 Blood bag issue #1310
Needs a test.
Fixed timer.
2014-06-04 20:26:31 -04:00
[VB]AWOL
4c314b8c3c increase default here to 3 2014-06-02 15:25:46 -05:00
icomrade
e54b9983dd Replace forEach with Count
Use count where you do not need _forEachIndex variable, it's quicker
than forEach.
2014-05-27 15:37:57 -04:00
icomrade
985d205ec2 Customize self transfusion settings 2014-05-27 12:40:42 -04:00
icomrade
b80bb88467 Add missing variable + RPT cleanup
fix 2 dup string warnings
fix "Cannot delete class rscdisplayinfo" warning.
Start extended vehicle damage debugging.
2014-03-26 02:40:24 -04:00
icomrade
3b7b05c732 Add default skin variable + selftrans var = time 2014-03-20 15:02:10 -04:00
icomrade
22bfba6573 Add optional self transfuse
Right click on blood bag, if enable it will show the self transfuse
button.
Currently replenishes all blood.
May be used once every 5 minutes.
2014-03-19 18:03:11 -04:00
icomrade
ad2642a5f9 Fix ammo refill when switching skins and ...
- allow player to switch with backpack on.
- player_countmagazines now returns backpack magazines with ammo count.
Do with this as you like.
- Make sure dead players do not have to wait the abort (after the 5
seconds).
- Update changelog
2014-03-18 15:48:45 -04:00
Skaronator
e54cce6845 Add Better "DZE_ForceNameTagsInTrader" system 2014-02-23 18:19:53 +01:00
Florian Kinder
4f82e8e380 Added variable DZE_ForceNameTagsInTrader 2014-02-21 00:53:44 +01:00
Armifer
6c0581bda9 object maintenance and remove fixes
Allow owners to delete modular doors without locks, included missing
objects for plot pole area maintenance.
2014-02-20 01:00:37 -05:00
Florian Kinder
2a91d7d5bc Updates refs #1109 2014-02-16 22:38:15 +01:00
[VB]AWOL
616337c64b missed adding WoodStairsRails_DZ to allowed objects list 2014-02-12 13:27:38 -06:00
Florian Kinder
d1983bf109 Fixed Undefined variable
Error Undefined variable in expression: s_player_lockunlock_crtl
2014-02-12 00:06:00 +01:00
Florian Kinder
9ab91d74bc Fixed Error Undefined variable in expression: s_player_tamedog
Error in expression <er_studybody = -1;

player removeAction
s_player_tamedog;
s_player_tamedog = -1;>
Error position: <s_player_tamedog;
s_player_tamedog = -1;>
Error Undefined variable in expression: s_player_tamedog
File z\addons\dayz_code\compile\fn_selfActions.sqf, line 886
2014-02-09 14:58:18 +01:00