Jump to content

IceEagle132

Members
  • Content Count

    376
  • Joined

  • Last visited

  • Days Won

    13

Everything posted by IceEagle132

  1. @Dark if you have a fix post it you don't need to ask to post it.
  2. Yea.....So this is no longer needed since you can add it in by default now. they mad a tab for you to add them in.
  3. Then cut the ropes before storing?
  4. That's a mod and I give no mode support. Sorry man.
  5. Author: [STELS]Zealot 1. Inside Altis_Life.Altis make a new folder called scripts. Inside that folder make a new file called zlt_fastrope.sqf: /* v1g Fast Rope by [STELS]Zealot */ #define MAX_SPEED_WHILE_FASTROPING 10 #define MAX_SPEED_ROPES_AVAIL 20 #define STR_TOSS_ROPES "Toss Ropes" #define STR_FAST_ROPE "Fast Rope (Press Space)" #define STR_CUT_ROPES "Cut Ropes" if (isdedicated) exitwith {}; waituntil {player == player}; zlt_rope_ropes = []; zlt_mutexAction = false; zlt_rope_helis = ["O_Heli_Light_02_unarmed_F","O_Heli_Light_02_F","B_Heli_Transport_01_F","B_Heli_Transport_01_camo_F","O_Heli_Attack_02_F","O_Heli_Attack_02_black_F","I_Heli_Transport_02_F","B_Heli_Light_01_F"]; zlt_rope_helidata = [ [ ["O_Heli_Light_02_unarmed_F", "O_Heli_Light_02_F"], [1.35,1.35,-24.95], [-1.45,1.35,-24.95] ], [ ["B_Heli_Transport_01_F", "B_Heli_Transport_01_camo_F"], [-1.11,2.5,-24.7], [1.11,2.5,-24.7] ], [ ["O_Heli_Attack_02_F", "O_Heli_Attack_02_black_F"], [1.3,1.3,-25], [-1.3,1.3,-25] ], [ ["I_Heli_Transport_02_F"], [0,-5,-26], [] ], [ ["B_Heli_Light_01_F"], [0.6,0.5,-25.9], [-0.8,0.5,-25.9] ] ]; zlt_fnc_tossropes = { private ["_heli","_ropes","_oropes","_rope"]; _heli = _this; _ropes = []; _oropes = _heli getvariable ["zlt_ropes",[]]; if (count _oropes != 0 ) exitwith {}; _i = 0; { if ((typeof _heli) in (_x select 0)) exitwith { _ropes = _ropes + [_x select 1]; if ( count (_x select 2) !=0 ) then { _ropes = _ropes + [_x select 2]; }; }; _i = _i +1; } foreach zlt_rope_helidata; sleep random 0.3; if ( count (_heli getvariable ["zlt_ropes",[]]) != 0 ) exitwith { zlt_mutexAction = false; }; //_heli animateDoor ['door_R', 1]; //_heli animateDoor ['door_L', 1]; { _rope = createVehicle ["land_rope_f", [0,0,0], [], 0, "CAN_COLLIDE"]; _rope setdir (getdir _heli); _rope attachto [_heli, _x]; _oropes = _oropes + [_rope]; } foreach _ropes; _heli setvariable ["zlt_ropes",_oropes,true]; _heli spawn { private ["_heli","_ropes"]; _heli = _this; while {alive _heli and count (_heli getvariable ["zlt_ropes", []]) != 0 and abs (speed _heli) < MAX_SPEED_ROPES_AVAIL } do { sleep 0.3; }; _ropes = (_heli getvariable ["zlt_ropes", []]); {deletevehicle _x} foreach _ropes; _heli setvariable ["zlt_ropes", [], true]; }; }; zlt_fnc_ropes_cond = { _veh = vehicle player; _flag = (player == driver _veh) and (_veh != player) and {(not zlt_mutexAction)} and {count (_veh getvariable ["zlt_ropes", []]) == 0} and { (typeof _veh) in zlt_rope_helis } and {alive player and alive _veh and (abs (speed _veh) < MAX_SPEED_ROPES_AVAIL ) }; _flag; }; zlt_fnc_fastropeaiunits = { private ["_heli","_grunits"]; diag_log ["zlt_fnc_fastropeaiunits", _this]; _heli = _this select 0; _grunits = _this select 1; dostop (driver _heli ); (driver _heli) setBehaviour "Careless"; (driver _heli) setCombatMode "Blue"; _heli spawn zlt_fnc_tossropes; [_heli, _grunits] spawn { private ["_units","_heli"]; sleep random 0.5; _units = _this select 1; _heli = (_this select 0); _units = _units - [player]; _units = _units - [driver _heli]; {if (!alive _x or isplayer _x or vehicle _x != _heli) then {_units = _units - [_x];}; } foreach _units; { sleep (0.5 + random 0.7); _x spawn zlt_fnc_fastropeUnit; } foreach _units; waituntil {sleep 0.5; { (getpos _x select 2) < 1 } count _units == count _units; }; sleep 10; (driver _heli) doFollow (leader group (driver _heli )); (driver _heli) setBehaviour "Aware"; (driver _heli) setCombatMode "White"; _heli call zlt_fnc_cutropes; }; }; zlt_fnc_fastrope = { diag_log ["fastrope", _this]; zlt_mutexAction = true; sleep random 0.3; if (player == leader group player) then { [vehicle player, units group player] call zlt_fnc_fastropeaiunits; }; player call zlt_fnc_fastropeUnit; zlt_mutexAction = false; }; zlt_fnc_fastropeUnit = { private ["_unit","_heli","_ropes","_rope","_zmax","_zdelta","_zc"]; _unit = _this; _heli = vehicle _unit; if (_unit == _heli) exitWith {}; _ropes = (_heli getvariable ["zlt_ropes", []]); if (count _ropes == 0) exitwith {}; _rope = _ropes call BIS_fnc_selectRandom; _zmax = 22; _zdelta = 7 / 10 ; _zc = _zmax; _unit action ["eject", _heli]; _unit switchmove "gunner_standup01"; _unit setpos [(getpos _unit select 0), (getpos _unit select 1), 0 max ((getpos _unit select 2) - 3)]; while {alive _unit and (getpos _unit select 2) > 1 and (abs (speed _heli)) < MAX_SPEED_WHILE_FASTROPING and _zc > -24} do { _unit attachTo [_rope, [0,0,_zc]]; _zc = _zc - _zdelta; sleep 0.1; }; _unit switchmove ""; detach _unit; }; zlt_fnc_cutropes = { _veh = _this; _ropes = (_veh getvariable ["zlt_ropes", []]); {deletevehicle _x} foreach _ropes; _veh setvariable ["zlt_ropes", [], true]; //_veh animateDoor ['door_R', 0]; //_veh animateDoor ['door_L', 0]; }; zlt_fnc_removeropes = { _veh = vehicle player; if (player == driver _veh) then { (vehicle player) call zlt_fnc_cutropes; }; }; zlt_fnc_createropes = { zlt_mutexAction = true; (vehicle player) call zlt_fnc_tossropes; zlt_mutexAction = false; }; player addAction["<t color='#ffff00'>"+STR_TOSS_ROPES+"</t>", zlt_fnc_createropes, [], -1, false, false, '','[] call zlt_fnc_ropes_cond']; player addAction["<t color='#ff0000'>"+STR_CUT_ROPES+"</t>", zlt_fnc_removeropes, [], 98, false, false, '','not zlt_mutexAction and count ((vehicle player) getvariable ["zlt_ropes", []]) != 0']; player addAction["<t color='#00ff00'>"+STR_FAST_ROPE+"</t>", zlt_fnc_fastrope, [], 99, false, false, '','not zlt_mutexAction and count ((vehicle player) getvariable ["zlt_ropes", []]) != 0 and player != driver vehicle player']; player addEventHandler ["Respawn", { player addAction["<t color='#ffff00'>"+STR_TOSS_ROPES+"</t>", zlt_fnc_createropes, [], -1, false, false, '','[] call zlt_fnc_ropes_cond']; player addAction["<t color='#ff0000'>"+STR_CUT_ROPES+"</t>", zlt_fnc_removeropes, [], 98, false, false, '','not zlt_mutexAction and count ((vehicle player) getvariable ["zlt_ropes", []]) != 0']; player addAction["<t color='#00ff00'>"+STR_FAST_ROPE+"</t>", zlt_fnc_fastrope, [], 99, false, false, '','not zlt_mutexAction and count ((vehicle player) getvariable ["zlt_ropes", []]) != 0 and player != driver vehicle player']; }]; 2. inside Altis_Life.Altis\init.sqf add: [] execVM “scripts\zlt_fastrope.sqf”; All Done Enjoy.
  6. Authors: Lowheartrate & Panada Old Post Here 1. Make a File inside core\actions Called: fn_gagAction.sqf /* File: fn_gagAction.sqf Author: Lowheartrate & Panda */ private["_unit"]; _unit = cursorTarget; if(isNull _unit) exitWith {}; if((player distance _unit > 3)) exitWith {}; if((_unit getVariable "gagged")) exitWith {}; if(side _unit == west) exitWith {}; if(player == _unit) exitWith {}; if(!isPlayer _unit) exitWith {}; _unit setVariable["gagged",true,true]; [player] remoteExec ["life_fnc_gagged", _unit,false]; hint format["You gagged %1.", _unit getVariable["realname",_unit]]; life_inv_gagkit = life_inv_gagkit - 1; 2. Make a File inside core\actions Called: fn_gagged.sqf /* File: fn_gagged.sqf Author: Lowheartrate & Panda */ private["_gagger"]; _gagger = [_this,0,Objnull,[Objnull]] call BIS_fnc_param; hint format["You have been gagged by %1.", _gagger getVariable["realname",_gagger]]; titleText ["You have a gag over your mouth, you can no longer talk!", "PLAIN"]; enableRadio false; 5 enableChannel false; 3 enableChannel false; 4 enableChannel false; waitUntil{!(player getVariable ["gagged",false]) OR !(player getVariable ["restrained",false])}; hint format["The gag was removed, you can again speak!"]; titleText ["You're not gagged", "PLAIN"]; enableRadio true; 5 enableChannel true; 3 enableChannel true; 4 enableChannel true; 3. Make a File inside core\actions Called: fn_removeGagAction.sqf /* File: fn_removeGagAction.sqf Author: Lowheartrate & Panda */ private["_unit"]; _unit = cursorTarget; if(isNull _unit) exitWith {}; if(!(_unit getVariable "gagged")) exitWith {}; if(player == _unit) exitWith {}; if(!isPlayer _unit) exitWith {}; _unit setVariable["gagged",false,true]; 4. Make a File inside Functions.hpp and add inside class actions: class gagAction {}; class gagged {}; class removeGagAction {}; 5. Now open Config_vItems.hpp and add: class gagkit { variable = "gagkit"; displayName = "STR_Item_GagKit"; weight = 1; buyPrice = 5000; sellPrice = 2500; illegal = true; edible = -1; icon = "textures\icons\gag.paa"; }; 6. Now open stringtable.xml and add: <Key ID="STR_Item_GagKit"> <Original>Gag Kit</Original> </Key> 7. Next in Altis_Life.Altis\core\fn_setupActions.sqf add in case civilian: //Add Gag life_actions = life_actions + [player addAction["<t color='#FF0000'>Put On Gag</t>",life_fnc_gagAction,"",0,false,false,"",'!isNull cursorTarget && player distance cursorTarget < 3.5 && isPlayer cursorTarget && (cursorTarget getVariable["restrained",FALSE]) && !(cursorTarget getVariable ["gagged",FALSE]) && life_inv_gagkit > 0']]; //Remove Gag life_actions = life_actions + [player addAction["<t color='#FFCC00'>Remove Gag</t>",life_fnc_removeGagAction,"",0,false,false,"",'!isNull cursorTarget && player distance cursorTarget < 3.5 && isPlayer cursorTarget && (cursorTarget getVariable["restrained",FALSE]) && (cursorTarget getVariable ["gagged",FALSE])']]; 8. Lasr Open CfgRemoteExec.hpp and add: F(life_fnc_gagged,CLIENT) you That's it. Enjoy gag.paa
  7. This a older script from the old Altis Life Site. Author: RYN_Ryan Updated By: AlaskaVet All Edits are done in your life_server 1. inside life_server\init.sqf Add: [] execVM "\life_server\Functions\Airdrop\config.sqf"; [] execVM "\life_server\Functions\Airdrop\fn_generateAirdropAuto.sqf"; 2. Open life_server\config.cpp under class TON_System Add: class Airdrop { file = "\life_server\Functions\Airdrop"; class generateAirdrop {}; }; 3. Put the Airdrop folder in life_server\Functions And your All done. To edit were the airdrops drop, Open life_server\Functions\Airdrop\config.sqf Add the cords that you want in this line. All these are near Kavala. airdrop_positions = [[5228.49,12576.7,0],[5560.94,14875.2,0],[7138.13,13083,0],[5863.29,10692.5,0]]; To change the time of how often the drops happen, Open life_server\Functions\Airdrop\config.sqf This is set for 1 every 2 hours _airdrop_time_interval = [1,2]; Enjoy AlaskaVet Airdrop.rar
  8. What dose your server have to offer? What would make people want to play on your server?
  9. This is a infiSTAR issue not ours. Message them on how to filter it out.
  10. Open file fn_p_openMenu.sqf Case civilian Add: ctrlShow[1210,false]; ctrlShow[2008,false]; Case West Add: ctrlShow[1207,false]; ctrlShow[1209,false];
  11. you have 0 erros in your server rpt and your EXTDB log?
  12. Should be working 100% I updated the post and did a fresh install on a fresh dev branch server so 5.0.0 and worked great.
  13. Everything works fine for me.
  14. This is very easy to follow. Just open your eyes and read.
  15. Just a heads up this is why your hud is broken. 9:34:28 Error in expression <'TahomaB' size='0.7' color='%2'>%1</t>",_healthtext,_colourDamage]); _thirsti> 9:34:28 Error position: <_healthtext,_colourDamage]); _thirsti> 9:34:28 Error Undefined variable in expression: _healthtext 9:34:28 File mpmissions\__CUR_MP.Altis\core\scripts\custHud.sqf, line 211
  16. He is probably trying to host himself lol.
  17. On your website your server ip is 158.69.120.198:2312 But really your server ip is 167.114.101.193:2312 Also I could never fully get into your server seems like its stuck on setting up.
  18. Can't you just walk up to them and hit windows key?
  19. @rizzlebibz Why would people join your server? What dose your server offer that no other server dose. What kind of things do you have on your server? You need to be way more detailed if you are really looking for more players. Consider this you are not wanting people to just join and leave you want them to join and go oh I will come back. You are selling the server to them and you need to draw them In. Such as "We are a fun, great RP sever. We have allot to offer such as active events made by the users and Admins. We offer bounty hunting with the use if rubber bullets and hand cuffs. Many custom car skins. Many new kinds of drugs and other jobs." You get the idea.
  20. Could you give us some info on what your server may offer that some do not, Also what are some cool things in your server?
  21. Conformed working with Dev Branch 5.0.0
×
×
  • Create New...