Buck Blackwell
New Member
Hey All,
Recently new to this community. Started hosting an Epoch server a month ago on Dayz.St. I have programming and scripting experience and have been pouring through these forums adding all kinds of cool scripts to our server and we have been having a blast! I have had little to no problems with editing files and adding features until now and I need a second pair of eyes to go over my mission.sqm and hopefully point out what my stupid ass is missing. lol. Thanks for your help in advance!
I have been trying to add some simple Class Sensors and Markers. Easy stuff right? For some reason I cannot get it to work. Every time I make a change to the mission.sqm markers and/or sensors I get stuck on the dreaded "Wait for host" screen of death! When I added Safe zone Traders, I ended up just modifying the existing Trader Sensors because adding my own kept causing it to fail. I have googled my brains out and ripped these forums apart for answers. As far as I can tell I'm doing it all correctly but it will not stick. I will Paste below my code. Anyone that can help, I greatly appreciate it!!
Recently new to this community. Started hosting an Epoch server a month ago on Dayz.St. I have programming and scripting experience and have been pouring through these forums adding all kinds of cool scripts to our server and we have been having a blast! I have had little to no problems with editing files and adding features until now and I need a second pair of eyes to go over my mission.sqm and hopefully point out what my stupid ass is missing. lol. Thanks for your help in advance!
I have been trying to add some simple Class Sensors and Markers. Easy stuff right? For some reason I cannot get it to work. Every time I make a change to the mission.sqm markers and/or sensors I get stuck on the dreaded "Wait for host" screen of death! When I added Safe zone Traders, I ended up just modifying the existing Trader Sensors because adding my own kept causing it to fail. I have googled my brains out and ripped these forums apart for answers. As far as I can tell I'm doing it all correctly but it will not stick. I will Paste below my code. Anyone that can help, I greatly appreciate it!!
Code:
};
class Markers
{
items=18;
class Item0
{
position[]={7839.6055,381.33774,8414.7324};
name="center";
type="Empty";
};
class Item1
{
position[]={-7245.377,365.98782,19535.367};
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[]={13510.764,0.44504455,5249.3027};
name="spawn4";
type="Empty";
};
class Item7
{
position[]={6326.4805,304.99265,7809.4888};
name="Tradercitystary";
text="Trader City Stary";
type="mil_circle";
colorName="ColorBlack";
};
class Item8
{
position[]={4361.4937,3,2259.9526};
name="wholesaleSouth";
text="Wholesaler";
type="mil_dot";
colorName="ColorBlack";
};
class Item9
{
position[]={13532.614,3.0083523,6355.9497};
name="boatTraderEast";
text="Wholesaler";
type="mil_dot";
colorName="ColorBlack";
};
class Item10
{
position[]={7989.3354,0.30462033,2900.9946};
name="BoatDealerSouth";
text="Boat Dealer";
type="mil_dot";
colorName="ColorBlack";
};
class Item11
{
position[]={12060.471,158.85699,12638.533};
name="AirVehicles";
text="Aircraft Dealer";
type="mil_dot";
colorName="ColorGreen";
};
class Item12
{
position[]={1606.6443,289.70795,7803.5156};
name="BanditDen";
text="Bandit Camp";
type="mil_dot";
colorName="ColorRed";
};
class Item13
{
position[]={11447.91,317.27109,11364.536};
name="Klen";
text="Trader City Klen";
type="mil_circle";
colorName="ColorGreen";
};
class Item14
{
position[]={13441.16,1.1406164,5429.3013};
name="BoatDealerEast";
text="Boat Dealer";
type="mil_dot";
colorName="ColorBlack";
};
class Item15
{
position[]={4064.2258,365.13501,11665.938};
name="TradercityBash";
text="Trader City Bash";
type="mil_circle";
colorName="ColorBlack";
};
class Item16
{
position[]={12944.227,210.19823,12766.889};
name="HeroTrader";
text="Hero Camp";
type="mil_dot";
colorName="ColorBlue";
};
class Item17
{
position[]=[13418.8,0.002,2798.1];
name="BanditHQ";
text="Bandit HQ";
type="HQ";
colorName="ColorRed";
};
};
class Sensors
{
items=6;
class Item0
{
position[]={6325.6772,304.99033,7807.7412};
a=100;
b=100;
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="zonestary";
expCond="(player distance zonestary) < 100;";
expActiv="TitleText[""Now entering trader city Stary"",""PLAIN DOWN""]; canbuild = false; inSafeZone = true;";
expDesactiv="TitleText[""Now leaving trader city Stary"",""PLAIN DOWN""]; canbuild = true; insafezone = false;";
class Effects
{
};
};
class Item1
{
position[]={4063.4226,365.00577,11664.19};
a=100;
b=100;
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="zonebash";
expCond="(player distance zonebash) < 100;";
expActiv="TitleText[""Now entering trader city Bash"",""PLAIN DOWN""]; canbuild = false; inSafeZone = true;";
expDesactiv="TitleText[""Now leaving trader city Bash"",""PLAIN DOWN""]; canbuild = true; insafezone = false;";
class Effects
{
};
};
class Item2
{
position[]={11447.472,317.26886,11364.504};
a=100;
b=100;
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="zoneklen";
expCond="(player distance zoneklen) < 100;";
expActiv="TitleText[""Now entering trader city Klen"",""PLAIN DOWN""]; canbuild = false; inSafeZone = true;";
expDesactiv="TitleText[""Now leaving trader city Klen"",""PLAIN DOWN""]; canbuild = true; insafezone = false;";
class Effects
{
};
};
class Item3
{
position[]={1606.6443,289.70795,7803.5156};
a=100;
b=100;
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="zonebandit";
expCond="(player distance zonebandit) < 100;";
expActiv="canbuild = false; insafezone = true;";
expDesactiv="canbuild = true; insafezone = false;";
class Effects
{
};
};
class Item4
{
position[]={12944.227,210.19823,12766.889};
a=100;
b=100;
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="zonehero";
expCond="(player distance zonehero) < 100;";
expActiv="canbuild = false; insafezone = true;";
expDesactiv="canbuild = true; insafezone = false;";
class Effects
{
};
};
class Item5
{
position[]=[13418.8,0.002,2798.1];
a=200;
b=200;
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="bandithq";
expCond="(player distance bandithq) < 200;";
expActiv="TitleText[""You have triggered a silent alarm!!"",""PLAIN DOWN""]; canbuild = false; inSafeZone = false;";
expDesactiv="TitleText[""Enemy reinforcements inbound!"",""PLAIN DOWN""]; canbuild = true; insafezone = false;";
class Effects
{
};
};
};
);