-
Posts
11 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by Baker
-
-
You should paste bin your init.sqf
-
I will test this but a simpler option may be to do this:
[DZE_safeVehicle, _axeBus] call BIS_fnc_arrayPush;
in the bus init code..
I am gonna try fixing all rating problems, by calling
while {alive player} do{if (rating player < 0) then {player addRating abs(rating player);};sleep 1;};As fixrating.sqf in the mission file. will report resultsdid not fix -
install this to anyone reading the thread
http://www.microsoft.com/en-us/download/details.aspx?id=40784
-
hey mang, what did you do to fix this?
-
alright so after much fuggin around, here is how to do this:
MCoords = _coords;publicVariable "MCoords";[] execVM "debug\addmarkers75.sqf";_uniqueid = str(round(random 999999));_baserunover = createVehicle ["Land_HouseV_1I3",[(_coords select 0) +2, (_coords select 1) +5,-0.3],[], 0, "CAN_COLLIDE"];_baserunover2 = createVehicle ["Land_hut06",[(_coords select 0) - 10, (_coords select 1) - 5,0],[], 0, "CAN_COLLIDE"];_baserunover3 = createVehicle ["Land_hut06",[(_coords select 0) - 7, (_coords select 1) - 5,0],[], 0, "CAN_COLLIDE"];_hummer = createVehicle ["HMMWV_DZ",[(_coords select 0) + 10, (_coords select 1) - 5,0],[], 0, "CAN_COLLIDE"];_hummer1 = createVehicle ["HMMWV_Ambulance",[(_coords select 0) - 25, (_coords select 1) - 5,0],[], 0, "CAN_COLLIDE"];_hummer2 = createVehicle ["SUV_Camo",[(_coords select 0) + 25, (_coords select 1) - 15,0],[], 0, "CAN_COLLIDE"];_hummer setVariable ["ObjectID", _uniqueid, true]; PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_veh];_hummer1 setVariable ["ObjectUID", _uniqueid, true]; PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_veh];_hummer2 setVariable ["ObjectUID", _uniqueid, true]; PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_veh]; -
I found a fix for this issue. I don't know if there will be side effects to using this so use at your own risk.
I was working with the WAI system and found a line that looked like it might work. In WAI they use this in the armed_vehicle.sqf line 19
_veh setVariable ["ObjectID","1",true];
So in this mission system I replaced
_hummer setVariable ["Sarge",1,true];
to
_hummer setVariable ["ObjectID","1",true];
If anyone is still using this mission I hope this helps.
I have been doing it this way for a few weeks with no obvious effects. Just fyi i guess
-
If you run into any performance issues with this method, try instead.
_yourvehiclehere setVariable ["ObjectID","1",true]; PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_veh];
so
//Weapons Cache by lazyink (Full credit for original code to TheSzerdi & TAW_Tonic)private ["_coords","_MainMarker","_wait"];[] execVM "\z\addons\dayz_server\Missions\SMGoMajor.sqf";WaitUntil {MissionGo == 1};_coords = [getMarkerPos "center",0,5500,100,0,20,0] call BIS_fnc_findSafePos;[nil,nil,rTitleText,"Bandits have found a great big box of guns! Check your map for the location!", "PLAIN",10] call RE;Ccoords = _coords;publicVariable "Ccoords";[] execVM "debug\addmarkers.sqf";_hummer = createVehicle ["UAZ_Unarmed_UN_EP1",[(_coords select 0) + 10, (_coords select 1) - 20,0],[], 0, "CAN_COLLIDE"];_hummer1 = createVehicle ["UAZ_Unarmed_UN_EP1",[(_coords select 0) + 20, (_coords select 1) - 10,0],[], 0, "CAN_COLLIDE"];_hummer2 = createVehicle ["SUV_Orange",[(_coords select 0) + 30, (_coords select 1) + 10,10],[], 0, "CAN_COLLIDE"];_hummer setVariable ["ObjectID","1",true]; PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_veh];_hummer1 setVariable ["ObjectID","1",true]; PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_veh];_hummer2 setVariable ["ObjectID","1",true]; PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_veh];_hummer setVariable ["Sarge",1,true];_hummer1 setVariable ["Sarge",1,true];_hummer2 setVariable ["Sarge",1,true];_crate = createVehicle ["USVehicleBox",_coords,[], 0, "CAN_COLLIDE"];[_crate] execVM "\z\addons\dayz_server\missions\misc\fillBoxes.sqf";_crate setVariable ["Sarge",1,true];_aispawn = [_coords,80,6,6,1] execVM "\z\addons\dayz_server\missions\add_unit_server.sqf";//AI Guardssleep 5;_aispawn = [_coords,80,6,6,1] execVM "\z\addons\dayz_server\missions\add_unit_server.sqf";//AI Guardssleep 5;_aispawn = [_coords,40,4,4,1] execVM "\z\addons\dayz_server\missions\add_unit_server.sqf";//AI Guardssleep 5;_aispawn = [_coords,40,4,4,1] execVM "\z\addons\dayz_server\missions\add_unit_server.sqf";//AI Guardssleep 5;waitUntil{{isPlayer _x && _x distance _hummer < 10 } count playableunits > 0};[nil,nil,rTitleText,"The weapons cache is under survivor control!", "PLAIN",6] call RE;[] execVM "debug\remmarkers.sqf";MissionGo = 0;Ccoords = 0;publicVariable "Ccoords";SM1 = 1;[0] execVM "\z\addons\dayz_server\missions\major\SMfinder.sqf"; -
I have this issue but, the vehicles one wont sell for a different reason, says i need to get in the driver seat first even though i already have
-
This is a great script, kudos
-
do this:
******add at the end of your init.sqf******if (!isDedicated) then {[] execVM "Scripts\fixRating.sqf";};*****Then create the following and put it in a "Scripts" folder in the root of your mission file. Scripts\fixRating.sqf******while {alive player} do{if (rating player < 0) then {player addRating abs(rating player);};sleep 1;};You can see this working at http://epochmod.com/forum/index.php?/topic/5912-bakerland-dayz-mod-epoch/*Thanks to AmberHelios, the almighty wizard fingers for this.- CartoonrBOY and mgm
- 2
[Release] DZE Piggd Banking System
in A2: Epoch Mods (1.0.5.1)
Posted
To change infistar debug to reflect your gold instead of humanity you add the following. and change to in ah.sqf