AI Bots avoid DeathZones and other zones

What do you want to see in Armagetron soon? Any new feature ideas? Let's ponder these ground breaking ideas...
Post Reply
User avatar
LOVER$BOY
Match Winner
Posts: 731
Joined: Thu Jan 24, 2008 12:46 pm

AI Bots avoid DeathZones and other zones

Post by LOVER$BOY »

Hello.

Is it possible to make the AI bots avoid certain zones?

Like I want them to avoid:
death zones <-- mainly
rubber zones
shots zones <-- dodge if possible
zombie zones

but I want them to not avoid:
win zones
fortress zones
flag zones
target zones

Is it possible to have the bots like that?
Image
User avatar
Z-Man
God & Project Admin
Posts: 11710
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: AI Bots avoid DeathZones and other zones

Post by Z-Man »

Only if you change their code yourself.
User avatar
LOVER$BOY
Match Winner
Posts: 731
Joined: Thu Jan 24, 2008 12:46 pm

Re: AI Bots avoid DeathZones and other zones

Post by LOVER$BOY »

Which I'm not good at :P

Oh well. I just though they might be possible.

I'm not good at C++ or C# :(

Any tips on how to do it please?
Image
User avatar
LOVER$BOY
Match Winner
Posts: 731
Joined: Thu Jan 24, 2008 12:46 pm

Re: AI Bots avoid DeathZones and other zones

Post by LOVER$BOY »

Well I already have Code:Blocks installed on my system.

So I went and downloaded the source files form here: http://sourceforge.net/projects/armaget ... p/download

Now I'm following the "README.txt" and I dropped all the extracted files from "armagetronad-styct-0.2.9-styct_alpha20120312-win" into "Armagetron Advanced/build_codeblocks/"

Here are the instructions I'm following:

Code: Select all

1.  Create a project directory (e.g. C:\Projects\Armagetron Advanced)
2.  Put the armagetronad source files there
3.  In the same directory, put the armagetronad_build_codeblocks files
4.  In the same directory, put the armagetronad_winlibs files
5.  It should look something like this:
    +- Armagetron Advanced
       +- armagetronad
       +- build_codeblocks
       +- winlibs
6.  Go to the build_codeblocks directory
8.  Run the batch file makedist.bat
8.  Start the Armagetron Advanced workspace (Armagetron.workspace)
9.  To compile you will need to change the active project and build target 
    (it defaults to Armagetron Advanced Client and Win32 Release build target)
I'm missing folder "armagetronad" and "winlibs" because I don't have their files with me.

Any idea where I might find them? Or are they already included inside the build_codeblocks?
Image
User avatar
Z-Man
God & Project Admin
Posts: 11710
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: AI Bots avoid DeathZones and other zones

Post by Z-Man »

The armagetronad directory is just the source directory you already have, renamed.
winlibs can be obtained here: http://bazaar.launchpad.net/~armagetron ... libs-work/
it's a bzr branch. That, after or upon checking it out, needs to be renamed to 'winlibs'.
And you're not supposed to drop the files into build_codeblocks. The three branches are supposed to sit there side by side.
User avatar
LOVER$BOY
Match Winner
Posts: 731
Joined: Thu Jan 24, 2008 12:46 pm

Re: AI Bots avoid DeathZones and other zones

Post by LOVER$BOY »

Ok so what do I do with the files inside build_codeblocks?

I'm downloading the winlibs now and then I rename that directory to "winlibs" and place it inside "Armagetron Advanced".

What about "armagetronad"? what goes in there Z-Man?
Image
User avatar
Z-Man
God & Project Admin
Posts: 11710
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: AI Bots avoid DeathZones and other zones

Post by Z-Man »

LOVER$BOY wrote:Ok so what do I do with the files inside build_codeblocks?
You follow the instructions. You need to run some batch file (makedist.bat, IIRC), then open the .workspace file and build the workspace.
LOVER$BOY wrote:What about "armagetronad"? what goes in there Z-Man?
The main sources, in your case, the sty stuff.
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: AI Bots avoid DeathZones and other zones

Post by AI-team »

this should be moved to a new topic and made sticky
http://forums3.armagetronad.net/viewtop ... 15#p259151
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 
User avatar
Z-Man
God & Project Admin
Posts: 11710
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: AI Bots avoid DeathZones and other zones

Post by Z-Man »

Except that the thread you linked to refers to 0.4, which works differently, and the instructions are outdated and half of it is no longer required even there. Relevant instructions for 0.4 and trunk are on the Wiki where you would expect them, 0.2.8 instructions are linked from there. The old docs suffer greatly from the typical 'too many cooks' syndrome, but what are you going to do? Building on Windows is hell and there were many changes over time.
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: AI Bots avoid DeathZones and other zones

Post by AI-team »

uh oh, seems like I didn't read this topic careful enough <_<
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 
Post Reply