Chunk3y 0 Posted December 28, 2008 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! Quote Share this post Link to post Share on other sites
HippieCommunist 27 Posted December 28, 2008 thanx! btw it passed my beta testings so any sites out there wanna host it may help the... less fortunate Quote Share this post Link to post Share on other sites
wachumanango 0 Posted December 28, 2008 tested it, great mod, too bad it DOES hurt FPS like 7 or so, and thats a lot for my already low framerate if u can fix that it would be nice Quote Share this post Link to post Share on other sites
BeatFK 0 Posted December 28, 2008 I confirm it does hurt framerate, even when slow-mo is not active. Nevertheless a great mod. Quote Share this post Link to post Share on other sites
tigerx 0 Posted December 28, 2008 Ah, Lose In Internet SpeedThe Toogle one doesn't work. Quote Share this post Link to post Share on other sites
Hajpoj 0 Posted December 28, 2008 Does alice work with the PATCHED version right now? Alice only works with an unpatched game? Quote Share this post Link to post Share on other sites
Toez 0 Posted December 28, 2008 Alice ONLY works with the PATCHED version. Quote Share this post Link to post Share on other sites
Hajpoj 0 Posted December 28, 2008 BOOM BOOM TIME!!!!!! AYEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE! Quote Share this post Link to post Share on other sites
TiTaN31 0 Posted December 28, 2008 please rapid link. :S Quote Share this post Link to post Share on other sites
aceship 0 Posted December 28, 2008 doesn't work. dID yOU jUST copy It? Use The Original one and Replace the function main Quote Share this post Link to post Share on other sites
TiTaN31 0 Posted December 28, 2008 please rapidshare upload. Quote Share this post Link to post Share on other sites
Toez 0 Posted December 28, 2008 please rapidshare upload. Honestly, all you need to do is make a new text file, place the script in it, then edit the .txt to a .lua. But just for you...here is a rapidshare upload http://rapidshare.com/files/177499772/Bullet_Time.lua Quote Share this post Link to post Share on other sites
TiTaN31 0 Posted December 28, 2008 thank you bro. Quote Share this post Link to post Share on other sites
yeahsine 0 Posted December 28, 2008 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. Quote Share this post Link to post Share on other sites
FunGt 56 Posted December 28, 2008 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 Quote Share this post Link to post Share on other sites
Toez 0 Posted December 28, 2008 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. Quote Share this post Link to post Share on other sites
FunGt 56 Posted December 28, 2008 Hmm tell me if it works, now I'm confused too lol. Quote Share this post Link to post Share on other sites
maxiepaxie 0 Posted December 28, 2008 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. Quote Share this post Link to post Share on other sites
Toez 0 Posted December 28, 2008 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 Quote Share this post Link to post Share on other sites
HippieCommunist 27 Posted December 28, 2008 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. Quote Share this post Link to post Share on other sites
HippieCommunist 27 Posted December 28, 2008 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) Quote Share this post Link to post Share on other sites
aceship 0 Posted December 28, 2008 (edited) 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 spawnPlasma 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 December 28, 2008 by aceship Quote Share this post Link to post Share on other sites
Nach_Scratch 0 Posted December 28, 2008 please add slow motion in the car !! nfs undercover sorry my bad english Quote Share this post Link to post Share on other sites
aceship 0 Posted December 28, 2008 Use Mine, It Can Be Used In car, and not very effective in car, can't fly thought Quote Share this post Link to post Share on other sites
Foogooman 0 Posted December 28, 2008 Ace, does your script hurt the framerate at all like the first one did? Quote Share this post Link to post Share on other sites
aceship 0 Posted December 28, 2008 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 Quote Share this post Link to post Share on other sites
Duelist 0 Posted December 28, 2008 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. Quote Share this post Link to post Share on other sites
aceship 0 Posted December 28, 2008 I think you just delete the set_off_gravity,and move it to down and done Quote Share this post Link to post Share on other sites
Killuminati91 0 Posted December 28, 2008 duelist: your script makes my gta crash after a while Quote Share this post Link to post Share on other sites