Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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 "";
https://www.youtube.com/watch?v=AzsXJIqhd2U&feature=emb_logo
"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.
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.
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).
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.