Angled panel
Posted Jul 14, 2013
Hi! It's me again. Im making a map, and I want make a laser-controlled angled panel. I followed every step of this tutorial: [url]developer.valvesoftware.com/wiki/Panels[/url], but the brush doesn't moves. What can I do?
INFO: The model I'm using is models/props_ingame/arm_4panel.mdl
INFO: The model I'm using is models/props_ingame/arm_4panel.mdl
Registered users don’t see ads!
Register now!
Posted Jul 14, 2013
Replied
40 minutes
later
That's not much info you give us here. If the robot arms do move, but the brush doesn't, you probably forgot to setParentAttachmentMaintainOffset with the parameter "panel_attach".
Or maybe the animation you specified when giving the input "setAnimation" does not exist for this model. Then the robot arms don't move at all.
Try "ramp_30_deg_open" or "ramp_30_deg_close"
You can see all animation in the model browser under the tab "sequences"
Is "hold animation" of the robot arms set to "yes"?
If it's none of those cases, compare your setup with instance/p2editor/panel_white_2x2, and see what they do. But they do a bit different method than what is explained on the on the VDC.
($animation is in this instance the name of the animation the panel will later do)
Posted Jul 14, 2013
Replied
4 minutes
later
Now I see the problem. In the logic_auto I put setParentAttachmentMaintainOffset with the parameter "panel_angled", and not "panel_attach". I will test it now with the new settings
Registered users don’t see ads!
Register now!
Posted Jul 14, 2013
Replied
8 minutes
later
Done! It works! Thanks