Converting Mission.Biedi to Script

Using the MAP_EU stuff as well, but as I am trying to add new buildings to Epoch, I guessed that addon was already included (it is in my client files).

Nevertheless I get a Preprocessor failed on file buildings.sqf - error 7.

Error 7 is described here: http://community.bistudio.com/wiki/PreProcessor_Errors

But I am sure that there is no mistyping, instead I suspect it might be the MAP_ building names. Is there a way maybe to activate that addon on the server (as its included in the Epoch client files anyway)?
 
Problem solved... it WAS mistyping (silly me...).

BUT: I wanted to let you know that the MAP-EU indeed does work with DayZ Epoch.

When starting the game I still get an error message about "..cannot play mission, as depentant on missing content MAP.." (well, not same wording, it's the standard message), but if you then click on "continue" the game loads and every single "vehicle" (in my case those are buildings, objects, plants, roads... no actual vehicles of course) is where it is supposed to be.

If anyone could give me a hint though how to get rid of the error message it would be very much appreciated.
 
BTW - Machine, thanks a lot for posting that method, it's simply brilliant, or brilliant cause its so simple :)
 
MAP_EU as you stated is included in the client files, But no other mod (that we have access to clients files) does.

Our mod is using the same addon and I have never had this error. Although everything is added slightly differently, but that should not make a difference.

Check your mission.sqm to make sure the addon is listed, but it already should be.
 
Greetings,

DayZ mod newbie here -- but no noobie to development, mods, and plugins...

Thanks for this post.

This is my scripts\stuff.sqf file:

if (isServer) then {
_vehicle_61 = objNull;
if (true) then
{
_this = createVehicle ["Base_WarfareBBarrier10xTall", [700.0, 13100.0], [], 0, "CAN_COLLIDE"];
_vehicle_61 = _this;
_this setDir 0.0;
_this setPos [700.0, 13100.0];
};
};

This is what I've added to init.sqf:

// test stuff
[] execVM "scripts\stuff.sqf";

I know the binary packing and upload is working because I've also added refueling at gas stations using older versions of kh_actions.sqf and kh_vehicle_refuel.sqf placed in the same "scripts" folder alongside stuff.sqf.
I've tried the _vehicle_61 block both with and without an indent. I've tried both [] execVM and [] ExecVM. I've tried the _createVehicle and the setPos both with and without an explicit third coordinate of 0.0. I know exactly where that wall should appear -- in a nice flat field in the extreme northwest corner of the map, the y-coordinate being reversed with respect to map coords. I've tried both with and without the setDir command. Just to be sure, I've checked a kilometer in every direction just in case the coordinates (originally generated by the built-in mission editor) were off. Clearly I've missed something basic. Is the z-coordinate "automatic" when omitted? Do I need to determine the elevation at which my additions should be installed?

Thanks....


Lets go for a ride...

When you are done in the editor and save your mission file as MyMapName.
it goes here: C:\Documents and Settings\username\My Documents\ArmA 2\missions\MyMapName (or somewhere close to that you should know if you know where your .bedi is)

Open the mission.sqm file in MyMapName folder.

Copy all of this good stuff:
Code:
_vehicle_11 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [4635.2856, 10493.992, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_11 = _this;
  _this setDir 58.857197;
  _this setPos [4635.2856, 10493.992, 3.0517578e-005];
};

Each one of those bad boys is a building... make sure you do not copy the playable character you used in the editor.

Now create a new file called buildings.sqf <--- name can be anything you like.

Now in that file you want it to look like this:
Code:
if (isServer) then {
 
_vehicle_11 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [4635.2856, 10493.992, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_11 = _this;
  _this setDir 58.857197;
  _this setPos [4635.2856, 10493.992, 3.0517578e-005];
};
};
And save this file in you mission folder.

Now in your mission folder open your init.sqf and add this @ the bottom somewhere:
Code:
//buildings
[] ExecVM "buildings.sqf";

Pack your stuff and enjoy!

Need any help just paste your editor mission file and i'll set them up for you.
 
Greetings,

DayZ mod newbie here -- but no noobie to development, mods, and plugins...

Thanks for this post.

This is my scripts\stuff.sqf file:

if (isServer) then {
_vehicle_61 = objNull;
if (true) then
{
_this = createVehicle ["Base_WarfareBBarrier10xTall", [700.0, 13100.0], [], 0, "CAN_COLLIDE"];
_vehicle_61 = _this;
_this setDir 0.0;
_this setPos [700.0, 13100.0];
};
};

This is what I've added to init.sqf:

// test stuff
[] execVM "scripts\stuff.sqf";

I know the binary packing and upload is working because I've also added refueling at gas stations using older versions of kh_actions.sqf and kh_vehicle_refuel.sqf placed in the same "scripts" folder alongside stuff.sqf.
I've tried the _vehicle_61 block both with and without an indent. I've tried both [] execVM and [] ExecVM. I've tried the _createVehicle and the setPos both with and without an explicit third coordinate of 0.0. I know exactly where that wall should appear -- in a nice flat field in the extreme northwest corner of the map, the y-coordinate being reversed with respect to map coords. I've tried both with and without the setDir command. Just to be sure, I've checked a kilometer in every direction just in case the coordinates (originally generated by the built-in mission editor) were off. Clearly I've missed something basic. Is the z-coordinate "automatic" when omitted? Do I need to determine the elevation at which my additions should be installed?

Thanks....

that looks about right, as far as the general coding is concerned, however, i do believe its the coordinates

your coordinates -
Code:
[700.0, 13100.0], [], 0,

the coordinates i have
Code:
 [6393.6079, 7772.6846, -0.096942611], []

that you are getting messed up. when you place it in the 3d editor and save it, open the mission.sqf file and copy it straight from there to where you're saving the coding for the buildings that you're adding to your server. just make sure you take out the center, group, and unit that you had to insert into it.

Heres one of mine that i have. feel free to use if you would like. It's barracks at Balota, by cherno firestation, by elecktro firestation, starry.

at the bottom of Init
Code:
[] ExecVM "barracks.sqf";

create new document titled barracks.sqf in the main mission folder and insert
Code:
//Barracks
//Made by srcinmo 6/10/2013
//If any changes are made give credit where it is due. Thank you.
 
if (isServer) then {
 
_vehicle_1 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [6399.7866, 7782.2173, 0.056879286], [], 0, "CAN_COLLIDE"];
  _vehicle_1 = _this;
  _this setDir -149.51064;
  _this setPos [6399.7866, 7782.2173, 0.056879286];
};
 
