Two Simple Questions

ParanoidDrone

L3: Member
Feb 19, 2009
147
11
These are really simple and I'll probably kick myself once they're answered. >_<

First, how do you go about making the doors found in cp_well animate properly? By which I mean, how do I make the door slide along the frame (and curve in the process), as opposed to simply sliding straight up into the wall? I've looked at the decompiled Well and couldn't find anything really helpful, so hopefully someone here can help me out.

Second, I understand that overlays can be scaled to enlarge/shrink them as you wish. When I try to do this, it stays the same size and merely adds some ugly looking bars that extend to the new boundaries of the overlay. Needless to say, I'm probably doing something wrong, but I have no idea what.
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,670
1: it needs to be a prop_dynamic and you send it animation inputs. (look at the tabs in the model browser for names of the animations.

2: turn on texture lock. The "tl" button on the top bar.
 

ParanoidDrone

L3: Member
Feb 19, 2009
147
11
Overlays work beautifully now, thanks.

On the door, it was already a prop_dynamic, so check. I added two outputs to the func_door, OnOpen and OnClose, which target the door model via input SetAnimation with a parameter override of "open" and "close." Now it curves as it moves into the wall. It looks quite amusing, actually, but I still need to force it to stay in place while it curves. The trigger_multiple that tells the func_door to open/close has the standard OnEndTouchAll, etc., if that would affect anything.

*is still n00b when it comes to entity manipulation*
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,670
Firstly, the trigger_multiple itself should fire the animation inputs. Second, I'm guessing you still have the prop parented to the door? It shouldn't be.