LOS.TDFThe LOS.TDF file is as big a puzzle as anything else in Total Annihilation. The contents can best be described if you look at a piece of this file:
// Line of sight tables
[TABLEINFO]
{
numtables=9;
}
…
[TABLE2]
{
numlines=4; // Radius of 2
line1= 2, 0, 1, 0, 2;
line2= 2, 0, 1, 1, 2;
line3= 1, 1, 1;
line4= 2, 1, 0, 2, 1;
}
The file contains 12 tables (even though the “numtables=9;” statement seems to contradict it) that seem to describe the visible “circle” that surrounds a unit that is defined by the unit’s SightDistance. The larger the sight radius, the more “lines” on the screen that are seen, and so on. However, we haven’t quite figured out what all the values mean. In addition, we are curious as to whether or not these tables are helping to contribute to the current maximum allowable unit SightDistance of 400 (i.e. maybe if we can figure out how to add to this table, we can figure out how to expand the SightDistance of units).