.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > FritzBot
FritzBot A bot for Return To Castle Wolfenstein - by Maleficus Return to Castle Wolfenstein

Reply
 
Thread Tools
Preview of some Fritz related things.....
Old
  (#1)
Maleficus
Member
 
Maleficus's Avatar
 
Status: Offline
Posts: 1,054
Join Date: May 2004
Location: Planet Earth
Default Preview of some Fritz related things..... - 21-06-2004

The readme as it currently stands (suggestions are welcome!).
Attached Files
File Type: doc Fritz.doc (17.5 KB, 533 views)


Dum Spiro Spero


  
Reply With Quote
Re: Preview of some Fritz related things.....
Old
  (#2)
Maleficus
Member
 
Maleficus's Avatar
 
Status: Offline
Posts: 1,054
Join Date: May 2004
Location: Planet Earth
Default Re: Preview of some Fritz related things..... - 21-06-2004

The .bot file - where a particular bots traits are stored.

NOTE: the fritz.bot file was renamed to fritz.txt to upload onto the forum....
Attached Files
File Type: txt fritz.txt (222 Bytes, 558 views)


Dum Spiro Spero


  
Reply With Quote
Re: Preview of some Fritz related things.....
Old
  (#3)
Maleficus
Member
 
Maleficus's Avatar
 
Status: Offline
Posts: 1,054
Join Date: May 2004
Location: Planet Earth
Default Re: Preview of some Fritz related things..... - 21-06-2004

A pic of a node in the world, and its connections. I'm still working on a better system of visualising these things, but this is what I have so far.
Attached Thumbnails
Click image for larger version

Name:	node.jpg
Views:	568
Size:	89.8 KB
ID:	341  


Dum Spiro Spero


  
Reply With Quote
Re: Preview of some Fritz related things.....
Old
  (#4)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: Preview of some Fritz related things..... - 21-06-2004

"A pic of a node in the world, and its connections"
... but are you able to make use of the AAS function in the engine, which is used in RTCW single player AI code (from the RTCW SDK source code I currently have) ?
  
Reply With Quote
Re: Preview of some Fritz related things.....
Old
  (#5)
Maleficus
Member
 
Maleficus's Avatar
 
Status: Offline
Posts: 1,054
Join Date: May 2004
Location: Planet Earth
Default Re: Preview of some Fritz related things..... - 21-06-2004

Heres a pic of the BOT DEBUG HUD - a useful tool to find out what the bot is thinking.

I borrowed the naming conventions the Q3 bot used (LTG = Long Term Goal, NBG = Near By Goal).

Fritz has several levels of goals, which can all be run at the same time (ex: getting the flag, and healing a friend may exist as goals at the same time in Fritz's mind, with different priorities, depending on some key factors).

Fritz's A.I. is goal based A.I., i.e. he moves about in the world with a goal or purpose in mind, not just random, frame based choices.
Attached Thumbnails
Click image for larger version

Name:	hud2.jpg
Views:	589
Size:	29.0 KB
ID:	342  


Dum Spiro Spero


  
Reply With Quote
Re: Preview of some Fritz related things.....
Old
  (#6)
Maleficus
Member
 
Maleficus's Avatar
 
Status: Offline
Posts: 1,054
Join Date: May 2004
Location: Planet Earth
Default Re: Preview of some Fritz related things..... - 21-06-2004

The AAS trap calls are broken in the Multiplayer source - try them for yourself.

Fritz's pathing is NOT based on AAS in any way. Its node based (tho I would like to explore Navmesh someday).


Dum Spiro Spero


  
Reply With Quote
Re: Preview of some Fritz related things.....
Old
  (#7)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Preview of some Fritz related things..... - 22-06-2004

Just a question, where did you started with ?

I mean, was there some sort of bot template available already or did you have to start from the raw SDK ?



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: Preview of some Fritz related things.....
Old
  (#8)
Maleficus
Member
 
Maleficus's Avatar
 
Status: Offline
Posts: 1,054
Join Date: May 2004
Location: Planet Earth
Default Re: Preview of some Fritz related things..... - 22-06-2004

Raw SDK, tho I used a fellow Q3 coder's (name is fretn) bot spawning code as a rough guide to get the bots to be able to spawn into RTCW. I worked on Fritz alone, tho I did get help from time to time from other coders in the Q3 community (like fretn). If you check out the fritz.doc that I put up above, you'll see I credit the people who helped out and what they did.

I didn't like the way fretn spawned bots into RTCW tho - he treated his bots like an entity (used think, nextthink and everything) I don't like to "fake" that the bot is a client like that - makes things difficult, and your constantly worrying about whether the bot looks human while its doing something.

Fritz IS a client to the game, he can't do anything a client can't. THAT took quite a while to figure out how to do!

It took me quite a few weeks to get bots to spawn into the game without timing out, or crashing - then the REAL trick was getting them to stay in the maps when the map restarted. Fretn used a trick where he'd kick them, then re-add them the next round. I don't - Fritz actually stays in the game like a client (or in this case - a bot ).

I've been kicking the idea around of making a bot template like botman did, but completely stripped of A.I. - for the RTCW community, just enough code to get them into the game and working like clients, and let people take it from there.

Don't know tho, I'm so busy ATM.....


Dum Spiro Spero



Last edited by Maleficus; 22-06-2004 at 13:56..
  
Reply With Quote
Re: Preview of some Fritz related things.....
Old
  (#9)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Preview of some Fritz related things..... - 22-06-2004

sounds interesting. A template will surely unleash some more RTCW bots. Or make it possible to have people get bots into other mods... (IF those mods are open-source, OR... they implement your template into their source).


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Couple screenies of the bot in action
Old
  (#10)
Maleficus
Member
 
Maleficus's Avatar
 
Status: Offline
Posts: 1,054
Join Date: May 2004
Location: Planet Earth
Default Couple screenies of the bot in action - 24-06-2004

Heres me and my team losing. Everyone in this pic, except me (with the 0 ping), is a bot.

As you can see, the scores are pretty spread out - like humans on a pub server.

The bots even have a fake ping (it doesn't affect them, its just for looks)!

Pics converted to black and white to give it a WW2 feel...
Attached Thumbnails
Click image for larger version

Name:	shot0001.jpg
Views:	553
Size:	27.1 KB
ID:	352  


Dum Spiro Spero


  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com