• Whats with all the broken Portal Guns?
    15 replies, posted
Ever since I bought Gmod I always wanted to use the portal gun. Several portal guns later my screen is filled to the brim with errors. Can someone tell me what is wrong with them? Can someone tell me where a working version is? Thanks BTW, this was Half request, and half help...so I didn't know where the post would go...
Most likely, they're outdated.
They're all using the the version of the source engine before the 2008 update. All addons broke after the 2008 update, including those Portal guns that were uploaded 900 days ago.
And what Lua mess-up was that ? What Garry changed ?
He updated the engine and fixed certain bugs I imagine.
Yep. The engine update of 2007 screwed up almost all of the addons Garry's Mod had. All of the portal guns came out before or during 2007 and nobody has bothered to script another one.
Why don't they make a new one? Or port real one to Garry's Mod?
Because a) lua is not c++ and b) it's impossible based on the limitations of gmod lua.
[QUOTE=Disseminate;20983899]Because a) lua is not c++ and b) it's impossible based on the limitations of gmod lua.[/QUOTE] Not impossible. If I remember correctly a few people where working on remaking the PHD to work with the current version.
I'm working on making a portal gun work, i just need to fix some bugs and add some small features that most won't notice while others will think it sucks, and make a nice clipping system, I'll post it as soon as I'm done fixing it up.
Garry tried his best but decided to give up on it. They have been error filled lag machines since they were made. Just try and give up hope. It may be hard, but you will understand.
Blackops had one up in '09, however I haven't tried it because I haven't installed an SVN client yet, so I can't tell you how well it works. [URL]http://www.facepunch.com/showthread.php?t=773483[/URL]
[QUOTE=1STrandomman;20986449]Blackops had one up in '09, however I haven't tried it because I haven't installed an SVN client yet, so I can't tell you how well it works. [URL]http://www.facepunch.com/showthread.php?t=773483[/URL][/QUOTE] It works, I have it, I'm working off it. I'm fixing a lot of bugs and adding some code to make it real nice.
heres a list of portal guns ive seen: (not named cause there all portal guns) 1-14: dont work. 15: shoots WORKING portals, but their invisible on my screen, some other people see it though. 16-20: dont work. lol.
The main thing is getting the main part of portals done right, like the velocity carried over. People can't be bothered to figure out an even way to give you momentum like Portal does, thus resulting in more "pretty colored teleporters" than portal guns.
VALVe had a hard time making a portal gun in the original Portal, so I doubt you could do it in Lua. There's so many factors, and all of it has to be calculated within milliseconds. Because there's: [b]Velocity Angle Mass Size Collision Model[/b] All this within milliseconds. Actually in Portal, the physics for that specific prop get decreased, so it isn't as accurate as the normal Source engine is. If you don't believe me, play through Portal with developer commentary on.
Sorry, you need to Log In to post a reply to this thread.