Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions lua/entities/terminator_nextbot_crocketeer.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
-- todo
-- intercepting
-- patrolling

AddCSLuaFile()

ENT.DefaultWeapon = "weapon_rpg"

ENT.DefaultSidearms = {
"weapon_frag",
}

ENT.Base = "terminator_nextbot_csoldier"
DEFINE_BASECLASS( ENT.Base )
ENT.PrintName = "Combine Rocketeer"
ENT.Spawnable = false -- dont show up in entity spawn category

if GetConVar( "developer" ):GetBool() then -- todo, MAKE THESE SPAWNABLE
list.Set( "NPC", "terminator_nextbot_crocketeer", {
Name = "Combine Rocketeer",
Class = "terminator_nextbot_crocketeer",
Category = "Terminator Nextbot",
Weapons = { ENT.DefaultWeapon },
} )
end

if CLIENT then
language.Add( "terminator_nextbot_crocketeer", ENT.PrintName )
return

end

ENT.CoroutineThresh = terminator_Extras.baseCoroutineThresh / 4
ENT.MaxPathingIterations = 2500
ENT.ThreshMulIfDueling = 3 -- CoroutineThresh is multiplied by this amount if we're closer than DuelEnemyDist
ENT.ThreshMulIfClose = 1.5 -- if we're closer than DuelEnemyDist * 2
ENT.IsFodder = false

ENT.JumpHeight = 45
ENT.SpawnHealth = 70
ENT.TERM_WEAPON_PROFICIENCY = WEAPON_PROFICIENCY_VERY_GOOD
ENT.WalkSpeed = 55
ENT.MoveSpeed = 120
ENT.RunSpeed = 175

ENT.isTerminatorHunterChummy = "combine"
ENT.DuelEnemyDist = 1200

ENT.Models = {
"models/player/combine_soldier_prisonguard.mdl",
}
ENT.ModelSkin = 1
8 changes: 3 additions & 5 deletions lua/entities/terminator_nextbot_cshotgunsoldier.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@

AddCSLuaFile()

ENT.DefaultWeapon = {
"weapon_shotgun"
}
ENT.DefaultWeapon = "weapon_shotgun"

ENT.DefaultSidearms = {
"weapon_frag",
Expand All @@ -22,7 +20,7 @@ if GetConVar( "developer" ):GetBool() then -- todo, MAKE THESE SPAWNABLE
Name = "Combine Shotgun Soldier",
Class = "terminator_nextbot_cshotgunsoldier",
Category = "Terminator Nextbot",
Weapons = ENT.DefaultWeapon,
Weapons = { ENT.DefaultWeapon },
} )
end

Expand Down Expand Up @@ -53,4 +51,4 @@ ENT.DuelEnemyDist = 750
ENT.Models = {
"models/player/combine_soldier.mdl",
}
ENT.ModelSkin = 1
ENT.ModelSkin = 1
Loading