Wheelvalve: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
Bind these two objects together, making the momentary_rot_button entity as the parent of the the prop_dynamic entity.
Bind these two objects together, making the momentary_rot_button entity as the parent of the the prop_dynamic entity.


1)  Give each of these entities a unique name.  For example:
1)  Set the Name property for each of the entities.  (Give each entity a unique, meaningful name.  For example:


     momentary_rot_button Name =  MyValveRotator
     momentary_rot_button Name =  MyValveRotator

Revision as of 10:55, 16 February 2009

HOW TO MAKE A VALVEWHEEL TURN ON/OFF (OPEN AND CLOSE)

Create the following in your map

1) A new texture brush and set it as a momentary_rot_button entity.

2) Ensure these flags are set:

     Not Solid       Checked      
     Toggle          Checked
     Use Activates   Checked

3) A new prop_dynamic entity and browse/set its world model/skin as model:

   valvewheel002.mdl

Bind these two objects together, making the momentary_rot_button entity as the parent of the the prop_dynamic entity.

1) Set the Name property for each of the entities. (Give each entity a unique, meaningful name. For example:

   momentary_rot_button Name =  MyValveRotator
   prop_dynamic Name =          MyValve
   




More instructions pending.