IPB

Welcome Guest ( Log In | Register )

> RCBots in Synergy
daunknownman2010
post Oct 2 2014, 08:43 AM
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 tongue.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
daunknownman2010
post Oct 2 2014, 11:42 AM
Post #2


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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Oct 2 2014, 02:12 PM
Post #3


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



QUOTE(daunknownman2010 @ Oct 2 2014, 12:42 PM) *

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)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th July 2025 - 09:07 AM