Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Forum Support

    3. Suggestions

[GTAIV|REL] A l i c e


Alexander Blade
 Share

  • Replies 1.5k
  • Created
  • Last Reply

Top Posters In This Topic

  • aceship

    107

  • Alexander Blade

    94

  • Marcin6

    63

Top Posters In This Topic

Recommended Posts

I've re-uploaded the file to uploaded.to Here.

 

 

Now now modders, get to work on that Togglable Ragdoll script! (And getting me the .lua file for my Niko to wear a duffel bag cool.gif)

Link to comment
Share on other sites

HippieCommunist

i tried using the gravity mod but the ragdoll can be activated only on certain hight or when touched by moving car (makes you float ragdolly in the void =] great fun running on walls ^^)

Link to comment
Share on other sites

 

I've re-uploaded the file to uploaded.to Here.

 

 

Now now modders, get to work on that Togglable Ragdoll script! (And getting me the .lua file for my Niko to wear a duffel bag cool.gif)

 

you don't need ALICE to do that, there's a thread on how to do it already.

Link to comment
Share on other sites

Killuminati91

 

I've re-uploaded the file to uploaded.to Here.

 

 

Now now modders, get to work on that Togglable Ragdoll script! (And getting me the .lua file for my Niko to wear a duffel bag cool.gif)

 

you don't need ALICE to do that, there's a thread on how to do it already.

do you mean that [iDEA] thread? Or are you not talking about ragdoll?^^

Link to comment
Share on other sites

HippieCommunist

yeah hes just wanna sound smart and administrative sly.gif

 

calling all the creative modders out there! icon14.gificon14.gificon14.gif

Link to comment
Share on other sites

tigerx : Ragdoll ONE? wow.gif

 

And How To Search the Weapon projectiles code (For Getweapon (num))?

Link to comment
Share on other sites

Lol, what about this one? tounge.gif Cant test now, but i will biggrin.gif

 

EXPLODE_CHAR_HEAD=1, False

 

Edit: And this one:

 

SET_CHAR_DRUGGED_UP=2, False

Link to comment
Share on other sites

Hello,

 

If you want more information on the use of certain Native function, I find some example in

the file "main.sc" in folder "Gta4 \ common \ data".

Link to comment
Share on other sites

Alexander Blade
link broken

try upload to another site

works now ?

Link to comment
Share on other sites

 

There Are Posted There But Here

 

if you want

Chance Giveweapon(Num)

Num:

 

 

Giveweapon(num)

1:Baseball bat

2:Pool Cue

3:Knife

4:Grenade

5:Molotov

6:Rocket

7:Glock Pistol

8:don't know yet

9:deagle

10:Shotgun

11:barreta shotgun

12:uzi

13:mp5

14:ak

Edit:

15:m4

16:Sniper rifle

17:M401a Sniper

18:rocket launcher

 

 

Are Your Weapon Info.xml Modded?

anyone have an idea of how to spawn the 25 extra slots of weapons (UNUSED0, EPISODIC_1 - EPISODIC_24)

 

or just point me in a direction of where the GiveWeapon Weapon Numbers are parsed so i can look myself?

 

TIA biggrin.gif Keep posting more scripts!

Edited by nsm4844
Link to comment
Share on other sites

I am Researching It whatsthat.gif

No Luck Until Now

Edit:

And Try Scripting For Your Future, In Three Day I Understand It But Not So Deep Actualy, So Try Experimenting And Trying , If You Have Courage , Anything Is Possible! colgate.gifcolgate.gifcolgate.gif

Edited by aceship
Link to comment
Share on other sites

 

I am Researching It whatsthat.gif

No Luck Until Now

Edit:

And Try Scripting For Your Future, In Three Day I Understand It But Not So Deep Actualy, So Try Experimenting And Trying , If You Have Courage , Anything Is Possible! colgate.gif  colgate.gif  colgate.gif

I'm doing that now, hopefully I will find the number to spawn my insane shotgun which I have at <weapon type="EPISODIC_2">.... ::Crosses Fingers::

 

EDIT: i MITE have found how to spawn EPISODIC_1, doing other tests and changes to Verify this, will post again after I have a more detailed answer

Edited by nsm4844
Link to comment
Share on other sites

I have found how to spawn EPISODIC_1 and EPISODIC_2...

 

Giveweapon(num)

1:Baseball bat

