revert changes to loot positions and added new positions for dayzero
buildings fixes
This commit is contained in:
[VB]AWOL
2014-05-31 23:41:08 -05:00
parent 22ae8fbe22
commit 433163e67d
4 changed files with 1863 additions and 2055 deletions

View File

@@ -678,7 +678,6 @@ class CfgBuildingLoot {
}; };
#include "CfgBuildingPos.hpp" #include "CfgBuildingPos.hpp"
#include "DZE\CfgBuildingPos.hpp"
//If you want to copypast your loottable to your mission w/o //If you want to copypast your loottable to your mission w/o
//changing something on the lootPos then use the a include instead of copypasting the CfgBuildingPos.hpp //changing something on the lootPos then use the a include instead of copypasting the CfgBuildingPos.hpp

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -58,11 +58,11 @@ switch (_iClass) do {
}; };
} }
else { else {
diag_log format["DEBUG dayz_CLBase: %1", dayz_CLBase]; // diag_log format["DEBUG dayz_CLBase: %1", dayz_CLBase];
_index = dayz_CLBase find _iClass; _index = dayz_CLBase find _iClass;
if (_index > 0) then { if (_index > 0) then {
_weights = dayz_CLChances select _index; _weights = dayz_CLChances select _index;
diag_log format["DEBUG dayz_CLChances: %1", dayz_CLChances]; //diag_log format["DEBUG dayz_CLChances: %1", dayz_CLChances];
_cntWeights = count _weights; _cntWeights = count _weights;
_index = floor(random _cntWeights); _index = floor(random _cntWeights);
_index = _weights select _index; _index = _weights select _index;