Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Let's start with creating prop_dynamic. Create a prop_dynamicand set it's model to underground_door_dynamic.mdl. Set it's name to whatever you wan't. I'll set it to exit_door. Now create a brush with nodraw texture in the "door knob" position. (The think you push in real life in order to open such a door :P). While you select the brush press ctrl+t to tie a brush to entity. Change the type from func_detail to func_button. In flags tab select Don't move. In properties select Delay Before Reset (-1 stay) to -1. Set Render Mode to Dont Render. Now go to outputs and add:
Tip: !self as a target entity point's to the entity that fires the output. !player points to the player. !activator points to entity activator.
Wiki pages:
https://developer.valvesoftware.com/wiki/Prop_dynamic
https://developer.valvesoftware.com/wiki/Func_button
https://developer.valvesoftware.com/wiki/Category:Portal_2_Level_Design
I go through the first step OnPressed, then I go and find exit_door. What I mean is, it does not appear as a valid entry on the "Targets entities named" list, and when typed, will appear as the color pink, even though there is a prop_dynamic in the map called exit_door.