![]() |
![]() ![]() |
![]() |
daunknownman2010 |
![]() ![]()
Post
#1
|
![]() Newbie ![]() Group: Members Posts: 9 Joined: 2-October 14 Member No.: 2,359 ![]() |
The bots in Synergy do everything normally like walking around and following waypoints, however, they don't attack NPCs even if "bot = COOP". They will simply walk past them and die afterwards.
However, the bots work great otherwise ![]() |
Cheeseh |
![]()
Post
#2
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
The bots in Synergy do everything normally like walking around and following waypoints, however, they don't attack NPCs even if "bot = COOP". They will simply walk past them and die afterwards. However, the bots work great otherwise ![]() what are the class names of the monsters? You can go near a monster in spectator mode and type rcbot util search I've never tried it with synergy but it should work. They should attack NPCs if their classname begins with npc_, but not npc_barney etc |
daunknownman2010 |
![]()
Post
#3
|
![]() Newbie ![]() Group: Members Posts: 9 Joined: 2-October 14 Member No.: 2,359 ![]() |
The ones I tried them on are npc_combine_s and npc_hunter but they don't attack them.
|
Cheeseh |
![]()
Post
#4
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
The ones I tried them on are npc_combine_s and npc_hunter but they don't attack them. that's weird cos I have this code CODE classname = pEdict->GetClassName(); if ( strncmp(classname,"npc_",4) == 0 ) { if ( !strcmp(classname,"npc_antlionguard") || !strcmp(classname,"npc_citizen") || !strcmp(classname,"npc_barney") || !strcmp(classname,"npc_kliener") || !strcmp(classname,"npc_alyx") ) { return false; // ally } return true; } so any thing with npc_ in it's name should be a target unless its a lionguard,citizen,barney , kliener or alyx . BTW you don't need to set the bot = COOP, unless the synergy folders are not called 'synergy' (the bot already has the setup details precoded) |
daunknownman2010 |
![]()
Post
#5
|
![]() Newbie ![]() Group: Members Posts: 9 Joined: 2-October 14 Member No.: 2,359 ![]() |
While playing, I debugged the bots and it seems their current util is BOT_UTIL_BUILDSENTRY which is weird since it's not TF2.
|
Cheeseh |
![]()
Post
#6
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
|
daunknownman2010 |
![]()
Post
#7
|
![]() Newbie ![]() Group: Members Posts: 9 Joined: 2-October 14 Member No.: 2,359 ![]() |
ah, ok. Just did further debugging, seems the npcs don't appear to be visible to the bots. It's a very rare chance they will start seeing npcs but I don't know why. Also, they seem to not change weapons and stick with the weapon they got.
|
Cheeseh |
![]()
Post
#8
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
ah, ok. Just did further debugging, seems the npcs don't appear to be visible to the bots. It's a very rare chance they will start seeing npcs but I don't know why. Also, they seem to not change weapons and stick with the weapon they got. perhaps they don't think they've got any weapons, I'll recheck sometime soon |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 16th July 2025 - 08:18 AM |