Commit Graph

64 Commits

Author SHA1 Message Date
icomrade
6e430bdb84 Change self transfuse timeout to 2 min default
Also properly handle the infection chance
2016-05-06 11:52:36 -04:00
icomrade
6ab855fd9d Forgot to set this variable in selfbloodbag.sqf 2016-05-06 11:45:34 -04:00
icomrade
3f10228b95 should fix knockout issue with self bloodbag
issue most likely happened if you used a typed bag not matching your
blood type when the classic system is enabled.
2016-05-03 16:34:28 -04:00
ebaydayz
bf9140f1b5 Fix dayz_nutrition RPT error on login
Looks like the error was:
r_player_Nutrition = [_NutritionLoss];
It should have used the set command, since the array was already defined
in variables.sqf. But there is no need to use an array for a single
value anyway.

Fixes RPT error on login:
Error in expression <hyd"] spawn player_death;
};
};

if (dayz_nutrition > 0) then {
_Nutrition = >
Error position: <dayz_nutrition > 0) then {
_Nutrition = >
Error Undefined variable in expression: dayz_nutrition
File z\addons\dayz_code\system\player_spawn_2.sqf, line 182
2016-04-26 18:46:36 -04:00
ebaydayz
5157228e67 Update all cutText to dayz_rollingMessages 2016-04-16 15:47:49 -04:00
ebaydayz
993ce14da6 Remove unnecessary key event handler reset
No need to reset the key event handler again in player_monitor.fsm, it
is already done onPreloadFinished.
2016-04-15 20:16:13 -04:00
ebaydayz
110befba7f Swap bloodbags in traders and loot for classic system 2016-04-15 16:11:17 -04:00
ebaydayz
c54a52a103 Merge selfbloodbag and self_transfuse 2016-03-30 20:50:06 -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
71b975b05e Actions cleanup 2016-03-29 14:47: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
84eb6f815a Missing Files 2016-02-29 00:55:29 -05:00
icomrade
18c9e72e15 Some compiles, start separation of blood system 2016-02-27 09:56:53 -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
icomrade
23179c079f Merge pull request #1629 from Mikeeeyy/patch-13
Update bandage.sqf
2016-02-16 21:19:50 -05:00
Mikeeeyy
249f8e543d Update medTransfuse.sqf 2015-09-12 02:29:34 +01:00
Mikeeeyy
a71f15bdc4 Update medTransfuse.sqf 2015-09-12 01:44:32 +01:00
Mikeeeyy
749d740adf Fix blood over maximum
Gives more blood, false positive on anti-hack and bad practice.
2015-09-12 01:43:38 +01:00
Mikeeeyy
e24d2bad51 Update bandage.sqf 2015-02-18 23:07:07 +00:00
infiSTAR.de
d4f978e461 delete promptRName.sqf
Delete promptRName.sqf - only used for hacks and not the mod anymore
2014-08-05 19:42:40 +02:00
icomrade
f284fc1b92 Don't play anim for unconscious if in vehicle 2014-07-26 14:15:38 -04:00
icomrade
fc515d4407 Infection changes 2014-06-25 12:08:55 -04: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
873b6026c7 Error Undefined variable in expression: dayz_disablerespawn 2014-06-07 17:48:31 -05: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
1317497db8 not used and throwing errors 2014-06-02 14:38:55 -05:00
[VB]AWOL
77d835289b revert nested counts here 2014-06-01 02:26:46 -05:00
[VB]AWOL
57eb28d1f3 seems to be needed for nested counts 2014-06-01 01:39:33 -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
icomrade
88ded0f3c0 Fixes 2014-05-27 13:51:35 -04:00
icomrade
985d205ec2 Customize self transfusion settings 2014-05-27 12:40:42 -04:00
[VB]AWOL
8ddcf24bde fixed #1143 2014-03-29 14:18:26 -05: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
Florian Kinder
bf13a783d9 Updated startcombattimer variable 2014-02-20 18:01:16 +01:00
vbawol
f06a6fb540 unused 2014-02-10 09:37:18 -06:00
Skaronator
40e4239d42 More PVS/PVC Stuff 2014-01-16 14:39:53 +01:00
Skaronator
f233cfce84 Finalized #941² 2014-01-12 16:08:06 +01:00
Skaronator
a7d27c0829 Complete #941 - Not Tested 2014-01-12 16:04:03 +01:00
Skaronator
97e3723f8e Finish #941 2014-01-11 20:45:54 +01:00
Skaronator
0be75dd913 Push #941 - Bandage 2014-01-11 20:40:06 +01:00
Skaronator
3f63f1ab2a Push #941 - Epinephrine 2014-01-11 20:32:51 +01:00
Skaronator
e422df8fc0 Push #941 - Morphine 2014-01-11 20:27:27 +01:00
Skaronator
bec3f71fc9 Push #941 - Painkiller 2014-01-11 20:23:50 +01:00
Skaronator
c5ce2f70a4 Push #941 - Transfuse 2014-01-11 20:19:26 +01:00
icomrade
84ebc488ab Fix medical actions in vehicles 2014-01-09 01:05:54 -05:00
Skaronator
d1a15870b1 Add Notice for PV improvements (Also a performance plus would be PVC instead of PV) 2013-12-20 13:40:35 +01:00