EvilEngine/GUST: Difference between revisions

m
Seil moved page GUST to EvilEngine/GUST
(Created page with "<onlyinclude> {{#vardefine:typeid|GUST}}<nowiki/> {{#vardefine:name|Gust}}<nowiki/> {{#vardefine:type|Base}}<nowiki/> {{#vardefine:basetype|0x1C}}<nowiki/> {{#vardefine:ga...")
 
m (Seil moved page GUST to EvilEngine/GUST)
 
(One intermediate revision by one other user not shown)
Line 9:
</onlyinclude>
{{AutoAssetInfobox}}
 
==Format==
Gusts are base assets, so they start with their 0x8 byte header, then are followed by:
 
<source lang=cpp>
struct zGustAsset : p2BaseAsset
{
uint32 flags;
uint32 volumeID;
uint32 effectID;
_xVec3 vel;
float32 fade;
float32 partMod;
};
</source>
 
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x08 || uint32 || '''flags''' ||
|-
| 0x0C || uint32 || '''volumeID''' ||
|-
| 0x10 || uint32 || '''effectID''' ||
|-
| 0x14 || [[Vector3]] || '''vel''' ||
|-
| 0x20 || float32 || '''fade''' ||
|-
| 0x24 || float32 || '''partMod''' ||
|}
 
{{Assets}}