Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PTK Bots
#1
How do you add bots to protect the king mod.
Reply

#2
Haha epic question with dot.
You need to edit _bot.gsc in maps/mp/gametypes
Remove those lines:
Code:
    if ( !level.onlineGame )
    {
        if ( GetDvarInt( "systemlink" ) != 0 )
        {
            return;
        }

        if ( level.gameType != "tdm" && level.gameType != "dm" )
        {
            return;
        }

        level.bot_offline = true;
    }

Then edit this code
Code:
    if ( level.onlineGame && !GetDvarInt( #"xblive_basictraining" ) )
    {
        if( !level.console )
        {
            bot_spawner_Once();
        }
        return;
    }

Remove return; and
Code:
    if ( level.onlineGame && !GetDvarInt( #"xblive_basictraining" ) )
    {
        if( !level.console )
        {


So it must be just 'bot_spawner_Once();'

Then bots will be spawned in your game.

If you are laaazzyy like me you can download it there:
http://pastebin.com/gq8V8NAq

Bots may be a bit buggy in some mods, so you need to fix some stuff.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#3
(03-16-2013, 11:33)SailorMoon Wrote: Haha epic question with dot.
You need to edit _bot.gsc in maps/mp/gametypes
Remove those lines:
Code:
    if ( !level.onlineGame )
    {
        if ( GetDvarInt( "systemlink" ) != 0 )
        {
            return;
        }

        if ( level.gameType != "tdm" && level.gameType != "dm" )
        {
            return;
        }

        level.bot_offline = true;
    }

Then edit this code
Code:
    if ( level.onlineGame && !GetDvarInt( #"xblive_basictraining" ) )
    {
        if( !level.console )
        {
            bot_spawner_Once();
        }
        return;
    }

Remove return; and
Code:
    if ( level.onlineGame && !GetDvarInt( #"xblive_basictraining" ) )
    {
        if( !level.console )
        {


So it must be just 'bot_spawner_Once();'

Then bots will be spawned in your game.

If you are laaazzyy like me you can download it there:
http://pastebin.com/gq8V8NAq

Bots may be a bit buggy in some mods, so you need to fix some stuff.

just had a look but there is no _bot.gsc in that folder.
Reply

#4
You need to add this file in mp_yourmod/maps/mp/gametypes/.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#5
AddTestClient(); AddTestClient(); AddTestClient(); AddTestClient(); AddTestClient(); AddTestClient(); AddTestClient();
Reply

#6
(03-16-2013, 23:42)JariZ Wrote: AddTestClient(); AddTestClient(); AddTestClient(); AddTestClient(); AddTestClient(); AddTestClient(); AddTestClient();

No no no no no no no no no no no no no no no....
Game may crash, plus you need to setup them.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Private Match Bots? (NO CT) Strazeeh 12 9,979 10-02-2013, 16:52
Last Post: Strazeeh
  Bots in MW3/IW5M DidUknowiPwn 38 76,050 07-25-2013, 17:26
Last Post: OrangePL
  No Hope: AI Zombies [Bots] d0h! 10 97,565 07-23-2013, 17:38
Last Post: xXzKingPinzXx
  smart bots CheGuevara 8 6,734 06-01-2013, 08:23
Last Post: CheGuevara
  Spam bots on ItsMods AZUMIKKEL 10 8,119 05-08-2013, 23:05
Last Post: AZUMIKKEL
Tongue Quaratine Chaos Zombie Mod v3.1 + Smart Bots ddaavvee 9 23,542 09-08-2012, 13:02
Last Post: jacobscience123
  WaW MP AI bots? Rendflex 4 3,746 08-31-2012, 02:40
Last Post: Nukem
  [Request] hired help to incorporate dice weapons into bots mod MauiDeath 3 3,920 08-20-2012, 08:26
Last Post: d0h!
  Looking for someone to hire to make bots skins MauiDeath 5 3,978 08-14-2012, 13:08
Last Post: crAyon
Sad HOUSE IM GOING TO KILL U AND UR BOTS rawr-saours 5 3,823 03-29-2012, 19:56
Last Post: Xzite

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.