code looks fine.
all you can do is to test the code step by step.
1. put on the powerup an animation with a sound where you know that both works fine e.g. TWLT100
if it works go to 2; if not you know the game has a hardcoded limit there and use a workaround (e.g. by spawning a debris)
2. put under UNIT in art.ini a sound which you know that is working
if it works go to 3; if not check the animation entry (the name UNIT could be interpreted wrong from the games ini-parser)
3. check if the sound file exists. test it on other animations. check if the sound file has the correct format 22050Hz,16Bit,Mono
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum