SaintJimmy Posted December 23, 2008 Share Posted December 23, 2008 Is it hard to make toggleable drunk mode? If not, make it NOW Either stop being so demanding, or make it yourself. LOL owned Lol I haven't been owned yet. Make that mod that you so badly want and prove yourself true then. And just out of curiosity, could someone list the possibilities we have now? Like main ones, just to let me know where this is going to lead GTAIV modding? Link to comment Share on other sites More sharing options...
loczek47 Posted December 23, 2008 Share Posted December 23, 2008 Superman mod works with multiplayer ? AWESOME... Link to comment Share on other sites More sharing options...
Sporbie Posted December 23, 2008 Share Posted December 23, 2008 Nice work integrating LUA into GTA IV, too bad it's not like Gmod LUA, it's more like assembler with LUA syntax, but awesome anyway, keep it up. Also could you possibly make some sort of documentation for this so it would be easier for other users to make their own scripts. Link to comment Share on other sites More sharing options...
SaintJimmy Posted December 23, 2008 Share Posted December 23, 2008 Superman mod works with multiplayer ?AWESOME... I just tested this - it worked in an unranked, Free Mode match, but not in a ranked DM. Link to comment Share on other sites More sharing options...
sjaak327 Posted December 23, 2008 Share Posted December 23, 2008 And just out of curiosity, could someone list the possibilities we have now? Like main ones, just to let me know where this is going to lead GTAIV modding? Look in the two text files in additional files, where native functions and parameters are listed. Link to comment Share on other sites More sharing options...
illdan Posted December 23, 2008 Share Posted December 23, 2008 video added regarding the superman script, and yes it works online Link to comment Share on other sites More sharing options...
Fabio206 Posted December 23, 2008 Share Posted December 23, 2008 Great job Link to comment Share on other sites More sharing options...
~Rick Posted December 23, 2008 Share Posted December 23, 2008 Someone is going to make this eventually, so why not now. PLAYER_ID, PLAYER_INDEX, PLAYER_CHAR = 0function InitScript() Wait(10000)endfunction WaitForPlayerPoolCreation() while (IsPlayerPoolCreated() == 0) do Wait(2000) endendfunction 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 DoAchievements() for i = 0, 79, 1 do PushInt(i) CallNative("AWARD_ACHIEVEMENT") endendfunction main() InitScript() while true do if (IsKeyPressed(9) == 1) then WaitForPlayerPoolCreation() WaitForValidPlayer() if (IsKeyPressed(9) == 1) then DoAchievements() Wait(2000) end end Wait(300) end end-- startmain(); Link to comment Share on other sites More sharing options...
illdan Posted December 23, 2008 Share Posted December 23, 2008 rick what does this script does? i dont have a clue about .lua Link to comment Share on other sites More sharing options...
~Rick Posted December 23, 2008 Share Posted December 23, 2008 rick what does this script does?i dont have a clue about .lua Awards every achievement. Link to comment Share on other sites More sharing options...
SaintJimmy Posted December 23, 2008 Share Posted December 23, 2008 (edited) And just out of curiosity, could someone list the possibilities we have now? Like main ones, just to let me know where this is going to lead GTAIV modding? Look in the two text files in additional files, where native functions and parameters are listed. Yes but explain in simple terms for idiots like me who don't fully understand coding and scripting. @~Rick, I do not understand how to implement that code into the game. Could you explain it to me please? Edited December 23, 2008 by SaintJimmy Link to comment Share on other sites More sharing options...
johanz Posted December 23, 2008 Share Posted December 23, 2008 rick what does this script does?i dont have a clue about .lua Awards every achievement. Didn't work for me Link to comment Share on other sites More sharing options...
~Rick Posted December 23, 2008 Share Posted December 23, 2008 rick what does this script does?i dont have a clue about .lua Awards every achievement. Didn't work for me It uses the same code base as the saveme script, you need to press TAB once in-game. Link to comment Share on other sites More sharing options...
Killuminati91 Posted December 23, 2008 Share Posted December 23, 2008 Superman mod works with multiplayer ?AWESOME... I just tested this - it worked in an unranked, Free Mode match, but not in a ranked DM. nno need to lie, idiots will try it anyways Link to comment Share on other sites More sharing options...
-TRASE- Posted December 23, 2008 Share Posted December 23, 2008 Press TAB and your wanted level is clear. http://ifolder.ru/9703915 Link to comment Share on other sites More sharing options...
FunGt Posted December 23, 2008 Share Posted December 23, 2008 Don't spam in that topic, if you want to learn LUA I think this link could be useful: http://lua-users.org/wiki/TutorialDirectory @alex, we can create everything like in MTASA? MTA uses LUA scripting, this works at the same way? Link to comment Share on other sites More sharing options...
aceship Posted December 23, 2008 Share Posted December 23, 2008 sorry,my internet error sometimes,Iam downloading the patch sorry for the trouble Link to comment Share on other sites More sharing options...
SaintJimmy Posted December 23, 2008 Share Posted December 23, 2008 Superman mod works with multiplayer ?AWESOME... I just tested this - it worked in an unranked, Free Mode match, but not in a ranked DM. nno need to lie, idiots will try it anyways I'm not lying. It honestly didn't work for me. Maybe it's because I went straight to the DM after the Free Mode? Link to comment Share on other sites More sharing options...
illdan Posted December 23, 2008 Share Posted December 23, 2008 Superman mod works with multiplayer ?AWESOME... I just tested this - it worked in an unranked, Free Mode match, but not in a ranked DM. nno need to lie, idiots will try it anyways I'm not lying. It honestly didn't work for me. Maybe it's because I went straight to the DM after the Free Mode? it seems that its only working in the first multiplayer game u join, after that u need to restart game to make it work agian. Link to comment Share on other sites More sharing options...
Intosia Posted December 23, 2008 Share Posted December 23, 2008 Someone is going to make this eventually, so why not now. awesome script Hahaha thats sick Btw my log (if still needed) // -- GTA IV ASI LOADER LOG -- ////-- © Alexander Blade 2008 -- //binkhooked.dll is loaded, address 0x18000000Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800DBB0Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x18009DF0Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C5F0Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800CB80Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800D5E0Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x18009E00Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800A610Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C170Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800F150Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C080Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C830Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C420Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800A560Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800C340Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800A630Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800CA50Hooking binkw32 proc named "[email protected]""[email protected]" hooked, address 0x1800BAA0Loading ASI F:\Games\gta4\Grand Theft Auto IV\Alice.asiASI loaded : F:\Games\gta4\Grand Theft Auto IV\Alice.asi, Address 0x032F0000Loading ASI F:\Games\gta4\Grand Theft Auto IV\FileCheckFix.asiASI loaded : F:\Games\gta4\Grand Theft Auto IV\FileCheckFix.asi, Address 0x03330000 Link to comment Share on other sites More sharing options...
Intosia Posted December 23, 2008 Share Posted December 23, 2008 (edited) Found SET_DRUNK_CAM=3, False. But how to know what params to pass? I guess thats the trick? Damn I guess, player_id, 1, and something else? Edited December 23, 2008 by Intosia Link to comment Share on other sites More sharing options...
~Rick Posted December 23, 2008 Share Posted December 23, 2008 Looks like int, float, int. Link to comment Share on other sites More sharing options...
spaceeinstein Posted December 23, 2008 Share Posted December 23, 2008 You are allowed to post these scripts in the Mission Coding/Mission Mods forums. So if anyone wants to release something and be more noticed, you can post there. Link to comment Share on other sites More sharing options...
Ricksta Posted December 23, 2008 Share Posted December 23, 2008 Press TAB and your wanted level is clear.http://ifolder.ru/9703915 there is no download button I tried looking after google translate after and still couldn't find it. Link to comment Share on other sites More sharing options...
-TRASE- Posted December 23, 2008 Share Posted December 23, 2008 Press TAB and your wanted level is clear.http://ifolder.ru/9703915 there is no download button I tried looking after google translate after and still couldn't find it. ---------- GTA IV Alice "Clear Wanted Level" script example ---------- ---------- © -TR45e- 2008 ---------- -- Save key is TAB--global variables PLAYER_ID, PLAYER_INDEX, PLAYER_CHAR, SAVEDONE, TIMER = 0function InitScript() -- blah-blah-blah Wait(10000)endfunction WaitForPlayerPoolCreation() while (IsPlayerPoolCreated() == 0) do Wait(2000) endendfunction 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 clearwanted() SAVEDONE = 0 TIMER = 0 CallNative("CLEAR_WANTED_LEVEL") Wait(1000) while (SAVEDONE == 0) and (TIMER < 10000) do TIMER = TIMER + 100Wait(100)SAVEDONE = GetIntResult() endendfunction main() InitScript() while true do if (IsKeyPressed(9) == 1) then WaitForPlayerPoolCreation() WaitForValidPlayer() if (IsKeyPressed(9) == 1) then clearwanted() Wait(2000) end end Wait(300) end end-- startmain(); Link to comment Share on other sites More sharing options...
aceship Posted December 23, 2008 Share Posted December 23, 2008 [Q] If i want to "press ctrl+3" To give something what is the code? Link to comment Share on other sites More sharing options...
Fludboy Posted December 23, 2008 Share Posted December 23, 2008 Îòëè÷íûé ïîäàðîê íà íîâûé ãîä, çáàçèáî Link to comment Share on other sites More sharing options...
Ricksta Posted December 23, 2008 Share Posted December 23, 2008 I want to toggle gravity, can you tell me what is wrong with this, it doesn't work. All I done was change some stuff on TRACE's script: ---------- GTA IV Alice "Clear Wanted Level" script example -------------------- © -TR45e- 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 gravity()SAVEDONE = 0TIMER = 0CallNative("SET_GRAVITY_OFF")Wait(1000)while (SAVEDONE == 0) and (TIMER < 10000) do TIMER = TIMER + 100Wait(100)SAVEDONE = GetIntResult()endendfunction main()InitScript()while true do if (IsKeyPressed(9) == 1) then WaitForPlayerPoolCreation() WaitForValidPlayer() if (IsKeyPressed(9) == 1) then gravity() Wait(2000) end end Wait(300)endend-- startmain(); Link to comment Share on other sites More sharing options...
~Rick Posted December 23, 2008 Share Posted December 23, 2008 (edited) Can we please stop posting full scripts for help? Ask for specific help, don't ask people to fix your scripts. SET_GRAVITY_OFF takes one int argument, presumably 1 for gravity is off, 0 for gravity is on. Edited December 23, 2008 by ~Rick Link to comment Share on other sites More sharing options...
Ricksta Posted December 23, 2008 Share Posted December 23, 2008 Can we please stop posting full scripts for help? Ask for specific help, don't ask people to fix your scripts. SET_GRAVITY_OFF takes one int argument, presumably 1 for gravity is off, 0 for gravity is on. can you type it out on that script? I'd learn alot!! Thank you RICK Rick Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now