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

Alexander Blade

[GTAIV|REL] A l i c e

Recommended Posts

HazardX

Amazing peice of work, Alexander!

 

Is there a way to import other lua scripts? it would make scripts alot more readable.

 

Example:

 

core = import("include\core.lua")Player = import("include\player.lua")native = import("include\native.lua")function main() core.InitScript() while true do   Player.Initialize()   native.SET_CHAR_MAX_HEALTH(Player.Char, 3000)   native.SET_CHAR_HEALTH(Player.Char, 3000)   Wait(250) end	end-- startmain();

 

Share this post


Link to post
Share on other sites
Alexander Blade

dunno , lua must support includes ...

try

 

==filename

 

Share this post


Link to post
Share on other sites
TheRealTRA

reinstalling fixed my issue

Share this post


Link to post
Share on other sites
adhome

Normal Native GTA functions are executed in a script environment (from GTA itself).

 

Thy LUA script is execute the native calls out of order at anytime (own thread?)

 

Perhaps this is the reason, you can not operate with models. The memory for them is not enabled.

 

Perhaps the xlive wrapper, that dispale protected Memory will help with this problem.

 

Share this post


Link to post
Share on other sites
HippieCommunist

gggggguuuuuuuuuuuys! whats the command to make player relaxed? like.... ragdolly

 

found this FILE in my data dir

and theres a bodyRelax function how do i execute this command? like say pressing tab key...??

 

any1 knows plz?? mercie_blink.gif

Share this post


Link to post
Share on other sites
smoot178

Holy crap, awesome!

Share this post


Link to post
Share on other sites
johanz

And make grab function to work too :3

Share this post


Link to post
Share on other sites
HippieCommunist

yeah guys more physix useage! to make crazy stunt stuff and jumping ppl!

Share this post


Link to post
Share on other sites
spaceeinstein

Stop requesting stuff. People have to find out how to use this stuff first. Of course people will release what they found out and show you if anything is possible.

Share this post


Link to post
Share on other sites
ceedj

Couple of quick questions, for clarification...

 

1) Are "natives" what we would call opcodes in previous games? And the natives.ini like the old SASCM.ini file from the Mission Builders?

 

2) Looking at some of the used native parameters would it be safe to assume SOME of the parameters would follow the patterns of the previous games? Example:

 

CREATE_CAR_GENERATOR=15, False is the almost equivalent of 014B: create car generator? And we just have to sort through what is what via trial and error?

 

Better example, 009A (create actor) in SA uses 6 params (model, pedtype, x,y,z, handle) while the IV version uses 7. Right track (just need to figure out what the extra one is lol.gif)?

 

Excellent stuff here Alexander, nice work! smile.gif

 

EDIT: 3) CHAR replaces ACTOR?

Edited by ceedj

Share this post


Link to post
Share on other sites
bmac 0750

i think that this mod is absolutely awesome, but i want to be able to use all of the weapons, not just the ones that come with the superman.lua

 

could somebody tell me how to remove the weapon-giving part of superman.lua and keep the invincibility?

thankz

 

 

***NEVER MIND!!

i figured it out! w00t

Edited by bmac 0750

Share this post


Link to post
Share on other sites
Alexander Blade

 

Normal Native GTA functions are executed in a script environment (from GTA itself).

 

Thy LUA script is execute the native calls out of order at anytime (own thread?)

 

Perhaps this is the reason, you can not operate with models. The memory for them is not enabled.

 

Perhaps the xlive wrapper, that dispale protected Memory will help with this problem.

tryed with it - no

 

2ceedj:

1) no , natives.ini is using only to find native address in memory

2) wait for a few days and u'll see native call examples in original scripts

3) yes , char is actor

Edited by Alexander Blade

Share this post


Link to post
Share on other sites
ceedj
2ceedj:

1) no , natives.ini is using only to find native address in memory

2) wait for a few days and u'll see native call examples in original scripts

3) yes , char is actor

1) Noticed that digging through the files a bit more, thanks.

2) Good to hear, thanks for that.

3) Seems like you guys (Sanny team) are doing a lot of good work here, thanks for the hard work! Regarding the models, I assume the problem as explained is that there is no way to load and check for loaded models as of yet? Just laying the framework for a IV Studios Machinima mod here...

 

Thanks again and good luck to you guys. Keep it up! smile.gif

Share this post


Link to post
Share on other sites
mystra007

Hey alexander,

 

Just wanted to say, that as someone who joined in 2002, you and the community (but especially you). Amaze me a lot. You did things with gta:sa and gtaiv that I never though possible. Even if R* had released mod tools with gtaiii, gtavc and gtasa what you did is the equivalent of an sdk (Im speaking about CLEO).

 

Its nice to see someone who is really good with extending a game and who can also take time his to explain things to newbies.

 

As they say in russian:

S Rozhdestvom Khristobym!

 

Share this post


Link to post
Share on other sites
aceship

are the alice .lua file connected to the fred.html?

or it just a tutorial?

i found

16 Hand_Left Char_L_Hand

And

20 Hand_Right Char_R_Hand

