"WeaponData" { // Weapon data is loaded by both the Game and Client DLLs. "printname" "Browning Automatic Rifle" "viewmodel" "models/weapons/oc_nacht/v_bar.mdl" "playermodel" "models/weapons/oc_nacht/w_bar.mdl" "anim_prefix" "ar2" "bucket" "3" "bucket_position" "18" "clip_size" "20" "clip2_size" "0" "default_clip" "240" "default_clip2" "0" "primary_ammo" "bar_ammo" "secondary_ammo" "None" "weight" "0" "item_flags" "0" "BuiltRightHanded" "1" "AllowFlipping" "1" "csviewmodel" "0" "ironsightoffset" { "x" "-8" "y" "-6.25" "z" "5.5" } // Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds) "SoundData" { "empty" "Default.ClipEmpty_RifleDOD" "single_shot" "Weapon_Bar.Shoot" //auto shoot "special1" "Weapon_Bar.Shoot" // NPC SECTION "single_shot_npc" "Weapon_Bar.Shoot" "reload_npc" "Weapon_Bar.WorldReload" } // Weapon Sprite data is loaded by the Client DLL. "TextureData" { "weapon" { "file" "sprites/hud/dod_weapons01" "x" "0" "y" "61" "width" "192" "height" "36" } "weapon_s" { "file" "sprites/hud/dod_weapons01" "x" "0" "y" "61" "width" "192" "height" "36" } "ammo" { "file" "sprites/hud/clips_bullets" "x" "390" "y" "390" "width" "62" "height" "116" } "crosshair" { "file" "vgui/crosshairs/crosshair1" "x" "0" "y" "0" "width" "64" "height" "64" } "autoaim" { "file" "vgui/crosshairs/crosshair1" "x" "0" "y" "0" "width" "64" "height" "64" } } "Advanced" // only for Weapon_Scripted { // **Primary Attack** // 0 = none, 1 = Basic Bullet, 2 = Burst, 3 = shotgun, 4 = autoshotgun, 5 = laser, 6 = warp "FireType2" "1" // Rate of Weapons Fire ( Not for laser or warp ) "FireRate2" "1" // Allow a refire as fast as the player can click, Basic Bullet Only. "FastFire2" "1" // Allow Fire Underwater? "FireUnderWater2" "0" // For Bullet accuracy "FireCone2" "2" // Starting Value ( 0-20 ) "FireConeLerp2" "1" // Bool "FireConeLerpto2" "6" // 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 "FireType1" "1" // Rate of Weapons Fire ( Not for laser or warp ) "FireRate1" "0.1" // Allow a refire as fast as the player can click, Basic Bullet Only. "FastFire1" "0" // Allow Fire Underwater? "FireUnderWater1" "0" // Secondary Fire uses Secondary Ammo Type. If 0, will use primary ammo. "SecondaryAmmoUsed" "0" // For Bullet accuracy "FireCone1" "4" // Starting Value ( 0-20 ) "FireConeLerp1" "1" // Bool "FireConeLerpto1" "6" // Value to lerp accuracy too ( 0-20 ) // **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" "5" } }