Please or Register to create posts and topics.

Strange behaviour of brush attached to panel

Hello!

I started making maps in Portal 2 SDK one week ago, and I like it so far. I have been watching tutorials all day long and I think I can make decent maps. But I have problem and I would use your help!

Now, to the problem...
I watched some tutorial about panels and moving robotic arms. I completely copied what the guy did in the video and it works, but not as I expected. Robotic arms move as I want, completely right. But brush attached to panel spawns on map in wrong angle and in black colour (wrong texture) and when it moves, its animation ends in wrong angle again. Here are screenshots.

Closed-
http://imageshack.us/photo/my-images/577/otevreny.png/

Opened-
http://imageshack.us/photo/my-images/851/zavreny.png/

As you can see, arms are great, but brush is bad.
Does anyone know whats wrong? I attached it right, I think, because it moves.

Also, I tried to search it on the forums and nothing helped so far :(

Thanks!

I had the same issue, and it was an error on my part with putting the wrong animation with the maintain offset relay and starting animation. Make sure that you have the correct starting idle animation with a logic_auto on map spawn.

Watch this guys video on attaching panels -
http://www.youtube.com/user/SolarChronu ... bSu0En1800

EDIT: P.S.: Also make sure you changed the brush to a func_brush, name it and set the parent to the panel :)

I used this tutorial -> http://www.youtube.com/watch?v=Q5na8Llhk8k
I used completely identical animations, did completely same thing as he did.

Of course I have logic_auto to attach the brush. Yes, func_brush :) If it wasnt func_brush it wouldnt move. That means it is also named and parented, so the problem is not here I think.

As I said, the brush moves, but is black and is attached with bad angle :)

Overpowered wrote:
I used this tutorial -> http://www.youtube.com/watch?v=Q5na8Llhk8k
I used completely identical animations, did completely same thing as he did.

Of course I have logic_auto to attach the brush. Yes, func_brush :) If it wasnt func_brush it wouldnt move. That means it is also named and parented, so the problem is not here I think.

As I said, the brush moves, but is black and is attached with bad angle :)

I watched that exact same video when I made my first attached panels, and I had the same problem you did. Black brushes with wonky incorrect animations. I started all the way over, watching SolarChronus' videos, and recognized a step somewhere in there that I did incorrectly in watching the first video (I'm sorry I don't remember where).

Try redoing it while watching Solar's video, using the animations from TopHatts. Hope it works for you!

Damn, it took me 2 hours to get here and now to start over again :(...but okay, I will try tomorrow. SolarChronus uses even idle and idleend animations as opposed to the first guy, that may be the problem.

Hmmm, I have another problem. I am trying to follow your tutorial and SolarChronus uses animation with three versions - normal, idle and idleend. But my animation, 90deg_in_cornerfront has only normal and idle, not idleend, which he uses as default animation of the panel. What should I do here? :/

Set hold animation on your arm props to 'Yes'. This will hold the last animation frame, aka idleend. As for spending 2 hours doing it, I know panels can be daunting when you first start but it will become second nature before the end of your first full map. And is the most fun I have in p2 sdk.

I don't know what causes the blackness but it seems to happen where the brushes are outside of the map on render, even partially. Thus not getting light from the renderer.

Also, protip: Don't double post. On any forum. Hit that little edit button! :)

Happy mapping!

Image
PortalStories.com
"Oh, in case you got covered in that repulsion gel, here's some advice the lab boys gave me: DO NOT get covered in the repulsion gel."