DB/FootstepTerrainLookup: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
Lookup by first getting the [[TerrainType.dbc|TerrainTypeRec]] and the respective [[TerrainTypeSounds.dbc|TerrainTypeSoundsRec]]::m_ID. For this, and the given creature footstep ID, lookup in here, which [[SoundEntries.dbc|SoundEntriesRec]] to use. | |||
==Header Info== | ==Header Info== | ||
Records...................190 | Records...................190 | ||
Line 14: | Line 16: | ||
Retrieved from "http://www.sourcepeek.com/wiki/FootstepTerrainLookup.dbc" | Retrieved from "http://www.sourcepeek.com/wiki/FootstepTerrainLookup.dbc" | ||
==6.0.1.18179== | ==6.0.1.18179== |
Revision as of 00:09, 18 August 2015
Lookup by first getting the TerrainTypeRec and the respective TerrainTypeSoundsRec::m_ID. For this, and the given creature footstep ID, lookup in here, which SoundEntriesRec to use.
Header Info
Records...................190 Fields......................5 Record Size................20 String Block Size...........1
Structure
Column Field Type 1 ID Integer 2 iRefID_GroundEffectDoodad Integer 3 iRefID_TerrainType Integer 4 iRefID_SoundEntries_dry Integer 5 iRefID_SoundEntries_wet Integer
Retrieved from "http://www.sourcepeek.com/wiki/FootstepTerrainLookup.dbc"
6.0.1.18179
struct FootstepTerrainLookupRec { uint32_t m_ID; uint32_t m_CreatureFootstepID; // for this creature footstep id (from CreatureSoundData.m_soundFootstepID) foreign_key<uint32_t, &TerrainTypeSoundsRec::m_ID> m_TerrainSoundID; // and this terrain sound type foreign_key<uint32_t, &SoundEntriesRec::m_ID> m_SoundID; // use these sounds foreign_key<uint32_t, &SoundEntriesRec::m_ID> m_SoundIDSplash; };