StrataSource / Portal-2-Community-Edition

Task tracker for Portal 2: Community Edition
https://www.portal2communityedition.com
150 stars 3 forks source link

Bug: [Workshop Beta] `logic_choreographed_scene` custom .vcd files do not play #1601

Closed LambdaCore21 closed 8 months ago

LambdaCore21 commented 10 months ago

Describe the bug

Bug: [Workshop Beta] Custom logic_choreographed_scene .vcd files do not play.

Uploading a workshop map to the new addon system causes the custom .vcd to play "fiddlesticks" instead of the .wav

This seems to be similar to #1604

When this addon structure was first published to closed beta, the .vcd would not play correctly on the very first map load / game launch. However, it would play correctly for any game / map launch afterwards

Issue Map

https://steamcommunity.com/sharedfiles/filedetails/?id=3132663480

To Reproduce

  1. Subscribe
  2. Launch the workshop map "vcd_new" and get fiddlestick'd

Operating System

No response

LambdaCore21 commented 9 months ago

After the workshop update, the situation is now worse: custom .vcd files do not play anymore

grafik

LambdaCore21 commented 9 months ago

grafik

JJL772 commented 9 months ago

Were you able to get this working with the sound script in scripts/sounds?

LambdaCore21 commented 9 months ago

It is still the same issue:

https://steamcommunity.com/sharedfiles/filedetails/?id=3132663480

As soon as I put these exact files into the P2CE custom folder, it works like a charm. Files attached

grafik

vcd test.zip

JJL772 commented 8 months ago

Turns out I forgot to reload sound scripts when content is reloaded :) Easy fix, will be in the next build tomorrow.

LambdaCore21 commented 8 months ago

Friggin' epic! 😁

JJL772 commented 8 months ago

Completed in workshop beta branch