Permalink
Browse files

Removed test NextBot from entities tab and renamed it

Makes more sense
  • Loading branch information...
1 parent 37a1bab commit 96fb92cbbf4526bf64806c6f3a2ab023e491ed96 @robotboy655 robotboy655 committed Jan 30, 2014
Showing with 18 additions and 23 deletions.
  1. +6 −11 garrysmod/gamemodes/base/entities/entities/npc_tf2_ghost.lua
  2. +12 −12 garrysmod/lua/weapons/weapon_fists.lua
@@ -3,7 +3,7 @@
AddCSLuaFile()
ENT.Base = "base_nextbot"
-ENT.Spawnable = true
+ENT.Spawnable = false
function ENT:Initialize()
@@ -59,16 +59,11 @@ function ENT:RunBehaviour()
end
-
-
-
-
-
-
--
-- List the NPC as spawnable
--
-list.Set( "NPC", "npc_tf2_ghost", { Name = "TF2 Ghost",
- Class = "npc_tf2_ghost",
- Category = "TF2"
- })
+list.Set( "NPC", "npc_tf2_ghost", {
+ Name = "Test NPC",
+ Class = "npc_tf2_ghost",
+ Category = "Nextbot"
+} )
@@ -1,21 +1,21 @@
AddCSLuaFile()
-SWEP.PrintName = "Fists"
+SWEP.PrintName = "Fists"
-SWEP.Author = "Killburn, robotboy655, MaxOfS2D & Tenrys"
-SWEP.Purpose = "Well we sure as hell didn't use guns! We would just wrestle Hunters to the ground with our bare hands! I used to kill ten, twenty a day, just using my fists."
+SWEP.Author = "Killburn, robotboy655, MaxOfS2D & Tenrys"
+SWEP.Purpose = "Well we sure as hell didn't use guns! We would just wrestle Hunters to the ground with our bare hands! I used to kill ten, twenty a day, just using my fists."
-SWEP.Spawnable = true
-SWEP.UseHands = true
-SWEP.DrawAmmo = false
+SWEP.Spawnable = true
+SWEP.UseHands = true
+SWEP.DrawAmmo = false
-SWEP.ViewModel = "models/weapons/c_arms_citizen.mdl"
-SWEP.WorldModel = ""
+SWEP.ViewModel = "models/weapons/c_arms_citizen.mdl"
+SWEP.WorldModel = ""
-SWEP.ViewModelFOV = 52
-SWEP.Slot = 0
-SWEP.SlotPos = 5
+SWEP.ViewModelFOV = 52
+SWEP.Slot = 0
+SWEP.SlotPos = 5
SWEP.Primary.ClipSize = -1
SWEP.Primary.DefaultClip = -1
@@ -108,7 +108,7 @@ function SWEP:DealDamage()
} )
end
- if ( tr.Hit && SERVER ) then self.Owner:EmitSound( HitSound ) end
+ if ( tr.Hit ) then self:EmitSound( HitSound ) end
local hit = false

0 comments on commit 96fb92c

Please sign in to comment.