.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Forum (http://forums.bots-united.com/forumdisplay.php?f=36)
-   -   CS: SOURCE bot is possible... and i can show it ya ;) (http://forums.bots-united.com/showthread.php?t=3167)

Bluesman 10-12-2004 12:35

Re: CS: SOURCE bot is possible... and i can show it ya ;)
 
Quote:

Originally Posted by 0xygenē
I have a question. Will there be a easy way to install bots for css?
I donīt have internet, so i have to go to a friend to connect steam.
In the consol i could type bot_add after that there stood fatal-error!
i thougt i had to download a bot but there is no bot for css!?
Will there be a bot coming out soon?

Sorry for my english, im from germany. ;)
oxy

The official bot for CS:S has not been released yet

And the bot-coders here at BU are now working hard with the SDK, so that we will got CS:S bots in the future :)

stefanhendriks 10-12-2004 16:28

Re: CS: SOURCE bot is possible... and i can show it ya ;)
 
it is very easy to install bots for CS. In fact, i don't think we need to worry about anything about compatibility issues anymore ;) As long as the bot can do what it has to do (aim, fire, move) it should be ok.

MarD 10-12-2004 19:01

Re: CS: SOURCE bot is possible... and i can show it ya ;)
 
Heyyo,

At this rate I bet Stefan will get his bot going and working nicely before the official CSS bot. ;)

Yeah, we have to wait for updates for the official CSS bot to come out... could be a while since they're doing quite the overhaul onnit since CZBot, and let's hope the overhaul makes it worth the wait cause the CZBot, from what I've read and heard at that other thread? is pretty dumb...

stefanhendriks 10-12-2004 19:05

Re: CS: SOURCE bot is possible... and i can show it ya ;)
 
'at this rate'?

what rate? hehe

i am just fiddling around with the code, and showing off what 1 line did ;) lol. Well, as long as i cannot issue commands yet, i am nowhere!

stefanhendriks 12-12-2004 12:58

Re: CS: SOURCE bot is possible... and i can show it ya ;)
 
Ok. Well it took some time, and although ti looks like its going somewhere, i think this is not the way to go. Ok, let me explain...

There is a playerinfomanager in the plugin , its built in the dll of the game dll. Tis info manager, does what it says, MANAGING INFO. It also gave me the opportunity to change the team of the bots. So i made them join terror. You see at the pictures below, they join up fine. There is one BUT. This is, there is nothing happening with them.

RunPlayerCommand is a function that sounds magical to me, and it is very important to HL1 bots to keep the cycle going for bots (make them move, etc). If you did not use that function, bots would freeze. You could play with the timers and make them look like they where lagging around.

Anyway, the new RunPlayerCommand here, is still not able to get called. I wonder how , and IF it should it be called at all. The question remains, how do i keep the bot updated? (and also, how do i let the engine update the bots as well, aka like RunPlayerMove in HL1). I believe the infomanager is handy to catch info , about health and such for bots. But its not the way to do client commands and such. As they do not seem to work either. I think this is also related because there is no 'updating' function yet. IF it is RunPlayerCommand, then i hope someone (botman?) can help us with this to get it called. Afaik its inhereted in the player class, and afaik the plugin cannot access those without knowing the game dll source...

http://realbot.bots-united.com/images/css/cssjoin2.jpg

and

http://realbot.bots-united.com/images/css/cssjoin.jpg

Exilibur 12-12-2004 18:18

Re: CS: SOURCE bot is possible... and i can show it ya ;)
 
looks brilliant... wish i knew programming so I could do that kinda stuff myself... but keep up the good work! :)

sfx1999 12-12-2004 19:26

Re: CS: SOURCE bot is possible... and i can show it ya ;)
 
Are you going to try disassembling the Counter-Strike dll?

Also, are you going to try to implement the HL2 AI system?

stefanhendriks 12-12-2004 22:54

Re: CS: SOURCE bot is possible... and i can show it ya ;)
 
No, i don't dissassemble the CS dll, even if i could i would not understand a dang thing of it as i can't read ASM.

And for the second, hell no! :D

MarD 13-12-2004 06:51

Re: CS: SOURCE bot is possible... and i can show it ya ;)
 
Heyyo,

Why would he wanna use the HL2 AI? he's worked damn hard on his bot for years now. It's like putting your kid up for adoption so you can adopt a different one, it's just doesn't make sense. ;)

Aren't they supposed to make some kindof big manual for using the SDK and how to implement certain things like bots? I'm sure I'd say how to implement bots from there, and if not ask for your money back. :P

Jerry 13-12-2004 16:12

Re: CS: SOURCE bot is possible... and i can show it ya ;)
 
I got the bots to spawn too and went searching through the SDK looking for a playermove function. I found an Interface that can be used: IGameMovement.
The only problem is that the function: ProcessMovement( .. ) uses CBasePlayer as one of it's arguments.
I will continue searching through the SDK ;).


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

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