Creating rotating panels: Difference between revisions
Line 13: | Line 13: | ||
|- | |- | ||
| Pitch Yaw Roll (X Y Z) || 90 0 0 | | Pitch Yaw Roll (X Y Z) || 90 0 0 | ||
|- | |- | ||
| World Model || models/anim_wp/simple_panel_transforms/simple_panel.mdl | | World Model || models/anim_wp/simple_panel_transforms/simple_panel.mdl | ||
|} | |} | ||
Go | Go to the model tab of your [[prop_dynamic]] entity. Change the settings to the following: | ||
::{| class=standard-table | ::{| class=standard-table | ||
! Model || Value | ! Model || Value | ||
Line 31: | Line 25: | ||
2. Create a block brush( | 2. Create a block brush of any size you wish (256x16x256 recommended) and align it with the model. Tie it to a [[func_brush]] entity with the following settings: | ||
::{| class=standard-table | ::{| class=standard-table | ||
! Property Name || Value | ! Property Name || Value | ||
Line 41: | Line 35: | ||
3. Create a [[logic_auto]] | 3. Create a [[logic_auto]] and set up the output as follows: | ||
::{| class=standard-table | ::{| class=standard-table | ||
! || My Output || Target Entity || Target Input || Parameter || Delay || Only Once | ! || My Output || Target Entity || Target Input || Parameter || Delay || Only Once |
Revision as of 10:53, 9 April 2012

For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.

You can upload screenshots at Special:Upload. For help, see Help:Images.
Creating Panels rotate
1. Create a prop_dynamic entity with the following settings:
Property Name Value Name trans_panel Pitch Yaw Roll (X Y Z) 90 0 0 World Model models/anim_wp/simple_panel_transforms/simple_panel.mdl
Go to the model tab of your prop_dynamic entity. Change the settings to the following:
Model Value Sequence BindPose
2. Create a block brush of any size you wish (256x16x256 recommended) and align it with the model. Tie it to a func_brush entity with the following settings:
Property Name Value Name trans_brush Parent trans_panel
3. Create a logic_auto and set up the output as follows:
4. Create a ambient_generic entity with the following settings:
Property Name Value Name trans_sound_end Sound name World.SpeedFlingRotatingPanelStop Volume 2
5. Return to prop_dynamic entity and set up the output as follows:
6. Create a prop_button entity and set up the output as follows:
This will rotate the panel along with brush. Second line will rotate the panel back to normal position after a delay.
set up the output to "fire only once" as follows
Instead of prop_button you can also use trigger entity