Jump to content

FredEvoX

Member
  • Posts

    36
  • Joined

  • Last visited

Reputation Activity

  1. Like
    FredEvoX reacted to BHBorn2Kill in Custom loot box trigger   
    If you only want the loot to spawn when players enter a radius around the loot crate you can add this statement after you spawn the box, but before you add items to the container.
     
    waitUntil{{isPlayer _x && _x distance _vehicle_103768 < 30  } count playableunits > 0};
     
    Anything after this statement will only be executed when a player is within 30 meters of the object and it only executes once.  Adjust the radius as needed.
     
    You should also remove the sleep statement as it is no longer required.
     
    I use this technique in all my missions to broadcast a global message that the mission is complete and to remove the markers on the map.
  2. Like
    FredEvoX reacted to SideShowFreak in Custom loot box trigger   
    Maybe add a trigger in your mission.sqf like a safe zone trigger to call your crate script?
  3. Like
    FredEvoX reacted to ElDubya in Map markers   
    You can find out who placed them but my issue is I want to find out who keeps deleting the mongrels!! lol
     
    Just install this, it works good.
     

  4. Like
    FredEvoX reacted to syco in WAI Loot boxes spawn in the air   
    This would be infiSTAR doing this if you have HACKED BOX Check ?    */ _CHB =  true;
     
    If true open AH.sqf and search for
     
    if(_cfid >= 3) then
     
    change to
     
    if(_cfid >= 5) then
     
    If you notice the line below it _object setPosATL [_pos select 0,_pos select 1,(_pos select 2)+45]; the +45 is what is teleporting it in the air.
     
    What you need to find out is how many ItemBriefcase100oz are possible to spawn inside the crates and change the number in red to a higher number then what is possible.
     
    Or just remove ItemBriefcase100oz from the list in WAI\config.sqf. You also could change the ItemBriefcase100oz to ItemBriefcase90oz inside WAI\config.sqf
  5. Like
    FredEvoX reacted to Antichrist in ESS Custom Classes   
    look at ebay's loadout
    ["ebay's Loadout","GUE_Soldier_2_DZ","BanditW2_DZ",["100Rnd_762x51_M240",2,"30Rnd_9x19_UZI_SD",3,"Skin_GUE_Soldier_Sniper_DZ",VIP_ITEMS],["Mk_48_DZ","UZI_SD_EP1",VIP_TOOLS],"DZ_Backpack_EP1",["5Rnd_86x70_L115A1",3],["BAF_LRR_scoped_W"],0], and now look at your own creation
    ["Kenzza's Loadout","GUE_Soldier_Sniper_DZ","BanditW2_DZ",["20rnd_762x51_DMR",3,"30Rnd_9x19_UZI_SD",3,[VIP_ITEMS]],["M14_EP1","UZI_SD_EP1",[VIP_TOOLS]],"DZ_LargeGunBag_EP1",0], those highlighted parts are incorrect and you pretty much answered it yourself already :) though you might want to add this between backpack and last ,0 thingie but i'm not sure if that will change anything
    ,[],[]
  6. Like
    FredEvoX got a reaction from KillKillKill in Adding a static tank   
    The first "bandit" is the "skin" the second is the AI Type. Reference this:
    // Humvee Patrol Example // Parameters: 0: Patrol position // 1: Starting position // 2: Patrol radius // 3: Number of Waypoints // 4: Vehicle classname // 5: Unit Skill ("easy","medium","hard","extreme" or "random") // 6: Skin ("Hero","bandit","random","special" or "classname") // 7: AI Type ("bandit","Hero" or "special") ***Used to determine humanity gain or loss*** // 8: Mission variable from line 9 (_mission) [[(_position select 0) + 100, _position select 1, 0],[(_position select 0) + 100, _position select 1, 0],50,2,"HMMWV_Armored","random","bandit","bandit",_mission] call vehicle_patrol;
  7. Like
    FredEvoX got a reaction from SchwEde in Adding a static tank   
    The first "bandit" is the "skin" the second is the AI Type. Reference this:
    // Humvee Patrol Example // Parameters: 0: Patrol position // 1: Starting position // 2: Patrol radius // 3: Number of Waypoints // 4: Vehicle classname // 5: Unit Skill ("easy","medium","hard","extreme" or "random") // 6: Skin ("Hero","bandit","random","special" or "classname") // 7: AI Type ("bandit","Hero" or "special") ***Used to determine humanity gain or loss*** // 8: Mission variable from line 9 (_mission) [[(_position select 0) + 100, _position select 1, 0],[(_position select 0) + 100, _position select 1, 0],50,2,"HMMWV_Armored","random","bandit","bandit",_mission] call vehicle_patrol;
  8. Like
    FredEvoX reacted to Gr8 in Memory Error when looting player bodies   
    Here is the fixed Code :
    #define GHOST_ITEMS "ItemAntibiotic","ItemBloodbag","ItemEpinephrine","ItemMorphine" // constant example, these can be removed if they are not used below #define GHOST_TOOLS "Binocular_Vector","NVGoggles","ItemCompass","ItemHatchet","ItemKnife","Itemmatchbox","Itemetool","ItemGPS","ItemCrowbar" #define HERO_ITEMS "ItemAntibiotic","ItemBloodbag","ItemEpinephrine","ItemMorphine" // constant example, these can be removed if they are not used below #define HERO_TOOLS "Binocular_Vector","ItemHatchet","ItemMap","ItemKnife","Itemmatchbox","Itemetool","ItemSledge","ItemWatch","ItemGPS","ItemCrowbar" #define BANDIT_ITEMS "ItemBloodbag","ItemMorphine" // constant example, these can be removed if they are not used below #define BANDIT_TOOLS "Binocular_Vector","ItemHatchet","ItemGPS" #define TERROR_ITEMS "ItemBloodbag","ItemEpinephrine","ItemMorphine" // constant example, these can be removed if they are not used below #define TERROR_TOOLS "Binocular_Vector","NVGoggles","ItemCompass","ItemHatchet","ItemKnife","ItemGPS" _currencyVariable = ""; // Coins variable name _startBag = "DZ_TerminalPack_EP1"; // Use "" for none _startMags = ["ItemBandage",3,"ItemPainkiller","ItemWaterbottle","FoodPistachio"]; _startWeps = ["ItemMap","ItemFlashlight","ItemToolbox"]; _customLoadout = [ "76561198014219874", // ebay "0", "0" ]; _customLoadouts = [ ["ebay's Loadout","GUE_Soldier_2_DZ","BanditW2_DZ",["100Rnd_762x51_M240",2,"30Rnd_9x19_UZI_SD",3,"Skin_GUE_Soldier_Sniper_DZ",VIP_ITEMS],["Mk_48_DZ","UZI_SD_EP1",VIP_TOOLS],"DZ_Backpack_EP1",["5Rnd_86x70_L115A1",3],["BAF_LRR_scoped_W"],0], [], [] ]; _classLevel1 = ["0","0","0"]; _classLevel2 = ["0","0","0"]; _classLevel3 = ["0","0","0"]; // To give higher level VIPs access to lower level VIP classes uncomment the two lines below: // _classLevel1 = _classLevel1 + _classLevel2 + _classLevel3; // _classLevel2 = _classLevel2 + _classLevel3; _publicClasses = [ ["Ghost","Sniper1_DZ","Sniper1_DZ",[GHOST_ITEMS],[GHOST_TOOLS],"DZ_Backpack_EP1",["15Rnd_9x19_M9SD",3],["M9SD"],0,20000,0], ["Hero","Soldier_Sniper_PMC_DZ","SurvivorWpink_DZ",[HERO_ITEMS],[HERO_TOOLS],"DZ_GunBag_EP1",[],[],0,5000,0], ["Survivor","Survivor2_DZ","SurvivorW2_DZ",[],[],[],[],0,0,0], ["Bandit","Bandit2_DZ","BanditW1_DZ",[BANDIT_ITEMS],[BANDIT_TOOLS],"DZ_British_ACU",[],[],0,-5000,0], ["Terrorist","Ins_Soldier_GL_DZ","Ins_Soldier_GL_DZ",[TERROR_ITEMS],[TERROR_TOOLS],"DZ_GunBag_EP1",["17Rnd_9x19_glock17"],["glock17_EP1"],0,-50000,0] ];
×
×
  • Create New...