aboutsummaryrefslogtreecommitdiff
path: root/mp/game/mod_hl2mp/scripts/weapon_crossbow.txt
diff options
context:
space:
mode:
authorJoe Ludwig <[email protected]>2013-06-26 15:22:04 -0700
committerJoe Ludwig <[email protected]>2013-06-26 15:22:04 -0700
commit39ed87570bdb2f86969d4be821c94b722dc71179 (patch)
treeabc53757f75f40c80278e87650ea92808274aa59 /mp/game/mod_hl2mp/scripts/weapon_crossbow.txt
downloadsource-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.tar.xz
source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.zip
First version of the SOurce SDK 2013
Diffstat (limited to 'mp/game/mod_hl2mp/scripts/weapon_crossbow.txt')
-rw-r--r--mp/game/mod_hl2mp/scripts/weapon_crossbow.txt77
1 files changed, 77 insertions, 0 deletions
diff --git a/mp/game/mod_hl2mp/scripts/weapon_crossbow.txt b/mp/game/mod_hl2mp/scripts/weapon_crossbow.txt
new file mode 100644
index 00000000..a051fa85
--- /dev/null
+++ b/mp/game/mod_hl2mp/scripts/weapon_crossbow.txt
@@ -0,0 +1,77 @@
+// 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" "1"
+ "default_clip" "5"
+ "primary_ammo" "XBowBolt"
+ "secondary_ammo" "None"
+
+ "weight" "6"
+ "item_flags" "0"
+
+ "damage" "100"
+
+ // 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" "Crosshairs"
+ "character" "Q"
+ }
+ "zoom_autoaim"
+ {
+ "file" "sprites/crosshairs"
+ "x" "24"
+ "y" "112"
+ "width" "104"
+ "height" "16"
+ }
+ }
+} \ No newline at end of file