Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

Sign in to follow this  
Free_Runner

{REQUEST} Free Running script/mod

Recommended Posts

kevaughan
hell yeah doublejump with salto animation on the second jump <3

a little to early for that don't you think... biggrin.gif

 

oh kevaughan..i managed to fix the script..now it can toggle bullet time+gravity on/off

 

EDIT:

 

we should try to seperate the bullet time from zero gravity...so when we wanna jump like a longer distance we use zero gravity...and when we wanna use slow mo we use it..that's what i'm trying to do right now...it's failing..you try to seperate it..im learning lua scripting right now biggrin.gif

lol forget about splitting them. it was hard enough as it is to even get one working.

 

can you post your script please?

Share this post


Link to post
Share on other sites
Free_Runner

 

---------- GTA IV Alice "Bullet Time" script example -------------------- © HippieCommunist 2008 & rebuilded completely by Duelist ------------ Middle mouse button activates and de/ bullet timePLAYER_ID, PLAYER_INDEX, PLAYER_CHAR, TIME = 1function InitScript()Wait(10000)endfunction WaitForPlayerPoolCreation()while (IsPlayerPoolCreated() == 0) doWait(2000)endendfunction WaitForValidPlayer()PLAYER_CHAR = 0repeatCallNative("GET_PLAYER_ID")PLAYER_ID = GetIntResult()if (PLAYER_ID >= 0) thenPushInt(PLAYER_ID)CallNative("CONVERT_INT_TO_PLAYERINDEX")PLAYER_INDEX = GetIntResult()PushInt(PLAYER_INDEX) PushVarPtr()CallNative("GET_PLAYER_CHAR")PLAYER_CHAR = GetIntParam(1)if (PLAYER_CHAR <= 0) thenWait(1000)end  enduntil (PLAYER_CHAR > 0)  endfunction setTime()if (TIME == 1) thenPushFloat(0.6)CallNative("SET_GRAVITY_OFF")PushFloat(0.6)CallNative("SET_TIME_SCALE")Wait(1000)PushFloat(0.3)CallNative("SET_TIME_SCALE")Wait(1000)endif (TIME == 0) thenCallNative("SET_GRAVITY_OFF")Wait(1000)PushFloat(0.75)CallNative("SET_TIME_SCALE")Wait(1000)PushFloat(1.0)CallNative("SET_TIME_SCALE")Wait(1000)end  endfunction toggleBulletTime()if (TIME == 0) thenTIME = 1elseTIME = 0endsetTime()endfunction main()InitScript()while true doWaitForPlayerPoolCreation()WaitForValidPlayer()if (IsKeyPressed(4) == 1) thentoggleBulletTime()endWait(100)endend-- startmain();

 

 

i think it's the correct one..cuz i have like 4 of the same kind biggrin.gif ...em experimenting biggrin.gif

Share this post


Link to post
Share on other sites
kevaughan

 

---------- GTA IV Alice "Bullet Time" script example -------------------- © HippieCommunist 2008 & rebuilded completely by Duelist ------------ Middle mouse button activates and de/ bullet timePLAYER_ID, PLAYER_INDEX, PLAYER_CHAR, TIME = 1function InitScript()Wait(10000)endfunction WaitForPlayerPoolCreation()while (IsPlayerPoolCreated() == 0) doWait(2000)endendfunction WaitForValidPlayer()PLAYER_CHAR = 0repeatCallNative("GET_PLAYER_ID")PLAYER_ID = GetIntResult()if (PLAYER_ID >= 0) thenPushInt(PLAYER_ID)CallNative("CONVERT_INT_TO_PLAYERINDEX")PLAYER_INDEX = GetIntResult()PushInt(PLAYER_INDEX) PushVarPtr()CallNative("GET_PLAYER_CHAR")PLAYER_CHAR = GetIntParam(1)if (PLAYER_CHAR <= 0) thenWait(1000)end  enduntil (PLAYER_CHAR > 0)  endfunction setTime()if (TIME == 1) thenPushFloat(0.6)CallNative("SET_GRAVITY_OFF")PushFloat(0.6)CallNative("SET_TIME_SCALE")Wait(1000)PushFloat(0.3)CallNative("SET_TIME_SCALE")Wait(1000)endif (TIME == 0) thenCallNative("SET_GRAVITY_OFF")Wait(1000)PushFloat(0.75)CallNative("SET_TIME_SCALE")Wait(1000)PushFloat(1.0)CallNative("SET_TIME_SCALE")Wait(1000)end  endfunction toggleBulletTime()if (TIME == 0) thenTIME = 1elseTIME = 0endsetTime()endfunction main()InitScript()while true doWaitForPlayerPoolCreation()WaitForValidPlayer()if (IsKeyPressed(4) == 1) thentoggleBulletTime()endWait(100)endend-- startmain();

 

 

