Skip to content

Commit

Permalink
fixed hl2 hud being offset when the SWEP is equipped for the first time
Browse files Browse the repository at this point in the history
  • Loading branch information
MartyX5555 committed Sep 6, 2023
1 parent dba1b48 commit f447f35
Show file tree
Hide file tree
Showing 33 changed files with 1 addition and 101 deletions.
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_ak47/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/ak47_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_amr/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/amr_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down
4 changes: 0 additions & 4 deletions lua/weapons/weapon_ace_antipersonmine/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ SWEP.Primary.DefaultClip = 8
SWEP.Primary.Automatic = 0
SWEP.Primary.Ammo = "Grenade"

SWEP.Secondary.Ammo = "none"
SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSoundEnabled = 1

SWEP.AimOffset = Vector(0, 0, 0)
Expand Down
4 changes: 0 additions & 4 deletions lua/weapons/weapon_ace_antitankmine/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ SWEP.Primary.DefaultClip = 4
SWEP.Primary.Automatic = 0
SWEP.Primary.Ammo = "Grenade"

SWEP.Secondary.Ammo = "none"
SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSoundEnabled = 1

SWEP.AimOffset = Vector(0, 0, 0)
Expand Down
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_at4/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/at4_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_at4t/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/at4p_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_aug/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/aug_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_awp/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/awp_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down
1 change: 1 addition & 0 deletions lua/weapons/weapon_ace_base/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/ak47_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.Ammo = "none"
SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

Expand Down
4 changes: 0 additions & 4 deletions lua/weapons/weapon_ace_boundingmine/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ SWEP.Primary.DefaultClip = 3
SWEP.Primary.Automatic = 0
SWEP.Primary.Ammo = "Grenade"

SWEP.Secondary.Ammo = "none"
SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSoundEnabled = 1

SWEP.AimOffset = Vector(0, 0, 0)
Expand Down
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_deagle/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/deagle_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_elite/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/elite_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_famas/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/famas_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_fiveseven/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/fiveseven_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down
4 changes: 0 additions & 4 deletions lua/weapons/weapon_ace_galil/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,8 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/galil_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

SWEP.ZoomFOV = 60
SWEP.HasScope = false --True if the weapon has a sniper-style scope

Expand Down
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_glock/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/glock_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down
4 changes: 0 additions & 4 deletions lua/weapons/weapon_ace_grenade/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ SWEP.Primary.DefaultClip = 5
SWEP.Primary.Automatic = false
SWEP.Primary.Ammo = "Grenade"

SWEP.Secondary.Ammo = "none"
SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.JustDeployed = true

function SWEP:Deploy()
Expand Down
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_m16/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/m16_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_m249saw/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/m249saw_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_m3super90/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/m3super90_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 10 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_mac10/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/mac10_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_mp5/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/mp5_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_p228/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/p228_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_p90/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/p90_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_scout/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/scout_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_sg552/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/sg552_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down
4 changes: 0 additions & 4 deletions lua/weapons/weapon_ace_slam/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ SWEP.Primary.DefaultClip = 8
SWEP.Primary.Automatic = 0
SWEP.Primary.Ammo = "Grenade"

SWEP.Secondary.Ammo = "none"
SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSoundEnabled = 1

SWEP.AimOffset = Vector(0, 0, 0)
Expand Down
4 changes: 0 additions & 4 deletions lua/weapons/weapon_ace_smokegrenade/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ SWEP.Primary.DefaultClip = 5
SWEP.Primary.Automatic = false
SWEP.Primary.Ammo = "Grenade"

SWEP.Secondary.Ammo = "none"
SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.JustDeployed = true

function SWEP:Deploy()
Expand Down
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_tmp/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/tmp_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_ump45/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/ump45_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down
1 change: 0 additions & 1 deletion lua/weapons/weapon_ace_usp/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ SWEP.Primary.Automatic = false

SWEP.ReloadSound = "Weapon_Pistol.Reload"


SWEP.ZoomFOV = 60
SWEP.HasScope = false --True if the weapon has a sniper-style scope

Expand Down
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_xm1014/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/xm1014_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 10 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "Weapon_Pistol.Reload" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down
3 changes: 0 additions & 3 deletions lua/weapons/weapon_ace_xm25/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ SWEP.Primary.Sound = "ace_weapons/sweps/multi_sound/xm25_multi.mp3"
SWEP.Primary.LightScale = 200 --Muzzleflash light radius
SWEP.Primary.BulletCount = 1 --Number of bullets to fire each shot, used for shotguns

SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1

SWEP.ReloadSound = "weapons/amr/sniper_reload.wav" --Sound other players hear when you reload - this is NOT your first-person sound
--Most models have a built-in first-person reload sound

Expand Down

0 comments on commit f447f35

Please sign in to comment.