Norf955 Posted July 16, 2016 Report Share Posted July 16, 2016 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 More sharing options...
0 He-Man Posted July 17, 2016 Report Share Posted July 17, 2016 Load the 3den addon from the Workshop, then you can Export a sqf file inside Eden. Add to your init.sqf: If (isserver) then { [] Execvm ... }; Link to comment Share on other sites More sharing options...
0 Norf955 Posted July 17, 2016 Author Report Share Posted July 17, 2016 Thx, i will test that Link to comment Share on other sites More sharing options...
0 Norf955 Posted July 17, 2016 Author Report Share Posted July 17, 2016 There is a bug, what can i do?! init.sqf is correct. In Eden, it is necessary to delete the character you created to test the map? Link to comment Share on other sites More sharing options...
0 He-Man Posted July 17, 2016 Report Share Posted July 17, 2016 Have you set "if (isserver)" ? And yes, the char must be deleted! Link to comment Share on other sites More sharing options...
0 Norf955 Posted July 17, 2016 Author Report Share Posted July 17, 2016 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 :( Link to comment Share on other sites More sharing options...
0 klinGiii Posted July 19, 2016 Report Share Posted July 19, 2016 Edit : wrong thread , sorry :D Link to comment Share on other sites More sharing options...
0 He-Man Posted July 19, 2016 Report Share Posted July 19, 2016 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 More sharing options...
0 Norf955 Posted July 19, 2016 Author Report Share Posted July 19, 2016 thanks a lot! Now it's ok! :) He-Man 1 Link to comment Share on other sites More sharing options...
Question
Norf955
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
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
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now