i think it's the correct one..cuz i have like 4 of the same kind biggrin.gif ...em experimenting biggrin.gif

God like code tounge.gif works better than mine some how

I guess we're done with this mod eh? want to like sum this up?

Edited by kevaughan

Share this post


Link to post
Share on other sites
Free_Runner

just tried it out on various places and islands and it rocks for free running biggrin.gif

 

yeah sure...we'll sum it up tomorrow... i'm going to sleep..it0s like 2 AM here biggrin.gif add me to STEAM..i sent you a PM biggrin.gif

Edited by Free_Runner

Share this post


Link to post
Share on other sites
kevaughan
just tried it out on various places and islands and it rocks for free running biggrin.gif

 

yeah sure...we'll sum it up tomorrow... i'm going to sleep..it0s like 2 AM here biggrin.gif add me to STEAM..i sent you a PM biggrin.gif

I added u 2steam . Add me bak

 

 

 

Share this post


Link to post
Share on other sites
Free_Runner

i did... biggrin.gif

Share this post


Link to post
Share on other sites
ManiaChris

Very nice and funny.

 

But: Too much time until it toggles bullet time

and you fall down straight if you deactivate bullet time again - you need to fall forward then.

Share this post


Link to post
Share on other sites
Free_Runner

i'll look into it..see what i can do... biggrin.gif thanks for sharing your opinion biggrin.gif

Share this post


Link to post
Share on other sites
yeahsine

Hey, can you add a way for niko to hang everywhere ? Like, we jump against a wall with nothing to hang, we press space, and he act just like if they were a cliff. It would be so cool biggrin.gif

Share this post


Link to post
Share on other sites
kevaughan
Hey, can you add a way for niko to hang everywhere ? Like, we jump against a wall with nothing to hang, we press space, and he act just like if they were a cliff. It would be so cool biggrin.gif

Spiderman wall sticking?

 

good idea but this ain't "making Niko into uber spiderman climbing guy"

Share this post


Link to post
Share on other sites
yeahsine

Not spiderman, I don't want him to crawl on the walls. Just as if he were hanging with his finger on some bricks on the wall.. and maybe fall if he doesn't move after 3 seconds.

Share this post


Link to post
Share on other sites
kevaughan

New and improved Bullet time

 

