This is a client mission bug fix for 0.1
There is typos in the loot arrays basicly i.e
should be
The fix basicly checks the loot positons it receives from config file is a nested array (correct), if it isn't it adds the position into an array.
There is also diag_log statements that will print out debug lines to client's rpt logs that mention the broken type etc...
Its not ideal fix, but its a temp solution till next release..
At the very least u will get some get loot etc
--------------
Download the 2 files for spawning loot + zombies
In your init.sqf add
in your init.sqf should do the trick...
Note i have a habbit of incorpating a custom compiles.sqf & sort my file fixes into directorys, so am not 100% certain on the init.sqf part...
There is typos in the loot arrays basicly i.e
Code:
class Land_ammostore2 : Military {
maxRoaming = 2;
lootPos[] = {-0.383789, -2.19238, -2.72875};
Code:
class Land_ammostore2 : Military {
maxRoaming = 2;
lootPos[] = {{-0.383789, -2.19238, -2.72875}};
The fix basicly checks the loot positons it receives from config file is a nested array (correct), if it isn't it adds the position into an array.
There is also diag_log statements that will print out debug lines to client's rpt logs that mention the broken type etc...
Code:
_temp_positions = [] + getArray (_config >> "lootPos");
if (typeName (_temp_positions select 0) == "ARRAY") then {
_positions = _temp_positions;
} else {
_positions = [_temp_positions];
diag_log ("LOOTSPAWN: Broken Type:" + str(_type));
diag_log ("LOOTSPAWN: Old Fixed:" + str(_temp_positions));
diag_log ("LOOTSPAWN: Fixed:" + str(_positions));
};
Its not ideal fix, but its a temp solution till next release..
At the very least u will get some get loot etc
--------------
Download the 2 files for spawning loot + zombies
In your init.sqf add
Code:
building_spawnLoot = compile preprocessFileLineNumbers "building_spawnLoot.sqf";
building_spawnZombies = compile preprocessFileLineNumbers "building_spawnZombies.sqf";
in your init.sqf should do the trick...
Note i have a habbit of incorpating a custom compiles.sqf & sort my file fixes into directorys, so am not 100% certain on the init.sqf part...