Commit Graph

252 Commits

Author SHA1 Message Date
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
icomrade
6db02d28bf Fix slow login timer and wrong login timeout message 2016-02-18 23:14:36 -05:00
ebaydayz
fd78f27250 Fix copy key failing when player has no backpack
Related to #1567, so I made this a function so it can be reused. People
should call this whenever they are adding a toolbelt item which the
player may already have. It has localized strings and handles spawning
the weapon holder on water, land and rooftop.

Tested both the sledgehammer and key copying. Confirmed all three
conditions are working.
2016-02-18 22:12:13 -05:00
icomrade
c3ed4e49e1 Replace sleep with uiSleep
see the below links for more info. uiSleep is based off of a more
accurate method of tracking time, whereas sleep can fluctuate depending
on application performance since it is based on framerate.
https://community.bistudio.com/wiki/uiSleep
https://community.bistudio.com/wiki/sleep_vs_uiSleep
https://community.bistudio.com/wiki/sleep
2016-02-17 13:03:17 -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
Dean Reid
547ba0018f Fixed Black Screen on Loading
which made users able to walk around but not see anything but DayZ Image
2015-01-21 14:23:02 +00:00
raymix
361ab3a3e5 function based player_build 2014-08-07 13:03:14 +01:00
Steven
1ef1277254 Update compiles.sqf
typo in player_removeNet array
2014-07-20 11:40:02 +08:00
icomrade
33e9c7669b GetPlayerUID compile, update skin change 2014-07-17 14:29:17 -04:00
vbawol
07b3f14c1b Merge pull request #1411 from hogscraper/test_branch
Additional update to UI
2014-07-11 14:28:14 -05:00
hogscraper
572b646107 Additional update to UI
Changed routines so that all icons flash at the same time. Instead of
making several individual calls to player_guiControlFlash any icon that
needs to have flashing turned on is added to an array and then, as long
as that array is not empty,  it is passed to the function. The function
was changed to deal with an array and whichever item is array select 0
has its show state determine what all the others should be. If its on,
then all other in array are turned off with it.
Also, added a fix for _bloodVal. With current red/green icon set, if the
player has less than 3000 blood the value rounds down to 1 so that
status_blood_inside_1_ca.paa is used, (which is no picture at all). This
means the old line
if (_bloodVal < 0.2) then {
passes along an empty picture to flash. I changed this value to .4 so
that between 3000 and 5000 blood, it still uses that last sliver picture
but that one now flashes to alert player to lower blood levels.
2014-07-10 16:44:58 -04:00
raymix
5c8da27d4d optional snap building added 2014-07-10 20:13:30 +01:00
[VB]AWOL
5585633c5f fixed Error Missing ; 2014-07-02 23:06:30 -05:00
icomrade
3491e4462d Add variable 2014-06-30 12:46:06 -04:00
icomrade
6f8efd8428 Legacy UID 2014-06-30 11:53:14 -04:00
[VB]AWOL
ed3d944fbf should fix #1339 2014-06-22 13:11:57 -05:00
[VB]AWOL
0f008a62df not used 2014-06-02 14:40:42 -05:00
[VB]AWOL
d3dc9bd22e typo fixes, #1300 2014-06-02 14:39:37 -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
774441ef45 Deprecated/Slow Commands
Stop using them!
2014-05-27 15:03:53 -04:00
[VB]AWOL
9b52797f84 Finish updating loot system to 1.8 with custom epoch features 2014-05-09 14:23:09 -05: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
[VB]AWOL
c0a9f28c07 comment out more debug 2014-02-27 09:34:57 -06:00
Skaronator
5e27942bd0 Change over to new DZE_ForceNameTagsInTrader System 2014-02-23 18:25:41 +01:00
Skaronator
945ad16332 Cleanup Files 2014-02-23 18:19:31 +01:00
Skaronator
253767e1e1 Fix Error Message 2014-02-23 17:57:47 +01:00
[VB]AWOL
1c19e85bd7 removed unused file 2014-02-23 09:47:32 -06:00
Skaronator
0b1779baef Cleanup some scripts 2014-02-23 01:33:17 +01:00
Skaronator
61e86abe4c Cleanup Compiles a bit 2014-02-23 01:29:56 +01:00
Skaronator
c284754ace Less Scripts + Fix RPT Error if nothing is nearby 2014-02-23 01:20:42 +01:00
Florian Kinder
4f82e8e380 Added variable DZE_ForceNameTagsInTrader 2014-02-21 00:53:44 +01:00
Florian Kinder
2a91d7d5bc Updates refs #1109 2014-02-16 22:38:15 +01:00
[VB]AWOL
6b60d77aaf duplicate compile lines code 2014-02-06 09:07:38 -06:00
Skaronator
171952e922 Start with ConfigTrader 2014-02-04 17:16:32 +01:00
icomrade
860243e870 Remove duplicate code + other fix
I'm not sure if dayz_DisplayGenderSelect is supposed to be in this, but
I didn't remove the waitUntil since it can be added by a server admin I
suppose.

Anyway, this should fix most RPT spam on 108074...
2014-01-30 15:00:25 -05:00
[VB]AWOL
474e96e9ac add new trade system for items
will auto convert to highest bar count

also line 289 fixes Error ==: Type Array when tagging friendly
2014-01-26 13:04:56 -06:00
Alexander Vos
b184d535a5 added player helper functions 2013-12-19 19:32:49 +01:00
[VB]AWOL
a3525b4ed6 fixed #916 2013-12-18 10:58:31 -06:00
HARLAN
b27836d2ee plot preview #846 2013-12-13 13:44:17 -05:00
HARLAN
efae6d186a #848 remember melee mags after skinchange
pulled from DayZ CE
2013-12-06 11:24:19 -05:00
[VB]AWOL
953315c5fc RC4 2013-12-03 11:49:53 -06:00
[VB]AWOL
e50e8af55b cleanup 2013-11-30 10:13:38 -06:00
[VB]AWOL
9a1193eacc fixed #813 and cutext confirmation fixes 2013-11-29 13:41:48 -06:00
[VB]AWOL
a70199aae4 less code same logic 2013-11-29 01:35:30 -06:00
[VB]AWOL
f33f406c73 fixes 2013-11-28 01:34:24 -06:00
[VB]AWOL
75ee377e22 Revert "test new way of zombie attack using PEH"
This reverts commit 177138f7ac.
2013-11-28 00:09:17 -06:00
[VB]AWOL
177138f7ac test new way of zombie attack using PEH 2013-11-27 20:36:47 -06:00
[VB]AWOL
e509bd5cfc eject player from vehicle with no drivers if keys pressed: esc, tab, del, f4 2013-11-27 17:23:46 -06:00
Zac Surplice
e61d925e61 fn_param fix 2013-11-26 11:32:38 +11:00
[VB]AWOL
6db5daa4a4 thirst and hunger loss on unlocking safes/doors 2013-11-25 12:38:01 -06:00