Difference between revisions of "Talk:MCD"
Bomb Bloke (talk | contribs) |
Bomb Bloke (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | I don't understand what 'loft' means. Can anyone here explain it to me? | + | I don't understand what 'loft' means. Can anyone here explain it to me? |
+ | |||
+ | -[[User:Danial|Danial]] 05:00, 28 Oct 2005 (PDT) | ||
+ | |||
---- | ---- | ||
Sure. a loft is an attic, or roofspace, or somewhere located high, as in a 'church loft' (which would be the bell tower) | Sure. a loft is an attic, or roofspace, or somewhere located high, as in a 'church loft' (which would be the bell tower) | ||
+ | |||
+ | - ETeR | ||
+ | |||
---- | ---- | ||
And what exactly does that have to do with: | And what exactly does that have to do with: | ||
Line 8: | Line 14: | ||
'''"Loft of the tile. 12 values, each referances into loftemps.dat file.<br>Each record is a 16x16(?) grid. Used to create a 3D map of the tile, for LOS."''' | '''"Loft of the tile. 12 values, each referances into loftemps.dat file.<br>Each record is a 16x16(?) grid. Used to create a 3D map of the tile, for LOS."''' | ||
− | + | -[[User:Danial|Danial]] 14:23, 28 Oct 2005 (PDT) | |
+ | |||
---- | ---- | ||
− | "Loft" stands for "Line Of | + | |
+ | "Loft" stands for "Line Of Fire Table", or so I'd assume. | ||
In loftemps.dat, there are a number of records, each being a 16x16 (I think) grid. Each element of the grid is either flagged on, or off. If you stack these grids one on top of the other, you have a 3D map, and the game uses this map to work out the shape of a tile. | In loftemps.dat, there are a number of records, each being a 16x16 (I think) grid. Each element of the grid is either flagged on, or off. If you stack these grids one on top of the other, you have a 3D map, and the game uses this map to work out the shape of a tile. |
Revision as of 12:04, 7 November 2005
I don't understand what 'loft' means. Can anyone here explain it to me?
-Danial 05:00, 28 Oct 2005 (PDT)
Sure. a loft is an attic, or roofspace, or somewhere located high, as in a 'church loft' (which would be the bell tower)
- ETeR
And what exactly does that have to do with:
"Loft of the tile. 12 values, each referances into loftemps.dat file.
Each record is a 16x16(?) grid. Used to create a 3D map of the tile, for LOS."
-Danial 14:23, 28 Oct 2005 (PDT)
"Loft" stands for "Line Of Fire Table", or so I'd assume.
In loftemps.dat, there are a number of records, each being a 16x16 (I think) grid. Each element of the grid is either flagged on, or off. If you stack these grids one on top of the other, you have a 3D map, and the game uses this map to work out the shape of a tile.
This means that a shot aimed at the lower section of a tree is likely to miss, because the trunk is thin; but a shot aimed at the higher portion of the tree is more likely to hit, because the tree is larger there.
More specifically, if you fire a shot at a window, the bullet can go right through the gap, or it might clip the sides of the window.
That is, although X-Com looks 2D, when it comes to working out where a bullet goes, it's all processed in 3D. I assume the same goes for working out what a unit can or can't see.
- Bomb Bloke