Jump to content
  • 0

add base on map


Norf955

Question

Hi people!

I have an ArmA3 server on Tanoa map, and i want add some buildings on map. 

the buildings are added via EDEN, which generates a file "mission.sqm" later changed to "chicken"

I remember that on ArmA2 we could add a line in "init.sqf ' that allowed to execute this script.

line added to my "init.sqf": [] execVM "poulet.sqf";

The thing I do not remember is the beginning necessary to my file to work properly

Spoiler

version=52;
class EditorData
{
    moveGridStep=1;
    angleGridStep=0.2617994;
    scaleGridStep=1;
    autoGroupingDist=10;
    toggles=1;
    class ItemIDProvider
    {
        nextID=171;
    };
    class Camera
    {
        pos[]={10097.997,11.843023,5026.4229};
        dir[]={0.91380525,-0.29308596,-0.28159356};
        up[]={0.280404,0.95595312,-0.086405233};
        aside[]={-0.29453167,-2.1069791e-006,-0.95578492};
    };
};
binarizationWanted=0;
addons[]=
{
    "A3_Characters_F",
    "A3_Signs_F",
    "A3_Structures_F_Exp_Civilian_Garages",
    "A3_Structures_F_Walls",
    "A3_Structures_F_Exp_Civilian_House_Big_02"
};
class AddonsMetaData
{
    class List
    {
        items=4;
        class Item0
        {
            className="A3_Characters_F";
            name="Arma 3 Alpha - Characters and Clothing";
            author="Bohemia Interactive";
            url="http://www.arma3.com";
        };
        class Item1
        {
            className="A3_Signs_F";
            name="Arma 3 - Signs";
            author="Bohemia Interactive";
            url="http://www.arma3.com";
        };
        class Item2
        {
            className="A3_Structures_F_Exp_Civilian";
            name="Arma 3 Apex - Civilian Buildings";
            author="Bohemia Interactive";
            url="http://www.arma3.com";
        };
        class Item3
        {
            className="A3_Structures_F";
            name="Arma 3 - Buildings and Structures";
            author="Bohemia Interactive";
            url="http://www.arma3.com";
        };
    };
};
randomSeed=15418607;
class ScenarioData
{
    author="boite a chaussures";
};
class Mission
{
    class Intel
    {
        timeOfChanges=1800.0002;
        startWeather=0.30000001;
        startWind=0.1;
        startWaves=0.1;
        forecastWeather=0;
        forecastWind=0.1;
        forecastWaves=0.1;
        forecastLightnings=0.1;
        year=2035;
        month=6;
        day=6;
        hour=23;
        minute=20;
        startFogBase=250;
        forecastFogBase=250;
        startFogDecay=0.014;
        forecastFogDecay=0.014;
    };
    class Entities
    {
        items=66;
        class Item0
        {
            dataType="Group";
            side="West";
            class Entities
            {
                items=1;
                class Item0
                {
                    dataType="Object";
                    class PositionInfo
                    {
                        position[]={10098.236,4.871439,5042.0703};
                    };
                    side="West";
                    flags=7;
                    class Attributes
                    {
                        isPlayer=1;
                    };
                    id=1;
                    type="B_helicrew_F";
                };
            };
            class Attributes
            {
            };
            id=0;
        };
        class Item1
        {
            dataType="Object";
            class PositionInfo
            {
                position[]={10130.619,5.9099588,5039.3779};
                angles[]={0,5.0424871,0};
            };
            side="Empty";
            flags=5;
            class Attributes
            {
            };
            id=97;
            type="Land_Sign_WarningMilitaryArea_F";
        };
        class Item2

Thanks for help! :)

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0
On 17.7.2016 at 7:16 PM, Norf955 said:

I have this in inti.sqf

//Base
if (isServer)then {
    }
    else {
    [] execVM "poulet.sqf";
    };

Like you write up

Character was deleted in editor, but no difference :(

//Base
if (isServer)then {

 [] execVM "poulet.sqf";
    }
    else {

    };

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
  • Advertisement
  • Discord

×
×
  • Create New...