Ulysses
General => Developers Corner => Topic started by: Golden-Death on May 11, 2007, 10:34:54 PM
-
Oh how I hate how Meg's server infuriatingly has no noclip, forcing normal players to walk all over the huge map to get from place to place. Thus, I present the solution: Jetpacks. Duh. :P
The way it works is, you spawn a SEnt jetpack on the ground, which is usable. Once you use it, the jetpack dissapears from the ground and is mounted on your back. (It would've been nifty to have it stay on your back, but setparent kept distorting it's angles.)
Holding the jump key makes you fly straight up, while holding W will make you fly in the direction you are aiming. If you want to get rid of the jetpack, just duck and it will be removed from your back.
I've only tested this in single player, which is why I'd like some one to test it for me in a MP server. Thankjoos.
Video:
http://img532.imageshack.us/my.php?image=jpdemort3.flv
Download:
(http://upl.vs-hs.com/info_imgs/929f07e704cf5f315d2e0270bbec15df.jpg) (http://upl.vs-hs.com/download/929f07e704cf5f315d2e0270bbec15df/)
-
This is a perfect example of why I like 'noclip not allowed' servers, and recommended that Ulysses Team HQ not allow it.
I have seen so many creative builds just to be able to move from one place to another.
Though, I think this is the first I've seen where someone went and made a lua sent for it.
Good job GD!
-
Good job indeed GD!
Only one suggestion, instead of parenting the object to the player you should just have a clientside think setpos()'ing it. That way there's no jerkiness. :)
-
Can any one test this on multiplayer for me?
-
I can add it to my server tomorrow. Ill let you know how it goes.
-
Coo.
I think one problem might be the sounds. I couldn't get ent:StopSound() to work, so I used stopsound. It wasn't a cheat command long ago when I last programmed, but it seems to be now, which may cause problems, I dunno.
-
It's always been a cheat, since the engine was released. :)
Luckily, garry made "stopsounds", does the same thing but doesn't need cheats.
-
That's the one.
-
Sorry for bumping but that's a good idea :)
I was doing some challenges in silents server: building a house in the sky without noclip at all, was funny :)
(i still prefer noclip for precision work)
Nice video