Jump to content

fun|sniper

Member
  • Content Count

    11
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About fun|sniper

  • Rank
    Private First Class
  1. Disbanded - Sorry for inconvenience
  2. Thank you for the quick replies, and for the help! Thats the last thing that had to be done with the server! thanks again! Derienzo
  3. Hello, I followed your guide and it did not work, I killed myself with a grenade and it just put me where I put the respawn_west marker... Thanks for help.
  4. Thank you for the quick reply but I am new to scripting... could you instruct me on how to go about doing this? Thank you
  5. Hello, I am currently making a base for my realism unit and I came to an issue when I had to make two (2) separate respawn areas for Aviation and infantry. I have looked through the BI Studio Archives and could not find anything on this that would help me. Infantry Marker Name: respawn_infantry Aviation Marker Name: respawn_air Both detachments are BluFor. I have seen the scripts where you choose which maker to spawn at, but that is not what I am looking for. I am looking for help with having the Air units and Infantry units spawn at two totally separate markers (So aviation is closer to Choppers/Jets and Infantry is closer to HALO/Ground Vehicles). Any suggestions/Help is appreciated! Thank you, Derienzo [5th RB]
  6. Hello, I have read several other topics on this matterbut I could not seem to find the problem with my code. I have added a new shop to the police hq in Altis Life and now the weapon shops do not work/show up blank. I have searched through the code in the NPC as well as the code in the weaponshop.cfg but I couldn't find errors, another set of eyes may help. I added Swat classes - NCP Init- this allowDamage false; this enableSimulation false; this addAction["SWAT Team Member Shop",life_fnc_weaponShopMenu,"swat_team_member"]; this addAction["SWAT Team Leader Shop",life_fnc_weaponShopMenu,"swat_team_leader"]; this addAction["SWAT Team Sniper Shop",life_fnc_weaponShopMenu,"swat_team_sniper"]; this addAction["SWAT Team Designated Marksman Shop",life_fnc_weaponShopMenu,"swat_team_designatedmarksman"]; this addAction["SWAT Team Machine Gunner Shop",life_fnc_weaponShopMenu,"swat_team_mg"]; fn_WeaponshopCfg - #include <macro.h> /* File: fn_weaponShopCfg.sqf Author: Bryan "Tonic" Boardwine Description: Master configuration file for the weapon shops. Return: String: Close the menu Array: [shop Name, [ //Array of items to add to the store [classname,Custom Name (set nil for default),price] ]] */ private["_shop"]; _shop = [_this,0,"",[""]] call BIS_fnc_param; if(_shop == "") exitWith {closeDialog 0}; //Bad shop type passed. switch(_shop) do { case "cop_basic": { switch(true) do { case (playerSide != west): {"You are not a cop!"}; default { ["Altis Cop Shop", [ ["arifle_sdar_F","Taser Rifle",20000], ["hgun_P07_snds_F","Stun Pistol",2000], ["hgun_P07_F",nil,7500], ["HandGrenade_Stone","Flashbang",1700], ["Binocular",nil,150], ["ItemGPS",nil,100], ["ToolKit",nil,250], ["muzzle_snds_L",nil,650], ["FirstAidKit",nil,150], ["Medikit",nil,1000], ["NVGoggles",nil,2000], ["16Rnd_9x21_Mag",nil,50], ["20Rnd_556x45_UW_mag","Taser Rifle Magazine",125] ] ]; }; }; }; case "med_basic": { switch (true) do { case (playerSide != independent): {"You are not an EMS Medic"}; default { ["Hospital EMS Shop", [ ["ItemGPS",nil,100], ["Binocular",nil,150], ["ToolKit",nil,250], ["FirstAidKit",nil,150], ["Medikit",nil,500], ["NVGoggles",nil,1200], ["B_FieldPack_ocamo",nil,3000] ] ]; }; }; }; case "cop_patrol": { switch(true) do { case (playerSide != west): {"You are not a cop!"}; case (__GETC__(life_coplevel) < 2): {"You are not at a patrol officer rank!"}; default { ["Altis Patrol Officer Shop", [ ["arifle_MX_F",nil,35000], ["SMG_02_ACO_F",nil,30000], ["HandGrenade_Stone","Flashbang",1700], ["MineDetector",nil,1000], ["acc_flashlight",nil,750], ["optic_Holosight",nil,1200], ["optic_Arco",nil,2500], ["muzzle_snds_H",nil,2750], ["30Rnd_65x39_caseless_mag",nil,130], ["30Rnd_9x21_Mag",nil,250] ] ]; }; }; }; case "cop_sergeant": { switch(true) do { case (playerSide != west): {"You are not a cop!"}; case (__GETC__(life_coplevel) < 3): {"You are not at a sergeant rank!"}; default { ["Altis Sergeant Officer Shop", [ ["SMG_02_ACO_F",nil,15000], ["hgun_ACPC2_F",nil,17500], ["HandGrenade_Stone","Flashbang",1700], ["arifle_MXC_F",nil,30000], ["optic_Arco",nil,2500], ["muzzle_snds_H",nil,2750], ["30Rnd_65x39_caseless_mag",nil,100], ["30Rnd_9x21_Mag",nil,60], ["9Rnd_45ACP_Mag",nil,200] ] ]; }; }; }; case "swat_team_member": { switch(true) do { case (playerSide != west): {"You are not a cop!"}; case (__GETC__(life_coplevel) < 4): {"You are not at a sergeant rank!"}; default { ["SWAT Team Member Shop", [ ["arifle_MXC_Black_F",nil,15000], ["hgun_ACPC2_F",nil,17500], ["HandGrenade_Stone","Flashbang",1700], ["30Rnd_65x39_caseless_mag_Tracer",nil,3000], ["optic_Arco",nil,2500], ["acc_flashlight",nil,2750], ["muzzle_snds_H",nil,2750], ["optic_Hamr",nil,2750], ["FirstAidKit",nil,2750], ["itemGPS",nil,100], ["itemCompass",nil,60], ["NVGoggles",nil,60], ["Binocular",nil,60], ["9Rnd_45ACP_Mag",nil,200] ] ]; }; }; }; case "swat_team_leader": { switch(true) do { case (playerSide != west): {"You are not a cop!"}; case (__GETC__(life_coplevel) < 4): {"You are not at a sergeant rank!"}; default { ["SWAT Team Leader Shop", [ ["arifle_MXC_Black_F",nil,15000], ["hgun_ACPC2_F",nil,17500], ["HandGrenade_Stone","Flashbang",1700], ["30Rnd_65x39_caseless_mag_Tracer",nil,30000], ["optic_Arco",nil,2500], ["acc_flashlight",nil,2750], ["muzzle_snds_H",nil,2750], ["optic_Hamr",nil,2750], ["optic_MRCO",nil,2750], ["optic_Arco",nil,2750], ["optic_NVS",nil,2750], ["optic_Nightstalker",nil,2750], ["ToolKit",nil,2750], ["FirstAidKit",nil,2750], ["itemGPS",nil,100], ["itemCompass",nil,60], ["NVGoggles",nil,60], ["Rangefinder",nil,60], ["9Rnd_45ACP_Mag",nil,200] ] ]; }; }; }; case "swat_team_sniper": { switch(true) do { case (playerSide != west): {"You are not a cop!"}; case (__GETC__(life_coplevel) < 4): {"You are not at a sergeant rank!"}; default { ["SWAT Team Sniper Shop", [ ["srifle_LRR_F",nil,15000], ["hgun_ACPC2_F",nil,14500], ["HandGrenade_Stone","Flashbang",1700], ["20Rnd_762x51_Mag",nil,2000], ["optic_SOS",nil,2500], ["acc_flashlight",nil,2750], ["muzzle_snds_B",nil,2750], ["optic_NVS",nil,2750], ["optic_LRPS",nil,2750], ["optic_Nightstalker",nil,2750], ["ToolKit",nil,2750], ["FirstAidKit",nil,2750], ["itemGPS",nil,100], ["itemCompass",nil,60], ["NVGoggles",nil,60], ["Rangefinder",nil,60], ["9Rnd_45ACP_Mag",nil,200] ] ]; }; }; }; case "swat_team_designatedmarksman": { switch(true) do { case (playerSide != west): {"You are not a cop!"}; case (__GETC__(life_coplevel) < 4): {"You are not at a sergeant rank!"}; default { ["SWAT Team Designated Marksman Shop", [ ["arifle_MXM_Black_F",nil,15000], ["srifle_EBR_F",nil,15000], ["hgun_ACPC2_F",nil,17500], ["HandGrenade_Stone","Flashbang",1700], ["20Rnd_762x51_Mag",nil,5000], ["30Rnd_65x39_caseless_mag_Tracer",nil,30000], ["optic_SOS",nil,2500], ["acc_flashlight",nil,2750], ["muzzle_snds_B",nil,2750], ["muzzle_snds_H",nil,2750], ["optic_NVS",nil,2750], ["optic_Arco",nil,2750], ["optic_Nightstalker",nil,2750], ["ToolKit",nil,2750], ["FirstAidKit",nil,2750], ["itemGPS",nil,100], ["itemCompass",nil,60], ["NVGoggles",nil,60], ["Rangefinder",nil,60], ["9Rnd_45ACP_Mag",nil,200] ] ]; }; }; }; case "swat_team_mg": { switch(true) do { case (playerSide != west): {"You are not a cop!"}; case (__GETC__(life_coplevel) < 4): {"You are not at a sergeant rank!"}; default { [""SWAT Team Machine Gunner Shop", [ ["arifle_MX_SW_Black_F",nil,15000], ["hgun_ACPC2_F",nil,17500], ["HandGrenade_Stone","Flashbang",1700], ["100Rnd_65x39_caseless_mag_Tracer",nil,5000], ["acc_flashlight",nil,2750], ["muzzle_snds_H",nil,2750], ["optic_Hamr",nil,2750], ["optic_Arco",nil,2750], ["ToolKit",nil,2750], ["FirstAidKit",nil,2750], ["itemGPS",nil,100], ["itemCompass",nil,60], ["NVGoggles",nil,60], ["Binocular",nil,60], ["9Rnd_45ACP_Mag",nil,200] ] ]; }; }; }; case "rebel": { switch(true) do { case (playerSide != civilian): {"You are not a civilian!"}; case (!license_civ_rebel): {"You don't have a Rebel training license!"}; default { ["Mohammed's Jihadi Shop", [ ["arifle_TRG21_F",nil,50000], ["30Rnd_556x45_Stanag",nil,250], ["arifle_MX_SW_F",nil,30000], ["arifle_MXC_F",nil,30000], ["100Rnd_65x39_caseless_mag",nil,1000], ["100Rnd_65x39_caseless_mag_Tracer",nil,1250], ["30Rnd_65x39_caseless_mag",nil,250], ["30Rnd_65x39_caseless_mag_Tracer",nil,250], ["arifle_Katiba_F",nil,30000], ["30Rnd_65x39_caseless_green",nil,150], ["srifle_EBR_F",nil,60000], ["20Rnd_762x51_Mag",nil,250], ["srifle_DMR_01_F",nil,80000], ["LMG_Zafir_pointer_F",nil,90000], ["150Rnd_762x51_Box",nil,300], ["150Rnd_762x51_Box_Tracer",nil,350], ["10Rnd_762x51_Mag",nil,250], ["LMG_Mk200_F",nil,95000], ["200Rnd_65x39_cased_Box",nil,750], ["200Rnd_65x39_cased_Box_Tracer",nil,750], ["optic_ACO_grn",nil,5000], ["optic_Aco",nil,5000], ["optic_Hamr",nil,5000], ["optic_Holosight",nil,5000], ["optic_MRCO",nil,5000], ["optic_SOS",nil,5000], ["optic_LRPS",nil,5000], ["optic_DMS",nil,5000], ["muzzle_snds_M",nil,3500], ["muzzle_snds_H",nil,3500], ["muzzle_snds_B",nil,3500], ["muzzle_snds_H_MG",nil,3500], ["acc_pointer_IR",nil,3000], ["acc_flashlight",nil,3000], ["ToolKit",nil,2500], ["FirstAidKit",nil,2500], ["NVGoggles",nil,2500], ["Binocular",nil,2500], ["ItemGPS",nil,2500], ["ItemCompass",nil,2500], ["Rangefinder",nil,2500] ] ]; }; }; }; case "gun": { switch(true) do { case (playerSide != civilian): {"You are not a civilian!"}; case (!license_civ_gun): {"You don't have a Firearms license!"}; default { ["Billy Joe's Firearms", [ ["V_Rangemaster_belt",nil,10000], ["hgun_Rook40_F",nil,5000], ["SMG_02_F",nil,10500], ["hgun_PDW2000_F",nil,25000], ["16Rnd_9x21_Mag",nil,100], ["30Rnd_9x21_Mag",nil,100], ["hgun_ACPC2_F",nil,6000], ["9Rnd_45ACP_Mag",nil,100], ["hgun_Pistol_heavy_01_F",nil,6500], ["11Rnd_45ACP_Mag",nil,100], ["hgun_Pistol_heavy_02_F",nil,6500], ["6Rnd_45ACP_Cylinder",nil,100], ["hgun_Pistol_Signal_F",nil,1000], ["6Rnd_GreenSignal_F",nil,100], ["6Rnd_RedSignal_F",nil,100], ["arifle_sdar_F",nil,25000], ["20Rnd_556x45_UW_mag",nil,100], ["optic_ACO_grn_smg",nil,2500], ["optic_MRD",nil,2500], ["optic_Yorris",nil,2500], ["optic_Holosight_smg",nil,2500], ["muzzle_snds_L",nil,1500], ["muzzle_snds_acp",nil,1900] ] ]; }; }; }; case "gang": { switch(true) do { case (playerSide != civilian): {"You are not a civilian!"}; default { ["Hideout Armament", [ ["V_Rangemaster_belt",nil,10000], ["B_Carryall_cbr",nil,25000], ["hgun_Rook40_F",nil,5000], ["SMG_02_F",nil,7500], ["hgun_PDW2000_F",nil,7500], ["16Rnd_9x21_Mag",nil,100], ["30Rnd_9x21_Mag",nil,100], ["hgun_ACPC2_F",nil,6000], ["9Rnd_45ACP_Mag",nil,100], ["hgun_Pistol_heavy_01_F",nil,6500], ["11Rnd_45ACP_Mag",nil,100], ["hgun_Pistol_heavy_02_F",nil,6500], ["6Rnd_45ACP_Cylinder",nil,100], ["hgun_Pistol_Signal_F",nil,1000], ["6Rnd_GreenSignal_F",nil,100], ["6Rnd_RedSignal_F",nil,100], ["optic_ACO_grn_smg",nil,2500], ["optic_MRD",nil,2500], ["optic_Yorris",nil,2500], ["optic_Holosight_smg",nil,2500], ["muzzle_snds_L",nil,1500], ["muzzle_snds_acp",nil,1900], ["arifle_TRG21_F",nil,25000], ["30Rnd_556x45_Stanag",nil,250], ["arifle_MX_SW_F",nil,50000], ["arifle_MXC_F",nil,50000], ["100Rnd_65x39_caseless_mag",nil,750], ["100Rnd_65x39_caseless_mag_Tracer",nil,750], ["30Rnd_65x39_caseless_mag",nil,250], ["30Rnd_65x39_caseless_mag_Tracer",nil,250], ["arifle_Katiba_F",nil,20000], ["30Rnd_65x39_caseless_green",nil,150], ["srifle_EBR_F",nil,50000], ["20Rnd_762x51_Mag",nil,250], ["srifle_DMR_01_F",nil,70000], ["10Rnd_762x51_Mag",nil,250], ["LMG_Mk200_F",nil,95000], ["200Rnd_65x39_cased_Box",nil,750], ["200Rnd_65x39_cased_Box_Tracer",nil,750], ["srifle_LRR_F",nil,150000], ["7Rnd_408_Mag",nil,150], ["LMG_Zafir_F",nil,200000], ["150Rnd_762x51_Box",nil,150], ["150Rnd_762x51_Box_Tracer",nil,150], ["launch_RPG32_F",nil,150000], ["RPG32_F",nil,10000], ["SatchelCharge_Remote_Mag",nil,65000], ["optic_ACO_grn",nil,5000], ["optic_Aco",nil,5000], ["optic_Hamr",nil,5000], ["optic_Holosight",nil,5000], ["optic_MRCO",nil,5000], ["optic_SOS",nil,5000], ["optic_LRPS",nil,5000], ["optic_DMS",nil,5000], ["muzzle_snds_M",nil,3500], ["muzzle_snds_H",nil,3500], ["muzzle_snds_B",nil,3500], ["muzzle_snds_H_MG",nil,3500], ["acc_pointer_IR",nil,3000], ["acc_flashlight",nil,3000], ["ToolKit",nil,2500], ["FirstAidKit",nil,2500], ["NVGoggles",nil,2500], ["Binocular",nil,2500], ["ItemGPS",nil,2500], ["ItemCompass",nil,2500], ["Rangefinder",nil,2500] ] ]; }; }; }; case "genstore": { ["Altis General Store", [ ["Binocular",nil,150], ["ItemGPS",nil,100], ["ToolKit",nil,250], ["FirstAidKit",nil,150], ["NVGoggles",nil,2000], ["Chemlight_red",nil,300], ["Chemlight_yellow",nil,300], ["Chemlight_green",nil,300], ["Chemlight_blue",nil,300] ] ]; }; }; Thank you for all your help in advance, and if anyone knows if I need to add this stuff anywhere else, please let me know because that may be why it is not working. Thanks
  7. Hello, We are the 82nd Airborne Division Military Simulation Unit. We have a public server in Arma 3 if you would like to check it out filter 82nd AB! Hope to see you on! We are a very diligent unit. When I say we are a "diligent unit" I mean that we know what we are doing, and we always act like we are representing a real unit, which we are! We will fight for victory and we hope that YOU will join us in the attempt for success! We the 82nd Airborne Division want YOU for our unit! No matter your race, ethnic, or how you talk! We don't care! We will not discriminate anybody because we in some way shape or form are not just a group of guys playing together, but when we are in an operation, training, or just fooling around in teamspeak WE ARE A BAND OF BROTHERS and nothing will ever separate us! Now you play your role and join us, as we welcome you with full helping hands for whatever you need! Unit Information: Website: http://www.82ndabmilsim.com/ Teamspeak: ts3.82ndabmilsim.com Kindest Regards, PFC Derienzo [82nd] S-7 Staff
  8. fun|sniper

    Arma 3 Randomize Sector Help

    No, probably not. I have some code but it is not working. deadunits = 0; SMunits = []; sectorup = false; _sectors = ["d_target_0","d_target_1","d_target_2","d_target_3","d_target_4","d_target_5","d_target_6","d_target_7","d_target_8","d_target_9","d_target_11","d_target_12","d_target_13","d_target_14","d_target_15","d_target_16"] while {true} do { waitUntil {!sectorup}; _sectorselected = _sectors call BIS_fnc_selectRandom; _sectors = _sectors - [_sectorselected]; _random = round(random 3) + 1; for "_i" from 0 to _random do { _randomPos = [[[getPos _sectorselected, random 300 + 200]],["water","out"]] call BIS_fnc_randomPos; _spawnGroup = [_randomPos, EAST, (configfile >> "CfgGroups" >> "East" >> "OPF_F" >> "Infantry" >> "OIA_InfTeam")] call BIS_fnc_spawnGroup; nul = [_spawnGroup,getpos _sectorselected, random 400 + 300] call BIS_fnc_taskPatrol; {_x addEventHandler ["Killed",{deadunits = deadunits + 1}];} foreach units _spawnGroup; SMunits = SMunits + (units _spawnGroup); }; _hint format ["Clear sector %1",_sectorselected]; sectorup = true; sleep 2; waitUntil {deadunits > count SMunits / 2}; sectorup = false; if (count _sectors < 1) exitWith {hint "You have cleared all sectors. Mission Complete."; sleep 5; "END1" call BIS_fnc_endMission; }; hint format ["Sector %1 cleared.",_sectorselected]; deadunits = 0; {deletevehicle _x} foreach SMunits; SMunits = []; };
  9. Hello, I am making a domination (type of) map. I was wondering if there was a way to have sectors (gamelogic) automatically and randomly picked. I was also wondering if there was a way not to spawn all enemies at the beginning of map start. Finally, I was wondering how to get the sector marker colors not appear until randomized activation of the gamelogic. Thanks for your help in advance, and so you know I am an intermediate editor not an expert. Sorry for asking so much but I would like to try and keep it to one thread. Game: Arma 3 Mission type: Sector Capture/Domination (gametype) Regards/thanks, FUN|Sniper
×