Shorter ent names (b-)

This commit is contained in:
Fesiug 2024-01-15 01:42:45 -05:00
parent 71a6353175
commit 93d3bb4b7a
27 changed files with 166 additions and 161 deletions

View File

@ -1,7 +1,7 @@
AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "benny_grenade"
ENT.Base = "b-gr"
ENT.Model = "models/weapons/w_eq_fraggrenade_thrown.mdl"

View File

@ -1,7 +1,7 @@
AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "benny_grenade"
ENT.Base = "b-gr"
ENT.Model = "models/weapons/w_eq_fraggrenade_thrown.mdl"

View File

@ -1,7 +1,7 @@
AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "benny_grenade"
ENT.Base = "b-gr"
ENT.Model = "models/weapons/w_eq_flashbang_thrown.mdl"

View File

@ -1,7 +1,7 @@
AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "benny_grenade"
ENT.Base = "b-gr"
ENT.Model = "models/weapons/w_eq_fraggrenade_thrown.mdl"

View File

@ -1,7 +1,7 @@
AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "benny_grenade"
ENT.Base = "b-gr"
ENT.Model = "models/weapons/w_eq_fraggrenade_thrown.mdl"

View File

@ -0,0 +1,22 @@
AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "b-gr"
ENT.Model = "models/weapons/w_eq_fraggrenade_thrown.mdl"
local explosionflags = 0x2 + 0x4 + 0x80
function ENT:Explode()
local effectdata = EffectData()
effectdata:SetOrigin( self:GetPos() )
effectdata:SetFlags( explosionflags )
util.Effect( "Explosion", effectdata )
local dmg = DamageInfo()
dmg:SetDamage( 125 )
dmg:SetAttacker( self:GetOwner() )
util.BlastDamageInfo( dmg, self:GetPos(), 140 )
self:Remove()
return
end

View File

@ -0,0 +1,22 @@
AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "b-gr"
ENT.Model = "models/weapons/w_eq_fraggrenade_thrown.mdl"
local explosionflags = 0x2 + 0x4 + 0x80
function ENT:Explode()
local effectdata = EffectData()
effectdata:SetOrigin( self:GetPos() )
effectdata:SetFlags( explosionflags )
util.Effect( "Explosion", effectdata )
local dmg = DamageInfo()
dmg:SetDamage( 125 )
dmg:SetAttacker( self:GetOwner() )
util.BlastDamageInfo( dmg, self:GetPos(), 140 )
self:Remove()
return
end

View File

@ -1,7 +1,7 @@
AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "benny_grenade"
ENT.Base = "b-gr"
ENT.Model = "models/weapons/w_eq_fraggrenade_thrown.mdl"

View File

@ -0,0 +1,22 @@
AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "b-gr"
ENT.Model = "models/weapons/w_eq_fraggrenade_thrown.mdl"
local explosionflags = 0x2 + 0x4 + 0x80
function ENT:Explode()
local effectdata = EffectData()
effectdata:SetOrigin( self:GetPos() )
effectdata:SetFlags( explosionflags )
util.Effect( "Explosion", effectdata )
local dmg = DamageInfo()
dmg:SetDamage( 125 )
dmg:SetAttacker( self:GetOwner() )
util.BlastDamageInfo( dmg, self:GetPos(), 140 )
self:Remove()
return
end

View File

@ -0,0 +1,22 @@
AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "b-gr"
ENT.Model = "models/weapons/w_eq_fraggrenade_thrown.mdl"
local explosionflags = 0x2 + 0x4 + 0x80
function ENT:Explode()
local effectdata = EffectData()
effectdata:SetOrigin( self:GetPos() )
effectdata:SetFlags( explosionflags )
util.Effect( "Explosion", effectdata )
local dmg = DamageInfo()
dmg:SetDamage( 125 )
dmg:SetAttacker( self:GetOwner() )
util.BlastDamageInfo( dmg, self:GetPos(), 140 )
self:Remove()
return
end

View File

@ -1,7 +1,7 @@
AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "benny_grenade"
ENT.Base = "b-gr"
ENT.Model = "models/weapons/w_eq_smokegrenade_thrown.mdl"

View File

@ -0,0 +1,22 @@
AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "b-gr"
ENT.Model = "models/weapons/w_eq_fraggrenade_thrown.mdl"
local explosionflags = 0x2 + 0x4 + 0x80
function ENT:Explode()
local effectdata = EffectData()
effectdata:SetOrigin( self:GetPos() )
effectdata:SetFlags( explosionflags )
util.Effect( "Explosion", effectdata )
local dmg = DamageInfo()
dmg:SetDamage( 125 )
dmg:SetAttacker( self:GetOwner() )
util.BlastDamageInfo( dmg, self:GetPos(), 140 )
self:Remove()
return
end

View File

@ -0,0 +1,22 @@
AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "b-gr"
ENT.Model = "models/weapons/w_eq_fraggrenade_thrown.mdl"
local explosionflags = 0x2 + 0x4 + 0x80
function ENT:Explode()
local effectdata = EffectData()
effectdata:SetOrigin( self:GetPos() )
effectdata:SetFlags( explosionflags )
util.Effect( "Explosion", effectdata )
local dmg = DamageInfo()
dmg:SetDamage( 125 )
dmg:SetAttacker( self:GetOwner() )
util.BlastDamageInfo( dmg, self:GetPos(), 140 )
self:Remove()
return
end

