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. Gameplay
      2. Missions
      3. Help & Support
    2. Red Dead Online

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

      1. Recruitment
    2. Events

    1. GTA Online

      1. Arena War
      2. After Hours
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA Next

    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 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 Mods
    10. GTA Vice City

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

      1. Guides & Strategies
      2. Help & Support
      3. GTA 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  
HippieCommunist

[IV]Bullet Time

Recommended Posts

Chunk3y
Could you release a version without the zero gravity?

sure mate here ya go:

 

 

---------- GTA IV Alice "BUllet Time" script example -------------------- © HippieCommunist 2008 ------------ Save key is TAB--global variablesPLAYER_ID, PLAYER_INDEX, PLAYER_CHAR, SAVEDONE, TIMER = 0function InitScript()-- blah-blah-blahWait(10000)endfunction WaitForPlayerPoolCreation()while (IsPlayerPoolCreated() == 0) do  Wait(2000)endendfunction WaitForValidPlayer()PLAYER_CHAR = 0repeat  CallNative("GET_PLAYER_ID")PLAYER_ID = GetIntResult()if (PLAYER_ID >= 0) then PushInt(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) then   Wait(1000) end  enduntil (PLAYER_CHAR > 0)  endfunction main()InitScript()while true do  if (IsKeyPressed(9) == 1) then WaitForPlayerPoolCreation()      WaitForValidPlayer()Wait(100)PushFloat(0.6)CallNative("SET_TIME_SCALE")Wait(1000)PushFloat(0.3)CallNative("SET_TIME_SCALE")Wait(7000)PushFloat(0.6)CallNative("SET_TIME_SCALE")Wait(1000)PushFloat(0.75)CallNative("SET_TIME_SCALE")Wait(1000)PushFloat(1.0)CallNative("SET_TIME_SCALE")Wait(1000)  end  endend-- startmain();

 

Awesome!

Share this post


Link to post
Share on other sites
HippieCommunist

thanx!

 

btw it passed my beta testings so any sites out there wanna host it sarcasm.gif

may help the... less fortunate

Share this post


Link to post
Share on other sites
wachumanango

tested it, great mod, too bad it DOES hurt FPS like 7 or so, and thats a lot for my already low framerate sad.gif

 

if u can fix that it would be nice

Share this post


Link to post
Share on other sites
BeatFK

I confirm it does hurt framerate, even when slow-mo is not active.

 

Nevertheless a great mod.

Share this post


Link to post
Share on other sites
tigerx

 

Ah, Lose In Internet Speed

The Toogle one

 

doesn't work.

Share this post


Link to post
Share on other sites
Hajpoj

Does alice work with the PATCHED version right now? Alice only works with an unpatched game?

Share this post


Link to post
Share on other sites
Toez

Alice ONLY works with the PATCHED version.

Share this post


Link to post
Share on other sites
Hajpoj

BOOM BOOM TIME!!!!!!

 

AYEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE!

Share this post


Link to post
Share on other sites
TiTaN31

please rapid link. :S

Share this post


Link to post
Share on other sites
aceship

 

doesn't work.

dID yOU jUST copy It?

Use The Original one and Replace the function main

Share this post


Link to post
Share on other sites
TiTaN31

please rapidshare upload. confused.gif

Share this post


Link to post
Share on other sites
TiTaN31

thank you bro. colgate.gif

Share this post


Link to post
Share on other sites
Toez

No problem smile.gif

Share this post


Link to post
Share on other sites
yeahsine

Hey everybody.

I tried to change the script to make it work for the "T" key, because I have another thing on the TAB key.. but it didn't work.

 

