Log In  

How do I add a custom sound effect to a pickup item?

I converted my .wav to an .xm file using MilkyTracker and uploaded it into Voxatron.

But with the settings for my pickup item it only allows to activate a default sound.

P#109684 2022-04-04 15:56

:: merwok

did you copy your item from an existing one?
does it contain an sfx?
or does it contain code that plays sfx?

P#109869 2022-04-07 18:19

I created the pickup item from scratch, it only contains the animation.
Then I added a script: play_sound(597) with activation control SOME ACTOR PLAYER COLLIDE ANY.
The object 597 is of type AUDIO.
Program runs, pickup disappears on collision but no sound.
I'd rather post my questions on reddit/voxatron but that subreddit is pretty dead.

P#109899 2022-04-08 09:07
:: merwok

sorry I can’t help! I don’t have experience with combining a script and the GUI activation controls.

have you watched the youtube tutorials for voxatron? some may show example sounds. otherwise let’s try tagging @zep !

P#109903 2022-04-08 11:35

This is also what I was looking for in terms of game sounds at https://klingeltonkostenlos.de/. They are wonderful and interesting to us

P#111598 2022-05-10 03:39 ( Edited 2022-05-11 02:58)

@3oPiOdxcoi2P13BH if you post your cart it would be easier to try to figure out. I am wondering if no sound plays because
the item has been picked up and is no longer in the room. Try to have sound as a separate object in the room activated on item pickup. Something to try out keep us posted.

P#111628 2022-05-10 18:37

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2022-09-25 04:21:55 | 0.023s | Q:16