GEORGE FLOROS GR 4207 Posted December 8, 2018 GF Auto Loot with userconfig by GEORGE FLOROS [GR] Description: GF Auto Loot with userconfig , will detect the enable Mods , without editing lists. You are free to do anything but i would like to give me Credits for this! Simple and easy to use and adapt . Have Fun ! Installation / Usage: To install GF Auto Loot with userconfig , you should use modfolders to keep it seperate from the official game content to prevent issues. With Arma 3 you can use different ways to set up your modfolders to use custom content you have downloaded. Please visit the Arma 3 Mod install instructions page for more information about using custom mods and addons in Arma 3. Place the "userconfig" folder into your game install folder, usually: "C:\Program Files (x64)\Steam\steamapps\common\Arma 3". You may already have "userconfig" folder from other addons and/or mods in which case it is safe to merge the contents from this archive. https://community.bistudio.com/wiki/SQF_syntax Don't try to open this with the simple notepad. For everything that is with comment // in front or between /* means that it is disabled , so there is no need to delete the extra lines. You can open this ex: with notepad++https://notepad-plus-plus.org/ and also use the extra pluggins (this way will be better , it will give also some certain colours to be able to detect ex. problems )http://www.armaholic.com/page.php?id=8680 or use any other program for editing . For the Compilation List of my GF Scripts , you can search in: https://forums.bohemia.net/forums/topic/215850-compilation-list-of-my-gf-scripts/ Notes: This mod , is including a userconfig folder. The userconfig folder , must be in the main arma 3 game folder. Inside the userconfig folder , are the settings. To make changes in the userconfig , you need to close the game. GF Auto Loot with userconfig , will detect the enabled Mods , without editing lists. There are 4 options available : 1 = Load every Mod + Bohemia Items , 2 = Load every Mod - No Bohemia Items , 3 = Load Bohemia Items Only , 4 = Custom items only There is a Possibility option available. There are Blacklist Zones available , 5 from default and a safe distanse from players , to prevent the loot from spawn. The loot will spawn also , at the spawned or placed in editor Buildings. More information inside the Settings.sqf It is also posible to unpack and edit. Credits and Thanks to : Thanks to All script contributors Thanks to everyone who tries to do the best for this game! Thanks to BIS for such a great platform . Thanks to BIS Community and BIS Community Forums . Thanks to Armaholic Community and Forums . Changelog: v3.1 Fixed , working now also on Dedicated , with auto init. v3.0 A lot of the previous code is reedited. Added option for the spawned items number. Code optimization. v2.0 It is possible to add your custom item list. There are 4 options available : 1 = Load every Mod + Bohemia Items , 2 = Load every Mod - No Bohemia Items , 3 = Load Bohemia Items Only , 4 = Custom items only Changed the codes for the search of the configs. Minor Fixes. v1.0 Forum topic: - Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=40300 Armaholic GF Auto Loot with userconfig 3 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted December 8, 2018 There is also a available a Script version : 2 2 Share this post Link to post Share on other sites
Realthinged 44 Posted December 8, 2018 Man, you are a genius!!! So many years without such cool and easy to use thing! Only one question. Please, tell me, what I need to write in userconfig to exclude for example CUP or RHS items from loot without disabling these mods ? Or to loot only weapons for example... 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted December 8, 2018 5 hours ago, Realthinged said: exclude for example CUP Thank you very much Realthinged , i hope you like it ! You can add in the userconfig\GF_Auto_Loot_with_userconfig_Settings.hpp , a case 4 : case 4 : { /* ________________ How to disable a certain mod : ________________ example 1 : (!(getText( _x >> 'author' ) == 'The CUP Team')) example 2 : (!(getText( _x >> 'DLC' ) == 'CUP_Weapons')) */ //________________ Load every Mod / No CUP Loot ________________ _CfgWeapons = ("(!(getText( _x >> 'author' ) == 'The CUP Team')) && getNumber (_x>> 'scope') > 1" configClasses (configfile >> "CfgWeapons")) apply {configName _x}; "getNumber (_x >> 'scope') >= 2 && {getNumber (_x >> 'type') in [256,16,2*256,3*256,6*256] && {_CfgWeapons pushBack (configName _x);false}}"configClasses (configFile >> "CfgMagazines"); _CfgGlasses = ("(!(getText( _x >> 'author' ) == 'The CUP Team')) && getNumber (_x >> 'scope') > 1" configClasses (configfile >> "CfgGlasses")) apply {configName _x}; _cfgArray_backpack = ("(!(getText( _x >> 'author' ) == 'The CUP Team')) && getNumber (_x >> 'isbackpack') isEqualTo 1 && getNumber (_x>> 'scope') >1 && getNumber (_x>> 'maximumLoad') != 0" configClasses (configfile >> "CfgVehicles")) apply {configName _x}; _Loot_case = "Load every Mod - No CUP Loot"; _Select_Loot_Loaded = true; }; or if you want to exclude completely the weapons for example : go to this line : //________________ To disable the weapons completely , you can delete for example the: _CfgWeapons ________________ GF_Auto_Loot_with_userconfig_cfgArray = _CfgWeapons + _CfgGlasses + _cfgArray_backpack; 1 Share this post Link to post Share on other sites
Realthinged 44 Posted December 8, 2018 Thanks a lot, GEORGE FLOROS GR ! 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted December 8, 2018 12 minutes ago, Realthinged said: Thanks a lot, GEORGE FLOROS GR ! You're welcome ! 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted December 21, 2018 Changelog: v2.0 It is possible to add your custom item list. There are 4 options available : 1 = Load every Mod + Bohemia Items , 2 = Load every Mod - No Bohemia Items , 3 = Load Bohemia Items Only , 4 = Custom items only Changed the codes for the search of the configs. Minor Fixes. 1 1 Share this post Link to post Share on other sites
Guest Posted December 22, 2018 Thanks for sending us the update! The Armaholic mirror has been updated with the new version: GF Auto Loot with userconfig Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted December 22, 2018 Just now, foxhound said: The Armaholic mirror has been updated with the new version: Thank you very much Foxhound for all the support ! 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted March 30, 2019 Changelog: v3.0 A lot of the previous code is reedited. Added option for the spawned items number. Code optimization. 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted April 6, 2019 Changelog: v3.1 Fixed , working now also on Dedicated , with auto init. 1 Share this post Link to post Share on other sites
R1FT 45 1 Posted November 13, 2019 i have map markers when the loot spawns how do i remove them? 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted November 13, 2019 Hello there R1FT 45 ! There is the debug option that you need to set to false. Share this post Link to post Share on other sites
johnnyboy 3799 Posted November 14, 2019 Very useful. Nice work Georgie Boy! 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted November 15, 2019 7 hours ago, johnnyboy said: Very useful. Nice work Georgie Boy! Thank you very much Johnnyboy ! I don't remember though , if it's that updated as the Share this post Link to post Share on other sites