So can we Change The Model To Fingerless Gloves To nico Hand?

Share this post


Link to post
Share on other sites
klanly

Fingerless Gloves cool.gif

 

user posted image

 

Share this post


Link to post
Share on other sites
SaintJimmy

 

Fingerless Gloves cool.gif

 

user posted image

 

I dare you to post that in the GTA IV forum.

I double dare you.

 

 

And btw, how can I work that? smile.gif

OH MY GOD, THAT IS AWESOME. (not the gloves) THE F*CKING DUFFEL BAG! Oh sweet jesus please tell me how to do that. I'm not experienced in modding, so tell me the code to add to a .lua file, PLEASE. Oh pretty please sad.gif

 

And also, could someone tell me how to get a savegame working? And if so, is it possible to have a save game uploaded for me (With storyline finished)?

Edited by SaintJimmy

Share this post


Link to post
Share on other sites
johnma

Maybe I'm a bit late.

 

But I can't load the save with the modded "binkw32.dll", the game crashes after loading screen

 

I have an updated game (I even re-update again but still crashes)

both "asilog" and "alice" are created

 

Using Window XP SP3 32bit

 

I have tried using filelist.pak to overcome file check, but still crash.

 

Sorry if it is a nub question.

 

 

Share this post


Link to post
Share on other sites
klanly

add this somewhere in your .lua..(may crash)

PushInt(PLAYER_INDEX)

PushInt(51)

CallNative("CHANGE_PLAYER_MODEL")

 

i only try out 51 for PushInt, and that's what you see here..

I don't know exactly how it works. (may someone tell me...) Hopefully the player model would change after many times of crash.

good luck...

Share this post


Link to post
Share on other sites
SaintJimmy

So I make a .lua file, open it with notepad or whatever, and add those 3 lines into it? beautiful.

EDIT: I am getting nowhere here...constant crashing...about 8 times now.

Edited by SaintJimmy

Share this post


Link to post
Share on other sites
Intosia

 

So I make a .lua file, open it with notepad or whatever, and add those 3 lines into it? beautiful.

Lol, no its not that easy... Read up on the rest of this topic. And read readme.txt and other files! sly.gif

Share this post


Link to post
Share on other sites
johnma

thx god

 

I just realise I got an unwanter file "FileCheckDisabler.asi" in my gta folder

which makes the problem.

 

Mod works now, very very cool indeed.

 

Thank you and merry christmas

Share this post


Link to post
Share on other sites
klanly

nope, the .lua needs some "framework code" to initialize itself. you can find out it in this forum, or simply modify the examples provided by the author.

Share this post


Link to post
Share on other sites
FunGt
And also, could someone tell me how to get a savegame working? And if so, is it possible to have a save game uploaded for me (With storyline finished)?

You can find a complete savegame here. How to install here.

Share this post


Link to post
Share on other sites
jadire
And also, could someone tell me how to get a savegame working? And if so, is it possible to have a save game uploaded for me (With storyline finished)?

You can find a complete savegame here. How to install here.

The only reason xlive_wrapper method fails is because it disabled the mulitplayer, If i wanted to cheat I would just use alice. Disabling multiplayer just makes the wrapper useless.

Share this post


Link to post
Share on other sites
Simon.

I was experimenting and made a MegaJump + FastRun script. Not too in-depth but it's alright for some fun. Press TAB+CTRL shift for Fast Run and TAB+SPACE for Mega Jump!

 

This is great fun Alexander Blade, thanks for the work you put into it smile.gif.

 

Suggestion: Is it possible to have dynamic reloading of scripts after the game has loaded? I was thinking maybe some keys pressed in the pause menu that would reload the scripts.

Share this post


Link to post
Share on other sites
-TRASE-
So I make a .lua file, open it with notepad or whatever, and add those 3 lines into it? beautiful.

EDIT: I am getting nowhere here...constant crashing...about 8 times now.

No. its just part of the Code. add it in your superman lua, think logical

Share this post


Link to post
Share on other sites
FunGt
The only reason xlive_wrapper method fails is because it disabled the mulitplayer, If i wanted to cheat I would just use alice. Disabling multiplayer just makes the wrapper useless.

So with xlive_wrapper you can not play multyplayer? Btw should be enough renaming the xlive.dll?

Share this post


Link to post
Share on other sites
simkas
add this somewhere in your .lua..(may crash)

PushInt(PLAYER_INDEX)

PushInt(51)

CallNative("CHANGE_PLAYER_MODEL")

 

i only try out 51 for PushInt, and that's what you see here..

I don't know exactly how it works. (may someone tell me...) Hopefully the player model would change after many times of crash.

good luck...

So, just those lines will give me the gloves and the bag? Or what?

Share this post


Link to post
Share on other sites
Intosia

Quick script: TimeScale Changer

http://intosia.com/media/timescale.lua

 

Uber slowmo ingame devil.gif

 

Note: hold the key for minimal 1 sec, otherwise it wont register...

 

Edit: hm saw someone beat me to it sleepy.gif

Edited by Intosia

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.


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