Statistics: Posted by johnie102 — 07 Apr 2013, 21:41
Statistics: Posted by Prince__ — 07 Apr 2013, 19:12
do
local OldModBlueprints = ModBlueprints
function ModBlueprints(all_bps)
OldModBlueprints(all_bps)
for id,bp in all_bps.Unit do
if table.find(bp.Categories, "INDIRECTFIRE") then
elseif table.find(bp.Categories, "DIRECTFIRE") then
elseif table.find(bp.Categories, "FACTORY") then
elseif table.find(bp.Categories, "ANTIAIR") then
elseif table.find(bp.Categories, "ANTINAVY") then
elseif table.find(bp.Categories, "INTELLIGENCE") then
elseif table.find(bp.Categories, "ANTIMISSILE") then
if table.find(bp.Categories, "SILO") then
bp.Physics.BuildOnLayerCaps.LAYER_Seabed = true
if bp.Wreckage then
bp.Wreckage.WreckageLayers.Seabed = true
end
end
elseif table.find(bp.Categories, "ANTIMISSILE") then
elseif table.find(bp.Categories, "AIRSTAGINGPLATFORM") then
elseif table.find(bp.Categories, "STRUCTURE") then
bp.Physics.BuildOnLayerCaps.LAYER_Seabed = true
if bp.Wreckage then
bp.Wreckage.WreckageLayers.Seabed = true
end
end
end
end
end
Statistics: Posted by johnie102 — 07 Apr 2013, 15:38