EvilEngine/ENV: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
Battlepedia>Seil
Battlepedia>Seil
Line 7: Line 7:
==Format==
==Format==
{| class="wikitable"
{| class="wikitable"
! Offset !! Type !! Description
! Offset !! Type !! Variable !! Description
|-
|-
| 0x08 || [[AssetID]] ([[JSP]]) || '''JSP'''
| 0x08 || [[AssetID]] ([[JSP]]) || '''bspAssetID''' ||
|-
|-
| 0x0C || [[AssetID]] ([[CAM|Camera]]) || '''Camera'''
| 0x0C || [[AssetID]] ([[CAM|Camera]]) || '''startCameraAssetID''' ||
|-
|-
| 0x10 || int || '''Weather?''' - 2 in Sand Mountain, 0 in other levels
| 0x10 || int || '''climateFlags''' || 2 in Sand Mountain, 0 in other levels
|-
|-
| 0x14 || float[2] || unknown - only used in Sand Mountain, 0 in other levels
| 0x14 || float || '''climateStrengthMin''' || only used in Sand Mountain, 0 in other levels
|-
|-
| 0x18 || float || '''climateStrengthMax''' || only used in Sand Mountain, 0 in other levels
| 0x1C || [[AssetID]] ([[LKIT|LightKit]]) || '''LightKit 1''' - unknown
|-
|-
| 0x20 || [[AssetID]] ([[LKIT|LightKit]]) || '''LightKit 2''' - used to light objects
| 0x1C || [[AssetID]] ([[LKIT|LightKit]]) || '''bspLightKit''' ||
|-
|-
| 0x20 || [[AssetID]] ([[LKIT|LightKit]]) || '''objectLightKit''' ||
| 0x24 || int[4] || null
|-
|-
| 0x34 || [[AssetID]] ([[MAPR|Material Map]]) || '''Material Map'''
| 0x24 || int || '''padF1''' || padding
|-
|-
| 0x38 || int[2] || null
| 0x28 || [[AssetID]] || '''bspCollisionAssetID''' ||
|-
|-
| 0x2C || [[AssetID]] || '''bspFXAssetID''' ||
| 0x40 || float (little endian) || unknown - always 10
|-
|-
| 0x30 || [[AssetID]] || '''bspCameraAssetID''' ||
! colspan="3" | Events
|-
|-
| 0x44 || Event[numberOfEvents] || '''[[Events]]'''
| 0x34 || [[AssetID]] ([[MAPR|Material Map]]) || '''bspMapperID''' ||
|-
| 0x38 || [[AssetID]] || '''bspMapperCollisionID''' ||
|-
| 0x3C || [[AssetID]] || '''bspMapperFXID''' ||
|-
| 0x40 || float (little endian) || '''loldHeight''' || always 10
|-
! colspan="4" | Events
|-
| 0x44 || Event[numberOfEvents] || '''[[Events]]''' ||
|}
|}



Revision as of 09:30, 15 February 2019

ENV
Environment
TypeObject
Games usedThe Incredibles

Format

Offset Type Variable Description
0x08 AssetID (JSP) bspAssetID
0x0C AssetID (Camera) startCameraAssetID
0x10 int climateFlags 2 in Sand Mountain, 0 in other levels
0x14 float climateStrengthMin only used in Sand Mountain, 0 in other levels
0x18 float climateStrengthMax only used in Sand Mountain, 0 in other levels
0x1C AssetID (LightKit) bspLightKit
0x20 AssetID (LightKit) objectLightKit
0x24 int padF1 padding
0x28 AssetID bspCollisionAssetID
0x2C AssetID bspFXAssetID
0x30 AssetID bspCameraAssetID
0x34 AssetID (Material Map) bspMapperID
0x38 AssetID bspMapperCollisionID
0x3C AssetID bspMapperFXID
0x40 float (little endian) loldHeight always 10
Events
0x44 Event[numberOfEvents] Events