Jump to content

Swash

Member
  • Posts

    82
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Swash reacted to vbawol in Custom Vehicles and Traders   
    Move this part
    // Custom item pricing fixes #include "CfgEpochClient\CfgPricing.hpp" Outside of the CfgEpochClient class like this:
    Class CfgEpochClient { ... }; // Custom item pricing fixes #include "CfgEpochClient\CfgPricing.hpp"This is because this class is on its own and not a child class of any other classes.
  2. Like
    Swash reacted to vbawol in Building Restrictions   
    The restrictions should still work, The latest CfgEpochClient configs can always be found here: https://github.com/EpochModTeam/Epoch/blob/master/Sources/epoch_config/Configs/CfgEpochClient.hpp
     
    How To Use;
    Copy the latest contents of the CfgEpochClient.hpp into your description.ext and comment out any #include lines that you do not need. Make a new folder in your mpmission file called "CfgEpochClient" and place the *mapname*.hpp that you are running inside it. The latest map specific configs can always be found here: https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_config/Configs/CfgEpochClient Please Note: Each release you will likely need need to update both of these configs so if you have any changes that you think should be made in default Epoch please submit a github pull request.
  3. Like
    Swash got a reaction from IT07 in a3_vemf_reloaded by IT07   
    Works beautifully now!
     This is one heck of a mission mod. Very nice!
  4. Like
    Swash reacted to IT07 in a3_vemf_reloaded by IT07   
    BIG UPDATE!
    Nice and smooth coding improvements as well as fixes for unstable/unreliable spawning/despawning of missions and lots of other improvements.
  5. Like
    Swash reacted to IT07 in a3_vemf_reloaded by IT07   
    Wow that is for sure the weirdest issue I have heard of so far. I have no idea what it could've been caused by until I can replicate the issue myself and test it.
    @Swash: do a COMPLETE fresh install of the latest version and make your custom changes to the new config.cpp because it looks like you have mixed files from different versions in your server. Why? Because it says: "Starting VEMF 724.5" whilst it has to say this instead: "Starting VEMF 0.0724"
  6. Like
    Swash reacted to IT07 in a3_vemf_reloaded by IT07   
    @Swash: a big issue related to the problem you are having has been found in the current version. A fix for that will come soon. But you still need to make sure you update properly ;)
  7. Like
    Swash reacted to DirtySanchez in [Release] Ranks by hambeast and Evan Black   
    Great follow up info
  8. Like
    Swash got a reaction from hambeast in [Release] Ranks by hambeast and Evan Black   
    This simple Rank script is for those that RP a military, paramilitary, or militia type groups, and would like to set a specific group rank for individuals on log in.

    I've used so many great scripts from this community, it's nice that I can make a small contribution of my own.

    Very special thanks to hambeast for the original script example and helpful tips for making it better.
    Without this guidance I may have never gotten this far.

    Please copy, steal, modify, and/or share this script.
    Just consider giving credit to hambeast and myself for this effort.
    Thank you.

    INSTALLATION:

    1. Go to your MPMission folder and unpack your map pbo (ex. epoch.Chernarus.pbo)

    2. In the folder look for init.sqf. If you do not have one you can create and empty file and name init.sqf

    3. Add the following to the bottom of your init.sqf and save it.
    //Ranks by hambeast and Evan Black []execVM "scripts\ranks.sqf"; 4. Create a folder called "scripts" (in the same place as init.sqf). If you already have this folder skip this step.

    5. Open the scripts folder and create empty file called "ranks.sqf".

    6. Add the following to the ranks.sqf file.
    //ranks.sqf //Original Script by hambeast //Modified and Completed by Evan Black // Wait for ingame waitUntil {!isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])}; waitUntil {isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])}; sleep 2; //Optional delay to ensure script execution // Rank/UID list. Use Example Below. //UID Example: Ranks_CORPORAL = ["7656xxxxxxxxxxxxxx","7656xxxxxxxxxxxxxx"]; no trailing comma Ranks_CORPORAL = []; Ranks_SERGEANT = []; Ranks_LIEUTENANT = []; Ranks_CAPTAIN = []; Ranks_MAJOR = []; Ranks_COLONEL = []; _playerUID = getPlayerUID player; //get player UID //check to see if our player matches switch (true) do { case (_playerUID in Ranks_CORPORAL) : { player setRank "CORPORAL"; }; //setRank to CORPORAL for everyone in the CORPORAL list. case (_playerUID in Ranks_SERGEANT) : { player setRank "SERGEANT"; }; case (_playerUID in Ranks_LIEUTENANT) : { player setRank "LIEUTENANT"; }; case (_playerUID in Ranks_CAPTAIN) : { player setRank "CAPTAIN"; }; case (_playerUID in Ranks_MAJOR) : { player setRank "MAJOR"; }; case (_playerUID in Ranks_COLONEL) : { player setRank "COLONEL"; }; default { player setRank "PRIVATE"; }; //setting default rank for all others }; 7. Add the UIDs as per the example in script.
    Note no trailing comma for each ID line and don't forget the quotes for each ID. This is important.
     
    You can now repack your epoch.(Map) folder to pbo, Although most servers will run with it unpacked for testing.
    No BE Script adjustments needed as far as my testing.
     
    Ranks is based from hambeast's original script example responce from
     
    Please send a like if you enjoy this script!
  9. Like
    Swash got a reaction from emmenboy in [Release] Ranks by hambeast and Evan Black   
    This simple Rank script is for those that RP a military, paramilitary, or militia type groups, and would like to set a specific group rank for individuals on log in.

    I've used so many great scripts from this community, it's nice that I can make a small contribution of my own.

    Very special thanks to hambeast for the original script example and helpful tips for making it better.
    Without this guidance I may have never gotten this far.

    Please copy, steal, modify, and/or share this script.
    Just consider giving credit to hambeast and myself for this effort.
    Thank you.

    INSTALLATION:

    1. Go to your MPMission folder and unpack your map pbo (ex. epoch.Chernarus.pbo)

    2. In the folder look for init.sqf. If you do not have one you can create and empty file and name init.sqf

    3. Add the following to the bottom of your init.sqf and save it.
    //Ranks by hambeast and Evan Black []execVM "scripts\ranks.sqf"; 4. Create a folder called "scripts" (in the same place as init.sqf). If you already have this folder skip this step.

    5. Open the scripts folder and create empty file called "ranks.sqf".

    6. Add the following to the ranks.sqf file.
    //ranks.sqf //Original Script by hambeast //Modified and Completed by Evan Black // Wait for ingame waitUntil {!isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])}; waitUntil {isNuLL(uiNameSpace getVariable ["EPOCH_loadingScreen",displayNull])}; sleep 2; //Optional delay to ensure script execution // Rank/UID list. Use Example Below. //UID Example: Ranks_CORPORAL = ["7656xxxxxxxxxxxxxx","7656xxxxxxxxxxxxxx"]; no trailing comma Ranks_CORPORAL = []; Ranks_SERGEANT = []; Ranks_LIEUTENANT = []; Ranks_CAPTAIN = []; Ranks_MAJOR = []; Ranks_COLONEL = []; _playerUID = getPlayerUID player; //get player UID //check to see if our player matches switch (true) do { case (_playerUID in Ranks_CORPORAL) : { player setRank "CORPORAL"; }; //setRank to CORPORAL for everyone in the CORPORAL list. case (_playerUID in Ranks_SERGEANT) : { player setRank "SERGEANT"; }; case (_playerUID in Ranks_LIEUTENANT) : { player setRank "LIEUTENANT"; }; case (_playerUID in Ranks_CAPTAIN) : { player setRank "CAPTAIN"; }; case (_playerUID in Ranks_MAJOR) : { player setRank "MAJOR"; }; case (_playerUID in Ranks_COLONEL) : { player setRank "COLONEL"; }; default { player setRank "PRIVATE"; }; //setting default rank for all others }; 7. Add the UIDs as per the example in script.
    Note no trailing comma for each ID line and don't forget the quotes for each ID. This is important.
     
    You can now repack your epoch.(Map) folder to pbo, Although most servers will run with it unpacked for testing.
    No BE Script adjustments needed as far as my testing.
     
    Ranks is based from hambeast's original script example responce from
     
    Please send a like if you enjoy this script!
  10. Like
    Swash got a reaction from DirtySanchez in [Release] Ranks by hambeast and Evan Black   
    Yes, but only for those you want to set a rank to automatically. All others will be set to private. (like non-military folk or new recruits)
     
    Add the IDs like so.
    Ranks_CORPORAL = ["7656xxxxxxxxxxxxxx","7656xxxxxxxxxxxxxx","7656xxxxxxxxxxxxxx","7656xxxxxxxxxxxxxx"]; Ranks_SERGEANT = ["7656xxxxxxxxxxxxxx"]; Note no trailing comma for each ID line and don't forget the quotes for each ID. This is important.
     
    Quick tip to get IDs.
    You can get IDs in just one or two steps.
    Open a player's steam profile page and look at the URL.
    If it ends in numbers like http://steamcommunity.com/profiles/7656xxxxxxxxxxxxxxxxx/
    That number is their ID and you are done.
     
    If it is a name like http://steamcommunity.com/id/EvanBlack/
    Enter the URL at http://steamidconverter.com/
    You will get a steamID64 conversion. This is their ID.
     
    I hope this helps!
  11. Like
    Swash reacted to DirtySanchez in [Release] Ranks by hambeast and Evan Black   
    Yes 1Man, I have been looking at this for a few days and have come to realize this would be nice for those great community members that like to help new players, giving them a higher rank or for clan leaders etc.

    Redoing my server for the last day or so and will be adding this into the mix.
    thanks for the hard work guys
  12. Like
    Swash reacted to hambeast in setRank script   
    Swash, I am so happy what I typed helped you out!   I think we forget sometimes, just how hard it is to make the jump into Arma coding from other languages.  But... once you get the basics, the rest will become clear.
  13. Like
    Swash reacted to emmenboy in setRank script   
    Hi,
    I used that script and it work fine with me! Ty, i hope that be implemented in future!
  14. Like
    Swash got a reaction from emmenboy in setRank script   
    Thanks again hambeast for the scripting help. I'm not all that familiar with sqf, but I recognize coding patterns from other languages.
    I had to add in a wait for ingame and I did some other modifications to the script.
    With your permission I'd like to post the final script in the A3 Epoch Resources/Scripts for others to use.
    Original script credit to you of course.
     
    Here is the final script I intend to post.



  15. Like
    Swash got a reaction from hambeast in setRank script   
    Thanks again hambeast for the scripting help. I'm not all that familiar with sqf, but I recognize coding patterns from other languages.
    I had to add in a wait for ingame and I did some other modifications to the script.
    With your permission I'd like to post the final script in the A3 Epoch Resources/Scripts for others to use.
    Original script credit to you of course.
     
    Here is the final script I intend to post.



  16. Like
    Swash got a reaction from hambeast in setRank script   
    Thank you hambeast you are the best! I'll try this out tonight.
     
     
     
    This was one of the things I found in my search, but had no clue how to implement in sqf.
    I read all that page and was left saying "um... what??" lol
    I wish I could give this an extra like for posting comments in the script as well, wish everyone did this!
    This was more than a "gentle nudge" this was above and beyond what I expected. Thank you!
     
    btw great Mr. Reynholm avatar lol
  17. Like
    Swash reacted to hambeast in setRank script   
    first google result:
    https://community.bistudio.com/wiki/setRank
     
     
    You would call this within your script block.

    player setRank "COLONEL"  
     
    If you're asking how to implement this in your mission file... You could hardcode your group members ranks by ID in your init.sqf or anywhere else in your mission file if you liked...
     
    something like this could work... no idea if it actually does what you want though...
    // ranks.sqf - called from init.sqf // we could have 1 big multi-dim array containing each users ID and Rank but... // that would make this harder to adjust in the future since this is a manual // process. If you were to load this data from a DB for instance, you might // want to keep it in a multi-dimensional array like: // [["1234","PRIVATE"],["231","General"]] Ranks_PRIVATE = [ "1234567", // Me "7654321" // No trailing ,! ]; Ranks_CORPORAL = []; Ranks_SERGEANT = []; Ranks_LIEUTENANT = []; Ranks_CAPTAIN = []; Ranks_MAJOR = []; Ranks_COLONEL = []; _playerUID = player getPlayerUID; _found = false; _rank = "PRIVATE"; // default private rank // check to see if our player matches while {!_found} do { if (_playerUID in Ranks_PRIVATE) then { _rank = "PRIVATE"; _found = true; // breaks us out of this while loop }; // ... and so on }; // finally set our players rank! player setRank _rank;
  18. Like
    Swash got a reaction from Tricks in BEC.   
    This sounds alot like "If you don't play by my rules I'm taking my ball and going home!" lol
    At least he's drawing attention to his cause, even if we do not agree.
    Whatever other server admins do on their server is really none of anyone's business.
    It has zero effect on me, because anyone that plays on those servers wouldn't last five minutes on mine. lol
    I personal would never have any pay to win or any type of subscriber perks on my server.
    You suffer like everyone else lol
     
    btw.. what's with all this new neckbeardy elitest bs I see showing up here in epoch?
    I don't remember it ever being like that. I know some noobs can be frustrating but this whole "if you don't know this you shouldn't be an admin" attitude really isn't fitting the epoch community as I knew it.
    Even Epoch didn't get here magically overnight. I guarantee they've run into things they don't know, but work through it.
    I could see where some admins never had to edit a host file. I've only had to change it maybe a dozen times out of all my game servers and projects over the years.
    We ALL knew nothing at one time, and we ALL learned by research and asking questions.
    You wont make them better admins, by being rude. It's just disappointing to see.
     
    "Experience is something you don't get until just after you need it." - Steven Wright
     
    Thank you M3Editor2 for maybe the simplest solution for this issue. I just edited in notepad++ like everything else, but this is probably the quickest and easiest.
  19. Like
    Swash got a reaction from maca134 in BEC.   
    This sounds alot like "If you don't play by my rules I'm taking my ball and going home!" lol
    At least he's drawing attention to his cause, even if we do not agree.
    Whatever other server admins do on their server is really none of anyone's business.
    It has zero effect on me, because anyone that plays on those servers wouldn't last five minutes on mine. lol
    I personal would never have any pay to win or any type of subscriber perks on my server.
    You suffer like everyone else lol
     
    btw.. what's with all this new neckbeardy elitest bs I see showing up here in epoch?
    I don't remember it ever being like that. I know some noobs can be frustrating but this whole "if you don't know this you shouldn't be an admin" attitude really isn't fitting the epoch community as I knew it.
    Even Epoch didn't get here magically overnight. I guarantee they've run into things they don't know, but work through it.
    I could see where some admins never had to edit a host file. I've only had to change it maybe a dozen times out of all my game servers and projects over the years.
    We ALL knew nothing at one time, and we ALL learned by research and asking questions.
    You wont make them better admins, by being rude. It's just disappointing to see.
     
    "Experience is something you don't get until just after you need it." - Steven Wright
     
    Thank you M3Editor2 for maybe the simplest solution for this issue. I just edited in notepad++ like everything else, but this is probably the quickest and easiest.
  20. Like
    Swash got a reaction from crckdns in Wicked AI/Mission system   
    Following the lead of picking I threw together a quick gear set with more random gear skins, and epoch loot.
    Just replace the gear sets and the ai_gear_random line with the following for a quickie setup of loot.
    /////////////////////////////////////////////////////// /// Gearset arrays for unit Loadouts /// /// 0 /// ai_gear0 = [ ["ItemWaterbottleUnfilled","FoodMRE","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemRadio","ItemCompass","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 1 /// ai_gear1 = [ ["FoodCanBakedBeans","ItemSilverBar","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemWatch","ItemMatchbox_DZE","ItemKnife","ItemFlashlight"] ]; /// 2 /// ai_gear2 = [ ["FoodCanPasta","ItemBandage","ItemBandage","ItemPainkiller"], ["NVGoggles","ItemCompass","ItemKnife","ItemFlashlight"] ]; /// 3 /// ai_gear3 = [ ["FoodCanSardines","ItemSodaCoke","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemWatch","ItemRadio","ItemEtool","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 4 /// ai_gear4 = [ ["Skin_CZ_Special_Forces_GL_DES_EP1_DZ","ItemSodaMdew","ItemSilverBar","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemHatchet_DZE","ItemMatchbox_DZE","ItemCompass","ItemKnife","ItemFlashlight"] ]; /// 5 /// ai_gear5 = [ ["Skin_SurvivorWdesert_DZ","ItemWaterbottle","ItemSilverBar10oz","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemWatch","ItemCrowbar","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 6 /// ai_gear6 = [ ["ItemMorphine","FoodCanSardines","ItemSodaCoke","ItemSilverBar","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemCompass","ItemKnife","ItemFlashlight"] ]; /// 7 /// ai_gear7 = [ ["Skin_SurvivorWcombat_DZ","FoodCanPasta","ItemGoldBar","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemWatch","ItemMatchbox_DZE","ItemKnife","ItemFlashlight"] ]; /// 8 /// ai_gear8 = [ ["Skin_FR_Rodriguez_DZ","FoodCanBakedBeans","ItemSilverBar","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemCompass","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 9 /// ai_gear9 = [ ["Skin_RU_Policeman_DZ","ItemMorphine","ItemSodaCoke","ItemSilverBar10oz","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemWatch","ItemMatchbox_DZE","ItemEtool","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 10 /// ai_gear10 = [ ["FoodCanBakedBeans","ItemSodaMdew","ItemBloodbag","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemHatchet_DZE","ItemCompass","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 11 /// ai_gear11 = [ ["ItemMorphine","FoodCanBakedBeans","ItemWaterbottle","ItemSilverBar","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemWatch","ItemMatchbox_DZE","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 12 /// ai_gear12 = [ ["ItemMorphine","FoodCanPasta","FoodCanPasta","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemCompass","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 13 /// ai_gear13 = [ ["FoodMRE","ItemWaterbottle","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemWatch","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 14 /// ai_gear14 = [ ["Skin_Soldier_Sniper_PMC_DZ","ItemWaterbottleUnfilled","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemMatchbox_DZE","ItemCompass","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 15 /// ai_gear15 = [ ["ItemBandage","ItemBandage","ItemPainkiller"], ["ItemWatch","ItemMatchbox_DZE","Binocular_Vector","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 16 /// ai_gear16 = [ ["FoodCanSardines","ItemWaterbottle","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemCrowbar","ItemRadio","ItemCompass","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 17 /// ai_gear17 = [ ["Skin_Priest_DZ","ItemTent","ItemSodaCoke","ItemSilverBar","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemWatch","ItemRadio","ItemMatchbox_DZE","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 18 /// ai_gear18 = [ ["Skin_Soldier1_DZ","ItemWaterbottleUnfilled","ItemBloodbag","ItemSilverBar10oz","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemMatchbox_DZE","NVGoggles","ItemCompass","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 19 /// ai_gear19 = [ ["Skin_Sniper1_DZ","ItemAntibiotic","ItemGoldBar10oz","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemWatch","ItemEtool","ItemMap","ItemKnife","ItemFlashlight"] ]; /// Gearsets to use if set to "Random" /// ai_gear_random = [ai_gear0,ai_gear1,ai_gear2,ai_gear3,ai_gear4,ai_gear5,ai_gear6,ai_gear7,ai_gear8,ai_gear9,ai_gear10,ai_gear11,ai_gear12,ai_gear13,ai_gear14,ai_gear15,ai_gear16,ai_gea17,ai_gear18,ai_gear19]; This is an awesome AI/Mission system, absolutely love the config. So simple!
  21. Like
    Swash got a reaction from rboos in Wicked AI/Mission system   
    Following the lead of picking I threw together a quick gear set with more random gear skins, and epoch loot.
    Just replace the gear sets and the ai_gear_random line with the following for a quickie setup of loot.
    /////////////////////////////////////////////////////// /// Gearset arrays for unit Loadouts /// /// 0 /// ai_gear0 = [ ["ItemWaterbottleUnfilled","FoodMRE","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemRadio","ItemCompass","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 1 /// ai_gear1 = [ ["FoodCanBakedBeans","ItemSilverBar","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemWatch","ItemMatchbox_DZE","ItemKnife","ItemFlashlight"] ]; /// 2 /// ai_gear2 = [ ["FoodCanPasta","ItemBandage","ItemBandage","ItemPainkiller"], ["NVGoggles","ItemCompass","ItemKnife","ItemFlashlight"] ]; /// 3 /// ai_gear3 = [ ["FoodCanSardines","ItemSodaCoke","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemWatch","ItemRadio","ItemEtool","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 4 /// ai_gear4 = [ ["Skin_CZ_Special_Forces_GL_DES_EP1_DZ","ItemSodaMdew","ItemSilverBar","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemHatchet_DZE","ItemMatchbox_DZE","ItemCompass","ItemKnife","ItemFlashlight"] ]; /// 5 /// ai_gear5 = [ ["Skin_SurvivorWdesert_DZ","ItemWaterbottle","ItemSilverBar10oz","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemWatch","ItemCrowbar","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 6 /// ai_gear6 = [ ["ItemMorphine","FoodCanSardines","ItemSodaCoke","ItemSilverBar","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemCompass","ItemKnife","ItemFlashlight"] ]; /// 7 /// ai_gear7 = [ ["Skin_SurvivorWcombat_DZ","FoodCanPasta","ItemGoldBar","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemWatch","ItemMatchbox_DZE","ItemKnife","ItemFlashlight"] ]; /// 8 /// ai_gear8 = [ ["Skin_FR_Rodriguez_DZ","FoodCanBakedBeans","ItemSilverBar","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemCompass","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 9 /// ai_gear9 = [ ["Skin_RU_Policeman_DZ","ItemMorphine","ItemSodaCoke","ItemSilverBar10oz","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemWatch","ItemMatchbox_DZE","ItemEtool","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 10 /// ai_gear10 = [ ["FoodCanBakedBeans","ItemSodaMdew","ItemBloodbag","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemHatchet_DZE","ItemCompass","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 11 /// ai_gear11 = [ ["ItemMorphine","FoodCanBakedBeans","ItemWaterbottle","ItemSilverBar","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemWatch","ItemMatchbox_DZE","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 12 /// ai_gear12 = [ ["ItemMorphine","FoodCanPasta","FoodCanPasta","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemCompass","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 13 /// ai_gear13 = [ ["FoodMRE","ItemWaterbottle","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemWatch","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 14 /// ai_gear14 = [ ["Skin_Soldier_Sniper_PMC_DZ","ItemWaterbottleUnfilled","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemMatchbox_DZE","ItemCompass","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 15 /// ai_gear15 = [ ["ItemBandage","ItemBandage","ItemPainkiller"], ["ItemWatch","ItemMatchbox_DZE","Binocular_Vector","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 16 /// ai_gear16 = [ ["FoodCanSardines","ItemWaterbottle","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemCrowbar","ItemRadio","ItemCompass","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 17 /// ai_gear17 = [ ["Skin_Priest_DZ","ItemTent","ItemSodaCoke","ItemSilverBar","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemWatch","ItemRadio","ItemMatchbox_DZE","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 18 /// ai_gear18 = [ ["Skin_Soldier1_DZ","ItemWaterbottleUnfilled","ItemBloodbag","ItemSilverBar10oz","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemMatchbox_DZE","NVGoggles","ItemCompass","ItemMap","ItemKnife","ItemFlashlight"] ]; /// 19 /// ai_gear19 = [ ["Skin_Sniper1_DZ","ItemAntibiotic","ItemGoldBar10oz","ItemBandage","ItemBandage","ItemPainkiller"], ["ItemWatch","ItemEtool","ItemMap","ItemKnife","ItemFlashlight"] ]; /// Gearsets to use if set to "Random" /// ai_gear_random = [ai_gear0,ai_gear1,ai_gear2,ai_gear3,ai_gear4,ai_gear5,ai_gear6,ai_gear7,ai_gear8,ai_gear9,ai_gear10,ai_gear11,ai_gear12,ai_gear13,ai_gear14,ai_gear15,ai_gear16,ai_gea17,ai_gear18,ai_gear19]; This is an awesome AI/Mission system, absolutely love the config. So simple!
  22. Like
    Swash reacted to Picking in Wicked AI/Mission system   
    i know a few people have had trouble with the custom spawns here are the spawns i was using they all work there are about 46 static ai spawns, 6 heli spawns and 6 para drop spawns.
    credit to butface as some of these are from dzai.
  23. Like
    Swash reacted to MrTesla in [Tutorial] Disabling R3F Tow/Lift for Locked Vehicles   
    This will disable the functions of the R3F Artillery & Logistics addon (tow, lift, load in, and move) for vehicles that are locked.
     
    Requirements:
    -Something to unpack pbo files, such as PBO Manager.
    -Text editor (Notepad++ recommended)
     
    1. Unpack these files:
    -dayz_code.pbo from your @DayZ_Epoch folder in your Arma 2 OA directory
    -mission pbo
    -server pbo (dayz_server.pbo)
     
    2. Copy the "local_lockunlock.sqf" from "dayz_code\compile\" folder and the "compiles.sqf" from the "dayz_code\init\" folder and place them into your mission file. For this tutorial, they'll be placed in a folder call "Custom".
    NOTE: If you already have a custom "compiles.sqf" in your mission file (such as for self BB and other addons) you don't need to copy it over. Just use the one you already have and skip step 5.
     
    3. In the "local_lockunlock.sqf", change this section (and only this section):
    if (local _vehicle) then { if(_status) then { _vehicle setVehicleLock "LOCKED"; } else { _vehicle setVehicleLock "UNLOCKED"; }; }; to this:
    if (local _vehicle) then { if(_status) then { _vehicle setVehicleLock "LOCKED"; _vehicle setVariable ["R3F_LOG_disabled",true,true]; } else { _vehicle setVehicleLock "UNLOCKED"; _vehicle setVariable ["R3F_LOG_disabled",false,true]; }; }; 4. In "compiles.sqf", change the file path in this line to point to your edited "local_lockunlock.sqf":
    local_lockUnlock = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\local_lockUnlock.sqf"; //When vehicle is local to unit perform locking vehicle So for this tutorial, it would be changed to this:
    local_lockUnlock = compile preprocessFileLineNumbers "Custom\local_lockUnlock.sqf"; //When vehicle is local to unit perform locking vehicle 5. In your mission file's "init.sqf", change the file path in this line to point to your edited "compiles.sqf":
    call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions For this tutorial, it would be changed to this:
    call compile preprocessFileLineNumbers "Custom\compiles.sqf"; //Compile regular functions 6. Repack the mission file and upload it to your server.
     
    7. Open "server_publishVehicle2.sqf" in the "dayz_server\compile\" folder and "server_monitor.sqf" in the "dayz_server\system\" folder.
     
    8. In "server_publishVehicle2.sqf", after the 3rd line (_object setvehiclelock "locked";):
        if(!_donotusekey) then {         // Lock vehicle         _object setvehiclelock "locked";     }; add this line:
    _object setVariable ["R3F_LOG_disabled",true,true]; 9. Do the same thing in the "server_monitor.sqf" in this section:
    if(_ownerID != "0" and !(_object isKindOf "Bicycle")) then { _object setvehiclelock "locked"; }; so it should look like this:
    if(_ownerID != "0" and !(_object isKindOf "Bicycle")) then { _object setvehiclelock "locked"; _object setVariable ["R3F_LOG_disabled",true,true]; }; 10. Repack the server pbo and upload it to the server.
  24. Like
    Swash got a reaction from Darth_Rogue in New Helicopters?   
    YAY! Thank You!
     
    The *NEW* Epoch.. (some assemble required)(classnames not included) *ducks*
  25. Like
    Swash got a reaction from chi in New Helicopters?   
    YAY! Thank You!
     
    The *NEW* Epoch.. (some assemble required)(classnames not included) *ducks*
×
×
  • Create New...