Difference between revisions of "Weapon.dat"

From GTAMods Wiki
Jump to navigation Jump to search
Line 10: Line 10:
 
'''Melee Weapons'''
 
'''Melee Weapons'''
  
+
<source lang="scm"></source>
 
Denotes a Melee Weapon
 
Denotes a Melee Weapon
 +
 +
<source lang="scm">A </source>
 +
Denotes the weapon
 +
 +
<source lang="scm">B </source>
 +
Denotes the weapon type
  
 
'''Gun Weapons'''
 
'''Gun Weapons'''
  
$
+
<source lang="scm">$ </source>
 
Denotes a Gun Weapon
 
Denotes a Gun Weapon
 +
 +
<source lang="scm">A </source>
 +
Denotes the weapon
 +
 +
<source lang="scm">B </source>
 +
Denotes the weapon type
  
 
Structure:
 
Structure:

Revision as of 07:55, 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

A

Denotes the weapon

B

Denotes the weapon type

Gun Weapons

$

Denotes a Gun Weapon

A

Denotes the weapon

B

Denotes the weapon type

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