Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by IceEagle132

  1. @Repentz Can you please give credit to papabear in your post at the top. Thanks AlaskaVet
  2. @Repentz I fixed your "this addAction" & your "slot_machine.hpp" and updated your post.
  3. @Timo I fixed your fn_physicalPhone.sqf
  4. @suffer4real please provide a link to the old post.
  5. Works fine for me. Good post @Repentz Screen Shot 1 Screen Shot 2
  6. Difficulty: Easy Publish by: AOS But Republished by AlaskaVet Source AltisLifeRPG.com cache * Using key Shift + Num 1 = Takwondo Motion(Traditional Martial arts in Korea) Shift + Num 2 = KneeBend(Slow) Shift + Num 3 = KneeBend(Fast) Shift + Num 4 = PushUp * Motion code Takwondo(Traditional Martial arts in korea) AmovPercMstpSnonWnonDnon_exerciseKata KneeBend(Slow) AmovPercMstpSnonWnonDnon_exercisekneeBendA KneeBend(Fast) AmovPercMstpSnonWnonDnon_exercisekneeBendB Pushup AmovPercMstpSnonWnonDnon_exercisePushup Key to cancel "V" [Tutorial] Add bottom code in this file core\functions\fn_keyHandler.sqf //Takwondo(Traditional Martial arts in korea)(Shift + Num 1) case 79: { if(_shift) then {_handled = true;}; if ((_shift) && (vehicle player == player)) then { cutText [format["Takwondo!!!"], "PLAIN DOWN"]; player playMove "AmovPercMstpSnonWnonDnon_exerciseKata"; }; }; //Kneebend Slow(Shift + Num 2) case 80: { if(_shift) then {_handled = true;}; if ((_shift) && (vehicle player == player)) then { cutText [format["KneeBend Slow baby~"], "PLAIN DOWN"]; player playMove "AmovPercMstpSnonWnonDnon_exercisekneeBendA"; }; }; //Kneebend Fast(Shift + Num 3) case 81: { if(_shift) then {_handled = true;}; if ((_shift) && (vehicle player == player)) then { cutText [format["KneeBend more Hard!!!Move!!Move!!"], "PLAIN DOWN"]; player playMove "AmovPercMstpSnonWnonDnon_exercisekneeBendB"; }; }; //Pushup(Shift + Num 4) case 75: { if(_shift) then {_handled = true;}; if ((_shift) && (vehicle player == player)) then { cutText [format["Pushup!!!!!!"], "PLAIN DOWN"]; player playMove "AmovPercMstpSnonWnonDnon_exercisePushup"; }; };
  7. And inside "@infiSTAR_A3\addons\" you have a3_infiSTAR.pbo? Also do you have "ARMA_LOAD.dll" inside your arma 3 folder? And it's not blocked?
  8. you have #include "infiSTAR_AdminMenu.hpp" inside of `description.ext`. And file call.fsm & infiSTAR_AdminMenu.hpp inside of your Altis_Life.Altis folder?
  9. "C:\Program Files (x86)\Steam\steamapps\common\Arma 3\arma3.exe" "[email protected];@life_server;@infiSTAR_A3" -noSplash -skipIntro -showScriptErrors
  10. Nice job. This is kinda fun. I was doing the same thing but in debug lol.
  11. Yep thanks updated main post. I forgot to change it from mine lol.
  12. Difficulty: Easy Author: Dexter Go inside of your script folder (If not there make one) Make a new file called "fn_IntroCam.sqf" /* File: fn_IntroCam.sqf Author: Dexter ( script might already be known, havent seen it yet though ) */ private ["_camera", "_camDistance","_randCamX","_randCamY","_camTime"]; _camDistance = 350; _randCamX = 75 - floor(random 150); _randCamY = 75 - floor(random 150); _camTime = 30; // you can change the time for sure, I adjusted mine to the intro music // the one below basically says that if you already joined the server once the time of the camera movement will be faster, else it might get annoying if(!life_firstSpawn) then { _camTime = 30;}; //intro move showCinemaBorder true; camUseNVG false; _camera = "camera" camCreate [(position player select 0)+_randCamX, (position player select 1)+_randCamY,(position player select 2)+_camDistance]; _camera cameraEffect ["internal","back"]; _camera camSetFOV 2.000; _camera camCommit 0; waitUntil {camCommitted _camera}; _camera camSetTarget vehicle player; _camera camSetRelPos [0,0,2]; _camera camCommit _camTime; waitUntil {camCommitted _camera}; _camera cameraEffect ["terminate","back"]; camDestroy _camera; life_firstSpawn = false; Now go inside Altis_Life.Altis\dialog\function and open file "fn_spawnConfirm.sqf" Go to the bottom and Find "life_firstSpawn" and make it look like this: if (life_firstSpawn) then { [] spawn { cutText ["","BLACK IN"]; [] execVM "script\fn_introcam.sqf"; life_firstSpawn = false; }; };
  13. Difficulty: Easy Author: Tyler O'Connor --------------------------------------------------------------------------------------------------------------------- #1. Go to "scripts" folder (create it if you don't have one) #2. create a file called "al_safezone.sqf" #3. Paste the following code inside /* File: al_safezone.sqf Edited by: Tyler - ALRPG Profile: http://goo.gl/VmgCB0 Description: Allows you to setup markers that execute the SafeZone script. Note: A lot of this is just C&P with different code. It's kinda simple to add / remove stuff */ #define POLICE_ZONES [["pz_xx", 50]] #define CIV_ZONES [["cz_xx", 50]] #define KOS_ZONES [["kos_xx", 50]] #define PZ_MSG "You are entering the Police Base. Do not Kill or Rob here!" #define CIV_MSG "You are entering a Civilian SafeZone. Do not commit crimes, rob people, or kill!" #define KOS_MSG "You are entering a KOS (Kill on sight) area. You may commit crimes, rob, and kill people without initation." if (isDedicated) exitWith {}; waitUntil {!isNull player}; switch (playerSide) do { case civilian: { player addEventHandler ["Fired", { if ({(_this select 0) distance getMarkerPos (_x select 0) < _x select 1} count POLICE_ZONES > 0) then { deleteVehicle (_this select 6); titleText [PZ_MSG, "PLAIN", 3]; }; }]; }; }; switch (playerSide) do { case civilian: { player addEventHandler ["Fired", { if ({(_this select 0) distance getMarkerPos (_x select 0) < _x select 1} count CIV_ZONES > 0) then { deleteVehicle (_this select 6); titleText [CIV_MSG, "PLAIN", 3]; }; }]; }; }; switch (playerSide) do { case civilian: { player addEventHandler ["Fired", { if ({(_this select 0) distance getMarkerPos (_x select 0) < _x select 1} count KOS_ZONES > 0) then { deleteVehicle (_this select 6); titleText [KOS_MSG, "PLAIN", 3]; }; }]; }; }; #4. Save any changes, and Proceed to the Arma 3 editor. (Make sure your mission is in your profile mission folder) #5. Make 3 new empty markers and name them this: pz_xx cz_xx kos_xx #6. Put them were you want your safe zones to be. #7. Now open up your "init.sqf" and add: [] execVM "scripts\al_safezone.sqf";
  14. Difficulty: Easy Create Original Idea : Kuchiha Authors: AlaskaVet Okay in core/items make a new file called "fn_weed.sqf" /* Author:AlaskaVet */ //Close inventory closeDialog 0; //Little hint then wait a litle before starting drugs effects hint "Winners don't use drugs !"; sleep 3; //Activate ppEffects we need "chromAberration" ppEffectEnable true; "radialBlur" ppEffectEnable true; enableCamShake true; _smoke = "SmokeShellGreen" createVehicle position player; if (vehicle player != player) then { _smoke attachTo [vehicle player, [-0.6,-1,0]]; } else { _smoke attachTo [player, [0,-0.1,1.5]]; }; //Let's go for 45secs of effetcs for "_i" from 0 to 44 do { "chromAberration" ppEffectAdjust [random 0.25,random 0.25,true]; "chromAberration" ppEffectCommit 1; "radialBlur" ppEffectAdjust [random 0.02,random 0.02,0.15,0.15]; "radialBlur" ppEffectCommit 1; addcamShake[random 3, 1, random 3]; sleep 1; }; //Stop effects "chromAberration" ppEffectAdjust [0,0,true]; "chromAberration" ppEffectCommit 5; "radialBlur" ppEffectAdjust [0,0,0,0]; "radialBlur" ppEffectCommit 5; sleep 6; //Deactivate ppEffects "chromAberration" ppEffectEnable false; "radialBlur" ppEffectEnable false; resetCamShake; Now go Into core/pmenu & open "fn_useItem.sqf" Add under like lock picks like so: case (_item isEqualTo "lockpick"): { [] spawn life_fnc_lockpick; closeDialog 0; }; case (_item isEqualTo "marijuana"): { if(([false,_item,1] call life_fnc_handleInv)) then { [] spawn life_fnc_weed; }; }; Then Go into file "Functions.h" find "class Items" and add: class weed {};
  15. Difficulty: Easy Create Original Idea : Black Lagoon Authors: Heimdall & AltisAurore.fr Source: Link Create a new file in core\civilian and name it: "fn_civPasseport.sqf" /* Montrer son passeport @Author : Heimdall @AltisAurore.fr */ private["_target","_message"]; _target = cursorTarget; if(playerSide != civilian) exitWith { hint "You're not a citizen!"; }; if( isNull _target) then {_target = player;}; if( !(_target isKindOf "Man") ) then {_target = player;}; if( !(alive _target) ) then {_target = player;}; _message = format["<img size='10' color='#FFFFFF' image='icons\civ.paa'/><br/><br/><t size='2.5'>%1</t><br/><t size='1'>Civilian Of Altis(edit depend the map)</t>", name player]; [player, _message] remoteExec ["life_fnc_passeportCiv",_target]; Then open file "CfgRemoteExec.hpp" And add F(life_fnc_passeportCiv,CLIENT) Then, create a second file in core\civilian and name it: "fn_passeportCiv.sqf" /* File : fn_PasseportCiv.sqf Create Original Idea : Black Lagoon Edit : Heimdall @AltisAurore.fr */ private["_msg"]; _msg = _this select 1; hintSilent parseText _msg; Go to "functions.h" file and below the "class civilian ", add : class passeportCiv {}; class civPasseport {}; Then in the core folder open file "fn_setupActions.sqf" add inside of "case civilian" //Passport life_actions = life_actions + [player addAction["<t color='#00FF00'>Present the passport</t>",life_fnc_civPasseport,"",1,false,true,"",' playerSide == civilian && !isNull cursorTarget && cursorTarget isKindOf "Man" ']]; Then add the "civ.paa" into your icons folder: civ.paa
  16. For FETCH_CONST Needs to be changed to __GETC__
  17. 2nd one is anti vdm and reports who is trying to do it.
  18. @suffer4real CREATE TABLE IF NOT EXISTS `players` ( `jail_time` int(11) NOT NULL DEFAULT '0' ) This is wrong this is trying to make a table. Not add to it. Instead use this: ALTER TABLE `players` ADD (`jail_time` int(11) NOT NULL DEFAULT '0');
  19. Just call a sound when the NPC puts his hand on his head. You can even call it to play from the NPC.
  20. Don't worry about it. This guy is a troll and is from XxXxXxXxX I hope he gets banned soon.
  21. Set your current ATM Balance 4.4+ life_atmbank = 10000;
  22. Author: Leon "DerL30N" Beeser" features: Individually Adjustable, relaxing in a Master.hpp, in the following areas: Any adjustment of the automatic save interval, the minimum is two minutes. (But I do not recommend less than 10 or 15 minutes to go) Locking the manual save, after every Autosave Duration of locking the manual storage, ie the time that the player after a "AutoSave" can not save manually. Only possible if the function of locking the manual save is enabled. Disabling and enabling a short; Or informative "Auto store information" in the system chat. (System Chat = Where you always see the BattleEye news, or see if a player enters the server or leaves) Intelligent saving: If a player manually his datastores / syncing, so waiting the script is completed by this operation AND also waiting for 5 minutes until it returns to work. This feature is designed to protect traffic. The 5 minutes arising from the time that must wait the skewer, until he, manually save, the next time, save for a manual. Important information : Developed in version 4.4r3 (Therefore, I recommend to test it once on lower versions. This does not remove the circumstances, there is no Life files are modified, except an entry in the init.sqf and descriptin.ext) An estimated compatible to version 4.0 (Please order tests and especially feedback) Please In attachment there are screenshots and the script followed, the installation HERE IN THE FORUM under installation. installation: 1. Add the following code below #include "config\Config_Master.hpp" inside description.ext #include "derleon\Scripts_Master.hpp" In Functions.hpp add: class autosave { file = "derleon\autosave"; class autoSaveInv {}; }; Inside Altis_Life.Altis \ core \ init.sqf Add the following code at the end: [] spawn life_fnc_autoSaveInv; Copy the downloaded folder named derleon from AutoSave_Scrip.zip And put it inside of Altis_Life.Altis
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.