Need help with adding protective dome area for bases.

Yesterday i tried and failed heavily...

Wait for host ,got it fixed and then got several starts with the thing ,that its missing somewhat.

Posting my setup for this later have to cut my hair off now ^^

send from my Galaxy S2 using tapatalk
 
beating my head against the wall on my protected dome problem cant seem to find my error i keep getting the waiting on host message and wont go any further

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[]={4002.23,11656.6,0.001};
a=200;
b=200;
activationBy="ANY";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="dome";
expCond="(vehicle player) in thislist;";
expActiv="dome = [] execVM ""dome.sqf"";";
expDesactiv="terminate dome; titleText [""You have left the Admin Dome."", ""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[]={13510.764,0.44504455,5249.3027};
name="spawn4";
type="Empty";
};
class Item7
{
position[]={4002.23,11656.6,0.001};
name="dome";
text="Admin Dome";
type="waypoint";
colorName="ColorRed";
};
};
};

any help on this would be greatly appreciated
 
here we go..

dome.sqf

// Dome
if ((getPlayerUID player) in [""uid""]) exitWith {
titleText ["Welcome to your dome", "PLAIN DOWN", 3];
};
// Everyone Else
titleText ["You are entering a restricted zone, please turn back now or face certain death...", "PLAIN DOWN", 3];
sleep 15;
titleText ["You have 1 minute to turn back...", "PLAIN DOWN", 3];
sleep 15;
titleText ["You have less than 45 seconds to leave..", "PLAIN DOWN", 3];
sleep 15;
titleText ["You have less than 30 seconds to leave.. We aren't kidding!", "PLAIN DOWN", 3];
removeAllWeapons player;
sleep 15;
titleText ["You have less than 15 seconds to leave (you're about to die!)...", "PLAIN DOWN", 3];
sleep 15;
titleText ["LAST WARNING , U MAY DIE!", "PLAIN DOWN", 3];
sleep 5;
player setDamage 1;
};


added this too my

mission.sqm

class Sensors
{
items=1;
class Item0
{
position[]={7053.4546,294,7718.9702};
a=500;
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.";
};
};
};




@testing :
mission.sqf

_this = createTrigger ["EmptyDetector", [12081.056, 12672.34, -159]];
_this setTriggerArea [450, 450, 0, false];
_this setTriggerActivation ["ANY", "PRESENT", true];
_this setTriggerTimeout [2, 4, 6, false];
siren = _this;
_this setSoundEffect ["$NONE$", "", "", "Sirene_EP1"];
_trigger_2 = _this;

created the trigger and wanted to add a siren (failed too)

also tried this tut >https://board.nitrado.net/support-de-german-only/support-gameserver/dayz/37720/tutorial-admin-base/
 
oh sh.. !

sry for that im not affiliated with scripting and so ,just a nice guy trying hosting dayz server !

thx machine !
trying it out

btw if anyone knows how to add a trigger with custom sound PLEASE TELL ME !
 
ok my progress now is that i'm stuck at loading and then the message : cannot load mission comes up ...

and seems that the hive not loading !
 
your using the wrong instance id then

Did you ever set up that database section for the uids? Also could you post an example of how it would look if we were to have multiple domes? Thinking of setting up multiple bases around the map for specific people
 
if you need a quick way of adding domes , and dont want to mess about and can allow people by guid and adjust the size and location in real time use the tsw its a great little tool , i have over 20 domes on my map over custom bases , it works spot on !
 
Yes but its easy to bypass it.so we decided to create a trigger and its much more better than this domes on tsw!


Next bad thing is that u have to run it all the time ,and a GPU is needed to run this app, and if u run it on xour server like i did for the last 4 months or so ,then its a pain for the cpu running 2 instances of them causing the cpu running on 100% .

Galaxy S2 using tapatalk
 
yeah was going to say the tsw needs to be on all the time , i just use a old laptop and leave it on lol , and it can be bypass but only seen it twice in 16 weeks well what i know of lol
 
Did you ever set up that database section for the uids? Also could you post an example of how it would look if we were to have multiple domes? Thinking of setting up multiple bases around the map for specific people

Looking at the code it seems that for each base (if you want different people to have access to each base) you would need to upload a new dome.sqf and change the name of it a little bit and edit the codes to compensate for the name change
 
nope have not got it into the database yet. When / if I do i will post it and make a tut for everyone to use.
 
  • Like
Reactions: Fox
Back
Top