.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   RACC (http://forums.bots-united.com/forumdisplay.php?f=11)
-   -   AT LAST something ! (http://forums.bots-united.com/showthread.php?t=3952)

Pierre-Marie Baty 09-05-2005 09:40

AT LAST something !
 
ah, but it wont be said my bots are dead!

I FI-NA-LLY managed to write a navigation in the style I like! and one that works good enough for me to be proud of it somehow. Yeah, not perfect yet. But I'm on the right fucking track AT LAST. Geez. Something that works. Gimme a smoke.

The demo I'm uploading to the filebase shows a CT bot walking around in cs_italy in condition zero on a track I told it to follow. Basically what I did was 1°) erasing the bot's nav brain, 2°) slapping him in and 3°) have me walk around the map until the hostages so that my bot would discover of the map only the track I walked.

To increase the difficulty I told him to always look at vector (0,0,0) while following it. Unless for jumps. Yeah because also, this bot does not separate the head angles and body angles, and it does not cheat with strafe speeds and move speeds either ; you can witness it by the zig-zags he makes around the path he's following: exactly the same inputs as a human.

My biggest pride: the bot climbed through the window near the marketplace like a charm. Not many bots, even the waypointed ones, can boast about that.

http://racc.bots-united.com/racc-nav-cs_italy.png

This one has the particularity to selectively update its navlinks each time it uses them. If a "better" one is found, the bot updates its location, but only when it's certain to be a better link (better placement, most chances of success in jumping, etc). I shall post more demos about that.

I enabled the AI console during the demo so that you could see the internals.

http://filebase.bots-united.com/inde...on=file&id=303

Grab and watch.

Now I gotta improve that and clean it up. You should see the code. It's a mess. 8)

Minh-Lo-Hwang 09-05-2005 13:09

Re: AT LAST something !
 
thank you for the information, watching the ,,demo" now :)

Rifleman 11-05-2005 10:29

Re: AT LAST something !
 
Anyway PMB, I've notice something , on my P4 2.0G , r9600xt , 384mb ram , I get something like 60fps with 2 bots , i get full 99fps when there are no bots . So i think the cpu load may are too huge

[NvT]_KaszpiR_ 11-05-2005 12:17

Re: AT LAST something !
 
60% on such machine?
omg i won;t even dream to start it on my poor pIII 800.... :D

to bad, it looks so nice

but be patient, maybe some day it will be optimized

Pierre-Marie Baty 11-05-2005 18:34

Re: AT LAST something !
 
Rifleman, I WILL NOT release a bot that hogs the CPU. If the source code you have (which is almost 1 year old btw) is such a CPU hog it's 1°) because it's got a SHITLOAD of debug calls and 2°) because NOTHING is optimized. It's a bit early to say that the bot won't run on low-end machines.

stefanhendriks 11-05-2005 19:35

Re: AT LAST something !
 
bah, i was hoping that the demo file was mpg or avi... i can't watch it as i don't have condition zero...

von Ryan 12-05-2005 00:32

Re: AT LAST something !
 
Quote:

Originally Posted by stefanhendriks
bah, i was hoping that the demo file was mpg or avi... i can't watch it as i don't have condition zero...

Neither do I... :(

Rifleman 12-05-2005 05:26

Re: AT LAST something !
 
I see , its good to hear that , I hope the CPu load will be reduced to the same state of the official CSbot :)

Pierre-Marie Baty 12-05-2005 10:45

Re: AT LAST something !
 
@stef & $eu: anybody who owns HL2 should have Condition Zero too, no ?

but if you know how to convert a demo file to AVI let me know, and I'll do it.

Rifleman 12-05-2005 17:48

Re: AT LAST something !
 
mr Pierre , www.fraps.com ;)


All times are GMT +2. The time now is 22:32.

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