Security Camera: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
[[File:Camera.jpg|right|thumb|150px|Always watching.]]
[[File:Camera.jpg|right|thumb|150px|Always watching.]]


A '''security camera''' is an [http://developer.valvesoftware.com/wiki/NPC NPC] entity that automatically follows the player wherever he/she is in the room and are similar to the ones seen in the first  [http://developer.valvesoftware.com/wiki/Portal Portal]. Security cameras can be detached when a linked portal is placed behind it using [http://developer.valvesoftware.com/wiki/Trigger triggers].
A '''security camera''' is an [[NPC]] entity that automatically follows the player wherever he/she is in the room and are similar to the ones seen in the first  [[Portal]]. Security cameras can be detached when a linked portal is placed behind it using [[triggers]].


== Creation ==
== Creation ==
1) Create an '''[http://developer.valvesoftware.com/wiki/Npc_security_camera npc_security_camera]''' entity using the [http://developer.valvesoftware.com/wiki/Entity_Tool entity tool].
1) Create an '''[[npc_security_camera]]''' entity using the [[entity tool]].


2) Place the entity within the level by clicking anywhere in the 3D viewfinder.
2) Place the entity within the level by clicking anywhere in the 3D viewfinder.
Line 12: Line 12:
== Properties ==
== Properties ==
'''Skin'''
'''Skin'''
::{| class=standard-table
::{| class="standard-table"
!| Value
! rowspan=2 | Value
|| Skin 0: Clean
| Skin 0: Clean
Skin 1: Dirty
|-
| Skin 1: Dirty
|}
|}

Revision as of 20:03, 15 May 2011

Always watching.

A security camera is an NPC entity that automatically follows the player wherever he/she is in the room and are similar to the ones seen in the first Portal. Security cameras can be detached when a linked portal is placed behind it using triggers.

Creation

1) Create an npc_security_camera entity using the entity tool.

2) Place the entity within the level by clicking anywhere in the 3D viewfinder.

2) Double-click on the entity to adjust its properties.

Properties

Skin

Value Skin 0: Clean
Skin 1: Dirty