OBD:ENVP: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 46: | Line 46: | ||
;Enviroment particles | ;Enviroment particles | ||
:Locklights, lights, fire, smoke, steam, "electricity" etc... | :Locklights, lights, fire, smoke, steam, "electricity" etc. Loose particles are normally added to the [[OBD:BINA/OBJC/PART|level particle collection]]. ENVP is used by the level importer tool to store particles attached to [[OBD:OBOA|objects]] or [[OBD:BINA/OBJC/FURN|furniture]]. | ||
;Transformation matrix | ;Transformation matrix |
Revision as of 14:59, 18 November 2012
|
Offset | Type | Raw Hex | Value | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | res_id | 01 9B 02 00 | 667 | 00667-.ENVP | ||||||||||||||||||||||||
0x04 | lev_id | 01 00 00 06 | 3 | level 3 | ||||||||||||||||||||||||
0x08 | char[22] | AD DE | dead | unused | ||||||||||||||||||||||||
0x1E | int16 | 42 00 | 66 | array size | ||||||||||||||||||||||||
First element (black outline) | ||||||||||||||||||||||||||||
0x00 | char[64] | locklight | particle type name (reference to 06079-3RAPlocklight.BINA of level 0); global lookup name | |||||||||||||||||||||||||
0x40 | char[48] | lock1_locklight01 | particle name; local lookup name (visible from scripts etc) | |||||||||||||||||||||||||
0xA4 | matrix |
|
|
transform matrix for the particle (in world space) | ||||||||||||||||||||||||
0xA0 | int32 | 00 00 80 3F | 1.000000 | decal x scale | ||||||||||||||||||||||||
0xA4 | int32 | 00 00 80 3F | 1.000000 | decal y scale | ||||||||||||||||||||||||
0xA8 | int32[10] | 00 00 00 00 | 0 | runtime only |
- Enviroment particles
- Locklights, lights, fire, smoke, steam, "electricity" etc. Loose particles are normally added to the level particle collection. ENVP is used by the level importer tool to store particles attached to objects or furniture.
- Transformation matrix
- Used to orient and stretch the particles (decals, locklights, etc).
- See, e.g., CRSA for a detailed explanation.
ONI BINARY DATA |
---|
DPge << Other file types >> FILM |
ENVP : Env Particle Array |
Level file |