I dream all the time if i play with bots:
"Please, let them think!"
I hope soldat will be the first game with really thinking bots !!!
So i decidet to post my idea here.
It neednt to be very big, there should me options to optimize "thinking quality" or "just select stardart bots"
Anyway.... I hope someone will try to follow my idea, but i think most will answer "Never !!!"
I wich the source code be posted here, and all can download and correct, give more ideas...
I am a beginner in C++/C#/VB or pascal, and cant write the whole program, but here ae my theories: [
www.microsoft.com/express/download/ ]
#1: Hide 'n Seek !
Bots, wich wont see someone in a box, will be needed to make ppl able to Hide in Boxes or something likt that. Normal bots are just getting X and Y of player, and 'RayCast...' function, but players want to hide ,[Hide 'n Seek!] Seekers will be the bots.
We will need to make edge detect function. Something what compares the Pixel before and after, and decide if there is a edge. later it will put got information to a 'map of edges' where bot can "think about them".
They will analyse it and decide again: "Is this thing a men/enemie/wall/flag/stat/nade/bullet..."
This step is very important. After it detects what kind of object it is, it puts it to a "archive", this should be an exters textfile, where the bot makes notes, The saving brain of the bot. And if it detects a 'something' it will compare it with the archive.
It will get the Colour of hair if it is ready with analyze and have not got anything over the "important-Level", the pants, the favourite weapon...
Heres an example how to detest a men, asking howto normal wall... just a line xD
hardcoded:
![](http://C:\Dokumente und Einstellungen\Max\Eigene Dateien\Eigene Bilder\SSBI\Lines #1.png)
These should be the lines the Bot "imagin himself" to dtest what weapont the enemie/friend holdes, it[he] should got his own favourite weapon
But if there is a predator Men, it will be not so easy to detect, but if he fly ?:
there will be a "logic error" maybe not bad, but if you see somewhere a men shooting at jetflames....
So it (he) have to be able to thing realy, it have to thing over: what can avoid this ... ?
Thats why i cant do whole program.
#2: "Where am I ?"
This is how the bot will find his way/follow target.
We will need again the edge detector. If the map is ready, it looks for background... a noraml/static color, just blue for example. The Walls will be in a other color. if someone make a map where wall is like the background, and background looks like the wall, it will be still able to decide whats wall waht not. It will detect in what type it is in, and thinks: "here i am abele to move, so i cant move in something other"
[bad idea to walk in walls -.-]Next we need a 'wayfinder'. My idea is to make a thing tries all way possibilities and if the jets are enough, jet will be in 3 levels marked as "not enought" "maybe possible" "yes", so it (he/shy) wont calculate if it can fly such high or not, just calculate the chance.[/b]
[bad idea to walk in walls -.-]Ok, the mover is realy the hardest thig here, just press keys [SendKeys.Send()] for it xD[/b]
[bad idea to walk in walls -.-] [/b]
[bad idea to walk in walls -.-]Next we will need to make something what detects where "should i go the nearest way to the flag ?"/"what wnwmies are comming here?"/"can i bet them ?"/"...".[/b]
[bad idea to walk in walls -.-]it wont be very funny if a bot goes in the wrong direction, but it will stop. It is learning ^^, and you can tell him"oh men, thats the wrong way. follow me!", and it wil undertsand ! [/b]
[bad idea to walk in walls -.-]So it will take notes... like in #1, but other ones.[/b]
[bad idea to walk in walls -.-] [/b]
[bad idea to walk in walls -.-]#3: ->player: "I hate bots!" ->bot:"what did you say?! I hate people !"[/b]
[bad idea to walk in walls -.-] [/b]
[bad idea to walk in walls -.-]If it can decide where it goes to, where it is, who someone is, whats the favourite weapon of someone, .... ? Why it should not understand and answer what people say ?[/b]
[bad idea to walk in walls -.-][have i choses the right title?
![Smile :D](https://static.forums.soldat.pl/Smileys/classic/Smiley3.gif)
][/b]
[bad idea to walk in walls -.-]We will need one or more langues the bot knows, its better to make able to save the notes for next games, very recomendet by me (whould you like if someone delete you all things you ever thought of ?).[/b]
[bad idea to walk in walls -.-]Than, the Positions of words, if all type well english, there wont be any problems. But almost all ppl type something like: "wow" "hurrrrraaaa!!!!!" "Ill kill u" "omg" "wuu2?" "..." it wont be very easy to make a "understandng bot". Cause of this I get teh idea, if programm cant decrype what a player said, it will allembly all words, question marks, ... And try to set the "decrypt levels" of this words[/b]
[bad idea to walk in walls -.-] [/b]
[bad idea to walk in walls -.-]
[will add more later, have to go sleep now... I hope you (or MM) will use thease theories
![Wink ;)](https://static.forums.soldat.pl/Smileys/classic/wink.gif)
][/b]