---------- GTA IV Alice "Bullet Time" script example -------------------- © HippieCommunist 2008 & rebuilded completely by Duelist ------------ Middle mouse button activates and de/ bullet timePLAYER_ID, PLAYER_INDEX, PLAYER_CHAR, TIME = 1function InitScript()Wait(10000)endfunction WaitForPlayerPoolCreation()while (IsPlayerPoolCreated() == 0) doWait(2000)endendfunction WaitForValidPlayer()PLAYER_CHAR = 0repeatCallNative("GET_PLAYER_ID")PLAYER_ID = GetIntResult()if (PLAYER_ID >= 0) thenPushInt(PLAYER_ID)CallNative("CONVERT_INT_TO_PLAYERINDEX")PLAYER_INDEX = GetIntResult()PushInt(PLAYER_INDEX)PushVarPtr()CallNative("GET_PLAYER_CHAR")PLAYER_CHAR = GetIntParam(1)if (PLAYER_CHAR <= 0) thenWait(1000)end  enduntil (PLAYER_CHAR > 0)  endfunction setTime()if (TIME == 1) thenPushFloat(0.75)CallNative("SET_GRAVITY_OFF")PushFloat(1.0)CallNative("SET_TIME_SCALE")Wait(100)PushFloat(0.75)CallNative("SET_TIME_SCALE")Wait(100)endif (TIME == 0) thenCallNative("SET_GRAVITY_OFF")Wait(100)PushFloat(0.75)CallNative("SET_TIME_SCALE")Wait(100)PushFloat(1.0)CallNative("SET_TIME_SCALE")Wait(100)end  endfunction toggleBulletTime()if (TIME == 0) thenTIME = 1elseTIME = 0endsetTime()endfunction main()InitScript()while true doWaitForPlayerPoolCreation()WaitForValidPlayer()if (IsKeyPressed(4) == 1) thentoggleBulletTime()endWait(100)endend-- startmain();

 

 

 

Share this post


Link to post
Share on other sites
ManiaChris

No, not bullet time. Where's f*cking bullet time? I just can jump very high if I press middle mouse button. There's no bullet time.

Share this post


Link to post
Share on other sites
kkim91

Hey!

 

I saw this topic and immediately became thrilled! This is great!

 

I'm using one of your scripts, this

 

 

---------- GTA IV Alice "Bullet Time" script example -------------------- © HippieCommunist 2008 & rebuilded completely by Duelist ------------ Middle mouse button activates and de/ bullet timePLAYER_ID, PLAYER_INDEX, PLAYER_CHAR, TIME = 1function InitScript()Wait(10000)endfunction WaitForPlayerPoolCreation()while (IsPlayerPoolCreated() == 0) doWait(2000)endendfunction WaitForValidPlayer()PLAYER_CHAR = 0repeatCallNative("GET_PLAYER_ID")PLAYER_ID = GetIntResult()if (PLAYER_ID >= 0) thenPushInt(PLAYER_ID)CallNative("CONVERT_INT_TO_PLAYERINDEX")PLAYER_INDEX = GetIntResult()PushInt(PLAYER_INDEX)PushVarPtr()CallNative("GET_PLAYER_CHAR")PLAYER_CHAR = GetIntParam(1)if (PLAYER_CHAR <= 0) thenWait(1000)end  enduntil (PLAYER_CHAR > 0)  endfunction setTime()if (TIME == 1) thenPushFloat(0.6)CallNative("SET_GRAVITY_OFF")PushFloat(0.6)CallNative("SET_TIME_SCALE")Wait(1000)PushFloat(0.3)CallNative("SET_TIME_SCALE")Wait(1000)endif (TIME == 0) thenCallNative("SET_GRAVITY_OFF")Wait(1000)PushFloat(0.75)CallNative("SET_TIME_SCALE")Wait(1000)PushFloat(1.0)CallNative("SET_TIME_SCALE")Wait(1000)end  endfunction toggleBulletTime()if (TIME == 0) thenTIME = 1elseTIME = 0endsetTime()endfunction main()InitScript()while true doWaitForPlayerPoolCreation()WaitForValidPlayer()if (IsKeyPressed(4) == 1) thentoggleBulletTime()endWait(100)endend-- startmain();

 

 

It works great; I can toggle zero gravity and bullet time with middle mouse button.

 

It doesn't lag at all, BUT it seems when I jump too high / spend too much time in bullet time, my game Crashes to desktop with no error at all =/

 

anyone else experiencing this? Help appreciated tounge2.gif

Share this post


Link to post
Share on other sites
stickman1000000

i saw that kevenaughn had released this mod in a thread he made. i also saw that the mod was dead because he had stopped playing gta iv. the download links given on his thread dont work so i was wondering if someone could give me one for 1.040 patch

 

thanks

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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