Jump to content
  • 0

How to customize trader cities


crj58

Question

6 answers to this question

Recommended Posts

  • 0

Connect to your server, log out to the menu, press ALT+E (opens the editor)

Build thingz

Save it.

Go to my documents/Arma2 other profiles/Yourprofilename/missions/yourmission.chernarus and open mission .sqf with notepad ++ 

You will have something like this:


_vehicle_169 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Mil_Barracks_i", [1682.663, 2227.3772, -0.11393544], [], 0, "CAN_COLLIDE"];
  _vehicle_169 = _this;
  _this setDir 108.73634;
  _this setPos [1682.663, 2227.3772, -0.11393544];

};_vehicle_104 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [4694.895, 2595.5574, -0.027850531], [], 0, "CAN_COLLIDE"];
  _vehicle_104 = _this;
  _this setDir 445.97134;
  _this setPos [4694.895, 2595.5574, -0.027850531];
};

//This will create two new barracks on your server

 

Now download and extract your mission.pbo (pbomanager is my preferred tool for this)

In the extracted folder, create a new .sqf file called buildings.sqf

if (isServer) then {
_vehicle_169 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Mil_Barracks_i", [1682.663, 2227.3772, -0.11393544], [], 0, "CAN_COLLIDE"];
  _vehicle_169 = _this;
  _this setDir 108.73634;
  _this setPos [1682.663, 2227.3772, -0.11393544];
};

};_vehicle_104 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [4694.895, 2595.5574, -0.027850531], [], 0, "CAN_COLLIDE"];
  _vehicle_104 = _this;
  _this setDir 445.97134;
  _this setPos [4694.895, 2595.5574, -0.027850531];
};
};

Insert that bit

Save buildings.sqf

Open init.sqf in your mission folder, insert this bit at the bottom 

[] ExecVM "buildings.sqf";

Save it, close it, repack the pbo and re-upload it to your server. 
Restart Server 

GGWP

 

That is basically just a tutorial for building things on your server which i suppose is what you want to do... gimmie a shout If you get stuck with anything.

 

 

 

 

 

Link to comment
Share on other sites

  • 0

 

Connect to your server, log out to the menu, press ALT+E (opens the editor)

Build thingz

Save it.

Go to my documents/Arma2 other profiles/Yourprofilename/missions/yourmission.chernarus and open mission .sqf with notepad ++ 

You will have something like this:


_vehicle_169 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Mil_Barracks_i", [1682.663, 2227.3772, -0.11393544], [], 0, "CAN_COLLIDE"];
  _vehicle_169 = _this;
  _this setDir 108.73634;
  _this setPos [1682.663, 2227.3772, -0.11393544];

};_vehicle_104 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [4694.895, 2595.5574, -0.027850531], [], 0, "CAN_COLLIDE"];
  _vehicle_104 = _this;
  _this setDir 445.97134;
  _this setPos [4694.895, 2595.5574, -0.027850531];
};

//This will create two new barracks on your server

 

Now download and extract your mission.pbo (pbomanager is my preferred tool for this)

In the extracted folder, create a new .sqf file called buildings.sqf

if (isServer) then {
_vehicle_169 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Mil_Barracks_i", [1682.663, 2227.3772, -0.11393544], [], 0, "CAN_COLLIDE"];
  _vehicle_169 = _this;
  _this setDir 108.73634;
  _this setPos [1682.663, 2227.3772, -0.11393544];
};

};_vehicle_104 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [4694.895, 2595.5574, -0.027850531], [], 0, "CAN_COLLIDE"];
  _vehicle_104 = _this;
  _this setDir 445.97134;
  _this setPos [4694.895, 2595.5574, -0.027850531];
};
};

Insert that bit

Save buildings.sqf

Open init.sqf in your mission folder, insert this bit at the bottom 

[] ExecVM "buildings.sqf";

Save it, close it, repack the pbo and re-upload it to your server. 

Restart Server 

GGWP

 

That is basically just a tutorial for building things on your server which i suppose is what you want to do... gimmie a shout If you get stuck with anything.

 

 

 

 

 

This isn't what I was really asking for.

 

I want to know how to change how the trader cities look like put more barricades around the trader city in Stary.

 

Thanks though.

Link to comment
Share on other sites

  • 0

If you open your mission.sqf that is in the mission pbo (trader sqf) you will prolly be able to see the traders and edit them if you know how.
Otherwise, using the above tutorial would work. There are plenty of good tutorials on how to make custom buildings ;)


As for your request, I understand you want to know how to edit the CURRENT traders to make them look different? You can always look on the custom building forum and browse there is some releases for custom traders there. If they do not please you, you can try editing them as well.

Link to comment
Share on other sites

  • 0

 

Connect to your server, log out to the menu, press ALT+E (opens the editor)

Build thingz

Save it.

Go to my documents/Arma2 other profiles/Yourprofilename/missions/yourmission.chernarus and open mission .sqf with notepad ++ 

You will have something like this:


_vehicle_169 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Mil_Barracks_i", [1682.663, 2227.3772, -0.11393544], [], 0, "CAN_COLLIDE"];
  _vehicle_169 = _this;
  _this setDir 108.73634;
  _this setPos [1682.663, 2227.3772, -0.11393544];

};_vehicle_104 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [4694.895, 2595.5574, -0.027850531], [], 0, "CAN_COLLIDE"];
  _vehicle_104 = _this;
  _this setDir 445.97134;
  _this setPos [4694.895, 2595.5574, -0.027850531];
};

//This will create two new barracks on your server

 

Now download and extract your mission.pbo (pbomanager is my preferred tool for this)

In the extracted folder, create a new .sqf file called buildings.sqf

if (isServer) then {
_vehicle_169 = objNull;
if (true) then
{
  _this = createVehicle ["MAP_Mil_Barracks_i", [1682.663, 2227.3772, -0.11393544], [], 0, "CAN_COLLIDE"];
  _vehicle_169 = _this;
  _this setDir 108.73634;
  _this setPos [1682.663, 2227.3772, -0.11393544];
};

};_vehicle_104 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [4694.895, 2595.5574, -0.027850531], [], 0, "CAN_COLLIDE"];
  _vehicle_104 = _this;
  _this setDir 445.97134;
  _this setPos [4694.895, 2595.5574, -0.027850531];
};
};

Insert that bit

Save buildings.sqf

Open init.sqf in your mission folder, insert this bit at the bottom 

[] ExecVM "buildings.sqf";

Save it, close it, repack the pbo and re-upload it to your server. 

Restart Server 

GGWP

 

That is basically just a tutorial for building things on your server which i suppose is what you want to do... gimmie a shout If you get stuck with anything.

 

Nice and Concise!

 

 

 

 

 

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...