Creating Portal Speakers: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 7: Line 7:
==The Speaker==
==The Speaker==


Create a [[prop_static]] entity and set it's world model to <code>models/props/speaker_system01/speaker_system01.mdl</code>
Create a <code>[[prop_static]]</code> entity and set it's world model to <code>models/props/speaker_system01/speaker_system01.mdl</code>


If the speaker is inside an Observation Hallway set it's skin to 0. If the speaker is the the maintenance areas, make it skin 1.
If the speaker is inside an Observation Hallway set it's skin to 0. If the speaker is the the maintenance areas, make it skin 1.


Create an [[info_target]] entity and name it to <code>glados_speaker1</code>. Put this info_target in the center of the speaker part of the model.
Create an <code>[[info_target]]</code> entity and name it to <code>glados_speaker1</code>. Put this <code>info_target</code> in the center of the speaker part of the model.


Create an <code>[[env_microphone]]</code> entity inside of the nodraw box of the GLaDOS' [[generic_actor]] area. Enter the following properties:
Create an <code>[[env_microphone]]</code> entity inside of the nodraw box of the GLaDOS' <code>[[generic_actor]]</code> area. Enter the following properties:


{| class=standard-table
{| class=standard-table

Revision as of 21:10, 28 August 2019

Portal Behind The Scenes Level Creation

Introduction

This tutorial will teach you how to create speakers.

First, complete this guide Making GLaDOS speak

The Speaker

Create a prop_static entity and set it's world model to models/props/speaker_system01/speaker_system01.mdl

If the speaker is inside an Observation Hallway set it's skin to 0. If the speaker is the the maintenance areas, make it skin 1.

Create an info_target entity and name it to glados_speaker1. Put this info_target in the center of the speaker part of the model.

Create an env_microphone entity inside of the nodraw box of the GLaDOS' generic_actor area. Enter the following properties:

Property Name Value
Name glados_microphone_speaker01
Start Disabled Yes
Speaker target glados_speaker1
Speaker DSP Preset 8 LOUDSPEAKER, ECHO

See Also