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

Alexander Blade

[GTAIV|REL] A l i c e

Recommended Posts

SaintJimmy

 

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?

Share this post


Link to post
Share on other sites
loczek47

Superman mod works with multiplayer ?

AWESOME...

Share this post


Link to post
Share on other sites
Sporbie

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.

Share this post


Link to post
Share on other sites
SaintJimmy
Superman mod works with multiplayer ?

AWESOME...

I just tested this - it worked in an unranked, Free Mode match, but not in a ranked DM.

Share this post


Link to post
Share on other sites
sjaak327
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.

 

 

Share this post


Link to post
Share on other sites
illdan

video added regarding the superman script,

and yes it works online cryani.gif

 

 

 

Share this post


Link to post
Share on other sites
Fabio206

Great job smile.gif

Share this post


Link to post
Share on other sites
~Rick

Someone is going to make this eventually, so why not now. anuj_cop.gif

 

 

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();

 

Share this post


Link to post
Share on other sites
illdan

rick what does this script does?

i dont have a clue about .lua

Share this post


Link to post
Share on other sites
~Rick
rick what does this script does?

i dont have a clue about .lua

Awards every achievement.

Share this post


Link to post
Share on other sites
SaintJimmy

 

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 by SaintJimmy

Share this post


Link to post
Share on other sites
johanz
rick what does this script does?

i dont have a clue about .lua

Awards every achievement.

Didn't work for me confused.gif

Share this post


Link to post
Share on other sites
~Rick
rick what does this script does?

i dont have a clue about .lua

Awards every achievement.

Didn't work for me confused.gif

It uses the same code base as the saveme script, you need to press TAB once in-game.

Share this post


Link to post
Share on other sites
Killuminati91
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

Share this post


Link to post
Share on other sites
FunGt

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?

Share this post


Link to post
Share on other sites
aceship

sorry,my internet error sometimes,Iam downloading the patch

sorry for the trouble

 

 

 

Share this post


Link to post
Share on other sites
SaintJimmy
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?

Share this post


Link to post
Share on other sites
illdan
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.

Share this post


Link to post
Share on other sites
Intosia
Someone is going to make this eventually, so why not now. anuj_cop.gif

 

 

awesome script

 

Hahaha thats sick biggrin.gif

 

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

 

Share this post


Link to post
Share on other sites
Intosia

Found SET_DRUNK_CAM=3, False. But how to know what params to pass? I guess thats the trick? Damn sarcasm.gif

 

I guess, player_id, 1, and something else?

Edited by Intosia

Share this post


Link to post
Share on other sites
~Rick

Looks like int, float, int.

Share this post


Link to post
Share on other sites
spaceeinstein

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.

Share this post


Link to post
Share on other sites
Ricksta
Press TAB and your wanted level is clear.

http://ifolder.ru/9703915

there is no download button sad.gif I tried looking after google translate after and still couldn't find it.

Share this post


Link to post
Share on other sites
-TRASE-
Press TAB and your wanted level is clear.

http://ifolder.ru/9703915

there is no download button sad.gif 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();

 

Share this post


Link to post
Share on other sites
aceship

[Q]

If i want to "press ctrl+3" To give something

what is the code?

Share this post


Link to post
Share on other sites
Fludboy

 

xmas.gif Îòëè÷íûé ïîäàðîê íà íîâûé ãîä, çáàçèáî ph34r.gif

Share this post


Link to post
Share on other sites
Ricksta

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();

 

Share this post


Link to post
Share on other sites
~Rick

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 by ~Rick

Share this post


Link to post
Share on other sites
Ricksta
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.

dontgetit.gif can you type it out on that script? I'd learn alot!!

 

Thank you RICK

 

 

 

Rick

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.
Note: Your post will require moderator approval before it will be visible.

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.


  • 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.