I have an idea for a map, and I'm thinking I'm going to need to change my concept. I wanted to have a spinning block that you would put a portal on, but I'm not sure that would work. I think that if a surface moves, it removes any portal on it. Has anyone tried this yet?
Portals on moving surfaces?
msleeper wrote:
Judging from what we saw in-game, putting them on moving surfaces destroyed them.
Yeah, that was my fear. I think it has to do with the collision mapping and virtual camera they use when the portal is spawned. It does some complex computations on portal creation, and then those values are saved. If the portal is moving, it could be really choppy and buggy. This is all speculation, though. If this is the case, it's probably not negligible for Valve to rework it. But, I'll still bug them about it a bit. There might be a flag we could set that would allow it, but with some performance issues.
Man, I can't wait for the SDK. Gimme gimme gimme.
Wait for the SDK? AHAHHA 
http://img72.imageshack.us/img72/6291/portalmapbk6.jpg
Behold, its our old friend MR turret rocket and the leg of a turret.
They all work, its npc_rocket_turret and npc_portal_turret_floor, just see the mega map thread whatever on how to set it up.
I can rig something up to try sevral moving platforms if your still here to see the results fast.
As soon as the surface rotates it will close the portal, thus effectly they never are created in the first place. So sorry, doesn't work on a moving surface.
Donat wrote:
Sorry, it doesn't work.As soon as the surface rotates it will close the portal, thus effectly they never are created in the first place. So sorry, doesn't work on a moving surface.
Darn. Thanks for checking that out. I guess my next option is to figure out the static portals.. like in the first missions where you can only make the blues, but not the oranges. There could be a block with one of those on it, and it will activate once rotated, so you can rotate it to access different areas. It would make an interesting puzzle design.. similar the the Legend of Zelda water temple from the latest game.
Man, this game has got my mind racing with possibilities.
The portal gun, weapon_portalgun, you can disable the use of blue or red portals.
Also, there are sevral things, for example.
Prop_portal is a point entity.
it has some settings, first of which links it to any other portals in the sequance.
'portal pair ID'
it also (for some reason) has portal # 1 or 2 in that chain.
starts activated blah blah, then you throw that in the middle of the 2 portal generators.
The ONLY way i could think that you could make a rotating portal is for the fact that it would stop breifly to open before rotating again.
so it would rotate, stop open then rotate, i don't know if prop_portal stays open if you parent it to a ... hmm hang on i'll try it.
Prop_portal can't be a child, doesn't have a parent parameter.
Donat wrote:
Orange portals work something like this i immagine.The portal gun, weapon_portalgun, you can disable the use of blue or red portals.
Also, there are sevral things, for example.
Prop_portal is a point entity.
it has some settings, first of which links it to any other portals in the sequance.
'portal pair ID'
it also (for some reason) has portal # 1 or 2 in that chain.
starts activated blah blah, then you throw that in the middle of the 2 portal generators.
The ONLY way i could think that you could make a rotating portal is for the fact that it would stop breifly to open before rotating again.
so it would rotate, stop open then rotate, i don't know if prop_portal stays open if you parent it to a ... hmm hang on i'll try it.
Yeah, I'm thinking you'd hit a switch to rotate it to a position, then it would stop there and the portal would appear.
Or, what I can do is make a hollow box that is open on one end. Inside, there could be a gun pointed at the wall oposite the opening, similar to the rotating portal gun puzzles from early in the game. It could be encased and unaccessible to use, but it would spawn a portal inside the box which you could then link to.
I'm sure I did a bad job explaining that, and you are wondering just how insane I am. haha
Oh also, finished adding attachments, try uploading a screenshot.
Dang button models (big switches) are in 2 part models.
Top button button part and bottom base button.
then a door as the parent to the top button, moves down when pressed, 2 triggers one for player and one for box, when the box is moved into this tiny area it triggers the animation to move down and so on.