Can you explain me what to do ? I changed iskeypressed(9 blabla to iskeypressed(132, following a key code on the alice script topic.

Share this post


Link to post
Share on other sites
FunGt
Hey everybody.

I tried to change the script to make it work for the "T" key, because I have another thing on the TAB key.. but it didn't work.

 

Can you explain me what to do ? I changed iskeypressed(9 blabla to iskeypressed(132, following a key code on the alice script topic.

T key is 84

List

Share this post


Link to post
Share on other sites
Toez
Hey everybody.

I tried to change the script to make it work for the "T" key, because I have another thing on the TAB key.. but it didn't work.

 

Can you explain me what to do ?  I changed iskeypressed(9 blabla to iskeypressed(132, following a key code on the alice script topic.

T key is 84

List

Thats why a heap of mine weren't working....Thanks man, the ones on the alice page 18 are wrong then.

Share this post


Link to post
Share on other sites
FunGt

Hmm tell me if it works, now I'm confused too lol.

Share this post


Link to post
Share on other sites
maxiepaxie

Is it possible to make a small lua script that enables a higher jump, but not all the other slomo elements? It's slowing down my game a lot to the point where it's unplayable. Higher jump would be awesome for parkour-stuff.

Share this post


Link to post
Share on other sites
Toez
Hmm tell me if it works, now I'm confused too lol.

Yes, they work (At least the numpad ones im using do). Thanks so much, I thought it was my scripts not working tounge.gif

Share this post


Link to post
Share on other sites
HippieCommunist

 

Is it possible to make a small lua script that enables a higher jump, but not all the other slomo elements? It's slowing down my game a lot to the point where it's unplayable. Higher jump would be awesome for parkour-stuff.

HERE on post #6 you have a link for fast run and mega jump scrip that worx with no problems (way to go Simon!)...

ive tweaked it to be modest and not depended on player's speed if u want it.

Share this post


Link to post
Share on other sites
HippieCommunist

alternativly you can use:

 

 

---------- GTA IV Alice "Bullet Time" (no slowdown effects)  script example -------------------- © HippieCommunist 2008 ------------ BT key is TAB--global variablesPLAYER_ID, PLAYER_INDEX, PLAYER_CHAR, SAVEDONE, TIMER = 0function InitScript()-- blah-blah-blahWait(10000)endfunction WaitForPlayerPoolCreation()while (IsPlayerPoolCreated() == 0) do  Wait(2000)endendfunction WaitForValidPlayer()PLAYER_CHAR = 0repeat  CallNative("GET_PLAYER_ID")PLAYER_ID = GetIntResult()if (PLAYER_ID >= 0) then PushInt(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) then   Wait(1000) end  enduntil (PLAYER_CHAR > 0)  endfunction main()InitScript()while true do  if (IsKeyPressed(9) == 1) then WaitForPlayerPoolCreation()      WaitForValidPlayer()PushInt(1)CallNative("SET_GRAVITY_OFF")Wait(8000)PushInt(0)CallNative("SET_GRAVITY_OFF")Wait(100)  end  endend-- startmain();

 

 

jump and press tab to float awhile in the same direction.... if u want longer/shorter flights set the time u wish here 'Wait(8000) '(8 seconds)

Share this post


Link to post
Share on other sites
aceship

My Very Bullettime Toogleable Script

 

---------- GTA IV Alice "BUllet Time" script example ----------

---------- © HippieCommunist 2008 And Reconstructed By Aceship ----------

-- Bullet time key is Mouse Middle Button

--global variables

PLAYER_ID, PLAYER_INDEX, PLAYER_CHAR, Time = 0

 

function InitScript()

-- blah-blah-blah

Wait(10000)

end

 

function WaitForPlayerPoolCreation()

while (IsPlayerPoolCreated() == 0) do

   Wait(2000)

end

end

 

function WaitForValidPlayer()

PLAYER_CHAR = 0

repeat

   CallNative("GET_PLAYER_ID")

PLAYER_ID = GetIntResult()

if (PLAYER_ID >= 0) then

  PushInt(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) then

    Wait(1000)

  end 

end

until (PLAYER_CHAR > 0) 

end

 

function Bullettime()

if Time == 0 then

  Time = 1

  else

  Time=0

end

PushInt(Time)

CallNative("SET_GRAVITY_OFF")

if Time == 1 then

     PushFloat(0.6)

     CallNative("SET_TIME_SCALE")

     Wait(1000)

     PushFloat(0.3)

     CallNative("SET_TIME_SCALE")

     Wait(3000)

     PushFloat(0.2)

     CallNative("SET_TIME_SCALE")

   end

if Time == 0 then

    PushFloat(0.5)

    CallNative("SET_TIME_SCALE")

    Wait(1000)

    PushFloat(0.75)

    CallNative("SET_TIME_SCALE")

    Wait(1000)

    PushFloat(1.0)

    CallNative("SET_TIME_SCALE")

  end

end

 

function main()

InitScript()

while true do

   if (IsKeyPressed(4) == 1) then

       WaitForPlayerPoolCreation()

       WaitForValidPlayer()

    Bullettime()  

    Wait(1000)

   end  

end

end

 

-- start

main();

 

Press Mmb To Bullet time and press again to normal

 

And Please help me

http://www.gtaforums.com/index.php?showtopic=388226

i want to create text on screen like this

 

weapon spawn

Plasma Bomb

and it would be usefull for bulletime to , so you know now is bullet time or not bullet time,

Maybe Like This

Bullet Time Activated,Shooting Accuracy Are Max, So Shoot Everyone!

 

Display in screen , not anywhere

Edited by aceship

Share this post


Link to post
Share on other sites
Nach_Scratch

please add slow motion in the car !! nfs undercover biggrin.gif:D

 

sorry my bad english

Share this post


Link to post
Share on other sites
aceship

Use Mine, It Can Be Used In car, and not very effective in car, can't fly thought

Share this post


Link to post
Share on other sites
Foogooman

Ace, does your script hurt the framerate at all like the first one did?

Share this post


Link to post
Share on other sites
aceship

Don't know,did the fps turn to 4fps?

my computer does like that,after use script, and before it,it the same, i think i l upgrade my vista 32 to 64 bit

Share this post


Link to post
Share on other sites
Duelist

Well, for me it did - fps dropped down by about 1/3, so I made my own script. Here it is:

 

 

---------- 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) do Wait(2000)endendfunction WaitForValidPlayer()PLAYER_CHAR = 0repeat CallNative("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) then  Wait(1000)end  enduntil (PLAYER_CHAR > 0)  endfunction setTime()if (TIME == 1) then PushFloat(0.6) CallNative("SET_TIME_SCALE") Wait(1000) PushFloat(0.3) CallNative("SET_TIME_SCALE")endif (TIME == 0) then PushFloat(0.5) CallNative("SET_TIME_SCALE") Wait(1000) PushFloat(1.0) CallNative("SET_TIME_SCALE")endendfunction toggleBulletTime()if (TIME == 0) then 	TIME = 1 else 	TIME = 0endsetTime()endfunction main()InitScript()while true doWaitForPlayerPoolCreation()WaitForValidPlayer()if (IsKeyPressed(4) == 1) then toggleBulletTime()endWait(100)endend-- startmain();

 

It's toggleable by the same button - mouse middle, and doesn't turn off gravity.

Share this post


Link to post
Share on other sites
aceship

I think you just delete the set_off_gravity,and move it to down and done

Share this post


Link to post
Share on other sites
Killuminati91

duelist: your script makes my gta crash after a while

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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.