diff --git a/garrysmod/resource/gameui_english.txt b/garrysmod/resource/gameui_english.txt index e355bfeeb2..e5b518fd05 100644 Binary files a/garrysmod/resource/gameui_english.txt and b/garrysmod/resource/gameui_english.txt differ diff --git a/garrysmod/resource/garrysmod_english.txt b/garrysmod/resource/garrysmod_english.txt index f373ac2e19..0782d44d2d 100644 Binary files a/garrysmod/resource/garrysmod_english.txt and b/garrysmod/resource/garrysmod_english.txt differ diff --git a/garrysmod/scripts/weapon_alyxgun.txt b/garrysmod/scripts/weapon_alyxgun.txt new file mode 100644 index 0000000000..b60215aad4 --- /dev/null +++ b/garrysmod/scripts/weapon_alyxgun.txt @@ -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" + } + } +} \ No newline at end of file diff --git a/garrysmod/scripts/weapon_annabelle.txt b/garrysmod/scripts/weapon_annabelle.txt index 763c89c351..1ca32ad215 100644 --- a/garrysmod/scripts/weapon_annabelle.txt +++ b/garrysmod/scripts/weapon_annabelle.txt @@ -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" diff --git a/garrysmod/scripts/weapon_handgrenade.txt b/garrysmod/scripts/weapon_handgrenade.txt new file mode 100644 index 0000000000..3d8c96039e --- /dev/null +++ b/garrysmod/scripts/weapon_handgrenade.txt @@ -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" + } + } +} \ No newline at end of file