_vehicle_3 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [6393.6079, 7772.6846, -0.096942611], [], 0, "CAN_COLLIDE"];
  _vehicle_3 = _this;
  _this setDir -149.51064;
  _this setPos [6393.6079, 7772.6846, -0.096942611];
};
 
_vehicle_5 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [6386.9458, 7763.7378, -0.00029515871], [], 0, "CAN_COLLIDE"];
  _vehicle_5 = _this;
  _this setDir -149.51064;
  _this setPos [6386.9458, 7763.7378, -0.00029515871];
};
 
_vehicle_9 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [4832.8726, 2517.0549, 0.06842351], [], 0, "CAN_COLLIDE"];
  _vehicle_9 = _this;
  _this setDir -241.57759;
  _this setPos [4832.8726, 2517.0549, 0.06842351];
};
 
_vehicle_12 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [4841.8408, 2511.6426, 0.022509206], [], 0, "CAN_COLLIDE"];
  _vehicle_12 = _this;
  _this setDir -241.57759;
  _this setPos [4841.8408, 2511.6426, 0.022509206];
};
 
_vehicle_14 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [6594.186, 2442.2429, -4.7683716e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_14 = _this;
  _this setDir -316.49524;
  _this setPos [6594.186, 2442.2429, -4.7683716e-006];
};
 
_vehicle_19 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Mil_Barracks_i", [10349.242, 2217.4458, -0.14803225], [], 0, "CAN_COLLIDE"];
  _vehicle_19 = _this;
  _this setDir -325.27914;
  _this setPos [10349.242, 2217.4458, -0.14803225];
};
};
 
Thank you. I'll give it a try as soon as folks get tired tonight and log off my server.

Is there an honest-to-goodness scripting reference that actually describes the argument list's various alternative forms?
 
argument list's various alternative forms? not sure what you're meaning there

OK, thanks for the post. In any programming language syntax manual, there will be a detailed discussion of the argument list. For example, if you were to google "C++ string find_first_of" you'd find numerous references that display the method's alternative parameter lists, discussing in turn which parameters are optional, which are required, what each means, etc. Clearly the createVehicle and setPos macros have alternate forms because posts of various examples -- all working -- differ in syntax. Notably many examples omit the third coordinate.

