Jump to content

[ALICE LUA SCRIPT] SuperJump/Dig


Recommended Posts

This is a small script I created that works with the LUA engine, Alice.

 

It's very simple to use, just place the file "sjdig.lua" in the folder "<gta4root>\Alice" and then start the game.

The keys used in-game are PageUp, which makes you superjump and PageDown which makes you dig.

 

Dig is simply the reverse of SuperJump, it allows you to "dig" into the ground. Enjoy! biggrin.gif

 

New in the updated script:

Added two new hotkeys, Insert and Delete.

Insert is used to make you fly/hover/float, whatever you want to call it.

Delete is used to turn it off and make you fall once again.

 

NOTE: Crashes may occur when going too high or too low (ie: outside world boundaries)

 

 

Download:

http://www.sendspace.com/file/s5qafr

Edited by CoMPMStR
Link to comment
https://gtaforums.com/topic/389172-alice-lua-script-superjumpdig/
Share on other sites

 

What settings control jump height dude..? I would like to tweak it to my personal liking..! icon14.gif

The IncreaseZ() and IncrVelo() functions both control the jump height.

 

 

 

changing the Z velocity in IV engine seems better than physicly relocating the player if u ask me.

Try it with just increasing the Z velocity and see if it works. You need to relocate the player a bit higher so the velocity will actually take effect. Even if you can get your player to jump using just velocity, he won't go through any ceilings or floors (which would be kind of useless IMO). You need to use both to get a decent superjump effect.

 

 

 

Hey I was using this and i noticed in multiplayer if you super jump to a certain height (not that high just enough to get onto a building) the game crashes and says fatal error.

I have only tested this script in single player.

 

This is good, but it crashes a lot.  monocle.gif

I agree, but I don't think it's a problem with my script. While I was testing it, it was working fine but after awhile the game would just freeze, no errors or anything. At first I thought it might have to do with the Wait intervals in the script. But after further testing, the crashes seem to be associated with holding down Shift (sprint) while holding down PageUp (superjump) or PageDown (dig). I just tested again, this time without pressing Shift other than when on the ground, and no crashes or freeze (and I went up really high). Try not holding down sprint when you press PageUp or PageDown and see if that makes a difference. Holding sprint while superjumping doesn't make you move any faster.

 

Also here's something fun to do, use superjump and go up really high. Make sure you have the rocket launcher equipped beforehand, and when falling hold down the LMB (shoot weapon). It will be as if you have an automatic rocket launcher. biggrin.gif

Great script dude, icon14.gif but might I suggest some forward movement in the jump as well, such as a 45 degree jump forward and up. Might make things easier to get onto.. sigh.gif

 

I also wanted to ask if you might include a super run addition, but not like that mega jump one as that is way to fast. confused.gif What would be really cool is if you could run Niko at say 60/80mph like the bionic man. mercie_blink.gif Just enough to keep up with vehicles, and couple that with a super shove you have the makings of some serious car throwing fun..

Making run speed say 3 times default should do it I bet.. icon14.gif

could someone make the same thing as this but the player gets height...like jumps up in the air and not forward? would mean a lot..and also...add a toggelable bullet time effect? ( i know there's a topic already for bullet time but i can't seem to find it anymore)

 

Thanks in advance

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.