Jump to content
  • 0

Dome error


Cpt. Warq

Question

Hi. I was going to create a dome to our specific trader on our server, the problem is whenever I change something in the mission.sqm the server crashes or when I'm joining it only says Joining game. Anyone know anything to solve this?

 

//warq

Link to comment
Share on other sites

20 answers to this question

Recommended Posts

  • 0

in my class markers i have

 

class Item32
  {
   position[]={16240.184,400.94901,7396.4736};
   name="Radiation zone";
   type="mil_dot";
   colorName="ColorBlack";
  };

 

then in class sensors

 

 class Item13
  {
   position[]={16240.184,400.94901,7396.4736};
   a=200;
   b=200;
   activationBy="WEST";
   repeating=1;
   interruptable=1;
   age="UNKNOWN";
   name="dome";
   expCond="(vehicle player) in thislist;";
   expActiv="dome = [] execVM ""dome.sqf"";";
   expDesactiv="terminate dome; titleText [""You've left home"", ""PLAIN DOWN"", 3];";
   class Effects
   {
   };
  };

 

then the dome sqf is in the main file with your mission sqf etc

Link to comment
Share on other sites

  • 0

Didnt work, but now I dont get any error. Instead it doesnt just show up. 

 

 

};
class Item17
{
position[]={5979.76,2057.45,0.001};
name="dome";
text="Donation Trader";
type="waypoint";
colorName="ColorRed";
};
};
};
class Sensors
{
items=6;
class Item0
{
position[]={6896.67,0.001,11427.9};
a=130;
b=97;
rectangular=1;
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="dome";
expCond="(vehicle player) in thislist;";
expActiv="dome = [] execVM ""dome.sqf"";";
expDesactiv="terminate dome; titleText [""You've left the dome"", ""PLAIN DOWN"", 3];";
class Effects
{
};
};
 
 
 
Is this Correct?
Link to comment
Share on other sites

  • 0
name="dome"; = change the name to something else to avoid confusion
text="Donation Trader";
type="waypoint"; = this should be a marker like mil_dot
 
i take it you adjusted your markers= number and sensors = number to match and the dome script is correct and in the right place?
Link to comment
Share on other sites

  • 0

Yea, This is the Coords for Devils Castle [6896.67,11427.9,0.001] and this is how we put it in the marker [6896.67,0.001,11427.9]. 

 

Is that Correct ? :S

 

Should it be like Type = "mil_dot" 

 

yes thats right

is the dome script ib the right place in your mission pbo?

Link to comment
Share on other sites

  • 0

No I mean more like. If you go into the dome you'll die in 10 sec if you dont leave If you're not added in the UID. I'll send a paste bin -----> http://pastebin.com/pXK0SG7k

 

You have to actually put the sensors in the sensors section, you can't just paste "class Sensors" wherever you want, and it work.

Also added a marker for you.

 

http://pastebin.com/Mhahcekt

 

Also ofc make sure you have dome.sqf in your mission.pbo.

Link to comment
Share on other sites

  • 0

Thank you so much vampire, the problem is that I think it is the coords which is the wrong place :S because all of my coords in the database have the 0,001 in the end :S

 

Coords are stored as PosATL or height above ground level, so unless your player was flying, their height is always going to be right above ground.

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...