mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2024-11-24 21:01:59 +00:00
b5dc4a8543
Fixes line-endings for files with extensions vcd, cc, txt, bat, fxc, inc, lst, proto, mak, mm, cfg, res, rc, def, vmt, vsh, vbsp, inl, asm, m4, vcproj, vcxproj, sln, in, java, la, manifest, am, and rad. Also fixes README, CONTRIBUTING, CONTRIBUTORS, LICENSE, CHANGES, COPYING, and gitignore. Finally, fixes executable bits.
77 lines
No EOL
1.4 KiB
Text
77 lines
No EOL
1.4 KiB
Text
// Small Machine Gun 1
|
|
|
|
WeaponData
|
|
{
|
|
// Weapon data is loaded by both the Game and Client DLLs.
|
|
"printname" "#HL2_SMG1"
|
|
"viewmodel" "models/weapons/v_smg1.mdl"
|
|
"playermodel" "models/weapons/w_smg1.mdl" //FIXME:
|
|
"anim_prefix" "smg2"
|
|
"bucket" "2"
|
|
"bucket_position" "0"
|
|
|
|
"clip_size" "45"
|
|
"clip2_size" "-1"
|
|
|
|
"default_clip" "45"
|
|
"default_clip2" "-1"
|
|
|
|
"primary_ammo" "SMG1"
|
|
"secondary_ammo" "SMG1_Grenade"
|
|
|
|
"weight" "3"
|
|
"item_flags" "0"
|
|
"damage" "5"
|
|
|
|
// Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
|
|
SoundData
|
|
{
|
|
"reload" "Weapon_SMG1.Reload"
|
|
"reload_npc" "Weapon_SMG1.NPC_Reload"
|
|
"empty" "Weapon_SMG1.Empty"
|
|
"single_shot" "Weapon_SMG1.Single"
|
|
"single_shot_npc" "Weapon_SMG1.NPC_Single"
|
|
"special1" "Weapon_SMG1.Special1"
|
|
"special2" "Weapon_SMG1.Special2"
|
|
"double_shot" "Weapon_SMG1.Double"
|
|
"burst" "Weapon_SMG1.Burst"
|
|
}
|
|
|
|
// Weapon Sprite data is loaded by the Client DLL.
|
|
TextureData
|
|
{
|
|
"weapon"
|
|
{
|
|
"font" "WeaponIcons"
|
|
"character" "a"
|
|
}
|
|
"weapon_s"
|
|
{
|
|
"font" "WeaponIconsSelected"
|
|
"character" "a"
|
|
}
|
|
"ammo"
|
|
{
|
|
"font" "WeaponIcons"
|
|
"character" "r"
|
|
}
|
|
"ammo2"
|
|
{
|
|
"font" "WeaponIcons"
|
|
"character" "t"
|
|
}
|
|
"crosshair"
|
|
{
|
|
"font" "Crosshairs"
|
|
"character" "Q"
|
|
}
|
|
"autoaim"
|
|
{
|
|
"file" "sprites/crosshairs"
|
|
"x" "0"
|
|
"y" "48"
|
|
"width" "24"
|
|
"height" "24"
|
|
}
|
|
}
|
|
} |