Fanehi Posted December 18, 2018 Share Posted December 18, 2018 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 More sharing options...
Mysterdogg Posted December 19, 2018 Share Posted December 19, 2018 (edited) 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 December 19, 2018 by Mysterdogg Fanehi 1 Link to comment Share on other sites More sharing options...
Fanehi Posted December 19, 2018 Author Share Posted December 19, 2018 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 More sharing options...