+ added client side caching of trader menus = faster less server load.
+ removed stock count on buy menus and replaced with yellow color coding
if out of stock.
+ reworked purchased vehicle spawning and added parachute drop.
This commit is contained in:
vbawol
2013-03-08 12:11:15 -06:00
parent 2d75a1cc2a
commit a4ec727777
11 changed files with 166 additions and 125 deletions

View File

@@ -16,7 +16,7 @@ _location = _worldspace select 1;
//Generate UID test using time
// _uid = str( round (dateToNumber date)) + str(round time);
_uid = _worldspace call dayz_objectUID3;
_uid = _worldspace call dayz_objectUID2;
//_uid = format["%1%2",(round time),_uid];
if (_spawnDMG) then {
@@ -127,7 +127,6 @@ dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,_object];
if (_selection in dayZ_explosiveParts and _dam > 0.8) then {_dam = 0.8};
[_object,_selection,_dam] call object_setFixServer;
} forEach _array;
_object setFuel _fuel;
@@ -135,7 +134,5 @@ dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,_object];
_object call fnc_vehicleEventHandler;
_object setVariable ["JustSpawned",nil,true];
diag_log ("PUBLISH: Created " + (_class) + " with ID " + str(_uid));
};