Difference between revisions of "Weapon.dat"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<code>weapon.dat</code> is a file located in the <code>data</code> folder from GTA 3 to San Andreas or the <code>common\data</code> folder for GTA 4. The file contains information about the weapons of the game.
+
==Weapon.dat==
 +
 
 +
<code>weapon.dat</code> is a file located in the <code>data</code> folder from GTA 3 to San Andreas. The file contains information about the weapons of the game.
 +
 
 +
==Structure==
 +
 
 +
 
 +
'''GTA: SA'''
 +
 
 +
'''Melee Weapons'''
 +
 
 +
 +
Denotes a Melee Weapon
 +
 
 +
'''Gun Weapons'''
 +
 
 +
$
 +
Denotes a Gun Weapon
 +
 
 +
Structure:
 +
 
 +
# Comment<br>
 +
# Melee Weapons
 +
#-----------------------ranges------modelIds----slot----baseCombo---numCombos---flags---steathanimgrp----
 +
#    A            B        C      D        E    F        I        J            K            L        M
 +
 +
<br>
 +
[...]
 +
<br>
 +
# Gun Weapons
 +
<br>
 +
[...]
 +
<br>
 +
ENDWEAPONDATA

Revision as of 07:50, 23 October 2010

Weapon.dat

weapon.dat is a file located in the data folder from GTA 3 to San Andreas. The file contains information about the weapons of the game.

Structure

GTA: SA

Melee Weapons


Denotes a Melee Weapon

Gun Weapons

$

Denotes a Gun Weapon

Structure:

# Comment
# Melee Weapons #-----------------------ranges------modelIds----slot----baseCombo---numCombos---flags---steathanimgrp---- # A B C D E F I J K L M

-1 -1 0 UNARMED 4 1 null


[...]
# Gun Weapons
[...]
ENDWEAPONDATA