gametechmods
Robot Arena => Discussion => Topic started by: HurricaneAndrew on June 16, 2009, 03:55:54 PM
-
I know this sounds similar to what LRA2 was asking, but it's really not.
How do you write the .txt for a custom AI pack? I want to take the best robots out of each AI pack I have and combine them into a single pack. So how do I go about it?
By the way, I'm not going to put it on the forum. So if anyone thinks that I'm going to try to post it as my own pack, Im not. I just want it for personal use.
-
1/ first of all read the document below, it explains how to change bots within a team and how to creates new teams.
https://gametechmods.com/uploads/files/AI-Chart-2.3.rar (https://gametechmods.com/uploads/files/AI-Chart-2.3.rar)
with both of these informations you should acheive your goal.
warnnig : if this is your first 'moding' think to make an archive of your folder (winrar or so) -> sooner or later you will crash your game.
Give us feedback if some things have to be improved in this documentation.
2/ about the creation of the file teams.txt (not the bindings.py) there is another uncommon way, very useful if you've got more than 20 teams of if you create or change very often your teams contents :
-in each of your AI/teamXXX folder, you create a file that describe the team. the file looks the one below (4 lines, see the chart above for their role):
PhiletBabe blues
ok, ko, ok, ko ? ..."
AI\blue.bmp
Robots: 0 1 2 3 4
this file must be named 'descteam.txt'
than you download the archive called 'team_Mixer' from the site in my signature (it creates a directory called '_AI_tools' directly under RA2). Once you have create all the descteam.txt and filled the file _AI_tools/teams.ini with the higher index of teams you have -> you dispose of 2 programs : one call "rebind.exe" that recreate your file AI/teams.txt from the files "descteams.txt" and one called teamMixer that mix the teams (so the first 16 ones that you may challenge in events are not always the same).
btw, this pack is delivered with another program called 'initteamMixer' that create the descteam.txt from an already correct file teams.txt. This is just for initialization.
-
Ok, thanks philetbabe
-
There's also an AI generator that someone made up - should be on the downloads section. It was called "RAI-" something. Pretty much, you plug in your values, and generate the script to paste in your bindings.
-
There's also an AI generator that someone made up - should be on the downloads section. It was called "RAI-" something. Pretty much, you plug in your values, and generate the script to paste in your bindings.
I think Hacker X (XRAH, HX, Rekcah, etc) is the one who made that. :)
-
I think I saw that a long time ago. Did it work well, or still need a bit of tweaking?
Hope it works fine, but if not it might be a worthwhile project. Anyone know where one can d/l it?
*Maybe I have it?*
.