Mission.sqm problem

Ricki

Member
Hey i've been trying to get map markers working & also chance the player spawn locations, now EVERYTIME i spawn i'm inside a building glitched out in stary. Also my map markers are in weird positions, are the coords in the right format?
this is my mission.sqm
Code:
class Markers
{
items=12;
class Item0
{
position[]={7839.6055,381.33774,8414.7324};
name="center";
type="Empty";
};
class Item1
{
position[]={-18697.58,379.53012,25815.256};
name="respawn_west";
type="Empty";
};
class Item2
{
position[]={13060.078, 7094.0596, 0};
name="spawn0";
type="Empty";
};
class Item3
{
position[]={13454.279, 6233.647, 0};
name="spawn1";
type="Empty";
};
class Item4
{
position[]={10140.659, 5434.4302, 0};
name="spawn2";
type="Empty";
};
class Item5
{
position[]={6143.6167, 7721.5176, 0};
name="spawn3";
type="Empty";
};
class Item6
{
position[]={12073.906, 12724.305, 0};
name="HighValueLoot";
text="High Value Loot";
type="waypoint";
colorName="ColorRed";
};
class Item7
{
position[]={6143.6167, 7721.5176, 0};
name="spawn4";
type="Empty";
};
class Item8
{
position[]={4829.9868, 2450.1104, 0};
name="HighValueLoot2";
text="High Value Loot";
type="waypoint";
colorName="ColorRed";
};
class Item9
{
position[]={4480.0781, 10375.544, 0};
name="HighValueLoot3";
text="High Value Loot";
type="waypoint";
colorName="ColorRed";
};
class Item10
{
position[]={10480.69, 2217.8027, 0};
name="HighValueLoot4";
text="High Value Loot";
type="waypoint";
colorName="ColorRed";
};
class Item11
{
position[]={10484.255,6,2311.1782};
name="HighValueLoot5";
text="High Value Loot";
type="waypoint";
colorName="ColorRed";
};
};
};
Any help would be greatly appreciated.
 
Yeah i thought 2, 1 to finish
Code:
class Item11
{
position[]={10484.255,6,2311.1782};
name="HighValueLoot5";
text="High Value Loot";
type="waypoint";
colorName="ColorRed";
};
then need one to finish the class markers. so i need remove 1 i guess. Would that throw everything out and make me spawn in different locations though?
 
I don't think it should muck up your coords but if probs just remove the extra "};" and then see if it fixes it. If your markers are still misplaced then redo the coords.
Cheers
Retra
 
Do them coords sound right? X Y Z? or X Z Y? I'm not really sure on how to read them :( Can someone explain how to read them?
 
I have found that getting the coords from the Arm 2 OA Singleplayer editor is the best way to get the correct coords.
 
X,Y,Z
X being left to right
Y being up and down
Z being altitude

I believe that's how it works, feel free to correct me someone.
 
same thing with dome i get this

Code:
ErrorMessage: File mpmissions\__cur_mp.chernarus\mission.sqm, line 1180: /Mission/Groups/Sensors/Item0/: '}' encountered instead of '{'


Code:
class Item99
{
position[]={-18725.248,379.55328,25889.797};
azimut=-17.0839;
id=95;
side="WEST";
vehicle="Survivor1_DZ";
player="PLAY CDG";
skill=0.60000002;
init="this enableSimulation false;this allowDammage false;this disableAI 'FSM';this disableAI 'ANIM';this disableAI 'MOVE';";
};
};
};
};
class Item1
{
side="LOGIC";
class Vehicles
{
items=1;
class Item0
{
position[]={708.96582,35.858719,3533.1272};
id=50;
side="LOGIC";
vehicle="FunctionsManager";
leader=1;
lock="UNLOCKED";
skill=0.60000002;
};
};
};
};
class Sensors
{
items=1;
class Item0
{
position[]={2301.8687,520.72815,15327.663};
a=100;
b=100;
activationBy="ANY";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="dome";
expCond="(vehicle player) in thislist;";
expActiv="dome = [] execVM ""dome.sqf"";";
expDesactiv="terminate dome; titleText [""Dome exit message."", ""PLAIN DOWN"", 3];";
class Effects
};
};
class Markers
{
items=8;
class Item0
{
position[]={7839.6055,381.33774,8414.7324};
name="center";
type="Empty";
};
class Item1
{
position[]={-18697.58,379.53012,25815.256};
name="respawn_west";
type="Empty";
};
class Item2
{
position[]={4932.3345,0.39950246,1989.1094};
name="spawn0";
type="Empty";
};
class Item3
{
position[]={2236.0391,0.63119155,1923.3735};
name="spawn1";
type="Empty";
};
class Item4
{
position[]={8738.1328,0.45720705,2122.1082};
name="spawn2";
type="Empty";
};
class Item5
{
position[]={10909.267,0.57597214,2422.3096};
name="spawn3";
type="Empty";
};
class Item6
{
position[]={5006.791,338.98325,10028.285};
name="HighValueLoot";
text="High Value Loot";
type="waypoint";
colorName="ColorRed";
};
class Item7
{
position[]={13510.764,0.44504455,5249.3027};
name="spawn4";
type="Empty";
};
};
class Intro
{
addOns[]=
{
"chernarus"
};
addOnsAuto[]=
{
"chernarus"
};
randomSeed=6913869;
class Intel
{
startWeather=0.25;
forecastWeather=0.25;
year=2008;
month=10;
day=11;
hour=9;
minute=20;
};
};
class OutroWin
{
addOns[]=
{
"chernarus"
};
addOnsAuto[]=
{
"chernarus"
};
randomSeed=4081731;
class Intel
{
startWeather=0.25;
forecastWeather=0.25;
year=2008;
month=10;
day=11;
hour=9;
minute=20;
};
};
class OutroLoose
{
addOns[]=
{
"chernarus"
};
addOnsAuto[]=
{
"chernarus"
};
randomSeed=4975929;
class Intel
{
startWeather=0.25;
forecastWeather=0.25;
year=2008;
month=10;
day=11;
hour=9;
minute=20;
};
};

Marker is in the ocean & when i add dome i get WAIT AT HOST :(
 
bit confused, either we are missing a load of your mission file to tell you where the error is correctly, or this is the problem:

So, you have class Item99 defined, which is cool - however you have 3 too many closing braces:
Code:
class Item99
{
position[]={-18725.248,379.55328,25889.797};
azimut=-17.0839;
id=95;
side="WEST";
vehicle="Survivor1_DZ";
player="PLAY CDG";
skill=0.60000002;
init="this enableSimulation false;this allowDammage false;this disableAI 'FSM';this disableAI 'ANIM';this disableAI 'MOVE';";
};
}; < ?
}; < ?
}; < ?


** edit **
Scrap that, just noticed your error shows the problem is within the Sensors class.

Near the bottom:
Code:
class Effects
};
};
Seems like a random 'Effects' class is attempting to be defined here.
 
Back
Top