Jump to content
  • 0

Delete Originals Trades cities


juandayz

Question

11 answers to this question

Recommended Posts

  • 0

If you want all traders gone from any of the default Epoch maps (Chernarus, Napf or Sauerland) just delete everything in the  Dayz_server/missions/yourserversmission/mission.sqf or simpy comment out this line in your init.sqf : 

	// Add trader citys
	_nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_24.Napf\mission.sqf";

to 

	// Add trader citys
	//_nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_24.Napf\mission.sqf";

 

Link to comment
Share on other sites

  • 0

Ok so i can comment for example

//nil_ = [ ] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\mission.sqf";

and add

nil_ = [ ] execVM "custom\mission.sqf"; // my trader cities.

 

ok,

 
thank you all were very helpful!

 

 

Link to comment
Share on other sites

  • 0

mmm have a problem,  IA dsnt load .  or only one Ia trade are loaded.  

I try delete the whole mission.sqf and add this code:

Spoiler

//...Building Section

_vehicle_264 = objNull;
if (true) then
{
  _this = createVehicle ["Sr_border", [9480.4541, 11534.766, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_264 = _this;
  _this setPos [9480.4541, 11534.766, -3.0517578e-005];
};

//IA section


_unit_33 = objNull;
if (true) then
{
  _this = createAgent ["CIV_Contractor1_BAF", [9449.543, 11481.276, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
  _unit_33 = _this;
  _this setDir 65.032967;
  _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_34 = objNull;
if (true) then
{
  _this = createAgent ["CIV_Contractor2_BAF", [9470.1631, 11488.09, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _unit_34 = _this;
  _this setDir -51.303051;
  _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_36 = objNull;
if (true) then
{
  _this = createAgent ["Dixon_PMC", [9482.8311, 11501.315, -3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _unit_36 = _this;
  _this setDir 58.702244;
  _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_37 = objNull;
if (true) then
{
  _this = createAgent ["Poet_PMC", [9491.8154, 11500.309, -4.5776367e-005], [], 0, "CAN_COLLIDE"];
  _unit_37 = _this;
  _this setDir -60.779858;
  _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_38 = objNull;
if (true) then
{
  _this = createAgent ["GUE_Villager3", [9501.3887, 11499.676], [], 0, "CAN_COLLIDE"];
  _unit_38 = _this;
  _this setDir -33.387043;
  _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_39 = objNull;
if (true) then
{
  _this = createAgent ["GUE_Woodlander3", [9504.7139, 11499.474, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
  _unit_39 = _this;
  _this setDir -42.278843;
  _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_40 = objNull;
if (true) then
{
  _this = createAgent ["GUE_Woodlander2", [9508.8203, 11499.793], [], 0, "CAN_COLLIDE"];
  _unit_40 = _this;
  _this setDir 20.131842;
  _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_41 = objNull;
if (true) then
{
  _this = createAgent ["UN_CDF_Soldier_Guard_EP1", [9517.1475, 11509.546, -4.5776367e-005], [], 0, "CAN_COLLIDE"];
  _unit_41 = _this;
  _this setDir -60.748531;
  _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_42 = objNull;
if (true) then
{
  _this = createAgent ["GUE_Villager4", [9516.918, 11499.786, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
  _unit_42 = _this;
  _this setDir -49.517395;
  _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_43 = objNull;
if (true) then
{
  _this = createAgent ["GUE_Woodlander1", [9505.0361, 11516.348, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
  _unit_43 = _this;
  _this setDir -191.13118;
  _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_44 = objNull;
if (true) then
{
  _this = createAgent ["GUE_Worker2", [9458.334, 11513.167, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
  _unit_44 = _this;
  _this setDir -119.97004;
  _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_45 = objNull;
if (true) then
{
  _this = createAgent ["TK_GUE_Bonesetter_EP1", [9427.3848, 11506.079, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
  _unit_45 = _this;
  _this setDir 141.68086;
  _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_46 = objNull;
if (true) then
{
  _this = createAgent ["GUE_Soldier_Medic", [9482.7129, 11541.165, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _unit_46 = _this;
  _this setDir -161.82904;
  _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_47 = objNull;
if (true) then
{
  _this = createAgent ["GUE_Soldier_Pilot", [9429.6523, 11546.595, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _unit_47 = _this;
  _this setDir 211.4933;
  _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_48 = objNull;
if (true) then
{
  _this = createAgent ["Reynolds_PMC", [9451.8545, 11546.607, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
  _unit_48 = _this;
  _this setDir -201.56113;
  _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_51 = objNull;
if (true) then
{
  _this = createAgent ["Soldier_GL_M16A2_PMC", [9499.7979, 11529.647, -4.5776367e-005], [], 0, "CAN_COLLIDE"];
  _unit_51 = _this;
  _this setDir -93.765289;
  _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;};
};

processInitCommands;

 

**also try  call only IA section by init.sqf using [] execVM "custom\Maps\TradeIA.sqf";  using at very top "If server Then blablabla" into the tradeia.sqf  but nothing

**also change the server_traders.sqf  to add the models in "serverTraders = []" and in Menu_ wheres the categories to each ia trader are called.

**if i remove this lines Can see the IA, but they run by all the area :D

Spoiler

_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;

 

Link to comment
Share on other sites

  • 0
comparing with the original mission.sqf I found the error. had to delete }; between the lines of ia.

now i only have to do the spawn area :) 

when i finished promise to share. Its a large Trade whic replaces all others. also have hero,bandit, air dealear and wholesaler
all included in same place.

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...