tonnic
-
Posts
7 -
Joined
-
Last visited
-
Donations
0.00 GBP
Content Type
Articles
Forums
Events
Gallery
Posts posted by tonnic
-
-
Is there a way that I can edit the file somewhere to have the start time random? People sometimes like playing day/night and I have my server reboot often.. If I'm not on the server when it restarts, then I can't change the time... is there a more elegant solution by adding a 'random' start time?
-
Agreed, would love to see some BE filters...
-
Hey no problem, we've all been there.
There is a couple of ways, one scripted definite way and the other is more of an ethical fix. Your pilots should be in the pilot seat of their aircraft correct? so they can lock the controls or unlock at their will, however if your pilots are (for some reason) doing something they shouldn't be, another player will happily highlight this for you and take his helicopter away from the undeserving pilot.
As for the scripting way, it would be similar to the aforementioned however with a difference (i can't remember off the bat what it would say) here:
if (driver _v == player) then { // if player is driver of that vehicle
I would say the ethical solution fares better though!
The problem lies when a helo goes down and people are spawn camping the helos and jump in them before the pilot gets into the helicopter.. Perhaps not allowing the 'take controls' unless you are a pilot. ... unfortunately I have never scripted for Arma... where could you point me to look into this further?
-
The report button is to report topics with questionable content so as they can be looked at by admins in a timely fashion. Not to report that your server isn't working.
For example one might report this post for being excessively troll like.
Note: don't report for excess trolling I was demonstrating an example.
Ya sorry, I thought I hit reply and then I noticed it didn't show here... my bad.
This line doesn't work any more, see the post above your last post for the fix, I''m not sure how you missed it but there's the fix...omg.... I posted the wrong one......it's one of those weeks...
OK.....now that I have facepalmed a couple of times and let this week catch up to me.... sorry again guys...... Is there a way to prevent people bypassing the pilot slot by jumping in as co-pilot and then taking controls?
-
Ummmm.... Because the reported fix doesn't work???
-
This is what my pilotCheck.sqf looks like and it still doesn't work. I'm using 2.65b Altis.
/*::: ::: ::: ::: ::: ::::+: :+: :+: :+: :+: :+:+:+ +:+ +:+ +:+ +:+ +:++#+ +#+ +#+ +#+ +#+ +#++#+ +#+ +#+ +#+ +#+ +#+#+# #+# #+# #+# #+# #+#### ### ### ### ### ###| AHOY WORLD |PilotCheck.sqf was created by Kamaradski [AW]You may alter, use or change this code as you wish as long as you keep the original authors name in it.*/kARRdisallowed = ["B_Heli_Transport_01_F","I_Heli_Transport_02_F","B_Heli_Transport_01_camo_F","B_Heli_Light_01_armed_F","B_Heli_Light_01_F"];while {true} do {waitUntil {sleep 0.5; alive player}; // wait till player is aliveif (typeOf player != "B_Helipilot_F") then { // if player is type of pilotprivate "_v"; // set _v for this client only (private)while {alive player} do { // as long as player is alivewaitUntil {sleep 0.5; vehicle player != player}; // wait till player enters a vehiclekSTRvehname = typeOf vehicle player; // Get vehicle classname of current vehicle_v = vehicle player; // SET _v as the vehicle the player is inif ( kSTRvehname in kARRdisallowed ) then { // if the vehicle is in the dis-allowed listif (driver _v == player) then { // if player is driver of that vehicleplayer action ["eject", _v]; // eject playerwaitUntil {sleep 0.5; vehicle player == player}; // wait till player is booted out of the vehicleplayer action ["engineOff", _v]; // turn off the engine of the vehiclehint "You must be a pilot to fly!"; // message on screen};};};} else { // if player is not pilotwaitUntil {sleep 0.5; !alive player}; // Wait till player is alive};};
Random Start Time
in AW Invade & Annex Development
Posted
If you know how to do this, that would be awesome,....maybe not every 2 hours, but every 4 hours or so?. In regards to the server restarts, I do put up 30 min, 15 min, 10 min, 5 min, 2 min, 1 min, 30 sec, 15 sec, 10 sec, 9 sec, 8 sec, 7 sec, 6 sec, 5 sec, 4 sec, 3 sec, 2 sec, and 1 sec warnings on the server .
I had it restart 4 times a day just to ensure server performance, but I just changed it to 1 time at night (5am pst) and I'll keep an eye on performance. Anyways, how would someone get the day cycle to go much faster?