123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- // Crowbar
- WeaponData
- {
- // Weapon data is loaded by both the Game and Client DLLs.
- "printname" "Fists"
- "viewmodel" "models/weapons/v_nervpun.mdl"
- "playermodel" "models/weapons/w_crowbar.mdl"
- "anim_prefix" "crowbar"
- "bucket" "0"
- "bucket_position" "2"
- "MeleeWeapon" "1"
- "clip_size" "1"
- "clip2_size" "-1"
- "default_clip" "1"
- "default_clip2" "-1"
- "primary_ammo" "None"
- "secondary_ammo" "None"
- "weight" "1"
- "item_flags" "18
- // Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
- SoundData
- {
- "single_shot" "Weapon_Crowbar.Single"
- "melee_hit" "Weapon_Crowbar.Melee_Hit"
- "melee_hit_world" "Weapon_Crowbar.Melee_HitWorld"
- }
- // Weapon Sprite data is loaded by the Client DLL.
- TextureData
- {
- "weapon"
- {
- "font" "WeaponIcons"
- "character" "c"
- }
- "weapon_s"
- {
- "font" "WeaponIconsSelected"
- "character" "c"
- }
- "ammo"
- {
- "font" "WeaponIcons"
- "character" "c"
- }
- "ammo2"
- {
- "file" "sprites/640hud7"
- "x" "48"
- "y" "72"
- "width" "24"
- "height" "24"
- }
- "crosshair"
- {
- "font" "Crosshairs"
- "character" "Q"
- }
- "autoaim"
- {
- "file" "sprites/crosshairs"
- "x" "0"
- "y" "48"
- "width" "24"
- "height" "24"
- }
- }
- //"Advanced" // only for Weapon_Scripted
- {
- // **Primary Attack**
- // 0 = none, 1 = Basic Bullet, 2 = Burst, 3 = shotgun, 4 = autoshotgun, 5 = laser, 6 = warp
- "FireType1" "1"
- // Rate of Weapons Fire ( Not for laser or warp )
- "FireRate1" "1"
- // Allow a refire as fast as the player can click, Basic Bullet Only.
- "FastFire1" "0"
- // Allow Fire Underwater?
- "FireUnderWater1" "1"
- // For Bullet accuracy
- "FireCone1" "1" // Starting Value ( 0-20 )
- "FireConeLerp1" "0" // Bool
- "FireConeLerpto1" "1" // Value to lerp accuracy too ( 0-20 )
- // **Secondary Attack**
- // 0 = none, 1 = Basic Bullet, 2 = Burst, 3 = shotgun, 4 = autoshotgun, 5 = laser, 6 = warp, 8 = scope
- "FireType2" "0"
- // **Global Weapon Settings**
- // Number of Recoil Animations, weapon models with ACT_VM_RECOIL animations.
- // ( Only if a weapon has recoil animations, Not for laser or warp )
- "NumberOfRecoilAnims" "0"
- // Shots fired till next recoil animation. ( Only if a weapon has recoil animations )
- "RecoilIncrementSpeed" "1"
- // 1 = Pistol, 2 = AR2, 3 = crossbow, 4 = physgun, 5 = shotgun, 6 = smg1
- // This is the player animation set that will be used on all players you view ingame.
- //"PlayerAnimationSet" "0"
- }
- }
|