Panel trouble

Avatar
Acid_BurnsDK
6 Posts
Posted Oct 18, 2011
Hey all

I'm new here on the forum and to mapping,

I know a bit about the Basics maybe a bit more :smile:.

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.

Advertisement
Registered users don’t see ads! Register now!
Avatar
spongylover123
944 Posts
Posted Oct 18, 2011
Replied 5 minutes later
Your brush too thick, make it at least 1-2 units and set solidity to always solid
Avatar
iWork925
1,080 Posts
Posted Oct 18, 2011
Replied 5 minutes later
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?
Avatar
Acid_BurnsDK
6 Posts
Posted Oct 18, 2011
Replied 17 minutes later
Thanks for the quick reply

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.

Avatar
spongylover123
944 Posts
Posted Oct 18, 2011
Replied 6 minutes later
You said you added a delay, get rid of the delay and see what happens
Avatar
iWork925
1,080 Posts
Posted Oct 18, 2011
Replied 6 minutes later
Wait, sorry. It should be SetParentAttachmentMaintainOffset. This may be your problem.
Avatar
Acid_BurnsDK
6 Posts
Posted Oct 18, 2011
Replied 21 minutes later

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..

Avatar
beecake
484 Posts
Posted Oct 19, 2011
Replied 1 day later
And the SetParentAttachmentMaintainOffset trigger is on a logic_auto and not on the button? I don't know if that whould change anything but i guess if it SetParentAttachmentMaintainOffset too late the brush will be a little behind the panel?
Avatar
iWork925
1,080 Posts
Posted Oct 19, 2011
Replied 2 hours later
Yeah you need to set to attachment at spawn.
Avatar
Acid_BurnsDK
6 Posts
Posted Oct 19, 2011
Replied 8 hours later
I can see I forgot some info when I post this sry about that..

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/

Avatar
iWork925
1,080 Posts
Posted Oct 19, 2011
Replied 21 minutes later
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.
Avatar
Acid_BurnsDK
6 Posts
Posted Oct 19, 2011
Replied 28 minutes later

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.

Avatar
iWork925
1,080 Posts
Posted Oct 19, 2011
Replied 59 minutes later
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.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.

Avatar
Acid_BurnsDK
6 Posts
Posted Oct 20, 2011
Replied 20 hours later

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.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.

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.

Avatar
iWork925
1,080 Posts
Posted Oct 21, 2011
Replied 12 hours later
Just incrementally decrease the delay time of the second output until you have your timing correct without glitches.
Advertisement
Registered users don’t see ads! Register now!
Avatar
beecake
484 Posts
Posted Oct 21, 2011
Replied 12 hours later
Since 1 second is too long i guess you want the delay to be 0.0?