Creating a Portal Radio: Difference between revisions
Jump to navigation
Jump to search
Note: The radios here will show you how to create the radios from the pre-2010 patch for Portal, some of these radios can still be seen in Portal's vmf files and even in test chamber 16's advanced version. You will have to be creative if you want to create your own proximity radios with the glow sprite.
No edit summary |
Thunder4ik (talk | contribs) m (→Construction: Unicodifying, replaced: [[Image: → [[File: (2)) |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
== Introduction == | {{DISPLAYTITLE: Portal - Tutorial - Radio}} | ||
{{lang|Creating a Portal Radio}} | |||
{{Back|Portal Level Creation}} | |||
==Introduction== | |||
{{portal}} This tutorial will show you how to create the Portal radios that usually play the fast instrumental version of the '''Still Alive''' song. | {{portal}} This tutorial will show you how to create the Portal radios that usually play the fast instrumental version of the '''Still Alive''' song. | ||
{{note| The radios here will show you how to create the radios from the pre-2010 patch for Portal, some of these radios can still be seen in Portal's vmf files and even in test chamber 16's advanced version. You will have to be creative if you want to create your own proximity radios with the glow sprite.}} | |||
== Construction == | == Construction == | ||
# Create a '''[[prop_physics_override]]''' entity and set its ''World Model'' [[keyvalue]] to <code>radio_reference.mdl</code>. Place it where you want in your map. | # Create a '''[[prop_physics_override]]''' entity and set its ''World Model'' [[keyvalue]] to <code>models/props/radio_reference.mdl</code>. Place it where you want in your map. | ||
# ''Name'' the radio <code>radio_1</code>. | # ''Name'' the radio <code>radio_1</code>. | ||
# Create an '''[[ambient_generic]]''' entity and place it near the radio. Name it <code>radio_sound_1</code>. | # Create an '''[[ambient_generic]]''' entity and place it near the radio. Name it <code>radio_sound_1</code>. | ||
Line 10: | Line 16: | ||
# Make sure none of radio_sound_1's flags are checked. | # Make sure none of radio_sound_1's flags are checked. | ||
The radio is now complete! | |||
If you are using [[Creating_a_portal/object_fizzler|fizzler]] on your map, then: | |||
# Create an '''ambient_generic''' entity and place it inside the fizzler. Name it <code>radio_sound_fizzle</code> | |||
# Make the radio_sound_fizzle's ''Sound Name'' <code>UpdateItem.Fizzle</code>. | |||
# Create a '''[[filter_activator_name]]'''. Name it <code>radio_filter</code>. Set Filter Name to <code>radio_1</code>. | |||
# Create a '''[[trigger_once]]''' with the same size and same position as the [[trigger_portal_cleanser]], set the filter to <code>radio_filter</code> and set the following outputs: | |||
{| class=standard-table | |||
! || Output named || Target entities || Via this input || Parameter || Delay | |||
|- | |||
|[[File:Io11.png]] || OnStartTouch || radio_sound_1 || StopSound || || 0.00 | |||
|- | |||
|[[File:Io11.png]] || OnStartTouch || radio_sound_fizzle || PlaySound || || 0.00 | |||
|} | |||
[[Category:Portal]] | [[Category:Portal]] | ||
[[Category:Level Design]] | |||
[[Category:Tutorials]] |
Latest revision as of 18:25, 7 January 2024
Introduction
This tutorial will show you how to create the Portal radios that usually play the fast instrumental version of the Still Alive song.

Construction
- Create a prop_physics_override entity and set its World Model keyvalue to
models/props/radio_reference.mdl
. Place it where you want in your map. - Name the radio
radio_1
. - Create an ambient_generic entity and place it near the radio. Name it
radio_sound_1
. - Make the radio_sound_1's Sound Name
Portal.room1_Radio
. Make its Source Entity Nameradio_1
. - Make sure none of radio_sound_1's flags are checked.
The radio is now complete!
If you are using fizzler on your map, then:
- Create an ambient_generic entity and place it inside the fizzler. Name it
radio_sound_fizzle
- Make the radio_sound_fizzle's Sound Name
UpdateItem.Fizzle
. - Create a filter_activator_name. Name it
radio_filter
. Set Filter Name toradio_1
. - Create a trigger_once with the same size and same position as the trigger_portal_cleanser, set the filter to
radio_filter
and set the following outputs:
Output named | Target entities | Via this input | Parameter | Delay | |
---|---|---|---|---|---|
![]() |
OnStartTouch | radio_sound_1 | StopSound | 0.00 | |
![]() |
OnStartTouch | radio_sound_fizzle | PlaySound | 0.00 |