You are on page 1of 2

// Crossbow

WeaponData
{
// Weapon data is loaded by both the Game and Client DLLs.
"printname"
"#HL2_Crossbow"
"viewmodel"
"models/weapons/v_crossbow.mdl"
"playermodel" "models/weapons/w_crossbow.mdl"
"anim_prefix" "bow"
"bucket"
"3"
"bucket_position"
"1"
"clip_size"
"default_clip"
"primary_ammo"
"secondary_ammo"

"1"
"5"
"XBowBolt"
"None"

"weight"
"item_flags"

"6"
"0"

// Sounds for the weapon. There is a max of 16 sounds per category (i.e.
max 16 "single_shot" sounds)
SoundData
{
"single_shot" "Weapon_Crossbow.Single"
"reload"
"Weapon_Crossbow.Reload"
"special1"
"Weapon_Crossbow.BoltElectrify"
"special2"
"Weapon_Crossbow.BoltFly"
}
// Weapon Sprite data is loaded by the Client DLL.
TextureData
{
"weapon"
{
"font"
"WeaponIcons"
"character"
"g"
}
"weapon_s"
{
"font"
"WeaponIconsSelected"
"character"
"g"
}
"ammo"
{
"font"
"WeaponIcons"
"character"
"w"
}
"crosshair"
{
"font"
"Crosshairs"
"character"
"Q"
}
"autoaim"
{
"file"
"sprites/crosshairs"
"x"
"0"
"y"
"96"
"width"
"24"
"height"
"24"

}
"zoom"
{
"font"
"character"
}
"zoom_autoaim"
{
"file"
"x"
"y"
"width"
"height"
}
}
}

"Crosshairs"
"Q"

"sprites/crosshairs"
"24"
"112"
"104"
"16"

You might also like