Please use this forum to ask all your MoHAA Bots questions / discussions
Moderator: Moderators
jv_map
Site Admin
Posts: 6521 Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:
Post
by jv_map » Sat Jul 19, 2003 7:28 pm
Yay I'm so excited this works (a bit)
I read some programming tutorials about AI pathfinding, the A* algorithm in particular. I decided to try to script something like that for my bots and even works! I also made some kind of bot compiler which
automatically generates 'pathnodes' for the bots (e.g. in stock maps) and can dump this via qconsole.log to a .nav file (a script actually that can be read by the pathfinding script) or a prefab.
Example pathfinding results in mohdm6 (Stalingrad):
Alcoholic
General
Posts: 1470 Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:
Post
by Alcoholic » Sat Jul 19, 2003 8:21 pm
cool. you did that with plain mohaa scripting?
Des16
Corporal
Posts: 25 Joined: Thu Apr 24, 2003 2:30 pm
Post
by Des16 » Sat Jul 19, 2003 9:23 pm
Does that mean we might see bots on stock maps by any chance?
HappyChappy_7000
Warrant Officer
Posts: 146 Joined: Thu Jul 10, 2003 1:14 pm
Location: Australia
Contact:
Post
by HappyChappy_7000 » Sun Jul 20, 2003 1:50 am
cOOl
When will the BETA test come out
What? You know who I am?
jv_map
Site Admin
Posts: 6521 Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:
Post
by jv_map » Sun Jul 20, 2003 6:01 am
Yes to Alcoholic and Des16
I don't know yet to HappyChappy
Des16
Corporal
Posts: 25 Joined: Thu Apr 24, 2003 2:30 pm
Post
by Des16 » Sun Jul 20, 2003 7:19 am
cool, can't wait
C06alt
Private
Posts: 6 Joined: Sun Jul 06, 2003 1:22 pm
Post
by C06alt » Sun Jul 20, 2003 6:08 pm
Great work so far jv_map. I know you can do this
Stockmaps would certinly put jv_bot on the map.
small_sumo
Lieutenant General
Posts: 953 Joined: Mon Jul 01, 2002 4:17 pm
Contact:
Post
by small_sumo » Tue Jul 22, 2003 1:12 am
Dood well done. the guy who made realbot for cs did it that way as well. Maybe you could track him down and bump heads.
Thanks again jv...........
LT.BARNES
Major
Posts: 288 Joined: Mon Dec 30, 2002 4:37 pm
Location: london
Post
by LT.BARNES » Tue Jul 22, 2003 8:17 pm
WOW!
man jv map u always surprise!!
i mean I WOULD SOOOOOOOOO LOVE BOTS in the real mp levels!!!!!!
how sweet would that be!!!!
i mean the things i think would ROX!!! are....
1) able to see bots scores in the score board.
2) bots in official mp levels!!
and lastly
3) in round based and objective. when u die u watch the rest in your team
would love to watch the bots on ur side, like press ENTER to change who u watch and so on.
i think u said u done both 1) and 2) wat i mean by that is u are working on them both and hope to be out soon
dunno about 3) is it poss
...prepare for your finest hour...
Bjarne BZR
Site Admin
Posts: 3298 Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:
Post
by Bjarne BZR » Wed Jul 23, 2003 12:47 pm
JV... you lovely man.
Admin .MAP Forums
Head above heels.
brendank310
Corporal
Posts: 27 Joined: Mon Apr 07, 2003 11:02 am
Contact:
Post
by brendank310 » Fri Jul 25, 2003 1:02 am
i was reading in the fakk2 documents that there is a command to generate pathnodes. or so it seemed like it. i will look at it later and
Code: Select all
AI/Routing
==========
ai_createnodes - when set to 1, path nodes will be generated when loading a map.
thats taken from the fakk2 documents, so it may work. but knowing ea, the probably took it out. worth a shot anyway. i would try it but i screwed my console up
. and no its not with the advanced setting thing. i just hexed too much.
jv_map
Site Admin
Posts: 6521 Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:
Post
by jv_map » Fri Jul 25, 2003 6:24 am
Hmm I think that sets whether the pathnode layout is updated when you load a map. Might actually be useful for adding pathnodes to stock maps using a .pth file
LT.BARNES
Major
Posts: 288 Joined: Mon Dec 30, 2002 4:37 pm
Location: london
Post
by LT.BARNES » Fri Jul 25, 2003 10:47 am
jv_map.
you always surprise me
how long will this take do u think?
soz i don't speak for my self when i say "bots in official mp levels in mohaa is what i would love to see."
hee hee
gr8 job and i CAN'T wait
...prepare for your finest hour...
Jb
Corporal
Posts: 33 Joined: Wed Jul 23, 2003 7:29 pm
Location: Cowpoke, Tx
Contact:
Post
by Jb » Sun Jul 27, 2003 11:59 pm
Stockmaps would certinly put jv_bot on the map.
He already is on the map.
LT.BARNES
Major
Posts: 288 Joined: Mon Dec 30, 2002 4:37 pm
Location: london
Post
by LT.BARNES » Mon Jul 28, 2003 9:04 pm
well it will put him TOP of every map
...prepare for your finest hour...