Commit Graph

41 Commits

Author SHA1 Message Date
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
ebaydayz
65c2a7e6b4 Fix opening supply crate over water
See #1558
2016-02-18 19:38:23 -05:00
icomrade
7151e455c9 Should Fix #1559 2016-02-17 22:48:31 -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
1ade44eb35 Fix for crafting multiple SledgeHammers
Revision of https://github.com/EpochModTeam/DayZ-Epoch/pull/1567

Thanks @Namindu
2016-02-16 17:23:57 -05:00
icomrade
8af00ef284 Fix #1351 2014-06-30 18:54:12 -04:00
icomrade
0176e5efbb fix #1318
Issue caused by f0e7622856
2014-06-13 16:50:39 -04:00
[VB]AWOL
234b97f4b2 revert counts here should fix #1318
This likely was causing issues with crafting also and (performance gain
is unknown)
2014-06-11 16:49:24 -05:00
icomrade
6b9b176736 More #1288 2014-06-01 03:29:44 -04: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
[VB]AWOL
c0a9f28c07 comment out more debug 2014-02-27 09:34:57 -06:00
Florian Kinder
d48f11bb9f Merge pull request #1125 from vbawol/Feature/0
Updated Craftitem & split config
2014-02-15 02:08:39 +01:00
Florian Kinder
f0e7622856 Fixed Error in expression
Error in expression <_ret = _this select _ret;
};
_ret
>
Error position: <_ret
>
Error Undefined variable in expression: _ret
File z\addons\dayz_code\compile\BIS_fnc\fn_selectRandom.sqf, line 23
Error in expression <BIS_fnc_selectRandom;
_outputWeapons =
[_selectedWeapon];
_selectedMag = _select>
Error position: <_selectedWeapon];
_selectedMag = _select>
Error Undefined variable in expression: _selectedweapon
File z\addons\dayz_code\actions\player_craftItem.sqf, line 193
Error in expression <t_doLoop = false;
};
{
player addWeapon _x;
}
forEach _outputWeapons;
{

_itemOu>
Error position: <_x;
} forEach _outputWeapons;
{

_itemOu>
Error Undefined variable in expression: _x
File z\addons\dayz_code\actions\player_craftItem.sqf, line 200
2014-02-14 00:31:50 +01:00
Florian Kinder
cf8dd1180e Updated CraftItem
Always the first/full waterbottle will be taken by melting ores to bars.
To prevent this the bottle with the lowest waterlevel will be taken
2014-02-12 22:30:37 +01:00
[VB]AWOL
46812d8ded Trade counter was incorrectly returning number of output items 2014-02-10 11:09:51 -06:00
Florian Kinder
e870ea6ab8 Fixed CraftItem 2014-02-09 15:27:21 +01:00
Florian Kinder
e4c9e90442 Added Config Crafting inputstrict 2014-02-09 03:41:37 +01:00
[VB]AWOL
5ec3caac17 multi use water bottle for smelting ore 2014-01-26 20:14:23 -06:00
[VB]AWOL
b551a6f343 should allow crafting weapons only 2014-01-26 11:49:03 -06:00
[VB]AWOL
51c7d3fc87 use getposalt instead of position here fixes
http://bmrf.me/vbforums/showthread.php?11562-Smelting-Tin-BUG&p=75405#post75405
2013-12-11 08:17:12 -06:00
[VB]AWOL
7cae21fa06 header updated and send player instead of uid 2013-12-09 22:19:10 -06:00
Zac Surplice
6a58370670 small change 2013-11-27 15:42:38 +11:00
[VB]AWOL
84874daa18 added thirst and hunger loss to all medic animation 2013-11-26 16:08:10 -06:00
[VB]AWOL
c654ab316e incorrect missing tools stringtable 2013-11-17 00:24:58 -06:00
Zac Surplice
9a601182bb localization #3 2013-11-07 02:05:05 +11:00
Zac Surplice
cf2cdc037a localization #2 2013-11-06 19:34:53 +11:00
[VB]AWOL
6b290ab39f examine only single document 2013-10-31 18:57:30 -05:00
[VB]AWOL
af4b876cde private arrays part 1 2013-10-22 09:10:27 -05:00
[VB]AWOL
2bb7b20d2b override to crafting sounds 2013-10-11 09:45:11 -05:00
[VB]AWOL
a46749090b added document 2013-10-10 14:59:51 -05:00
[VB]AWOL
f38b436cbe added document to zombies and random open chance 2013-10-07 13:34:12 -05:00
[VB]AWOL
2dc52d0e32 1.0.2.38 Dev 2013-09-29 22:06:33 -05:00
[VB]AWOL
a0706a1dda modular base building wreck models by Paul Tomany 2013-09-14 10:06:03 -05:00
[VB]AWOL
a0d5574dfe 1.0.2.12 developer build 2013-09-08 20:30:32 -05:00
[VB]AWOL
9fcb43fde1 1.0.2.11 2013-09-08 00:23:30 -05:00
[VB]AWOL
44eebbd432 1.0.2.1 2013-09-02 12:16:05 -05:00
[VB]AWOL
9e5957b89d 1.0.1.7 DEV TEST
+ [CHANGED] Can now fill empty fuel barrels on standard fuel tanks.
+ [CHANGED] Increased range of crafting from 2m to 3m
+ [FIXED] Removed repair action from tow truck with VIL_asistvan_DZE
+ [ADDED] Tow truck VIL_asistvan_DZE can tow vehicles that fit within
the bounding box of the model.
+ [ADDED] Ability for fuel trucks to fill nearby vehicles 30m when
engine is running.
+ [CHANGED] Reworked Epoch events scheduler and made it more accurate.
+ [REMOVED] Road debris no longer spawn loot, helps with performance and
we have added extra loot positions in the world.
+ and more
2013-08-05 11:09:26 -05:00
vbawol
91c6826896 typos 2013-07-14 00:45:14 -05:00
vbawol
c11e8c47b2 1.0.1.5 RC4
+ [ADDED] workbench can be built anywhere and allows crafting of all
items.
+ [ADDED] Black market vendor the trader city stary.
+ [FIXED] Many other fixes
2013-07-10 15:45:23 -05:00
vbawol
91b05db8e0 1.0.1.2 Release
+ [CHANGED] commented out many diag_logs
+ [CHANGED] bandit status is now at -5000 instead of -2000
2013-06-26 09:11:30 -05:00
vbawol
483279c126 Organize files a bit and removed non source pbo's 2013-06-24 06:26:15 -05:00