Please or Register to create posts and topics.

Can't get Radio to play Music

Page 1 of 3Next

Map was exported from the PETI editor. Tried setting disable_pti_audio to 1 and made no difference. Settings for the radio and ambient_generic are as follows:

Image

Image

Image

Image

Image

Did you trigger the ambient_generic to PlaySound? (It seems that you're trying to get the radio to play Exile Vilify, lol okay.)
Steps:
-Give your ambient_generic a name (eg: "rad1_sound")
-In your logic_auto or trigger, go to the Outputs tab
-Add a new output and fill in the following:
OnMapSpawn -> rad1_sound -> PlaySound
OR if its a trigger:
OnTrigger - > rad1_sound -> PlaySound
Replace "rad1_sound" with your ambient_generic name. ^^v
I don't know if you need to check the "Play everywhere", "Start Silent", and "IS not looped" box in the ambient_generic, it depends on you.

Neither of those options seemed to work.

flag to start silent

Just when I think I understand the system, it changes on me.
Shane wrote:
Image

Set the Sound Name to "music/sp_a2_dual_lasers_r1.wav". Not "music.sp_a2_dual_lasers_r1".

Tried both those suggestions, still seemed to refuse to play

Okay, I created a radio and put in my map. It plays the tune I want. I'll tell you step-by-step how I did.
-Create a prop_physics_override
-Give it a name: (eg. "radio")
(In the Flags tab, all should be unchecked except for Generate output on +USE, it looks like yours in unchecked, go check it.)
-Create a ambient_generic
-Give it a name: (eg. "radio_sound")
-Changed the "Start Volume" field to 10.
-Changed the "Source Entity Name" to radio
-Changed the "Sound Name" to music.sp_a2_dual_lasers_r1
-Go to the Flags tab and unchecked everything except "Start Silent"
-Triggered it.

Tell me if this helped. :)

RectorRocks wrote:
-Changed the "Sound Name" to music.sp_a2_dual_lasers_r1

I'm sure that it isn't music.sp_a2_dual_lasers_r1.

Shane wrote:
Tried both those suggestions, still seemed to refuse to play

Does the music play when you play it in Hammer?

Habzs wrote:
RectorRocks wrote:
-Changed the "Sound Name" to music.sp_a2_dual_lasers_r1

I'm sure that it isn't music.sp_a2_dual_lasers_r1.

It is. I tried it and it worked. I selected and previewed the file name in the sound library and it gives me Exile Vilify. I didn't even modify the field, I selected it off the sound library.

Yeah, Hammer played the sound file when I made that input as well. I've tried making a completely blank map from scrath, just 4 walls the player and the radio, even then it still refused to play. Although the tutorial I used was from Portal 1 it doesn't seem as if the procedure has changed too much, yet I simply can't wrap my head around this one :/

Habzs wrote:
RectorRocks wrote:
-Changed the "Sound Name" to music.sp_a2_dual_lasers_r1

I'm sure that it isn't music.sp_a2_dual_lasers_r1.

Shane wrote:
Tried both those suggestions, still seemed to refuse to play

Does the music play when you play it in Hammer?

Yeah, it plays both the original way I did it and in the way you suggested.

Page 1 of 3Next