Epoch Custom Buildings

Bungle

Member
Hi Guys,

Looking for some scripting assistance with adding custom buildings to Epoch Chernarus.

Currently they do not employ a "bliss/reality" table structure so add buildings is done via a .sqf in the missions init.

The code seems quite straight forward.

// Add trader citys
_nil = [] execVM "mission.sqf";

However trying to duplicate this with my maps .sqf in the same way yielded _nil results.. with the mission not loading.

// Add Custom Content
_nil = [] execVM "mission2.sqf";

Would be be conflicting vehicle ID's in both sqf files and the only real way is to do as they state and add the custom content to their mission.sqf and increment the numbers..

I hope this is not so as I am trying to import over 1500 objects from a custom Chernarus map I created.

Any help would be highly appreciated.

Cheers,

Bungle
 
Thanks Bernardo, I will try it with just a [] execVM "buildings.sqf";

Can anyone explain to me what this actually does?

If there is a conflicting vehicle_number will this still work?

This is from the default Epoch Mission.


Code:
_vehicle_21 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier10xTall", [7578.8711, 3369.1152, -0.11031201], [], 0, "CAN_COLLIDE"];
  _vehicle_21 = _this;
  _this setDir -11.777323;
  _this setPos [7578.8711, 3369.1152, -0.11031201];
};



This is from my custom content mission.

Code:
_vehicle_13 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier10xTall", [7578.8711, 3369.1152, -0.11031201], [], 0, "CAN_COLLIDE"];
  _vehicle_21 = _this;
  _this setDir -11.777323;
  _this setPos [7578.8711, 3369.1152, -0.11031201];
 
};
 
Thanks Bernardo, I will try it with just a [] execVM "buildings.sqf";

Can anyone explain to me what this actually does?

If there is a conflicting vehicle_number will this still work?

This is from the default Epoch Mission.


Code:
_vehicle_21 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier10xTall", [7578.8711, 3369.1152, -0.11031201], [], 0, "CAN_COLLIDE"];
  _vehicle_21 = _this;
  _this setDir -11.777323;
  _this setPos [7578.8711, 3369.1152, -0.11031201];
};



This is from my custom content mission.

Code:
_vehicle_13 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier10xTall", [7578.8711, 3369.1152, -0.11031201], [], 0, "CAN_COLLIDE"];
  _vehicle_21 = _this;
  _this setDir -11.777323;
  _this setPos [7578.8711, 3369.1152, -0.11031201];

};

The "[] execVM "buildings.sqf";" basically tells the server to run this .sqf file when the server starts.
 
Back
Top