Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
5 changed files
with
118 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
} | ||
} |