Func portal bumper: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Correction.)
m (Updated entity data style for consistency)
Line 14: Line 14:


== Keyvalues ==
== Keyvalues ==
* {{KV Targetname}}
{{KV Targetname}}
* {{KV Parentname}}
{{KV Parentname}}


== Flags ==
== Flags ==
Line 21: Line 21:


== Inputs ==
== Inputs ==
* {{I Targetname}}
{{I Targetname}}
* '''Activate'''
; <code>Activate</code>
: Turn on bumping functionality
: Turn on bumping functionality
* '''Deactivate'''
; <code>Deactivate</code>
: Turn off bumping functionality
: Turn off bumping functionality
* '''Toggle'''
; <code>Toggle</code>
: Toggle bumping functionality
: Toggle bumping functionality


== Outputs ==
== Outputs ==
* {{O Targetname}}
{{O Targetname}}

Revision as of 12:12, 3 May 2011

Not using a portal bumper
How to place the bumper in Hammer
The result - a portal will be bumped to fit on the concrete

Template:Portal series brush

Entity Description

This brush tells Portal to 'bump' portals that cannot open inside it away. Use it when a portal-proof surface runs directly on to a portal-friendly one.

You don't need to use one if there is an angle in the surface (e.g. the corners of a room).

Note.pngNote:Each func_portal_bumper must stick at least two units out from the surface.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Parentname:
Parent (parentname) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.

Flags

  • 1: Start inactive

Inputs

Activate
Turn on bumping functionality
Deactivate
Turn off bumping functionality
Toggle
Toggle bumping functionality

Outputs