[DiscordArchive] dear reverse engineers, is this only used for detail doodads or also for the footsteps ?
[DiscordArchive] dear reverse engineers, is this only used for detail doodads or also for the footsteps ?
![[Image: image.png?ex=690c3e8e&is=690aed0e&hm=971...6370e3cdf&]](https://cdn.discordapp.com/attachments/1086807686571642900/1213914314558410773/image.png?ex=690c3e8e&is=690aed0e&hm=971d09fc5ca2aa5a9424dc32f9321db20f8b7863b0f302fc9c925226370e3cdf&)
Archived author: Titi • Posted: 2024-03-03T18:22:06.095000+00:00
Original source
dear reverse engineers, is this only used for detail doodads or also for the footsteps ?
![[Image: image.png?ex=690c3e8e&is=690aed0e&hm=971...6370e3cdf&]](https://cdn.discordapp.com/attachments/1086807686571642900/1213914314558410773/image.png?ex=690c3e8e&is=690aed0e&hm=971d09fc5ca2aa5a9424dc32f9321db20f8b7863b0f302fc9c925226370e3cdf&)
Archived author: Kaev • Posted: 2024-03-03T18:32:28.748000+00:00
Original source
iirc the effect id in MCLY defines the footstep sound according to the GroundEffectTexture.dbc entry
Archived author: Kaev • Posted: 2024-03-03T18:33:13.698000+00:00
Original source
Just checked wiki:
> For getting the right feeling when walking, you should set the effectId which links to GroundEffectTextureRec::m_ID. It defines the little detail doodads as well as the footstep sounds and if footprints are visible. You can set the id to -1 (int16!) to have no detail doodads and footsteps at all. Also, you need to define the currently on-top layer in the MCNK structure for the correct detail doodads to show up!
Archived author: Titi • Posted: 2024-03-03T18:33:35.203000+00:00
Original source
there's 1 effect id per texture so up to 4 effects defined per chunk, this array above defines which ground effect to use
Archived author: Kaev • Posted: 2024-03-03T18:36:28.324000+00:00
Original source
Sound logical if it doesn't use the highest texture layer for that
Archived author: Titi • Posted: 2024-03-03T18:36:53.015000+00:00
Original source
one of the top layers could be used at like only 3%
![[Image: image.png?ex=690c4223&is=690af0a3&hm=e75...cfb57bbb4&]](https://cdn.discordapp.com/attachments/1086807686571642900/1213918163507351582/image.png?ex=690c4223&is=690af0a3&hm=e752d96ea38675dc06969ad8bb378d4ccb20e559fb091e8f7af4dbfcfb57bbb4&)
Archived author: Titi • Posted: 2024-03-03T18:37:23.733000+00:00
Original source
you can see in the other channel I rendered that array it's pretty close to an average opacity check
![[Image: image.png?ex=690c4223&is=690af0a3&hm=e75...cfb57bbb4&]](https://cdn.discordapp.com/attachments/1086807686571642900/1213918163507351582/image.png?ex=690c4223&is=690af0a3&hm=e752d96ea38675dc06969ad8bb378d4ccb20e559fb091e8f7af4dbfcfb57bbb4&)
Archived author: Titi • Posted: 2024-03-03T18:37:40.844000+00:00
Original source
I was just asking if this is only used for the detail doodads or also footsteps