The Thread For Small Problems And Requests
Arachnaphob wrote:
More veiwcontrol! Anyways, does anybody know how to allow the player to freely look around while in a veiwcontrol, like in the part where you and wheatley ride through the vacuum tubes?
This is done by using a prop_vehicle_choreo_generic. I used it for my Winter's Initiative map, for a tuberide that got you to the easter egg 
I learnt it from Chickenmobile. Check this post and the example she posted.
FelixGriffin wrote:
IIRC prop_statics don't use edicts (like with func_detail), so you can change some of your dynamic props into those. If the model doesn't allow it you can decompile it (which works very well for non-animated models) and add the $staticprop property.
But i also need to turn several prop_dynamics into one (Because they're moving), Thats the problem, turning the models into "Static", would make problems.
yishbarr wrote:
I don't think that's a good idea, since I have a fast reset enabled, and that would cause problems with animations.
You could probably work around this with some tricky logic (but it's probably a lot of work for something so simple)
For example, in the duration the button is 'active' for (let's say 3 seconds), the value of a logic branch, or math counter, or whatever, could be set to 1. Then, if the button is pressed again in the active period, then it will increment the counter, and on the increment it displays the up then down animations so it doesn't repeat the down animation while already down.
Like I said, it's probably too complex for a simple task such as this, but it could work.
yishbarr wrote:
OK, solved it. Now I've still got problems with my portalgun linking to prop_portals. I've tried change_portal_linkage_ID, I've tried making the portalgun shoot after the portal opens, and I just can't get it right.
What are the linkage IDs set to on the gun and the portals?
yishbarr wrote:
Portals are set to 0, the gun doesn't have a way of setting it.
It should...how are you giving the player a gun?
FelixGriffin wrote:
yishbarr wrote:Portals are set to 0, the gun doesn't have a way of setting it.
It should...how are you giving the player a gun?
It's a rotating portalgun.
yishbarr wrote:
FelixGriffin wrote:yishbarr wrote:
Portals are set to 0, the gun doesn't have a way of setting it.
It should...how are you giving the player a gun?
It's a rotating portalgun.
Then it should have an option for the linkage ID.
FelixGriffin wrote:
Yes it does. That's how the portal guns in Co-op fire the right portals before the robots get them. It should be set to "Single Player" by default, but have options for the bots.
How does that help me though? It's set to SP. Also, I can't see that keyvalue in the list.