FBI file problem
Posted: 07 Sep 2005, 00:18
Odd behaviour happens when you use the ExtractsMetal tag in FBI files. If its greater then 0, it caused my flying unit to fly to the upper left hand corner, and was not clickable or controllable.
Bad Code
Good Code
This happens with the good code as it is, but the extractsmetal was set to 0.003 and the behaviour still occured.
Bad Code
Code: Select all
//Energy and metal related
BuildCostEnergy=6849;
BuildCostMetal=254;
EnergyMake=8;
EnergyStorage=0;
EnergyUse=0.8;
ExtractsMetal=0.003;
MakesMetal=1;
MetalMake=0.5;
MetalStorage=0;
MetalUse=1.0;
TidalGenerator=0;
WindGenerator=0;
Code: Select all
//Energy and metal related
BuildCostEnergy=6849;
BuildCostMetal=254;
EnergyMake=8;
EnergyStorage=0;
EnergyUse=0.8;
ExtractsMetal=0; // If greater then 0, makes unit unuseable
MakesMetal=0;
MetalMake=0;
MetalStorage=0;
MetalUse=0;
TidalGenerator=0;
WindGenerator=0;