<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.fightorder.net/wiki/index.php?action=history&amp;feed=atom&amp;title=AI%3AHughAI</id>
	<title>AI:HughAI - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.fightorder.net/wiki/index.php?action=history&amp;feed=atom&amp;title=AI%3AHughAI"/>
	<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=AI:HughAI&amp;action=history"/>
	<updated>2026-04-21T05:47:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://www.fightorder.net/wiki/index.php?title=AI:HughAI&amp;diff=1514&amp;oldid=prev</id>
		<title>Qrow: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=AI:HughAI&amp;diff=1514&amp;oldid=prev"/>
		<updated>2026-02-24T06:03:06Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:03, 23 February 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Qrow</name></author>
	</entry>
	<entry>
		<id>https://www.fightorder.net/wiki/index.php?title=AI:HughAI&amp;diff=1513&amp;oldid=prev</id>
		<title>intercegai&gt;Hughperkins: /* To install */  added link to github repo</title>
		<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=AI:HughAI&amp;diff=1513&amp;oldid=prev"/>
		<updated>2025-04-17T11:28:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;To install: &lt;/span&gt;  added link to github repo&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== What is HughAI ==&lt;br /&gt;
&lt;br /&gt;
HughAI is a an AI written in Java.  Works quite well at fast rush attacks.&lt;br /&gt;
&lt;br /&gt;
== To install ==&lt;br /&gt;
&lt;br /&gt;
To install&lt;br /&gt;
&lt;br /&gt;
Make sure you have hoijui&amp;#039;s Java Interface v0.1 installed. I believe this is installed automatically if you have Windows. Other platforms may have varying mileage.&lt;br /&gt;
&lt;br /&gt;
Once you have Java Interface 0.1 installed ok:&lt;br /&gt;
&lt;br /&gt;
1. Download HughAI from:&lt;br /&gt;
&lt;br /&gt;
sorry, no up to date link. github repo here: https://github.com/hughperkins/HughAI&lt;br /&gt;
&lt;br /&gt;
2. Remove any old AI/Skirmish/HughAI directory&lt;br /&gt;
&lt;br /&gt;
3. untar (using Winzip or your favorite zip utility) into AI/Skirmish, so you should have the following directory structure:&lt;br /&gt;
&lt;br /&gt;
 AI/&lt;br /&gt;
   Skirmish/&lt;br /&gt;
     HughAI/&lt;br /&gt;
       0.1/&lt;br /&gt;
         SkirmishAI.jar&lt;br /&gt;
         ... other files ...&lt;br /&gt;
&lt;br /&gt;
4. Run springlobby, create a single-player game, and do &amp;quot;add-bot&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Note that the AI needs to be playing as Arm, and on Balanced Annihilation. On anything else, it will probably just sit there and do nothing :-D&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s fairly early days yet, so don&amp;#039;t expect too much just yet ;-) I&amp;#039;ll update this message as it gets better.&lt;br /&gt;
&lt;br /&gt;
== Mods and maps ==&lt;br /&gt;
&lt;br /&gt;
Works with BA mod, with the AI running as ARM.&lt;br /&gt;
&lt;br /&gt;
== Play-style ==&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s a non-cheating AI by day ... but if you go to the &amp;#039;Config&amp;#039; tab on the gui and tick the box next to &amp;#039;maphack&amp;#039; and then click &amp;#039;apply&amp;#039; or &amp;#039;save&amp;#039; ... it will become a cheating maphack AI!&lt;br /&gt;
&lt;br /&gt;
Otherwise, its playstyle is essentially to rush.  If it doesn&amp;#039;t beat you within a few minutes, it&amp;#039;s basically not going to do very much else just yet ;-)  Maybe in the future though ;-)&lt;br /&gt;
&lt;br /&gt;
== Cheating / maphack ==&lt;br /&gt;
&lt;br /&gt;
In the gui, in the &amp;#039;config&amp;#039; tab, click &amp;#039;maphack&amp;#039; then &amp;#039;apply&amp;#039; or &amp;#039;save&amp;#039; to enable maphack.&lt;br /&gt;
&lt;br /&gt;
Unclick it, and then &amp;#039;apply&amp;#039; or &amp;#039;save&amp;#039; to disable it.&lt;br /&gt;
&lt;br /&gt;
== To disable gui ==&lt;br /&gt;
&lt;br /&gt;
Either:&lt;br /&gt;
&lt;br /&gt;
- run spring in windowed mode, in the gui, in the config tab, unclick &amp;#039;guiactivated&amp;#039; and then click &amp;#039;save&amp;#039;, or&lt;br /&gt;
- in the config file BA_2.xml, change guiactivated from &amp;#039;yes&amp;#039; to &amp;#039;no&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Can it beat other AIs? ==&lt;br /&gt;
&lt;br /&gt;
Yes ;-)  it beats E323 v2.12.0 sometimes.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
There is a gui with a tab &amp;#039;Config&amp;#039; that can be used to configure many things.&lt;br /&gt;
&lt;br /&gt;
A few extra things are configurable in the config file &amp;#039;BA_&amp;lt;side&amp;gt;.xml&amp;#039; , in the AI&amp;#039;s directory, where side is core or arm.&lt;br /&gt;
&lt;br /&gt;
There are also a number of workflow xml files in the BA_&amp;lt;side&amp;gt;workflows subdirectory.  Currently, only one of the workflows are used, so there&amp;#039;s no point in adding more than one for now ;-)  In the future, it might simply randomly select from one, at random, so a human enemy doesn&amp;#039;t know if the AI will tech or rush or whatever.  Sounds reasonable?&lt;br /&gt;
&lt;br /&gt;
The workflow config files define what will get built essentially, with a priority, a unitname, and a quantity.&lt;br /&gt;
&lt;br /&gt;
The higher the priority, the earlier the units will be built.&lt;br /&gt;
&lt;br /&gt;
You can add in the same unit on multiple lines, with different priorities, so you can say: ok, first build a couple of stumpies, then a jeffy, then some more stumpies, or whatever.&lt;br /&gt;
&lt;br /&gt;
== Limitations /ways to beat it ==&lt;br /&gt;
&lt;br /&gt;
Survive the initial rush, and it will probably not do too much else.&lt;br /&gt;
&lt;br /&gt;
== Console ==&lt;br /&gt;
&lt;br /&gt;
For techies, there&amp;#039;s a console, where you can directly write Java code.&lt;br /&gt;
&lt;br /&gt;
== Soure-code ==&lt;br /&gt;
&lt;br /&gt;
The sources are available from the following git repository:&lt;br /&gt;
&lt;br /&gt;
https://github.com/spring/HughAI&lt;br /&gt;
&lt;br /&gt;
More details on the architecture can be found in the file src-ai/architecture.txt, in the sources, which I try to keep somewhat up-to-date, but really, if you have any questions, just ask me ;-)&lt;br /&gt;
[[Category:AI]]&lt;/div&gt;</summary>
		<author><name>intercegai&gt;Hughperkins</name></author>
	</entry>
</feed>