EvilEngine/SGRP: Difference between revisions

m
no edit summary
(had a few things mixed up)
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 4:
{{#vardefine:type|[[Base]]}}<nowiki/>
{{#vardefine:basetype|0x4A}}<nowiki/>
{{#vardefine:games|TSSM Incredibles ROTU RatProto}}<nowiki/>
{{#vardefine:sourcecode|}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
Line 31:
</source>
 
===xSndGroupHeader===
{| class="wikitable"
! Offset !! Type !! Variable !! Description
Line 36 ⟶ 37:
| 0x8 || uint32 || '''uPlayedMask''' || Always 0
|-
| 0xC || uint8 || '''uInfoCount''' || amountAmount of sound entries
|-
| 0xD || uint8 || '''uSetBits''' || usually 0x00
Line 52 ⟶ 53:
| 0x13 || uint8 || '''uInfoPad0''' || usually 0x42
|-
| 0x14 || float32 || '''InnerRadiusfInnerRadius''' || usually 8.0
|-
| 0x18 || float32 || '''OuterRadiusfOuterRadius''' || usually 25.0
|-
| 0x1C || int8* || '''pszGroupName''' || Unknown AssetID
|-
| 0x20 || SoundEntryxSndGroupInfo[amountOfSoundsuInfoCount] || || Sound reference entries
|-
! colspan="4" | Events
Line 65 ⟶ 66:
|}
 
 
===Sound Entry===
===xSndGroupInfo===
<source lang=cpp>
struct xSndGroupInfo
{
uint32 uSoundNameHash;
float32 fVolume;
float32 fMinPitchMult;
float32 fMaxPitchMult;
};
</source>
 
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x0 || [[Asset IDAssetID]] || '''soundAssetIDuSoundNameHash''' || [[Sound Format|SND/SNDS]]
|-
| 0x4 || float || '''VolumefVolume''' || usually between 0-1
|-
| 0x8 || float || '''minPitchMultfMinPitchMult''' || usually 0
|-
| 0xC || float || '''maxPitchMultfMaxPitchMult''' || usually 0
|}
 
2,079

edits