Help - Search - Members - Calendar
Full Version: Using rcbot in a tf2 mod?
RCBot Forums > RCBot 2 for HL2 > RCbot2 > TF2
tryzombie501
Alright i've played around with a source sdk 2013 mod that uses tf2 2007 code and rcbot spawns in as random classes on blue and red, But they don't move around they call medic when hurt and switch to shotgun when i get near them, I assume its because i need to tell them the new rcbot_runplayer_cmd_tf2.

How do i find out the offset?
The HHH
Considering they're working but not moving around I'd say it's a waypoint issue, actually.
What mod are you using?
tryzombie501
QUOTE(The HHH @ Nov 12 2016, 09:54 PM) *

Considering they're working but not moving around I'd say it's a waypoint issue, actually.
What mod are you using?

I did this with lambda fortress but the waypoints load, However i noticed the puppet bots are supposed to move around randomly but they don't so maybe its a mod issue.

And i also plan to try this with tfclassic

Edit:
After more testing it might be the temp_bot code for the mod i'll let you guys know if i get them working.
appleinsanity
QUOTE(tryzombie501 @ Nov 13 2016, 02:01 AM) *

I did this with lambda fortress but the waypoints load, However i noticed the puppet bots are supposed to move around randomly but they don't so maybe its a mod issue.

And i also plan to try this with tfclassic

Edit:
After more testing it might be the temp_bot code for the mod i'll let you guys know if i get them working.

can i ask you, how you got these bots to work on the 2013 sdk?
Ted
QUOTE(tryzombie501 @ Nov 12 2016, 07:53 PM) *

Alright i've played around with a source sdk 2013 mod that uses tf2 2007 code and rcbot spawns in as random classes on blue and red, But they don't move around they call medic when hurt and switch to shotgun when i get near them, I assume its because i need to tell them the new rcbot_runplayer_cmd_tf2.

How do i find out the offset?


SourceMod maintainers keep an updated list of various offsets. Here are the ones specific for TF2.

QUOTE
can i ask you, how you got these bots to work on the 2013 sdk?


2013 SDK has a namespace collision against the C++ standard min/max, which is an issue with RCBot2 as it uses STL containers throughout the code base. The easiest way to deal with this is to clean up the SDK a bit. Specifically, any calls to min() or max() in any included headers (like mathlib.h) need to be changed to MIN() or MAX(), respectively. Any includes of minmax.h in header files should be removed and moved into dependent .cpp files (this should have been done in the first place by Valve).
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2020 Invision Power Services, Inc.