I've been trying to add a trader city with traders into my Dayz Epoch Panthera server. I've been able to easily put the buildings in and such. When I try to put some traders, the map marker and the godmode zone it seems the coordinates become incorrect. The coords place the map marker and godmode zone in the ocean at the most southern part of the map. What's weird is that 2/7 traders get placed in the right spot while the others cannot be found. Here's the code I used to put the traders in:
Only the first two AI traders spawn in the correct spot...
if (isServer) then {
_unit_1231 = objNull;
if (true) then
{
_this = createAgent ["GUE_Commander", [5232.6724, 3868.7896, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
_unit_1231 = _this;
_this setDir 140.59087;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;};
};
_unit_1232 = objNull;
if (true) then
{
_this = createAgent ["Dr_Hladik_EP1", [5255.5122, 3853.0439, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
_unit_1232 = _this;
_this setDir 140.59087;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;};
};
_unit_1233 = objNull;
if (true) then
{
_this = createAgent ["GUE_Soldier_2", [5221.1, 3853.94, 0.0014019], [], 0, "CAN_COLLIDE"];
_unit_1233 = _this;
_this setDir 112.59087;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;};
};
_unit_1234 = objNull;
if (true) then
{
_this = createAgent ["Citizen2_EP1", [5253.98, 3861.58, 0.00147247], [], 0, "CAN_COLLIDE"];
_unit_1234 = _this;
_this setDir 112.59087;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;};
};
_unit_1235 = objNull;
if (true) then
{
_this = createAgent ["ValentinaVictim", [5240.2, 3868.11, 0.00151634], [], 0, "CAN_COLLIDE"];
_unit_1235 = _this;
_this setDir 112.59087;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;};
};
_unit_1236 = objNull;
if (true) then
{
_this = createAgent ["Soldier_PMC", [5250.09, 3866.76, 0.00148964], [], 0, "CAN_COLLIDE"];
_unit_1236 = _this;
_this setDir 112.59087;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;};
};
_unit_1237 = objNull;
if (true) then
{
_this = createAgent ["GUE_Woodlander1", [5234.46, 3868.44, 0.00157738], [], 0, "CAN_COLLIDE"];
_unit_1237 = _this;
_this setDir 112.59087;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;};
};
Question
Hammer
I've been trying to add a trader city with traders into my Dayz Epoch Panthera server. I've been able to easily put the buildings in and such. When I try to put some traders, the map marker and the godmode zone it seems the coordinates become incorrect. The coords place the map marker and godmode zone in the ocean at the most southern part of the map. What's weird is that 2/7 traders get placed in the right spot while the others cannot be found. Here's the code I used to put the traders in:
Only the first two AI traders spawn in the correct spot...
Here's the code for the safezone:
And the map marker:
Again, it looks like it's just the coords that are not working but please point out anything that needs to be fixed. Thanks =)
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now