weapon.dat |
File Formats |
Fil_weapondat.html |
weapon.dat - contains weapon stats (Fire type, rate, reload...)
data\weapon.dat
Weapon.dat contains information pertaining to how the weapons in the game work, such as how powerfull they are amount of rounds in a clip ect. Each weapon has 23 parameters.
# A: Weapon name # B: Fire type # C: Range # D: Firing Rate # E: Reload # F: Amount of Ammunition # G: Damage # H: Speed # I: Radius # J: Life span # K: Spread # L,M,N: Fire offset vector # P: animation to play # Q: animation to play # R: animation loop start # S: animation loop end # T: point in animation where weapon is fired # U: point in animation 2 where weapon is fired # V: model id # W: Flags -> 1:USE_GRAVITY 2:SLOWS_DOWN 4:DISSIPATES 8:RAND_SPEED 16:EXPANDS # 32:EXPLODES 64:CANAIM 128:CANAIM_WITHARM 256:1ST_PERSON 512:HEAVY 1024:THROW
A - Weapon name:
B - Fire type:
C - Range, it seemes to be a percentage of distance as the sniperrifle has a range of 100 and a basebalbat a range of 1.5.
D - Firing Rate, the delay between shots. The smaller the number the shorter the delay.
E - Reload, the time in ms it takes to reload.
F - Amount of Ammunition, how many rounds are in each clip.
G - Damage, how powerfull each round is.
H - Speed, how fast a round gets to its target.
I - Radius, melee weapons and the flamethrower use this all other weapons use -1.0.
J - Life span, used with projectiles as a fuse such as the delay before a grenade goes off.
K - Spread, the size of the area that an explosion or fire affects.
L,M,N - Fire offset vector, how unacurate a weapon can be give or take from your aiming:
P,Q - animations to play:
R - animation loop start, were to start the animation loop when firing an automatic weapon.
S - animation loop end, were to end the animation lood when firing an automatic weapon.
T - point in animation where weapon is fired.
U - point in animation 2 where weapon is fired.
V - model id, the weapons model ID in default.ide
W - Flags:
Uzi INSTANT_HIT 30.0 250 500 25 20 -1.0 -1.0 -1.0 -1.0 0.30 -0.05 0.11 WEAPON_hgun_body null 8 11 9 9 178 192
M16 INSTANT_HIT 75.0 1 1000 60 52 -1.0 -1.0 -1.0 -1.0 0.83 -0.06 0.14 WEAPON_AK_body null 12 13 12 0 180 64
SniperRifle INSTANT_HIT 100.0 500 1401 1 125 -1.0 -1.0 -1.0 -1.0 0.0 0.66 0.05 WEAPON_sniper null 0 10 3 0 177 256
More reseach and testing has to be done in general.
-
WSE
|
File Formats |
Last change: 25 July 2002 |
unofficial GTA III Reference |