Creating a Portal Radio

From Valve Developer Community
Jump to navigation Jump to search

Introduction

Portal This tutorial will show you how to create the Portal radios that usually play the Still Alive song.

Construction

  1. Create a prop_physics_override entity and set its World Model to radio_reference.mdl. Place it where you want in your map.
  2. Name the radio radio_1.
  3. Create an ambient_generic entity and place it near the radio. Name it radio_sound_1.
  4. Make the radio_sound_1's Sound Name Portal.room1_Radio. Make its Source Entity Name radio_1.
  5. Make sure none of radio_sound_1's flags are checked.


The radio is now complete!

Theory

The radio should be playing the Still Alive music which should fade out and in depending on your distance from it.