View Single Post
enderandrew
Senior Member
Join Date: Jun 2020
Old 06-28-2020 , 06:07   Re: [TF2] Bot Combat Improvements
Reply With Quote #24

Quote:
Originally Posted by EfeDursun125 View Post
Improved Version

FIXED : Bots will rapidly change targets.
FIXED : Bots may glitch out in PL Maps.
FIXED : Line 264 (timer)

-Soldier bots now fire in the direction the enemy will go
-Smooth Aim (not like aimbot in old version)
-Bots now can call medic and use thanks command
-Improved Bot Melee
-Improved Codes
-Random Timer
-Improved Timers

PLAN : Make bots focus on killing their target before switching to other targets (%50 Done)

Bots are now attacking the nearest target that appears on their screens

You can change bots aim speed in sp file ("float DefaultAimSpeed = 0.2" in line 8, )

EDIT : please change "Plugin Game: Any" to Team Fortress 2
This one compiles fine for me but it is listed as version 1.1.

The version from OP is listed as 1.6.4 but fails to compile with SM 1.9, 1.10 or 1.11

Code:
SourcePawn Compiler 1.10.0.6490
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2018 AlliedModders LLC

tf_bot_combat_improvements.sp(165) : error 029: invalid expression, assumed zero
tf_bot_combat_improvements.sp(172) : warning 217: loose indentation
tf_bot_combat_improvements.sp(240) : error 054: unmatched closing brace ("}")
tf_bot_combat_improvements.sp(243) : error 010: invalid function or declaration
tf_bot_combat_improvements.sp(8) : warning 203: symbol is never used: "DefaultAimSpeed"

3 Errors.
enderandrew is offline