i can't a sound to start with the action of a button, help?

Avatar
eyebeekaii
4 Posts
Posted Dec 20, 2014
Hey folks,

I'm fairly new with hammer but i want to make portal mod for my graduation project, and therefore i'm now experimenting a lot with hammer.

All i wanted to do is when i activate a button, a sound strarts to play.

I followed this tutorial https://www.youtube.com/watch?v=OInSauhy33M which is pretty much explainatory but when i activate the button i get nothing... Not even an error. The weird thing is that if i press play in Object Properties the track works.

What am i doing wrong?
Please help me

Yori

Advertisement
Registered users don't see ads! Register now!
Avatar
vanSulli
994 Posts
Posted Dec 20, 2014
Replied 39 minutes later
Hi,

This isn't a method I'm familiar with using to pack sounds into a map; usually, I use a program called Pakrat to add files to a map after its been compiled.

If you're making a mod and not a single map, you don't need to pack the sounds into the map at all: just place it in your portal 2/sound folder and it should work fine (include a sound folder with your mod with all the sounds when you release it).

Hope this helps.

Avatar
eyebeekaii
4 Posts
Posted Dec 20, 2014
Replied 31 minutes later
I'm making an audiovisual exploration based map so its important that i can test the maps if they work properly... Any chance you would contact me on steam, my username is: eyebeekaii

Thanx

Advertisement
Registered users don't see ads! Register now!