Jump to content

Sensors mission.sqm Radiation HELP


Recommended Posts

Below is my mission.sqm and I am trying to get this radiation mod working. Problem is that the rest of the map is gaining players health...where the radiation zone is taking it away. I only want the radiation zone to take away health, and for the rest of the map to stay the same. Can anyone help
 
Thanks everyone.
 
 
 
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; inTraderCity = ""Stary"";";
expDesactiv="TitleText[""Now leaving trader city Stary"",""PLAIN DOWN""]; canbuild = true; inTraderCity = ""Any"";";
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; inTraderCity = ""Bash"";";
expDesactiv="TitleText[""Now leaving trader city Bash"",""PLAIN DOWN""]; canbuild = true; inTraderCity = ""Any"";";
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; inTraderCity = ""Klen"";";
expDesactiv="TitleText[""Now leaving trader city Klen"",""PLAIN DOWN""]; canbuild = true; inTraderCity = ""Any"";";
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; inTraderCity = ""Bandit Trader"";";
expDesactiv="canbuild = true; inTraderCity = ""Any"";";
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; inTraderCity = ""Hero Trader"";";
expDesactiv="canbuild = true; inTraderCity = ""Any"";";
class Effects
{
};
};
class Item5
{
position[]={20.471615,0,1587.2903};
a=100;
b=100;
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="radzone";
expCond="(player distance radzone) < 200;";
expActiv="TitleText[""Your Geiger counter starts making noise...you are getting Radiation Poisoning and losing health"",""PLAIN DOWN""]; DZE_Quarantine = true;";
expDesactiv="TitleText[""Your Geiger counter is now silent."",""PLAIN DOWN""]; DZE_Quarantine = false;";
class Effects
{
};
};
};
};
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...