Portal-reflecting sufaces?

Avatar
yikkayaya
71 Posts
Posted Nov 10, 2007
Would it be possible to create surfaces that reflect portals, making them hit another place as if the shot bounces of the wall?
It believe it would enable very innovative and creative puzzles


Almighty paintskills!

Advertisement
Registered users don't see ads! Register now!
Avatar
youme
937 Posts
Posted Nov 10, 2007
Replied 32 minutes later
If you can code you can do it.
It could potentially be dead easy, but then again it could be very hard.
And yes, If you could get it working it would be quite cool
Avatar
Guitar
19 Posts
Posted Nov 10, 2007
Replied 2 minutes later
Ive actually thought of this before.. very interesting
Avatar
yikkayaya
71 Posts
Posted Nov 10, 2007
Replied 8 minutes later
I have no chance at all coding it, Hammer is hard enough for me, it was more of an idea for other people hint
Avatar
Yekyaa
59 Posts
Posted Nov 10, 2007
Replied 1 minutes later
Well, it may be possible, but wouldn't it require a lot of portal detectors (assuming you don't code it in?)

or do portal detectors not function like that, or is it just the figuring of the
angles that makes it difficult?

Avatar
Korjagun
122 Posts
Posted Nov 10, 2007
Replied 1 hour later
Writing a mod that can do this sounds simple enough, actually, if the gun works anything like I suspect it does. Reflecting a vector around the normal of the face it hits is trivial, and from there all it would take is to fire another portal projectile out from the face. Actually getting it done, on the other hand... and then there's the whole "it's a mod" thing.
Avatar
CassataGames
98 Posts
Posted Nov 10, 2007
Replied 42 minutes later
I could actually see this being a very good idea. The surface could be like a mirror which you could see yourself and everything in. Bullets would hit the mirror, but the portal gun shots would reflect off of it.

I like it, very interesting.

Avatar
Rivid31
152 Posts
Posted Nov 11, 2007
Replied 8 hours later
Yeah I've thought of this before as well, as have a couple other people I believe. I'm sure somebody will code it into a mod sooner or later, maybe even me!
Avatar
msleeper
4,095 Posts
Member
Posted Nov 11, 2007
Replied 39 minutes later
100% would need new coding. So you'll have to wait a while until the SDK base is updated.
Avatar
Mapster
396 Posts
Posted Nov 11, 2007
Replied 12 hours later

msleeper wrote:
100% would need new coding. So you'll have to wait a while until the SDK base is updated.

Again.

Avatar
Hober
1,180 Posts
Posted Nov 11, 2007
Replied 25 minutes later
The SDK base hasn't been touched yet. Just the SDK.
Avatar
Mapster
396 Posts
Posted Nov 11, 2007
Replied 33 minutes later
Isn't SDK base just a graphics test?

Or have i had it wrong since the day i downloaded it?

Avatar
Lorithad
240 Posts
Posted Nov 11, 2007
Replied 1 hour later
I'm pretty sure you need to have sdk base installed if you have any mods on. I had the HL2 insurgency mod once. Made me download the sdk base before I could play.
Avatar
Hober
1,180 Posts
Posted Nov 11, 2007
Replied 2 hours later
Insurgency is the only mod I've run into that required it. I'm not exactly sure what it is, though, either.
Avatar
Crooked Paul
226 Posts
Posted Nov 11, 2007
Replied 1 hour later
Check out the Valve wiki on SDK Base:
http://developer.valvesoftware.com/wiki/Source_SDK_Base

Apparently it's a streamlined version of the HL2 exe & content for modmakers to base their mods on, rather than the version used for Half-Life 2, which has a slightly older codebase, and it loads more "stuff" that most mods don't need.

Advertisement
Registered users don't see ads! Register now!
Avatar
Bulska
204 Posts
Posted Nov 20, 2007
Replied 8 days later
I'm pretty sure it is possible, as the portal gun fires 'portal balls' which are projectiles. Crossbow projectiles get reflected too, under the right angle. If you use the same script as for the crossbow bolts and change the angle limit, you have yourself a bouncing portal gun...

And we need a reflective surface.
k
nvm what I said above.

EDIT
Oh wait, you can say: if hits surface, reflecting enabled.
I know not much about scriping, so I'm only wild guessing right now.