Second, I'm sorry to say that your example does absolutely nothing on my server. Nothing. No additional buildings appear. I've also tried with the barracks script cut down to one building and I've tried placing it in various clear fields using the mission editor's precise and verbatim calls, but your object class ID. Nothing. Refueling continues to work, but I get squat coming out of the barracks or my test scripts.

Here's the last one I tried:

// Barracks.sqf
// From a sample file by srcinmo 6/10/2013
// If any changes are made give credit where it is due. Thank you.

if (isServer) then {

_vehicle_109 = objNull;
if (true) then
{
_this = createVehicle ["Land_Mil_Barracks_i", [9336.5947, 13846.238, 0], [], 0, "CAN_COLLIDE"];
_vehicle_109 = _this;
_this setDir -325.27914;
_this setPos [9336.5947, 13846.238, 0];
};
};

... and in my init.sqf,

[] ExecVM "barracks.sqf";

I tried this combination both with the barracks.sqf in the same folder as init.sqf, as above, and with the script in a subfolder titled "scripts" and the above line changed to:
[] ExecVM "scripts\barracks.sqf";
As before I tried this with both ExecVM and execVM.
The location according to my conversions and according to the mission editor should be in the shallow valley west of the Pobeda reservoir. Nothing.

I'm wondering ... when I try to run the Arma 2 OA mission editor through Arma 2 OA, I get an error message on startup:

Addon 'dayz_anim' requires addon 'CA_CommunityConfigurationProject_E'

Could that be the source of my problem?
 
MAP_EU as you stated is included in the client files, But no other mod (that we have access to clients files) does.

Our mod is using the same addon and I have never had this error. Although everything is added slightly differently, but that should not make a difference.

Check your mission.sqm to make sure the addon is listed, but it already should be.

I tried to add it to mission.sqm but it did result in the server not starting... got just "wait for host"...

I tried it bot upper and lower case:

Code:
version=11;
class Mission
{
    addOns[]=
    {
        "chernarus",
        "ca_modules_animals",
        "dayz_code",
        "dayz_weapons",
        "dayz_equip",
        "dayz_vehicles",
        "cacharacters_pmc",
        "ca_modules_functions",
        "glt_m300t",
        "sigisolda",
        "suv_col",
        "csj_gyroac"
        "map_eu"
    };
    addOnsAuto[]=
    {
        "dayz_weapons",
        "ca_modules_functions",
        "chernarus"
    };

Is that the correct place?

Thx for your help...
 
"Its not life's canyons I am worried about, it's the potholes" (Garfield)

Should have put a comma behind
"csj_gyroac"

:confused:

Thx again ;)
 
Hi, great thread!

I have been using the wofjwof Bliss script tool as well. I find it very useful, especially as a new admin.

Mr. Machine: would your method be a better way for "mass" additions? We have removed "rubble" from our server, and as a consequence have lost the burning barrels. I went through in the editor and replaced many of them, but now my `instance_building` is clogged with them along with about 200 bag walls for an encounter we are building in Berezino.

I have both jobs saved as a mission: can I delete the sandbags and burn barrels from my database and use this initialization execute instead? (And, perhaps, use this to add back in a few of the roadblocks/wrecks? OR even to add "invisible" item classes such as trees, Crates/Boxes that were removed last patch, and furniture items?)
 
Yeah I tried the execVM method and nothing showed up theres no mention in my rpt file either Im on dayz epoch taviana if that makes a difference.. I added the lines to my init and placed the file in the main directory and nothing tried it with []execVM and without brackets upper and lowercase and nadda.. I tried to have it execute before the towing and heli lift script and it just throws errors for some reason. Also I don't get an sqm file I get an sqf and beidi when I save my maps but any help is greatly appreciated
 
i have followed your instructions got a simple base built then added more to it been over it 6 times no conflicting num or items all buildings walls ect. getting error when log in No entry bin\config.bin/cfg vehicles/m119.turn coef. any ideas what i did wrong
 
i have followed your instructions got a simple base built then added more to it been over it 6 times no conflicting num or items all buildings walls ect. getting error when log in No entry bin\config.bin/cfg vehicles/m119.turn coef. any ideas what i did wrong
 
