Tricks Posted June 16, 2014 Report Share Posted June 16, 2014 Anyone have a speed limit script for AGN safezones? The one I can find on here is for Maca's safezones. Thanks! Link to comment Share on other sites More sharing options...
0 Tricks Posted June 16, 2014 Author Report Share Posted June 16, 2014 Bump Link to comment Share on other sites More sharing options...
0 DarrikVkir Posted June 16, 2014 Report Share Posted June 16, 2014 I'd hope it wouldn't be too difficult to modify for AGN, however, I don't know what script you found. Link to comment Share on other sites More sharing options...
0 Tricks Posted June 16, 2014 Author Report Share Posted June 16, 2014 Haven't found one yet... Link to comment Share on other sites More sharing options...
0 DarrikVkir Posted June 16, 2014 Report Share Posted June 16, 2014 On 6/16/2014 at 1:43 AM, Tricks said: The one I can find on here is for Maca's safezones. Thanks! This is what I was referring to. Link to comment Share on other sites More sharing options...
0 MGT Posted June 16, 2014 Report Share Posted June 16, 2014 Just create a file called speedlimit.sqf (code below) in your mission file scripts folder speedlimit = [] spawn { _maxspeed = 25; while {!canbuild} do { waitUntil {vehicle player != player and !((vehicle player) isKindOf 'Air')}; _vehicle = vehicle player; _curspeed = speed _vehicle; if (_curspeed > _maxspeed) then { _vel = velocity _vehicle; _dir = direction _vehicle; _speed = _curspeed - _maxspeed; _vehicle setVelocity [(_vel select 0)-((sin _dir)*_speed),(_vel select 1)- ((cos _dir)*_speed),(_vel select 2)]; }; sleep 0.1; }; }; I call this from the sensors in the mission.sqm as per below, 1 of my sensors, so you can edit your own to call the speedlimit.sqf 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) < 75;"; expActiv="canbuild = false; clearzeds = [] execVM ""custom\clearzeds.sqf""; speedlimit = [] execVM ""custom\speedlimit.sqf""; titleText [""\n\nEntering the trader - god mode on"", ""PLAIN DOWN"", 1];"; expDesactiv="canbuild = true; terminate clearzeds; terminate speedlimit; titleText [""\n\nLeaving the trader - god mode off"", ""PLAIN DOWN"", 1];"; class Effects { }; }; Hope this helps Link to comment Share on other sites More sharing options...
0 Tricks Posted June 17, 2014 Author Report Share Posted June 17, 2014 Great thanks MGT I will try it tonight! MGT 1 Link to comment Share on other sites More sharing options...
0 Tricks Posted June 17, 2014 Author Report Share Posted June 17, 2014 Hey MGT, I tried it and it didn't work. There are no errors either. Very odd. Link to comment Share on other sites More sharing options...
0 TNT Posted July 11, 2014 Report Share Posted July 11, 2014 i use Maca's , i just added vehicle god mod its pretty easy Link to comment Share on other sites More sharing options...
0 itsatrap Posted July 11, 2014 Report Share Posted July 11, 2014 Hos did you fix the change clothe problem? Link to comment Share on other sites More sharing options...
0 Tricks Posted July 13, 2014 Author Report Share Posted July 13, 2014 On 7/11/2014 at 11:15 PM, itsatrap said: Hos did you fix the change clothe problem? Wrong post my friend. Link to comment Share on other sites More sharing options...
Question
Tricks
Anyone have a speed limit script for AGN safezones? The one I can find on here is for Maca's safezones. Thanks!
Link to comment
Share on other sites
10 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now