View File

@ -0,0 +1,22 @@
AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "b-gr"
ENT.Model = "models/weapons/w_eq_fraggrenade_thrown.mdl"
local explosionflags = 0x2 + 0x4 + 0x80
function ENT:Explode()
local effectdata = EffectData()
effectdata:SetOrigin( self:GetPos() )
effectdata:SetFlags( explosionflags )
util.Effect( "Explosion", effectdata )
local dmg = DamageInfo()
dmg:SetDamage( 125 )
dmg:SetAttacker( self:GetOwner() )
util.BlastDamageInfo( dmg, self:GetPos(), 140 )
self:Remove()
return
end

View File

@ -0,0 +1,3 @@
SWEP.Type = "anim"
SWEP.Base = "base_anim"

View File

@ -0,0 +1,2 @@
SWEP.Base = "b-item"

View File

@ -1,22 +0,0 @@
AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "benny_grenade"
ENT.Model = "models/weapons/w_eq_fraggrenade_thrown.mdl"
local explosionflags = 0x2 + 0x4 + 0x80
function ENT:Explode()
local effectdata = EffectData()
effectdata:SetOrigin( self:GetPos() )
effectdata:SetFlags( explosionflags )
util.Effect( "Explosion", effectdata )
local dmg = DamageInfo()
dmg:SetDamage( 125 )
dmg:SetAttacker( self:GetOwner() )
util.BlastDamageInfo( dmg, self:GetPos(), 140 )
self:Remove()
return
end

View File

@ -1,22 +0,0 @@
AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "benny_grenade"
ENT.Model = "models/weapons/w_eq_fraggrenade_thrown.mdl"
local explosionflags = 0x2 + 0x4 + 0x80
function ENT:Explode()
local effectdata = EffectData()
effectdata:SetOrigin( self:GetPos() )
effectdata:SetFlags( explosionflags )
util.Effect( "Explosion", effectdata )
local dmg = DamageInfo()
dmg:SetDamage( 125 )
dmg:SetAttacker( self:GetOwner() )
util.BlastDamageInfo( dmg, self:GetPos(), 140 )
self:Remove()
return
end

View File

@ -1,22 +0,0 @@
AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "benny_grenade"
ENT.Model = "models/weapons/w_eq_fraggrenade_thrown.mdl"
local explosionflags = 0x2 + 0x4 + 0x80
function ENT:Explode()
local effectdata = EffectData()
effectdata:SetOrigin( self:GetPos() )
effectdata:SetFlags( explosionflags )
util.Effect( "Explosion", effectdata )
local dmg = DamageInfo()
dmg:SetDamage( 125 )
dmg:SetAttacker( self:GetOwner() )
util.BlastDamageInfo( dmg, self:GetPos(), 140 )
self:Remove()
return
end

View File

@ -1,22 +0,0 @@
AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "benny_grenade"
ENT.Model = "models/weapons/w_eq_fraggrenade_thrown.mdl"
local explosionflags = 0x2 + 0x4 + 0x80
function ENT:Explode()
local effectdata = EffectData()
effectdata:SetOrigin( self:GetPos() )
effectdata:SetFlags( explosionflags )
util.Effect( "Explosion", effectdata )
local dmg = DamageInfo()
dmg:SetDamage( 125 )
dmg:SetAttacker( self:GetOwner() )
util.BlastDamageInfo( dmg, self:GetPos(), 140 )
self:Remove()
return
end

View File

@ -1,22 +0,0 @@
AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "benny_grenade"
ENT.Model = "models/weapons/w_eq_fraggrenade_thrown.mdl"
local explosionflags = 0x2 + 0x4 + 0x80
function ENT:Explode()
local effectdata = EffectData()
effectdata:SetOrigin( self:GetPos() )
effectdata:SetFlags( explosionflags )
util.Effect( "Explosion", effectdata )
local dmg = DamageInfo()
dmg:SetDamage( 125 )
dmg:SetAttacker( self:GetOwner() )
util.BlastDamageInfo( dmg, self:GetPos(), 140 )
self:Remove()
return
end

View File

@ -1,22 +0,0 @@
AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "benny_grenade"
ENT.Model = "models/weapons/w_eq_fraggrenade_thrown.mdl"
local explosionflags = 0x2 + 0x4 + 0x80
function ENT:Explode()
local effectdata = EffectData()
effectdata:SetOrigin( self:GetPos() )
effectdata:SetFlags( explosionflags )
util.Effect( "Explosion", effectdata )
local dmg = DamageInfo()
dmg:SetDamage( 125 )
dmg:SetAttacker( self:GetOwner() )
util.BlastDamageInfo( dmg, self:GetPos(), 140 )
self:Remove()
return
end

View File

@ -1,22 +0,0 @@
AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "benny_grenade"
ENT.Model = "models/weapons/w_eq_fraggrenade_thrown.mdl"
local explosionflags = 0x2 + 0x4 + 0x80
function ENT:Explode()
local effectdata = EffectData()
effectdata:SetOrigin( self:GetPos() )
effectdata:SetFlags( explosionflags )
util.Effect( "Explosion", effectdata )
local dmg = DamageInfo()
dmg:SetDamage( 125 )
dmg:SetAttacker( self:GetOwner() )
util.BlastDamageInfo( dmg, self:GetPos(), 140 )
self:Remove()
return
end