My building are duping for every player that joins some im getting 30+ building coming out when there are 30 people in the server here is a sample of my code
Code:
if (isServer) then {
 
_vehicle_1 = objNull;
if (true) then
{
  _this = createVehicle ["FlagCarrierUSArmy_EP1", [981.74823, 9663.0996, 8.1590118], [], 0, "CAN_COLLIDE"];
  _vehicle_1 = _this;
  _this setPos [981.74823, 9663.0996, 8.1590118];
};
 
};
 
_vehicle_3 = objNull;
if (true) then
{
  _this = createVehicle ["FlagCarrierUSA_EP1", [956.82654, 9637.3008, 8.1094685], [], 0, "CAN_COLLIDE"];
  _vehicle_3 = _this;
  _this setPos [956.82654, 9637.3008, 8.1094685];
};
 
_vehicle_10 = objNull;
if (true) then
{
  _this = createVehicle ["CinderWall_DZ", [934.18097, 9692.873, 9.5367432e-007], [], 0, "CAN_COLLIDE"];
  _vehicle_10 = _this;
  _this setDir -1.4344509;
  _this setPos [934.18097, 9692.873, 9.5367432e-007];
};
 
_vehicle_12 = objNull;
if (true) then
{
  _this = createVehicle ["CinderWall_DZ", [945.11536, 9693.1143, -1.1444092e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_12 = _this;
  _this setDir -1.4344509;
  _this setPos [945.11536, 9693.1143, -1.1444092e-005];
};
 
So I'm new to the scene of scripting and was using http://dayz.wofjwof.com/map.php
to upload my mission.biedi it would then give me a script I copyed and uploaded to my server's SQL.

Well http://dayz.wofjwof.com/map.php is now down and I have no idea now how to update my server with new buildings. I have a new Mission.biedi I would like to upload to server but don't know how to do that anymore without that link.

Anyone able to break this down for me to a level I can understand and actually utilize?

Appreciate any help I'm sure I'm not the only one that was using that link to upload new buildings.

how come when I paste my sqf in there, the page just says "Working on your file, please wait."

but nothing ever happens
 
I have followed what was put in the posts but my code comes out as .SQM, how to do I make it a script? I would like to just do it myself so just a short explanation would be nice, thanks, my code is below!

Code:
    class Vehicles
    {
        items=31;
        class Item0
        {
            side="EMPTY";
            id=1;
            position[]={5848.9937, 6.1035156e-005, 7684.0654};
            vehicle="Land_pumpa";
            init="this setpos [5848.9937, 7684.0654, 6.1035156e-005];";
        };
        class Item1
        {
            side="EMPTY";
            id=2;
            position[]={5881.8315, 0.12161847, 7703.0327};
            vehicle="Land_rail_station_big";
            azimut=-131.9445;
            init="this setpos [5881.8315, 7703.0327, 0.12161847];";
        };
        class Item2
        {
            side="EMPTY";
            id=3;
            position[]={5854.6074, -3.0517578e-005, 7732.9409};
            vehicle="Land_Mil_Barracks_i";
            azimut=110.90627;
            init="this setpos [5854.6074, 7732.9409, -3.0517578e-005];";
        };
        class Item3
        {
            side="EMPTY";
            id=4;
            position[]={5866.9668, 0.25682136, 7722.1401};
            vehicle="Land_HouseV2_04_interier";
            azimut=46.666477;
            init="this setpos [5866.9668, 7722.1401, 0.25682136];";
        };
        class Item4
        {
            side="EMPTY";
            id=5;
            position[]={5836.7319, 0.2372881, 7696.3691};
            vehicle="Land_A_FuelStation_Feed";
            azimut=85.748428;
            init="this setpos [5836.7319, 7696.3691, 0.2372881];";
        };
        class Item5
        {
            side="EMPTY";
            id=6;
            position[]={5836.498, 0.16251093, 7698.4805};
            vehicle="Land_A_FuelStation_Feed";
            azimut=82.029037;
            init="this setpos [5836.498, 7698.4805, 0.16251093];";
        };
        class Item6
        {
            side="EMPTY";
            id=7;
            position[]={5836.6733, -0.00012207031, 7697.292};
            vehicle="Land_A_FuelStation_Shed";
            azimut=-5.2250571;
            init="this setpos [5836.6733, 7697.292, -0.00012207031];";
        };
        class Item7
        {
            side="EMPTY";
            id=8;
            position[]={5894.4429, 0.39753994, 7657.8413};
            vehicle="Land_a_stationhouse";
            azimut=-260.34845;
            init="this setpos [5894.4429, 7657.8413, 0.39753994];";
        };
        class Item8
        {
            side="EMPTY";
            id=9;
            position[]={5885.2236, -0.09086819, 7634.1367};
            vehicle="Land_A_Castle_Gate";
            azimut=151.7587;
            init="this setpos [5885.2236, 7634.1367, -0.09086819];";
        };
        class Item9
        {
            side="EMPTY";
            id=10;
            position[]={5870.4971, -0.011426032, 7624.2974};
            vehicle="Land_A_Castle_Wall1_20";
            azimut=-47.290264;
            init="this setpos [5870.4971, 7624.2974, -0.011426032];";
        };
        class Item10
        {
            side="EMPTY";
            id=11;
            position[]={5855.3481, -0.31329569, 7611.1021};
            vehicle="Land_A_Castle_Wall1_20";
            azimut=-36.362907;
            init="this setpos [5855.3481, 7611.1021, -0.31329569];";
        };
        class Item11
        {
            side="EMPTY";
            id=12;
            position[]={5837.7183, -0.54893714, 7601.2988};
            vehicle="Land_A_Castle_Wall1_20";
            azimut=-20.151079;
            init="this setpos [5837.7183, 7601.2988, -0.54893714];";
        };
        class Item12
        {
            side="EMPTY";
            id=13;
            position[]={5818.9302,0, 7604.4365};
            vehicle="Land_A_Castle_Wall1_20";
            azimut=38.095299;
        };
        class Item13
        {
            side="EMPTY";
            id=14;
            position[]={5805.3945, -6.1035156e-005, 7618.0454};
            vehicle="Land_A_Castle_Wall1_20";
            azimut=52.250938;
            init="this setpos [5805.3945, 7618.0454, -6.1035156e-005];";
        };
        class Item14
        {
            side="EMPTY";
            id=15;
            position[]={5795.5073, 3.0517578e-005, 7635.0454};
            vehicle="Land_A_Castle_Wall1_20";
            azimut=67.426994;
            init="this setpos [5795.5073, 7635.0454, 3.0517578e-005];";
        };
        class Item15
        {
            side="EMPTY";
            id=16;
            position[]={5792.2402, -0.00012207031, 7654.5747};
            vehicle="Land_A_Castle_Wall1_20";
            azimut=95.612488;
            init="this setpos [5792.2402, 7654.5747, -0.00012207031];";
        };
        class Item16
        {
            side="EMPTY";
            id=17;
            position[]={5794.2856, -3.0517578e-005, 7673.4507};
            vehicle="Land_A_Castle_Wall1_20";
            azimut=97.116875;
            init="this setpos [5794.2856, 7673.4507, -3.0517578e-005];";
        };
        class Item17
        {
            side="EMPTY";
            id=18;
            position[]={5796.2651, -3.0517578e-005, 7692.792};
            vehicle="Land_A_Castle_Wall1_20";
            azimut=95.017555;
            init="this setpos [5796.2651, 7692.792, -3.0517578e-005];";
        };
        class Item18
        {
            side="EMPTY";
            id=19;
            position[]={5803.5049, 3.0517578e-005, 7711.3545};
            vehicle="Land_A_Castle_Wall1_20";
            azimut=130.5932;
            init="this setpos [5803.5049, 7711.3545, 3.0517578e-005];";
        };
        class Item19
        {
            side="EMPTY";
            id=20;
            position[]={5817.7041, 6.1035156e-005, 7724.5801};
            vehicle="Land_A_Castle_Wall1_20";
            azimut=145.15384;
            init="this setpos [5817.7041, 7724.5801, 6.1035156e-005];";
        };
        class Item20
        {
            side="EMPTY";
            id=21;
            position[]={5834.2202, 3.0517578e-005, 7736.0508};
            vehicle="Land_A_Castle_Wall1_20";
            azimut=145.56253;
            init="this setpos [5834.2202, 7736.0508, 3.0517578e-005];";
        };
        class Item21
        {
            side="EMPTY";
            id=22;
            position[]={5852.145, 9.1552734e-005, 7743.3696};
            vehicle="Land_A_Castle_Wall1_20";
            azimut=-189.96681;
            init="this setpos [5852.145, 7743.3696, 9.1552734e-005];";
        };
        class Item22
        {
            side="EMPTY";
            id=23;
            position[]={5869.5996,0, 7737.4653};
            vehicle="Land_A_Castle_Wall1_20";
            azimut=224.87883;
        };
        class Item23
        {
            side="EMPTY";
            id=24;
            position[]={5882.7417, -0.21627831, 7722.0254};
            vehicle="Land_A_Castle_Wall1_20";
            azimut=232.51772;
            init="this setpos [5882.7417, 7722.0254, -0.21627831];";
        };
        class Item24
        {
            side="EMPTY";
            id=25;
            position[]={5894.4858, -2.0026791, 7707.4307};
            vehicle="Land_A_Castle_Wall1_20";
            azimut=244.82954;
            init="this setpos [5894.4858, 7707.4307, -2.0026791];";
        };
        class Item25
        {
            side="EMPTY";
            id=26;
            position[]={5903.2856, -1.8098847, 7688.6221};
            vehicle="Land_A_Castle_Wall1_20";
            azimut=245.53438;
            init="this setpos [5903.2856, 7688.6221, -1.8098847];";
        };
        class Item26
        {
            side="EMPTY";
            id=27;
            position[]={5909.813, -2.3668635, 7669.5684};
            vehicle="Land_A_Castle_Wall1_20";
            azimut=259.49945;
            init="this setpos [5909.813, 7669.5684, -2.3668635];";
        };
        class Item27
        {
            side="EMPTY";
            id=28;
            position[]={5905.1348, -2.6975374, 7651.335};
            vehicle="Land_A_Castle_Wall1_20";
            azimut=-48.579758;
            init="this setpos [5905.1348, 7651.335, -2.6975374];";
        };
        class Item28
        {
            side="EMPTY";
            id=29;
            position[]={5895.7153, -0.77320039, 7642.1338};
            vehicle="Land_A_Castle_Wall1_End";
            azimut=-50.264534;
            init="this setpos [5895.7153, 7642.1338, -0.77320039];";
        };
        class Item29
        {
            side="EMPTY";
            id=30;
            position[]={5846.3184, -6.1035156e-005, 7695.1431};
            vehicle="Land_Fuel_tank_stairs";
            azimut=83.072968;
            init="this setpos [5846.3184, 7695.1431, -6.1035156e-005];";
        };
        class Item30
        {
            side="EMPTY";
            id=31;
            position[]={5805.9497,0, 7671.3701};
            vehicle="Land_A_Hospital";
            azimut=-87.16272;
        };
    };
};
 
Machine are you still doing these? I want to add building to the NAPF map but the instructions do not look like its getting the correct data

this is what my sqm file looks like
Code:
class Vehicles
    {
        items=113;
        class Item0
        {
            side="EMPTY";
            id=0;
            position[]={13868.287, 2.5749207e-005, 14174.738};
            vehicle="Land_CncBlock";
            azimut=39.194164;
            init="this setpos [13868.287, 14174.738, 2.5749207e-005];";
        };
        class Item1


My SQF file looks like this

Code:
];

activateAddons ["kpfswaysigns", "map_eu", "aif_arma1buildings", "glt_bh_wreck"];
initAmbientLife;

_this = createCenter west;
_center_0 = _this;

_group_1 = createGroup _center_0;

_unit_0 = objNull;
if (true) then
{
  _this = _group_1 createUnit ["BAF_Soldier_AA_W", [13854.934, 14161.732, 1.9550323e-005], [], 0, "CAN_COLLIDE"];
  _unit_0 = _this;
  _this setUnitAbility 0.60000002;
  if (true) then {_group_1 selectLeader _this;};
  if (true) then {selectPlayer _this;};
};

_vehicle_7 = objNull;
if (true) then
{
  _this = createVehicle ["Hhedgehog_concreteBig", [13897.916, 14166.082, 4.1007996e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_7 = _this;
  _this setPos [13897.916, 14166.082, 4.1007996e-005];
};

_vehicle_8 = objNull;
if (true) then
{
  _this = createVehicle ["Hhedgehog_concreteBig", [13873.856, 14149.945, 2.7179718e-005], [], 0, "CAN_COLLIDE"];
  _vehicle_8 = _this;
  _this setDir -108.10572;
  _this setPos [13873.856, 14149.945, 2.7179718e-005];
};


as you can see when you say to open the SQM file it does not look right

thanks
Cas
 
Back
Top