Urban Chaos LGT: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| Line 28: | Line 28: | ||
SLONG ed_light_free | SLONG ed_light_free | ||
ULONG flag; | |||
ULONG amb_d3d_colour; | |||
ULONG amb_d3d_specular; | |||
SLONG amb_red; | |||
SLONG amb_green; | |||
SLONG amb_blue; | |||
SBYTE lampost_red; | |||
SBYTE lampost_green; | |||
SBYTE lampost_blue; | |||
UBYTE padding; | |||
SLONG lampost_radius; | |||
(sizeof_night_colour) sky_colour; | |||
</pre> | </pre> | ||
</div> | </div> | ||
Revision as of 13:02, 16 October 2020
LGT
- Game : Urban Chaos
- Format Type : Misc
- Endian Order : Little Endian
Format Specifications
// Urban Chaos
// LGT file format
//header
4 bytes (uint32) - sizeof_ed_light
4 bytes (uint32) - ed_max_lights
4 bytes (uint32) - sizeof_night_colour
ed_max_lights *
{
(sizeof_ed_light) bytes - el entry
}
SLONG ed_light_free
ULONG flag;
ULONG amb_d3d_colour;
ULONG amb_d3d_specular;
SLONG amb_red;
SLONG amb_green;
SLONG amb_blue;
SBYTE lampost_red;
SBYTE lampost_green;
SBYTE lampost_blue;
UBYTE padding;
SLONG lampost_radius;
(sizeof_night_colour) sky_colour;
Notes and Comments
- Files with this file format can be found inside "\Urban Chaos\data\Lighting\" folder.
- File version can be calculated as follows: version = sizeof_ed_light>>16.
Compatible Programs
None.