Permalink
Browse files

Fix some .357 weapons

Fix for AlyxGun and HLS Hand Grenade.
  • Loading branch information...
1 parent 2f1fd73 commit eabc84329f50260479084f176df4e6152ee2fe78 @robotboy655 robotboy655 committed Jun 6, 2014
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,63 @@
+// Alyx Gun
+
+WeaponData
+{
+ // Weapon data is loaded by both the Game and Client DLLs.
+ "printname" "#HL2_AlyxGun"
+ "viewmodel" "models/weapons/c_pistol.mdl"
+ "playermodel" "models/weapons/w_alyx_gun.mdl" //FIXME:
+ "anim_prefix" "alyxgun"
+ "bucket" "1"
+ "bucket_position" "4"
+
+ "clip_size" "30"
+ "clip2_size" "-1"
+
+ "default_clip" "30"
+ "default_clip2" "-1"
+
+ "primary_ammo" "AlyxGun"
+
+ "weight" "2"
+ "item_flags" "0"
+
+ // Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
+ SoundData
+ {
+
+ "reload" "Weapon_Pistol.Reload"
+ "reload_npc" "Weapon_Pistol.NPC_Reload"
+ "empty" "Weapon_Pistol.Empty"
+ "single_shot" "Weapon_Pistol.Single"
+ "single_shot_npc" "Weapon_Pistol.NPC_Single"
+ "special1" "Weapon_Pistol.Special1"
+ "special2" "Weapon_Pistol.Special2"
+ "burst" "Weapon_Pistol.Burst"
+ }
+
+ // Weapon Sprite data is loaded by the Client DLL.
+ TextureData
+ {
+ "ammo"
+ {
+ "font" "WeaponIconsSmall"
+ "character" "p"
+ }
+ "crosshair"
+ {
+ "file" "sprites/crosshairs"
+ "x" "0"
+ "y" "48"
+ "width" "24"
+ "height" "24"
+ }
+ "autoaim"
+ {
+ "file" "sprites/crosshairs"
+ "x" "0"
+ "y" "48"
+ "width" "24"
+ "height" "24"
+ }
+ }
+}
@@ -8,7 +8,7 @@ WeaponData
"playermodel" "models/weapons/w_annabelle.mdl"
"anim_prefix" "shotgun"
"bucket" "2"
- "bucket_position" "1"
+ "bucket_position" "2"
"clip_size" "2"
"primary_ammo" "357"
"secondary_ammo" "None"
@@ -0,0 +1,54 @@
+// Hand grenade
+
+WeaponData
+{
+ // Weapon data is loaded by both the Game and Client DLLs.
+ "printname" "#HL1_HandGrenade"
+ "viewmodel" "models/v_grenade.mdl"
+ "playermodel" "models/w_grenade.mdl"
+ "anim_prefix" "crowbar"
+ "bucket" "4"
+ "bucket_position" "2"
+
+ "clip_size" "-1"
+ "default_clip" "5"
+ "primary_ammo" "Grenade"
+ "secondary_ammo" "None"
+
+ "weight" "5"
+ "item_flags" "24" // ITEM_FLAG_LIMITINWORLD | ITEM_FLAG_EXHAUSTIBLE
+
+ // Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
+ SoundData
+ {
+ }
+
+ // Weapon Sprite data is loaded by the Client DLL.
+ TextureData
+ {
+ "weapon"
+ {
+ "file" "sprites/640hud3"
+ "x" "0"
+ "y" "0"
+ "width" "170"
+ "height" "45"
+ }
+ "weapon_s"
+ {
+ "file" "sprites/640hud6"
+ "x" "0"
+ "y" "0"
+ "width" "170"
+ "height" "45"
+ }
+ "ammo"
+ {
+ "file" "sprites/640hud7"
+ "x" "48"
+ "y" "96"
+ "width" "24"
+ "height" "24"
+ }
+ }
+}

0 comments on commit eabc843

Please sign in to comment.