Mission.sqf Vehicle Objects Converting

[HBO] FeaR

New Member
Hello, i wanna to ask, maybe someone can tell how can i change Vehicle Objects just to Objects. I know there is a way but i just can't find it. I build a big base in map editor, and if i add that in the server it will destroy many vehicles around the map. So if someone can tell me how i need to change code in .sqf file i will be wery happy.

Thank u, and sorry for my bag English.


This is just couple objects to show me how i need to change if someone know how to do that.
Code:
activateAddons [
  "map_eu"
];

activateAddons ["map_eu"];
initAmbientLife;

_this = createCenter west;
_center_0 = _this;

_group_0 = createGroup _center_0;

_vehicle_0 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier10xTall", [6378.3696, 7351.2695, 6.4849854e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_0 = _this;
  _this setDir -84.361198;
  _this setVehicleInit "this setVector [0,0,0.1]";
  _this setPos [6378.3696, 7351.2695, 6.4849854e-005];
};

_vehicle_1 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier10xTall", [6378.5249, 7360.1226, -0.15828457], [], 0, "CAN_COLLIDE"];
  _vehicle_1 = _this;
  _this setDir 94.95314;
  _this setVehicleInit "this setVectorUp [0, 0, 0.1]";
  _this setPos [6378.5249, 7360.1226, -0.15828457];
};

_vehicle_2 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier10xTall", [6382.2109, 7389.7603, 0.50313461], [], 0, "CAN_COLLIDE"];
  _vehicle_2 = _this;
  _this setDir -84.856972;
  _this setVehicleInit "this setVectorUp [0, 0, 0.1]";
  _this setPos [6382.2109, 7389.7603, 0.50313461];
};

_vehicle_4 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier10xTall", [6379.8721, 7375.7173, 0.57761031], [], 0, "CAN_COLLIDE"];
  _vehicle_4 = _this;
  _this setDir 94.380653;
  _this setVehicleInit "this setVectorUp [0, 0, 0.1]";
  _this setPos [6379.8721, 7375.7173, 0.57761031];
};

_vehicle_8 = objNull;
if (true) then
{
  _this = createVehicle ["Base_WarfareBBarrier10xTall", [6418.6289, 7348.9546, 0.18152736], [], 0, "CAN_COLLIDE"];
  _vehicle_8 = _this;
  _this setDir -87.757507;
  _this setVehicleInit "this setVectorUp [0, 0, 0.1]";
  _this setPos [6418.6289, 7348.9546, 0.18152736];
};
 
Back
Top