ULX

Author Topic: Golden's Jetpack SEnt. Needs Beta testing  (Read 5496 times)

0 Members and 2 Guests are viewing this topic.

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Golden's Jetpack SEnt. Needs Beta testing
« 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:


Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Golden's Jetpack SEnt. Needs Beta testing
« Reply #1 on: May 12, 2007, 09:07:42 AM »
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!
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Golden's Jetpack SEnt. Needs Beta testing
« Reply #2 on: May 12, 2007, 10:53:33 AM »
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. :)
Experiencing God's grace one day at a time.

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: Golden's Jetpack SEnt. Needs Beta testing
« Reply #3 on: May 13, 2007, 12:04:18 PM »
Can any one test this on multiplayer for me?


Offline Avien

  • Full Member
  • ***
  • Posts: 168
  • Karma: 4
Re: Golden's Jetpack SEnt. Needs Beta testing
« Reply #4 on: May 13, 2007, 08:27:00 PM »
I can add it to my server tomorrow.  Ill let you know how it goes.

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: Golden's Jetpack SEnt. Needs Beta testing
« Reply #5 on: May 13, 2007, 10:31:58 PM »
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.


Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Golden's Jetpack SEnt. Needs Beta testing
« Reply #6 on: May 13, 2007, 11:04:37 PM »
It's always been a cheat, since the engine was released. :)

Luckily, garry made "stopsounds", does the same thing but doesn't need cheats.
Experiencing God's grace one day at a time.

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: Golden's Jetpack SEnt. Needs Beta testing
« Reply #7 on: May 14, 2007, 03:24:55 PM »
That's the one.


Offline Chironex

  • Full Member
  • ***
  • Posts: 197
  • Karma: 11
  • Formerly known as Kyzer
Re: Golden's Jetpack SEnt. Needs Beta testing
« Reply #8 on: September 20, 2007, 05:46:27 PM »
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