2:Pool Cue

3:Knife

4:Grenade

5:Molotov

6:Rocket

7:Glock Pistol

8:don't know yet

9:deagle

10:Shotgun

11:barreta shotgun

12:uzi

13:mp5

14:ak

15:m4

16:Sniper rifle

17:M401a Sniper

18:rocket launcher

EDIT

21: EPISODIC_1

22: EPISODIC_2

23: EPISODIC_3???

24: EPISODIC_4???

 

since 1 and 2 work, im guessing you just increase the num value to match EPISODIC

 

Useful to myself and anyone else wanting to have modded guns that only the player can have

Link to comment
Share on other sites

 

Main.sc Is For Car Only Right?

 

And How To USe Like "Get_char_..." Like Natives?

 

I think main.sc is a developer test.

I understood that the code created a scene with the player, a character and a car that was "magical" because it changes color all the time.

 

And I don't understand your second question because "GET_CHAR_..." is in Natives list.

Link to comment
Share on other sites

Is not in "used_natives_params.txt" but I think I work like "GET_CHAR_MONEY" you must push the PLAYER_CHAR first and get the result of function with GetIntResult()/GetFloatResult()

OR

if they don't work like that it's like "GET_CHAR_COORDINATES" and you must push a pointer after the 1st parameter with PushVarPtr() and get the result with GetIntParam(ParamNumber)/GetFloatParam(ParamNumber) (see ReadMe of Alice for more details or the playercoords.lua for example)

Link to comment
Share on other sites

HippieCommunist
Is it possible to edit superman.lua to make it never reload anymore (increase clip size or freeze the value)?

who cares!? use the weapon editor suicidal.gif

Link to comment
Share on other sites

Alexander Blade

lol , native for adding money named as "ADD_SCORE"

Link to comment
Share on other sites

Is it possible to edit superman.lua to make it never reload anymore (increase clip size or freeze the value)?

Yes Find this :

CallNative("SET_PLAYER_FAST_RELOAD")

PushInt(0)

 

 

And change it to :

CallNative("SET_PLAYER_FAST_RELOAD")

PushInt(1)

 

Link to comment
Share on other sites

i buILD 4 wEAPON wITH 3 pROJECTILES

 

The Code:

Episodic_1

Episodic_2 Use Unused0 Projectile

Episodic_3 Use Episodic_22 Projectile

Episodic_4 Use Episodic_23 Projectile

 

Projectile:

Unused0

Episodic_24

Episodic_23

I use My Weapon Spawn Like This

 

PLAYER_ID, PLAYER_INDEX, PLAYER_CHAR = 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 GiveWeapon(Num)

  PushInt(PLAYER_CHAR)

  PushInt(Num)

  CallNative("HAS_CHAR_GOT_WEAPON")

  if (GetIntResult() == 0)

  then

    PushInt(PLAYER_CHAR)

    PushInt(Num)

    PushInt(30000)

    PushInt(0)

    CallNative("GIVE_WEAPON_TO_CHAR")

  else

    PushInt(PLAYER_CHAR)

PushInt(Num)

PushInt(500)

CallNative("SET_CHAR_AMMO")

  end

end

 

function Nailgun()

  PushInt(PLAYER_INDEX)

  PushInt(0)

  CallNative("ENABLE_MAX_AMMO_CAP")

  GiveWeapon(21)

end

 

function main()

  InitScript()

  while true do

      WaitForPlayerPoolCreation()

      WaitForValidPlayer()

    if (IsKeyPressed(98) == 1) then

        PlasmaSniper()

        Wait(2000)

      end

      Wait(300)

  end

end

 

-- start

main();

I Use 4 Of This With GiveWeapon(21-24)

And I Got And Error, Why?

 

HoJJaT:Delete GiveWeapon(Num)All of THem

 

Edited by aceship
Link to comment
Share on other sites

this work !

 

thanks to Alexander Blade

 

This is best !

 

i copu superman.lcu

 

but i dont want add Weapon To Slot .

 

what do i do?

 

 

aceship: Thank You

Edited by HoJJaT
Link to comment
Share on other sites

Your Welcome,

And Everyone See My Edited Post,

I eDit THat Because I Pressed Post Before I Finished My Post

Link to comment
Share on other sites

Alexander: Could you implement some sort of script disabling? Now it loads all files in Alice folder. Maybe if extension is not .lua dont load.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.