Angled panel
Quote from fedebenarg on July 14, 2013, 3:57 pmHi! 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
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
Quote from Brainstone on July 14, 2013, 4:38 pmThat'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)
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)
Quote from fedebenarg on July 14, 2013, 4:42 pmNow 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
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
Quote from fedebenarg on July 14, 2013, 4:51 pmDone! It works! Thanks
Done! It works! Thanks