EvilEngine/SGRP: Difference between revisions
m
no edit summary
Battlepedia>Igorseabra4 (Created page with "{{AssetInfobox |subtitle=Sound Group |type=Object |objectid=0x4A |games=The SpongeBob SquarePants Movie<br>The Incredibles<br>Rise of the Underminer}} ==Format== SGRP are...") |
EnergyDrink (talk | contribs) mNo edit summary |
||
(14 intermediate revisions by 4 users not shown) | |||
Line 1:
<onlyinclude>
{{#vardefine:typeid|SGRP}}<nowiki/>
{{#vardefine:name|Sound Group}}<nowiki/>
{{#vardefine:type|[[Base]]}}<nowiki/>
{{#vardefine:basetype|0x4A}}<nowiki/>
{{#vardefine:games|TSSM Incredibles ROTU RatProto}}<nowiki/>
{{#vardefine:sourcecode|}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
</onlyinclude>
{{AutoAssetInfobox}}
==Format==
SGRP are [[
<source lang=cpp>
struct xSndGroupHeader : xBaseAsset
{
uint32 uPlayedMask;
uint8 uInfoCount;
uint8 uSetBits;
int8 nMaxPlays;
uint8 uPriority;
uint8 uFlags;
uint8 eSoundCategory;
uint8 ePlayRule;
uint8 uInfoPad0;
float32 fInnerRadius;
float32 fOuterRadius;
int8* pszGroupName;
};
</source>
===xSndGroupHeader===
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x8 ||
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
| 0x1C || int8* || '''pszGroupName''' || Unknown AssetID
| 0x20 || SoundEntry[amountOfSounds] || || Sound reference entries▼
|-▼
|-
! colspan="4" | Events
Line 40 ⟶ 66:
|}
===xSndGroupInfo===
<source lang=cpp>
struct xSndGroupInfo
{
uint32 uSoundNameHash;
float32 fVolume;
float32 fMinPitchMult;
float32 fMaxPitchMult;
};
</source>
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x0 || [[
|-
| 0x4 || float || '''
|-
| 0x8 ||
▲|-
| 0xC || ? || '''unknown''' || usually 0▼
|-
|}
{{Assets}}
{{AutoGameNavs}}
[[Category:Asset]]
|