 |
|
albiedamned
|
|
Ellicott City, MD
Sep 2001 time: 00:28
|
|
There are 3 files in the ai\scripts directory which seem to get updated everytime I play: economic.bho, aibestbuildlibrary.bho, and defensive.bho. The files are in binary format so I can't read them. But I'm wondering what these are used for and why they are updated all the time. Could it be that the AI is somehow keeping track of its best efforts? It seems unlikely, since BHG surely would have been promoting this fact! Can anyone from BHG explain these files?
|
|
|  |
 |
|  |
 |
|
albiedamned
|
|
Ellicott City, MD
Sep 2001 time: 00:28
|
|
I would guess Carch is right as well. The two files which get updated everytime you play have .bho extensions. There are two files with the same name but .bhs extensions that don't get updates. The .bhs files are plain text file with what looks like a scripting language, while the .bho files are an unreadable binary format. So my guess is that .bhs is "Big Huge Script" while .bho is "Big Huge Object", the compiled version of the script file. And I would guess that the reason they recompile them everytime is to allow for the possibility that the script files changed.
Locutus, I don't have time to play right now but I just saved out a copy of the .bho files. I'll play tonight and then do the compare, unless someone else does if before me today.
This does raise some other interesting possibilities. BR has said that the AI follows one of several scripted openings, followed by a more general adaptive approach (unscripted). The second part is probably hard coded, but it looks like we can certainly mod the scripts for the openings. So I'm sure someone will come up with a killer script for an awesome AI rush.
|
|
|  |
 |
|
albiedamned
|
|
Ellicott City, MD
Sep 2001 time: 00:28
|
|
By the way, economic.bhs obviously appears to be the boom script, but defensive.bhs is actually the rush script. It says so in the comments right at the top.
|
|
|  |
 |
|
Peter Triggs
|
|
Gone Fishin, Canada
Jan 2000 time: 05:28
|
|
Carch and albie are right. Ilya Kreymer (the bloke who did the language) wrote:
quote:
Scripts files are text files and usually have a .bhs extension. Scripts are compiled to byte-code .bho, which are then loaded by the virtual machine embedded in the game.
|
|
|
|  |
All times are GMT. The time now is 05:28. Apolyton Time is 00:28. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|