Difference between revisions of "Weapon.dat"

From GTAMods Wiki
Jump to navigation Jump to search
Line 18: Line 18:
 
<source lang="scm">B </source>  
 
<source lang="scm">B </source>  
 
Denotes the weapon type
 
Denotes the weapon type
 +
 +
<source lang="scm">I </source>
 +
Denotes the weapon slot.
 +
 +
<source lang="scm">L </source>
 +
Denotes the weapon damage.
  
 
'''Gun Weapons'''
 
'''Gun Weapons'''
Line 29: Line 35:
 
<source lang="scm">B </source>  
 
<source lang="scm">B </source>  
 
Denotes the weapon type
 
Denotes the weapon type
 +
 +
<source lang="scm">I </source>
 +
Denotes the weapon slot.
 +
 +
 +
<source lang="scm">J </source>
 +
Denotes the weapon animations.
 +
 +
<source lang="scm">L </source>
 +
Denotes the weapon damage.
  
 
Structure:
 
Structure:

Revision as of 08:18, 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:

# 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