mirror of
https://github.com/fortressforever/fortressforever-scripts.git
synced 2024-11-21 20:21:09 +00:00
107 lines
2.3 KiB
Text
107 lines
2.3 KiB
Text
|
WeaponData
|
||
|
{
|
||
|
// Weapon characteristics:
|
||
|
"CycleTime" "0.6" // Rate of fire
|
||
|
"CycleDecrement" "1" // Number of bullets fired per cycle
|
||
|
|
||
|
"Damage" "108" // Damage per burst, also controls radius of explosion
|
||
|
"DamageRadius" "100" // Radius, this is only used for truncating the outside of the damage range, it doesnt stretch the damage outwards
|
||
|
|
||
|
"RecoilAmount" "1" // Amount of recoil
|
||
|
|
||
|
// Projectile weapons
|
||
|
"Speed" "625" // Speed for projectile to travel at (630)
|
||
|
|
||
|
// Hitscan weapons
|
||
|
"Bullets" "-1" // Bullets to shoot
|
||
|
"BulletSpread" "-1" // Spread of projectiles
|
||
|
|
||
|
"PreReloadTime" "0.6" // Time taken for the weapon to move to reload state
|
||
|
"ReloadTime" "0.5" // was .6 Time taken to reload a shell/rocket/etc
|
||
|
"PostReloadTime" "1" // Time taken to move weapon back to firing state
|
||
|
|
||
|
"SpinTime" "-1" // For AC
|
||
|
|
||
|
"clip_size" "6"
|
||
|
|
||
|
"primary_ammo" "AMMO_ROCKETS"
|
||
|
"secondary_ammo" "None"
|
||
|
|
||
|
"ffencrypted" "1" // required for the script to load
|
||
|
|
||
|
// Weapon data is loaded by both the Game and Client DLLs.
|
||
|
"printname" "#FF_WPNHUD_GRENADELAUNCHER"
|
||
|
"viewmodel" "models/weapons/grenadelauncher/v_grenadelauncher.mdl"
|
||
|
"playermodel" "models/weapons/grenadelauncher/w_grenadelauncher.mdl"
|
||
|
|
||
|
"anim_prefix" "anim"
|
||
|
"PlayerAnimationExtension" "grenadelauncher"
|
||
|
"bucket" "3"
|
||
|
"bucket_position" "2"
|
||
|
|
||
|
"weight" "50"
|
||
|
"item_flags" "0"
|
||
|
|
||
|
// Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
|
||
|
SoundData
|
||
|
{
|
||
|
"empty" "generic.empty"
|
||
|
"reload" "GLPL.reload"
|
||
|
"single_shot" "grenadelauncher.single_shot"
|
||
|
}
|
||
|
|
||
|
// Weapon Sprite data is loaded by the Client DLL.
|
||
|
TextureData
|
||
|
{
|
||
|
"weapon"
|
||
|
{
|
||
|
"font" "WeaponIcons"
|
||
|
"character" "m"
|
||
|
}
|
||
|
"weapon_s"
|
||
|
{
|
||
|
"font" "WeaponIconsSelected"
|
||
|
"character" "m"
|
||
|
}
|
||
|
"ammo"
|
||
|
{
|
||
|
"font" "WeaponIconsSmall"
|
||
|
"character" "0"
|
||
|
}
|
||
|
"crosshair"
|
||
|
{
|
||
|
"file" "sprites/crosshairs"
|
||
|
"x" "0"
|
||
|
"y" "48"
|
||
|
"width" "24"
|
||
|
"height" "24"
|
||
|
}
|
||
|
"autoaim"
|
||
|
{
|
||
|
"file" "sprites/crosshairs"
|
||
|
"x" "0"
|
||
|
"y" "48"
|
||
|
"width" "24"
|
||
|
"height" "24"
|
||
|
}
|
||
|
"deathnotice"
|
||
|
{
|
||
|
"font" "StatusGlyphsSmall"
|
||
|
"character" "m"
|
||
|
}
|
||
|
}
|
||
|
ModelBounds
|
||
|
{
|
||
|
Viewmodel
|
||
|
{
|
||
|
Mins "-10 -4 -13"
|
||
|
Maxs "21 9 -1"
|
||
|
}
|
||
|
World
|
||
|
{
|
||
|
Mins "-10 -7 -6"
|
||
|
Maxs "22 8 9"
|
||
|
}
|
||
|
}
|
||
|
}
|