Arma 3
53 ratings
Exilemod Loot Position Creator
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod, Server
File Size
Posted
Updated
38.432 KB
15 Feb, 2016 @ 1:43pm
29 Feb, 2016 @ 5:21pm
6 Change Notes ( view )

Subscribe to download
Exilemod Loot Position Creator

Description
This tool was created to help server admins creating loot position files for arma 3 Exilemod.

Add make_file.dll to you arma 3 directory *(by Killzonekid) to build the file direclty

Otherwise you can paste the content in any good code editor *(notepad++)

9 to show instruction

1 to initiate building
2 to place loot spawn
3 to auto-generate building
4 to complete building
5 to generate file

7 to auto-generate entire map

page up to push the ball
page down to pull the ball
home to inscrease distance to surface
end to decrease distance to surface

Donations are welcome and appreciated at patrix87@gmail.com via Paypal.
46 Comments
Stollenwerk 4 Sep, 2021 @ 10:37am 
I have the problem, when hitting 5 to generate the file, the confirmation window pops up on the desktop and ingame the screen gets black. After ALT+TAB ing a dozen times I get the window back into the game to confirm it. Any fix for that?
Danger 23 Mar, 2021 @ 7:55am 
the same as what eddi once wrote i have a fix for the auto generation Press 7
scroll tho the line 264 and change to

_line = [tostring[9],"class ",_buildingClass,tostring[13],tostring[9],"{",tostring[13],tostring[9],tostring[9],"table = ""Military",buildingcategory,""";"]joinstring "";
iCEtIMed 19 Jan, 2021 @ 4:36am 
this explains it a bit better. I just added the extra points under the other ones.
https://www.youtube.com/watch?v=AzsXJIqhd2U&feature=emb_logo
Zlobot 17 Apr, 2020 @ 7:27pm 
Maybe a lot of people don't work out well because they're in
"lootpos.pbo" in "lootpos\init\fn_init.sqf" line 221 says, "Press 3 to complete class before exporting file", and 3 is autogeneration. There you need to fix the record on button 4.
Kass 3 Jan, 2020 @ 2:24pm 
If autogeneration includes not all buildings, use this fix:
Do steps 1-3 like @Kääriäinen said and change this(start line 239):

//Create array with all buildings
_allBuildings = [];
_allBuildings = [12000,12000] nearObjects ["House",12000];
//array of all valid buidling classes

to this:

//Create array with all buildings
private ["_worldSideSize", "_mapCenter", "_scanRadiusSize"];
_worldSideSize = worldName call BIS_fnc_mapSize;
_mapCenter = _worldSideSize / 2;
_scanRadiusSize = _mapCenter * (sqrt 2);
_allBuildings = [];
_allBuildings = [_mapCenter,_mapCenter] nearObjects ["House",_scanRadiusSize];
//array of all valid buidling classes

That will dynamically get size of map and calculate truly radius of scan.
Pouchtre 5 Dec, 2019 @ 8:28am 
I re-tried the "fix", and it still definitely doesn't work for me.
Pouchtre 5 Dec, 2019 @ 7:07am 
@Brzęczyszczykiewicz I think I already did that and it didnt work, I will try again tho, thank u
Eddie 11 Nov, 2019 @ 2:21pm 
@Dack Janiels, @Verdict - Khaz posted how to fix this. Let me explain:

1) Go to "\Steam\steamapps\common\Arma 3\!Workshop\@Exilemod Loot Position Creator\addons"

2) Unpack lootpos.pbo and go to extracted folder "lootpos\init"

3) Open fn_init.sqf and change line 60:

From:
_line = [tostring[9],"class ",buildingClass,": ",buildingcategory,tostring[13],tostring[9],"{"]joinstring "";

To:
_line = [tostring[9],"class ",buildingClass,tostring[13],tostring[9],"{",tostring[13],tostring[9],tostring[9],"table = """,buildingcategory,""";"]joinstring "";

4) Save the file, repack it back into lootpos.pbo - done.

Now it will be making classes in the same format as you have them in your config.cpp, except for loot positions being listed each in their own line (which is better anyway).
Pouchtre 3 Oct, 2019 @ 2:35am 
Doesn't work in the way it writes the lootpositions.hpp file.
For any class of building, I get some thing like: class Land_Garaz_bez_tanku: ReplaceMe
I get that I have to put a building type (like "Tourist", "Military", etc...) for each building, but there's hundreds of them.
Tried every thing but nothing worked. This tool doesn't save me any time.
[RW] Scout 19 Jul, 2019 @ 4:34pm 
Hi patrix is there support for 64bit ? mine keep saying its not supported :-/