Panel trouble
I'm new here on the forum and to mapping,
I know a bit about the Basics maybe a bit more
.
I am trying to make a few panels to move in and out whit a delay with one press on a button, everything is almost working as i want it to.
but when the panels moves the func_brush which is attach to the panel is going through it for split of a sec http://cloud.steampowered.com/ugc/542908182380629886/085BA4F51161DEDEA41CFD2F3EF73FB64E7BFD61/
I don't know what i did wrong.
I hope someone can help me.
sorry for my bad english.
spongylover123 wrote:
Your brush too thick, make it at least 1-2 units and set solidity to always solid
I try to make it 1 or 2 units but it still does it..
iWork925 wrote:
do you have the brush's parent set to the name of the model and do you have a logic_auto with SetParentAttachment panel_attach?
yeah I set up brush's parent to the panel_model. and the logic_auto has SetParentAttachment panel_attach.
I also have the logic_relay set with OnTrigger, SetAnimation.
spongylover123 wrote:
You said you added a delay, get rid of the delay and see what happens
I try that and now the panel_model will not move back. i'm usein the prop_button for this. i try the floor_button to see is it still does it and it still doing it..
iWork925 wrote:
Wait, sorry. It should be SetParentAttachmentMaintainOffset. This may be your problem.
it's set to SetParentAttachmentMaintainOffset. I did not read it as SetParentAttachment. I knew what you meant, but it still does it.
i use wiki to help me made the panel animation..
this is my setup
button http://imageshack.us/f/12/propbutton.jpg/
panel_model http://imageshack.us/f/708/panelmodel.jpg/
panel_brush http://imageshack.us/f/198/panelbrush.jpg/
logic_relay_open http://imageshack.us/f/195/logicrelayopen.jpg/
logi_crelay_close http://imageshack.us/f/88/logicrelayclose.jpg/
logic_auto http://imageshack.us/f/190/logicauto.jpg/
Holdanimation is set to No. Everything else looks fine.
iWork925 wrote:
Wow if only everyone was as organized as you. And the only thing wrong I see here is
Holdanimation is set to No. Everything else looks fine.
the Holdanimation is on no. because i whant it to go back to the idle position.
onbuttonpress > panel_model > setanimation > 64_out > 0.00
onbuttonpress > panel_model > setanimation > 64_in > 1.00
that way it will go out, stay out - not repeat, then go back in after a second. or you could lower the second delay to whatever.
iWork925 wrote:
Yes, but if not the brush may get messed up if the animation jumps back to its first frame. You should put hold animation to yes, then put something like:onbuttonpress > panel_model > setanimation > 64_out > 0.00
onbuttonpress > panel_model > setanimation > 64_in > 1.00that way it will go out, stay out - not repeat, then go back in after a second. or you could lower the second delay to whatever.
thanks it worked but now the animation is too slow. it stay out to long, so it seems that if the delay is short it will bug out.