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

[GTA SA] weapons.dat


Fanehi
 Share

Recommended Posts

Hello there people! I just want to know how to changue fire rate to weapons in the archive "weapons.dat" i want to changue the silenced pistol, m4a1 and SPAS fire rate, do you know how to do it? Tell me in comments!

Link to comment
Share on other sites

Hello! for changing the rate of fire you need to edit the "T, U, V, W, X & Y"  values which correspond to the shooting animation loop, the first three values, "T, U & V" are used when you shoot uprighting, while the other three values "W, X & Y" are used when you shoot crouching. Let's check an example:

 

This is the Hitman skill level of the M4,

# A                 B           C    D      E   F       I   J           K    L      M    N      O       P  Q    R    S       T U   V     W X   Y  Z     a
$ M4                INSTANT_HIT 50.0 90.0   356 -1      5   rifle       20   95     0.74 -0.04  0.13    2  999	0.80 1.1     6 10  7     6 10  7  99    7031

As you can see in-game, the M4 shoots at a considerable rate, but what about a gun with a lower rate of fire like the country rifle for example? well:

# A                 B           C    D		E 	F		I	J           K 	 L		M     N     O	    P  Q    R    S       T  U  V  	 W  X  Y  Z     a
$ COUNTRYRIFLE      INSTANT_HIT	55.0 100.0	357	-1		6	sniper      1	 75		0.7  -0.05  0.2     1  300  1.0	 1.2 	 6 17  7	 6 17  7  99	A008

By checking their respective "T, U, V, W, X & Y"  values, we can clearly see that the main reason because the country rifle shoots at that rate in-game is because of its settings, in this case: "6 17 7", while the M4 is set with "6 10 7" which in simple words, performs the animation loop slower & quicker, respectively.

 

There are also some other values that can affect the rate of fire, like the second digit of the "a" value (which generally consists 4 digits), let's check the M4 example once again:

7031
  
7 = Reloading function.
0 = Shooting function.
3 = Movement.
1 = Camera & aiming.

In the Hitman skill level, those are the values set. And as you can see in-game, CJ will normally reload every time he needs to, he's going to be able to shoot while moving, and both the shooting behavior & camera will be the common ones. So you may be wondering "but you said that by changing the second digit of the "a" value I can change the rate of fire... tell me how", well, that's really simple actually, by changing it to a "4" or a "6", CJ will shot his weapon at the highest rate possible, the only limitation is that if you attempt to change the "T, U, V, W, X & Y"  values, this so-called trick won't work and CJ will be only able to aim.

 

Remember that not always lower numbers mean a higher rate of fire since you need to change them in conjunction between them.

 

I'm working on a guide about the edition & manipulation of the values of this data file, it will be done soon as I'm still documenting many unknown values. It's going to be available in my workshop or perhaps as its own topic in the Tutorials" or "Documentation" subsections.

Edited by Mysterdogg
Link to comment
Share on other sites

21 hours ago, Mysterdogg said:

Hello! for changing the rate of fire you need to edit the "T, U, V, W, X & Y"  values which correspond to the shooting animation loop, the first three values, "T, U & V" are used when you shoot uprighting, while the other three values "W, X & Y" are used when you shoot crouching. Let's check an example:

 

This is the Hitman skill level of the M4,

# A                 B           C    D      E   F       I   J           K    L      M    N      O       P  Q    R    S       T U   V     W X   Y  Z     a
$ M4                INSTANT_HIT 50.0 90.0   356 -1      5   rifle       20   95     0.74 -0.04  0.13    2  999	0.80 1.1     6 10  7     6 10  7  99    7031

As you can see in-game, the M4 shoots at a considerable rate, but what about a gun with a lower rate of fire like the country rifle for example? well:

# A                 B           C    D		E 	F		I	J           K 	 L		M     N     O	    P  Q    R    S       T  U  V  	 W  X  Y  Z     a
$ COUNTRYRIFLE      INSTANT_HIT	55.0 100.0	357	-1		6	sniper      1	 75		0.7  -0.05  0.2     1  300  1.0	 1.2 	 6 17  7	 6 17  7  99	A008

By checking their respective "T, U, V, W, X & Y"  values, we can clearly see that the main reason because the country rifle shoots at that rate in-game is because of its settings, in this case: "6 17 7", while the M4 is set with "6 10 7" which in simple words, performs the animation loop slower & quicker, respectively.

 

There are also some other values that can affect the rate of fire, like the second digit of the "a" value (which generally consists 4 digits), let's check the M4 example once again:

7031
  
7 = Reloading function.
0 = Shooting function.
3 = Movement.
1 = Camera & aiming.

In the Hitman skill level, those are the values set. And as you can see in-game, CJ will normally reload every time he needs to, he's going to be able to shoot while moving, and both the shooting behavior & camera will be the common ones. So you may be wondering "but you said that by changing the second digit of the "a" value I can change the rate of fire... tell me how", well, that's really simple actually, by changing it to a "4" or a "6", CJ will shot his weapon at the highest rate possible, the only limitation is that if you attempt to change the "T, U, V, W, X & Y"  values, this so-called trick won't work and CJ will be only able to aim.

 

Remember that not always lower numbers mean a higher rate of fire since you need to change them in conjunction between them.

 

I'm working on a guide about the edition & manipulation of the values of this data file, it will be done soon as I'm still documenting many unknown values. It's going to be available in my workshop or perhaps as its own topic in the Tutorials" or "Documentation" subsections.

MANY MANY THANKS DUDE!!!

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

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