Need help creating panels

Avatar
Jackle_One
5 Posts
Posted Apr 14, 2013
how can I creating panels, that are working like doors/gates ?
Advertisement
Registered users don’t see ads! Register now!
Avatar
Lpfreaky90
2,842 Posts
Posted Apr 14, 2013
Replied 15 minutes later
First of; in the future make the thread description a bit more informative than just "help" that will make it easier to get proper help.

And I would suggest watching the tutorial by TopHattWaffle:
http://www.youtube.com/watch?feature=player_detailpage&v=Q5na8Llhk8k

It's a great video!

Avatar
Jackle_One
5 Posts
Posted Apr 16, 2013
Replied 1 day later
thank you.
but now, I've got another problem...I'll show you with few screenshots:

so should it look in portal 2:
http://www.abload.de/thumb/5cuzrf.png

so does it look in portal 2:
http://www.abload.de/thumb/2013-04-16_000010wl9d.jpg

Avatar
srs bsnss
552 Posts
Posted Apr 16, 2013
Replied 4 hours later

Are the brushes doing the animation of the panel, but are offset? Chances are you haven't done this output correctly in the logic_auto:

OnMapSpawn > [panel_brush_name] > SetParentAttachmentMaintainOffset > Parameter = panel_attach

I'd recommend the VDC page to make sure your logic is correct:

https://developer.valvesoftware.com/wiki/Panels

Avatar
Jackle_One
5 Posts
Posted Apr 16, 2013
Replied 3 hours later
Yes I did that's the same what's in my output of my logic_auto and I setted a parent to the func_brush, too
Avatar
LoneWolf2056
193 Posts
Posted Apr 16, 2013
Replied 54 minutes later
Have you set a default animation, and double checked that hold animation is set to on. if the arms move before the panels are parented it could cause that.
Avatar
taco
504 Posts
Posted Apr 16, 2013
Replied 10 minutes later
I kinda looks like like you are attaching the brush to the arm before the arm's animation is finished. Just add a delay before you attach them.
Avatar
DaMaGepy
361 Posts
Posted Apr 16, 2013
Replied 3 hours later
I always change the default animation in hammer to bindpose or my anim's idle state, I align the panel to the arm, onmapspawn I attach it, then right after it I setdefaultanim to the startpos or just setanimation (with hold animation turned on, it ignores the setdefaultanim, since it will always freeze at the last frame of the setanimation)
Avatar
srs bsnss
552 Posts
Posted Apr 17, 2013
Replied 8 hours later

DaMaGepy wrote:
I always change the default animation in hammer to bindpose or my anim's idle state, I align the panel to the arm, onmapspawn I attach it, then right after it I setdefaultanim to the startpos or just setanimation (with hold animation turned on, it ignores the setdefaultanim, since it will always freeze at the last frame of the setanimation)

^ Pretty much this. It's what I also do for my panels. OP, try this out and see what happens.

Avatar
Jackle_One
5 Posts
Posted Apr 17, 2013
Replied 2 hours later
well, I did everything what the guy is talking about in the tutorial but idk why my func_brush starts in portal2 in this position
Avatar
srs bsnss
552 Posts
Posted Apr 17, 2013
Replied 1 hour later
Perhaps upload the .vmf file?
Advertisement
Registered users don’t see ads! Register now!
Avatar
Jackle_One
5 Posts
Posted Apr 17, 2013
Replied 10 minutes later
I deleted the map and had tried out on a new map with only a box room...now everything's okay