Jump to content

node

Member
  • Content Count

    27
  • Joined

  • Last visited

  • Medals

Everything posted by node

  1. I am on an Altis Life mission file, is it possible to make it to were after a server restart if any players vehicles are not saved into a garage it will automatically save them? Here is the script for storing your vehicle(s) private["_nearVehicles","_vehicle"]; if(vehicle player != player) then { _vehicle = vehicle player; } else { _nearVehicles = nearestObjects[getPos (_this select 0),["Car","Air","Ship"],30]; //Fetch vehicles within 30m. if(count _nearVehicles > 0) then { { if(!isNil "_vehicle") exitWith {}; //Kill the loop. _vehData = _x getVariable["vehicle_info_owners",[]]; if(count _vehData > 0) then { _vehOwner = (_vehData select 0) select 0; if((getPlayerUID player) == _vehOwner) exitWith { _vehicle = _x; }; }; } foreach _nearVehicles; }; }; if(isNil "_vehicle") exitWith {hint localize "STR_Garage_NoNPC"}; if(isNull _vehicle) exitWith {}; [[_vehicle,false,(_this select 1)],"TON_fnc_vehicleStore",false,false] spawn life_fnc_MP; hint localize "STR_Garage_Store_Server"; life_garage_store = true;
  2. so like this profileNamespace setVariable ["life_garage_store",[]]; _vehicle = profileNamespace getVariable "life_garage_store"; if(isNil "_vehicle") exitWith {hint localize "STR_Garage_NoNPC"}; if(isNull _vehicle) exitWith {}; [[_vehicle,false,(_this select 1)],"TON_fnc_vehicleStore",false,false] spawn life_fnc_MP; hint localize "STR_Garage_Store_Server"; life_garage_store = true;
  3. Ok I have looked at the BIKI for it but how would I get it to save vehicles after restart? The biki doesn't really give a good description on how to use it.
  4. Whenever i joined my servers epoch server for the first time it loaded mission file and i got to female/male selection and before I can pick it kicks me back to lobby, now whenever I join it freezes and all i can hear is water and environmental sounds. And when i push WASD i can hear my self walking around.
  5. Is there a way you can edit the contents of a box to where it only has weapons of your choice in there?
  6. if its not necessary but then you don't have to but if you can add me on skype @ dylanhood999 so u can help me some more
  7. Hello, Trying to make a script that would make it to where you run around and you randomly find a IL(islandlifeitem) item. This is what I have tried so far. if (100 > random 100 then ['Donut',2] call INV_AddInventoryItem if (!isServer) exitWith {}; if (100 > random 100 then { if (random 2 = 1) then {['Donut',2] call INV_AddInventoryItem} else {exitWith {}}; }; Any ideas how I would do this?
  8. doesnt seem to be working i put the script into my mission and try it but it is not working
  9. if (!isDedicated) then { while {true} do { waitUntil {sleep 1; (alive player) && (isNull (finddisplay 49))}; _number = random 100; if (_number > 100) then { player addWeapon "DMR"; player addMagazine "20Rnd_762x51_DMR"; }; sleep 60; }; }; this is what im doing and it is not working
  10. Viba I want it to whenever I am playing such as walking around.
  11. Me and my friends are have our own server and we are running mods i.e. island life ffg and when we try to join it, it says please install accepted keys or removed files crap. for the mod paramaters what would we put? Or please something that will get us able to join
  12. would I still include _player = _this select 0;
  13. Change _min_factory = nil; to either _min_factory = _nil; or _min_factory = _nul;
  14. is there any way to make it to where it adds a item to your inventory randomly. Or did i do this script wrong/another way to do this script. _player = _this select 0; if (!isServer) exitWith {}; if ((100 > random 100 then { if (floor random 100 = 0) then //Item goes here else {exitWith {}}; };
  15. Hello! I am trying to make another shop for my mission file! Im wanting it to sell PMC equipment and I added the following to the master array //PMC WEAPONS ["m8pmc",["Waffe", "pistol"],["M8_Saw", "M8 Saw"],[20000, 20000], [1, "pmcl", "patrol_training"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["Colt1911pmc",["Waffe", "pistol"],["Colt1911", "Colt 1911"],[20000, 20000], [1, "pmcl", "patrol_training"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["M16A4pmc",["Waffe", "pistol"],["M16A4", "M16A4"],[40000, 20000], [1, "pmcl", "patrol_training"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["M24pmc",["Waffe", "pistol"],["M24", "M24"],[65000, 20000], [1, "pmcl", "patrol_training"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["M4A1pmc",["Waffe", "pistol"],["M4A1", "M4A1"],[40000, 15000], [1, "pmcl", "patrol_training"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["AA12_PMC",["Waffe", "pistol"],["AA12_PMC", "AA12"],[40000, 40000], [1, "pmcl", "patrol_training"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["M4A3_CCO_EP1",["Waffe", "rifle"],["M4A3_CCO_EP1", "M4A3 CCO"],[45000, 45000], [2, "pmcl", "sobr_training"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]]], ["RH_mp5kp_pmc",["Waffe", "rifle"],["RH_mp5kp", "MP5k Pistol"],[15000, 7500], [1, "pmcl", "pmcl"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["RH_mp5a5ris_pmc",["Waffe", "rifle"],["RH_mp5a5ris", "MP5a5 RIS"],[30000, 10000], [1, "pmcl", "pmcl"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["RH_m1911sd_pmc",["Waffe", "pistol"],["RH_m1911sd", "1911 Silenced"],[12500, 5000], [1, "pmcl", "pmcl"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["RH_anac_pmc",["Waffe", "pistol"],["RH_anac", "Colt Anaconda 44 Magnum"],[13000, 5000], [1, "pmcl", "pmcl"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["RH_p226_pmc",["Waffe", "pistol"],["RH_p226", "Sig p226"],[11000, 5000], [1, "pmcl", "pmcl"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["RH_ak104kgl_pmc",["Waffe", "rifle"],["RH_ak104kgl", "AK104 Kobra w/GL"],[45000, 45000], [1, "pmcl", "pmcl"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["RH_aks74u_pmc",["Waffe", "rifle"],["RH_aks74u", "AKs74u"],[35000, 12500], [1, "pmcl", "pmcl"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["RH_acrbaim_pmc",["Waffe", "rifle"],["RH_acrbaim", "Black ACR Aimpoint"],[45000, 15000], [1, "pmcl", "pmcl"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["RH_acrbeotech_pmc",["Waffe", "rifle"],["RH_acrbeotech", "Black ACR Eotech"],[45000, 15000], [1, "pmcl", "pmcl"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["RH_HK53aim_pmc",["Waffe", "rifle"],["RH_HK53aim", "HK53 Aimpoint"],[37500, 12500], [1, "pmcl", "pmcl"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["RH_m4sbreotech_pmc",["Waffe", "rifle"],["RH_m4sbreotech", "SBR M4 Eotech"],[45000, 1500], [2, "pmcl", "pmcl"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["RH_hk417acog_pmc",["Waffe", "rifle"],["RH_hk417acog", "HK417 ACOG"],[55000, 20000], [1, "pmcl", "pmcl"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["RH_m4macog_pmc",["Waffe", "rifle"],["RH_m4macog", "M4M Acog"],[50000, 15000], [2, "pmcl", "pmcl"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["RH_M4a1glacog_pmc",["Waffe", "rifle"],["RH_M4a1glacog", "M4A1 GL Acog"],[62500, 20000], [2, "pmcl", "pmcl"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["RH_M249pelcan_pmc",["Waffe", "rifle"],["RH_M249pelcan", "M249 Elcan"],[70000, 20000], [2, "pmcl", "pmcl"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["KPFS_PSL_pmc",["Waffe", "rifle"],["KPFS_PSL", "PSL"],[65000, 20000], [2, "pmcl", "pmcl"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["RH_mp5kpdwaim_pmc",["Waffe", "rifle"],["RH_mp5kpdwaim", "MP5K PDW CCO"],[50000, 10000], [1, "pmcl", "pmcl"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["RH_mp5kpdweot_pmc",["Waffe", "rifle"],["RH_mp5kpdweot", "MP5K PDW Eotech"],[50000, 10000], [1, "pmcl", "pmcl"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["RH_bizonk_pmc",["Waffe", "rifle"],["RH_bizonk", "Bizon Kobra"],[55000, 10000], [1, "pmcl", "pmcl"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], ["RH_tmpeot_pmc",["Waffe", "rifle"],["RH_tmpeot", "TMP Eotech"],[50000, 50000], [1, "mayorlic", "mayorlic"],[], "Makarov" call ISSE_Cfg_Weapons_GetName,"Makarov" call ISSE_Cfg_Weapons_GetDesc,[["steel", 5], ["copper", 1],["plastic", 1]] ], So the other shops open when you push E on them. And you can buy items on the left and sell items on the right.
  16. PMC1ClothingChange.sqf _obj = _this select 0; _caller = _this select 1; _id = _this select 2; _obj removeAction _id; variableAction1 = true; _newUnitModel = "PMC_skin_model"; _oldUnit = player; _orginalDir = getDir player; _orginalPosition = position player; _orginalView = cameraView; _playerSide = side player; _dummyGroup = createGroup _playerSide; [player] joinSilent grpNull; _newUnit = _dummyGroup createUnit [_newUnitModel, _orginalPosition, [],0,"CAN_COLLIDE"]; addSwitchableUnit _newUnit; setPlayable _newUnit; selectPlayer _newUnit; deletevehicle _oldUnit; _newUnit setpos _orginalPosition; _newUnit setdir _orginalDir; //You might need to transfer money, inventory and stuff like that too, just do it the same way as the dir, pos etc. player switchCamera _orginalView; init.sqf variableAction1 = false; Is this what it would kind of look like?
  17. Hello guys!! I would like to make a script for island life (Mod for Arma2 OA) that when you are playing as civilian you go up to the PMC Weapon Box scroll wheel and it will let you change your uniform to PMC uniforms but as well keeping the civ unit name such as Civ21 or Civ4. Any ideas how i would do this? :confused:
  18. Im trying to make a script to were you walk over a certain area and it adds ammo to you inventory. I want the trigger to detect a blufor player then after it detects it, it activates my addMagazine script. Cant get it to activate my addMagazine script. Do I need to add something in the condition box?
  19. THANKS!! It worked { player addMagazine "30Rnd_556x45_STANAG"; } foreach [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20 ,21,22,23,24,25,26,27,28,29,30]; thats the one that worked thanks!!
  20. Trigger: BLUFOR Present condition: this script = [] execVM "ScriptPickup.sqf" ScriptPickup.sqf player addMagazine ["30Rnd_556x45_STANAG", 30]; hint "You Found a 30 Round Magazine";
  21. First of all you need to google addon sync and download it. Then once your in the application click new server. Where it says item config URL paste this in there http://addons.tacticalcombatgaming.com/TCGIL/repo.7z once you add it push import server. After that go to download addons and check for addons then download addons. This stuff is important because these are the files you need to run one. After that it is about a 3gb download so wait for that to download. Start your game up once and make sure that you see new stuff in the ArmA 2 OA expansions. After that you need to either host a server from your Windows Server or buy a server from a company. After that you need to find a mission file for Island Life. After that you need to edit the mission file to your liking. ("If you want I get you your own mission file and edit everything to your liking for $10 via steam.") After that upload your mission file to your server box or whatever it is called and then you are done. Just remember that if you want people to like and stay on your server you need to be adding your own custom features every month. And becareful with TCG. Even tho they provided us with addons and what not. They can still be mean and after a server restart it might say "THIS IS NOT A OFFICIAL TCG SERVER - GAME FROZEN - blah blah blah" I suggest making a anti freeze or just waiting a few minutes before joining for it to wear off.
  22. Well first you need to know basics of scripting and how to edit swf files, then you must get a mission file. The mission file has everything you need for the server. HAVE fun!
×