Difference between revisions of "Weapon.dat"

From GTAMods Wiki
Jump to navigation Jump to search
Line 48: Line 48:
 
Structure:
 
Structure:
  
  # Comment<br>
+
  # This is a Comment<br>
 
  # Melee Weapons  
 
  # Melee Weapons  
 
  #-----------------------ranges------modelIds----slot----baseCombo---numCombos---flags---steathanimgrp----
 
  #-----------------------ranges------modelIds----slot----baseCombo---numCombos---flags---steathanimgrp----

Revision as of 12:02, 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

I

Denotes the weapon slot.

L

Denotes the weapon damage.

Gun Weapons

$

Denotes a Gun Weapon

A

Denotes the weapon

B

Denotes the weapon type

I

Denotes the weapon slot.


J

Denotes the weapon animations.

L

Denotes the weapon damage.

Structure:

# This is a 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