安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题
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.