thomas withers
Member
does this script work?
cause i wanna get rid of tsw !
well im just about to test it matey
i will let you know
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
does this script work?
cause i wanna get rid of tsw !
class Sensors
{
items=1;
class Item0
{
position[]={13596.294,34.185841,3027.1653};
a=850;
b=550;
angle=-150.02699;
activationBy="ANY";
repeating=1;
age="UNKNOWN";
name="noflyzone";
expCond="(vehicle player) in thislist && (vehicle player) isKindOf ""Air""; ";
expActiv="noflyzone = [] execVM ""fixes\noflyzone.sqf"";";
expDesactiv="terminate noflyzone; titleText [""You have left the Restricted Area!"", ""PLAIN DOWN"", 3];";
class Effects
{
};
};
};
};
// No Fly Zone
titleText ["You are entering restricted air space, please turn back now or face certain death...", "PLAIN DOWN", 3];
sleep 5;
titleText ["You have less than 30 seconds to leave.. We aren't kidding!", "PLAIN DOWN", 3];
sleep 15;
titleText ["You now have less than 10 seconds to leave (stay and die!)", "PLAIN DOWN", 3];
sleep 10;
titleText ["You were warned..!", "PLAIN DOWN", 3];
sleep 5;
titleText ["EMP!", "PLAIN DOWN", 3];
vehicle player setFuel 0;
};
class Sensors
{
class Item0
{
position[]={9845.4043,0,3606.3677};
a=650;
b=500;
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="AdminBase";
expCond="(vehicle player) in thislist;";
expActiv="AdminBase = [] execVM ""Scripts\adminbase.sqf"";";
expDesactiv="terminate AdminBase; titleText [""You have left the Admin Base!"", ""PLAIN DOWN"", 3];";
class Effects
{
titleType="TEXT";
titleEffect="PLAIN DOWN";
title="You are entering a restricted zone.";
};
};
class Item1
{
position[]={370.22241,0,296.13831};
a=650;
b=500;
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="DonatorBase1";
expCond="(vehicle player) in thislist;";
expActiv="DonatorBase1 = [] execVM ""Scripts\donatorbase.sqf"";";
expDesactiv="terminate DonatorBase1; titleText [""You have left Killzone1419s Base!"", ""PLAIN DOWN"", 3];";
class Effects
{
titleType="TEXT";
titleEffect="PLAIN DOWN";
title="You are entering a restricted zone.";
};
};
};
};
class Item6
{
position[]={6835.0513,7,4084.0942};
name="spawn4";
type="Empty";
};
items=1;
TryI keep getting stuck on "wait for host". I'm trying to add a restriction zone for my admin base, for a total of 4 admins. I'm also trying to add a restriction zone for each donators base, for example, I have a base in the South East of my Fallujah Map, for a player example "Bob". I want it so only he, and all my 4 admins are allowed in, but no one else, unless they are added to the UID list.
This is what I have set up in my mission.sqm:
Code:}; class Sensors { class Item0 { position[]={9845.4043,0,3606.3677}; a=650; b=500; activationBy="WEST"; repeating=1; interruptable=1; age="UNKNOWN"; name="AdminBase"; expCond="(vehicle player) in thislist;"; expActiv="AdminBase = [] execVM ""Scripts\adminbase.sqf"";"; expDesactiv="terminate AdminBase; titleText [""You have left the Admin Base!"", ""PLAIN DOWN"", 3];"; class Effects { titleType="TEXT"; titleEffect="PLAIN DOWN"; title="You are entering a restricted zone."; }; }; class Item1 { position[]={370.22241,0,296.13831}; a=650; b=500; activationBy="WEST"; repeating=1; interruptable=1; age="UNKNOWN"; name="DonatorBase1"; expCond="(vehicle player) in thislist;"; expActiv="DonatorBase1 = [] execVM ""Scripts\donatorbase.sqf"";"; expDesactiv="terminate DonatorBase1; titleText [""You have left Killzone1419s Base!"", ""PLAIN DOWN"", 3];"; class Effects { titleType="TEXT"; titleEffect="PLAIN DOWN"; title="You are entering a restricted zone."; }; }; }; };
This is pasted just after:
Code:class Item6 { position[]={6835.0513,7,4084.0942}; name="spawn4"; type="Empty"; };
On the "Class Markers" Line.
Is this code necessary?Above class Item0? Is this what's breaking my server?
Code:items=1;
class Markers
{
items=7;
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[]={13510.764,0.44504455,5249.3027};
name="spawn4";
type="Empty";
};
};
class Sensors
{
items=2;
class Item0
{
position[]={9845.4043,0,3606.3677};
a=650;
b=500;
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="AdminBase";
expCond="(vehicle player) in thislist;";
expActiv="AdminBase = [] execVM ""Scripts\adminbase.sqf"";";
expDesactiv="terminate AdminBase; titleText [""You have left the Admin Base!"", ""PLAIN DOWN"", 3];";
class Effects
{
titleType="TEXT";
titleEffect="PLAIN DOWN";
title="You are entering a restricted zone.";
};
};
class Item1
{
position[]={370.22241,0,296.13831};
a=650;
b=500;
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="DonatorBase1";
expCond="(vehicle player) in thislist;";
expActiv="DonatorBase1 = [] execVM ""Scripts\donatorbase.sqf"";";
expDesactiv="terminate DonatorBase1; titleText [""You have left Killzone1419s Base!"", ""PLAIN DOWN"", 3];";
class Effects
{
titleType="TEXT";
titleEffect="PLAIN DOWN";
title="You are entering a restricted zone.";
};
};
};
};
titleType="TEXT";
titleEffect="PLAIN DOWN";
title="You are entering a restricted zone.";
};
class Item6
{
position[]={6835.0513,7,4084.0942};
name="spawn4";
type="Empty";
};
};
class Sensors
{
items=2;
class Item0
{
position[]={9845.4043,0,3606.3677};
a=300;
b=300;
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="AdminBase";
expCond="(vehicle player) in thislist;";
expActiv="AdminBase = [] execVM ""Scripts\adminbase.sqf"";";
expDesactiv="terminate AdminBase; titleText [""You have left the Admin Base!"", ""PLAIN DOWN"", 3];";
class Effects
{
};
};
class Item1
{
position[]={370.22241,0,296.13831};
a=300;
b=300;
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="DonatorBase1";
expCond="(vehicle player) in thislist;";
expActiv="DonatorBase1 = [] execVM ""Scripts\donatorbase.sqf"";";
expDesactiv="terminate DonatorBase1; titleText [""You have left Killzone1419s Base!"", ""PLAIN DOWN"", 3];";
class Effects
{
};
};
};
};
class Intro
not that im aware of that would be good but people would be able to find the password out somehow, there i a script that locks a gate and you type the numbers on your num pad but i cant find it![]()
not that im aware of that would be good but people would be able to find the password out somehow, there i a script that locks a gate and you type the numbers on your num pad but i cant find it![]()
How can i make triggers?I'm in the 2D editor,i found the trigger button but what do i have to do?
I'm kinda sorta new to this whole thing too, but in previous changes I made to my own files for my server, to set a trigger all you gotta do is click on the trigger "tab" then double click where you want it. (It being the safe zone) After that you can basically customize it to whatever you want, say it will play music on when you enter the zone, or whatever you want it to do. But for this it is a place holder so you can easily find where you want your zone. You can actually edit it to see how far out you want it to be too.
After you have that done you can successfully save it. Go to where you saved it in the files, and since your using the 2D editor, I believe it automatically makes it into a mission.sqm file. But dont quote me on that because I use the 3D editor. If you open that using Notepad ++ you can find some lines of code that state the trigger. Just look for the brackets that have numbers in it. E.G. [4602.09,7259.12] It may be longer than that but it definately will have different numbers, because you will have it in a different spot.
Hope that helped!
Ps, sorry I am not very good at describing things in a short and sweet way. If you have any questions just hop in my ts (listed in my sig) and I will help you from there.