Dropper (Portal 2)

From Valve Developer Community
Revision as of 08:19, 15 May 2011 by Jzbradley (talk | contribs) (Creation)
Jump to: navigation, search

A dropper is a puzzle element in Portal 2. Things like gel and cubes fall out of it. It can be hooked up to a button.

Creating Droppers

1. Create a func_instance entity with the following properties:

Property Name Value
Fix up Name box_dropper
VMF Filename instances/gameplay/cube_dropper_normal.vmf

If the cube dropper doesn't show up then save and reload so you can position it properly.

2. Create the entity you want to activate the cube dropper. For example, a trigger_once at the entrance to the room, and give it the following outputs:

My Output Target Entity Target Input Parameter Delay Only Once
Io11.png OnTrigger box_dropper instance:@cube_dropper;Trigger 0.00 No
Io11.png OnTrigger box_dropper instance:@cube_dropper_autorespawn;Enable 0.00 No

3. Hammer may indicate that these are invalid. Ignore it.