.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Half-Life 2, Source and Source Games (http://forums.bots-united.com/forumdisplay.php?f=58)
-   -   Another step forward? (http://forums.bots-united.com/showthread.php?t=3366)

SteveC 09-01-2005 00:14

Another step forward?
 
1 Attachment(s)
Hi, I have been playing about with bots for Counter-Strike for a while, and as soon as the HL2 SDK was released I started looking at adding bots to CS-S. Much like the rest of the people here I found they haven't made it too easy for us. However I have managed to make a server plugin which creates bots that can move properly and randomly jump/shoot. The bots also have a very primitive wall detection, (3 trace lines).

Once the plugin is loaded, the command to add the bots, is SCbot_add.
It can currently run 8 bots but it gets a bit slow then. I haven't got the bots to remove properly from the server yet, so quit is the best way of killing them. :)

If it works for other people I can discuss how I got them to work, and I'll upload my project files, once I've tidied them up a bit.

Rifleman 09-01-2005 00:25

Re: Another step forward?
 
installation ?

SteveC 09-01-2005 00:33

Re: Another step forward?
 
dll into your counter strike source/bin folder, run CS-S, create a server, once in the game goto the console and type 'plugin_load scbot'. You should get some names appear. Then type 'scbot_add' to add one bot, again for more. I find that I need to kill myself to get them to join fully, but that might just be me.

@$3.1415rin 09-01-2005 00:38

Re: Another step forward?
 
I read that you wanna release the sources as well, but this seems to go into another direction, and that's ok. I moved this thread out of the developer forums.

when you release your sources, or if you wanna share code snippets, feel free to start another thread in the developer forum if necessary. thx and I'm looking forward how you made them move their heads :D

SteveC 09-01-2005 00:59

Re: Another step forward?
 
Ok, I guess it makes more sense being in this section.

I'll post a new thread just now in the developer section on how I did the movement.

[BBB]sluggo 09-01-2005 06:10

Re: Another step forward?
 
Hi, I tried it and it works perfectly for me :) (once i figured out that the command should be 'scbot' and not 'csbot' ... I was in a hurry to try the bots so I didn't read your post that well)
They get me every round so now I have to go practise some more ,)
Nice!!

SteveC 09-01-2005 11:12

Re: Another step forward?
 
LOL, well wait a month and they really will get you every round.
Thanks for letting us know it works though.

stefanhendriks 09-01-2005 11:48

Re: Another step forward?
 
who is 'us' ? ;)

SteveC 09-01-2005 11:49

Re: Another step forward?
 
LOL, me, and I suppose my invisible friend. Nope just me. :D

SteveC 09-01-2005 14:15

Re: Another step forward?
 
1 Attachment(s)
After a suggestion from Stefan, I have made the bots now look in a random direction whilst walking around as before, so they strafe and look up and down etc.
Nothing too exciting


All times are GMT +2. The time now is 17:28.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.