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

Sign in to follow this  
d.nivatkar

Tec 9

Recommended Posts

d.nivatkar

Can anyone tell me what do I have to edit in the weapon.dat for the Tec 9 so I can use it like a true SMG rather a (Machine) pistol ?

 

I managed to change colt45 and colt45pro to coltcop and 3033, 3033 and 3833 to 7001, 7011, 7031, so its now used like an cop pistol, but that looks very unrealistic with the Tec 9 (Fine with the Micro Uzi though)

 

However when I tried changing colt45 to uzi instead of Coltcop, the game either crashes or if it works the Tec 9 Shakes violently while firing

 

Can anyone tell me what to do ? Do I have to copy the two numbers before 7001, 7011 and 7031 from the MP5 column ? I used these numbers from the Tec 9 data to the Uzi data to make it stop bouncing up and down each time a shot is fired

 

Or do I have to edit the default.ide and make the colt45 in the Tec 9 data there to Uzi ?

Share this post


Link to post
Share on other sites
Adler

 

Or do I have to edit the default.ide and make the colt45 in the Tec 9 data there to Uzi ?

Yeah probably default.ide is where the anim data is. Try changing it and tell us the results. smile.gif

 

And if you want the Tec-9 to have the same flags as the MP5 (or SMG) then just copy & paste the flags to the Tec-9's column "a".

 

Column "a" in weapon.dat contains hex flags which are shown on the top of weapon.dat.

 

I think I tried messing with this some time. I put different numbers in there to see what effects they might have and looked at the other weapons' flags and this is what I've got so far:

 

There are 5 total hex digits in column "a". Digits are backwards: last digit = digit 1. Most weapons only have 4 digits (0 for missing digit). There can be many flags per digit added together (flags 8 + 2 = A).

 

DIGITS

  • Digit 1: Reload flags (last digit) (No 0)
    • 1 = Aim anywhere; Auto-aim at peds
    • 2 = CJ sticks his arm straight out to shoot (colt45anim-style)
    • 4 = 1st Person (Sniper and Rocket Launchers)
    • 8 = No auto-aim (Rifle)
  • Digit 2: Moving with weapon
    • 0 = None
    • 1 = Can only aim while moving
    • 2 = Can shoot while moving
  • Digit 3: Other flags
    • 0 = Regular
    • 1 = Throw (Grenade)
    • 2 = Can't jump with weapon
    • 4 = Continuous Fire? idk
    • 8 = Dual-Wield
  • Digit 4: Reload/Fire flags
    • 0 = None (Minigun and Flamethrower)
    • 1 = Do you reload?
    • 2 = Can you shoot while crouching
    • 4 = Reload2Start? idk (Not for colt45anim-style weapons)
    • 8 = Err... long reload time; no reload anim (Rifle, Sniper, Rocket Launchers)
  • Digit 5: Extra flags
    • 1 = ? (Flamethrower)
    • 2 = ? (Flamethrower)
    • 4 = ? (Rocket Launchers)

Hex flags from weapon.dat:

 

 

Flag # Flag # Flag # Flag #
# 1st Digit CANAIM 1 AIMWITHARM 2 1STPERSON 4 ONLYFREEAIM 8
# 2nd Digit MOVEAIM 1 MOVEFIRE 2 - - - -
# 3rd Digit THROW 1 HEAVY 2 CONTINUOUSFIRE 4 TWINPISTOL 8
# 4th Digit RELOAD 1 CROUCHFIRE 2 RELOAD2START 4 LONG_RELOAD 8
# 5th Digit SLOWSDWN 1 RANDSPEED 2 EXPANDS 4 - -

Share this post


Link to post
Share on other sites
d.nivatkar

Finally managed it !

 

Weapon.dat -

 

$ TEC9    INSTANT_HIT	25.0 30.0	372	-1  4	uzibad  	50  22  0.45 -0.05  0.11    0  0	0.75 1.0  6  9  7          6  9  6  30	7001$ TEC9    INSTANT_HIT	30.0 35.0	372	-1  4	uzi      50  22  0.45 -0.05  0.11    1  50	1.05 1.0  6  9  7          6  9  6  30    7011$ TEC9    INSTANT_HIT	35.0 35.0	372	-1  4	uzi      50  22  0.45 -0.05  0.11    2  999	1.1  1.0  6  9  7          6  9  6  30    7031

 

 

default.ide -

 

372, tec9, tec9, uzi, 1, 30, 0

 

 

Now its fired with the right hand on the trigger and left hand just in front of the magazine, in real-life it would burn your hands biggrin.gif

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.

Sign in to follow this  

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