Difference between revisions of "Weapon.dat"
Jump to navigation
Jump to search
| Line 2: | Line 2: | ||
==GTA: SA== | ==GTA: SA== | ||
| + | |||
| + | {| {{prettytable}} class="collapsible" | ||
| + | ! Identifier | ||
| + | ! Type | ||
| + | |- | ||
| + | |||
| + | | Melee Weapon | ||
| + | |- | ||
| + | | $ | ||
| + | | Gun Weapon | ||
| + | |} | ||
===Melee Weapons=== | ===Melee Weapons=== | ||
| − | + | {| {{prettytable}} class="collapsible" | |
| − | + | ! Identifier | |
| + | ! Explanation | ||
| + | |- | ||
| + | | A | ||
| + | | Weapon type | ||
| + | |- | ||
| + | | B | ||
| + | | Fire type | ||
| + | |- | ||
| + | | C | ||
| + | | Target range | ||
| + | |- | ||
| + | | D | ||
| + | | Weapon range | ||
| + | |- | ||
| + | | E | ||
| + | | Model ID (1) | ||
| + | |- | ||
| + | | F | ||
| + | | Model ID (2) | ||
| + | |- | ||
| + | | G | ||
| + | | Reload Time (1) | ||
| + | |- | ||
| + | | H | ||
| + | | Reload Time (2) | ||
| + | |- | ||
| + | | I | ||
| + | | Weapon Slot | ||
| + | |- | ||
| + | | J | ||
| + | | Base Combo Type | ||
| + | |- | ||
| + | | K | ||
| + | | Number of Combos?? | ||
| + | |- | ||
| + | | L | ||
| + | | Hex Flags | ||
| + | |- | ||
| + | | M | ||
| + | | Extra abilities?? | ||
| + | |} | ||
| − | + | ====Flags (L)==== | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| + | {| {{prettytable}} class="collapsible" | ||
| + | ! Value | ||
| + | ! Explanation | ||
| + | |- | ||
| + | | 1 | ||
| + | | Normal (Weapon in one hand) | ||
| + | |- | ||
| + | | 201 | ||
| + | | Used in chainsaw | ||
| + | |- | ||
| + | | 801 | ||
| + | | Dual weapon | ||
| + | |} | ||
===Gun Weapons=== | ===Gun Weapons=== | ||
| − | |||
| − | |||
| − | |||
<source lang="scm">A </source> | <source lang="scm">A </source> | ||
Revision as of 11:46, 12 December 2010
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.
GTA: SA
| Identifier | Type |
|---|---|
| Melee Weapon | |
| $ | Gun Weapon |
Melee Weapons
| Identifier | Explanation |
|---|---|
| A | Weapon type |
| B | Fire type |
| C | Target range |
| D | Weapon range |
| E | Model ID (1) |
| F | Model ID (2) |
| G | Reload Time (1) |
| H | Reload Time (2) |
| I | Weapon Slot |
| J | Base Combo Type |
| K | Number of Combos?? |
| L | Hex Flags |
| M | Extra abilities?? |
Flags (L)
| Value | Explanation |
|---|---|
| 1 | Normal (Weapon in one hand) |
| 201 | Used in chainsaw |
| 801 | Dual weapon |
Gun Weapons
ADenotes the weapon
BDenotes the weapon type
IDenotes the weapon slot.
JDenotes the weapon animations.
LDenotes 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