1/3/2021: Updated 2nd Edition AI to include TIE rb Brute, and Wave 8 ships (Nimbus-Class V-wing, Eta-2 Actis, Droid Tri-Fighter). No changes were made to HOTAC+FGA AI or 1st Edition AI.
Find it here: http://www.x-wing-ai.com , or you can download a zip file
Major Update: AI for HotAC and Flight Group Alpha (FGA) Campaigns Now Available!
Fellow pilots: At the request of Hipsu and Wolfshead, I completed the task of adding all 19 additional ships from the Flight Group Alpha Imperial Cooperative Campaign to the 8 Empire ships from the HotAC AI (both use the same AI methodology) and uploaded the new version x-wing-ai.com .The outstanding HotAC AI data (hard copy version) from the Imperial AI cards v 2.07.04 created by Claes Sorrenson and the Alpha Flight Group for HotAC 2nd Edition, as well as the 19 NEW AI cards from the Flight Group Alpha campaign (also by Claes and the FGA Team) have been faithfully replicated in a web- based version for your use in playing HotAC OR Flight Group Alpha alone or with your fellow pilots on the table-top.
The HotAC+FGA AI now contains "HotAC Rules" AI for the following 27 ships:
- Empire: TIE Fighter, TIE Interceptor, TIE Advanced x1, TIE Bomber, TIE Defender, TIE Phantom, Lambda Shuttle, Devastator
- Rebel: Z-95 Headhunter, T-65 X-Wing, BTL-A-4 Y-Wing, RZ-1A A-Wing, A/SF-01 B-Wing, YT-2400, YT-1300, VCX-100 Ghost
- Scum: Z-95 Headhunter (Scum), BTL-A-4 Y-Wing (Scum), M3A Interceptor, Kihraxz Fighter, StarViper, Fang Fighter, HWK-290, Firespray, Mod TIE Fighter (Mining Guild)
- First Order: TIE FO Fighter, TIE Special Forces Fighter
Note: You don't have to be playing HotAC or FGA to use this AI for your own solo battles! You can use this app to provide AI using the best solo AI available today (HotAC AI) for any of the above 27 ships.
The web application does all the dice rolling for you for AI ship maneuvers, Decloaking and Hyperspace Maneuvers per HotAC+FGA rules. It also lists the prioritized activities in each phase that you will use for decision-making for each AI ship, in an easy-to-see and use web-based format. The Help page ("?" icon) will explain how to use the HotAC+FGA AI to run your AI ships for each battle. The "Ships" page ("ship" icon) provides a detailed breakdown of each AI ship and all of its target, action and attack priorities plus all maneuvers in the maneuver tables. I also included additional functionality such as "Flee" tables and Hyperspace Maneuvers, reroll capability, enemy moved/not moved prioritization and symbology, better user feedback when selecting a sector, and other enhancements and fixes (Thanks to Hipsu for playtesting and enhancement recommendations).
Here is a screen shot of the HotAC+FGA AI 2nd Edition "Main Page":
http://x-wing-ai.com/HotAC_FGA_200623.jpg
You can still use x-wing AI 2nd Edition or x-wing AI 1st Edition for your table-top solo play, just as before. You can easily switch AI versions using the "AI" icons on the top-right part of the web page.
As always, x-wing-ai is free to use and no advertising banners. You can also download a stand-alone version in a .zip file for your use off-line here or download it from the info page ("i" icon) or Help page ("?" icon) of the x-wing-ai.com HotAC+FGA AI webpage, or you can use the AI(s) directly from the x-wing-ai.com website.
If you are running a HotAC or FGA campaign or just flying tabletop solo at home, give it a try!
Regards,
Tomcattwo
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Major Update: x-wing-AI for Heroes of the Aturi Cluster (HotAC) 2nd Edition, v 2.07.04
Fellow pilots: I have just uploaded a new version of x-wing-ai to x-wing-ai.com which now includes AI for Heroes of the Aturi Cluster (HotAC) , using the 2nd edition update created by Shaun Tiernan from Josh Derkson's original 1st edition Rebel campaign. The outstanding HotAC AI data (hard copy version) from the Imperial AI cards v 2.07.04 created by Claes Sorrenson and the Alpha Flight Group for HotAC 2nd Edition have been faithfully replicated in a web- based version for your use in playing HotAC alone or with your fellow pilots on the table-top.
The web application does all the dice rolling for you for AI ship maneuvers. It also lists the prioritized activities in each phase that you will use for decision-making for each of the Empire's eight AI ship types used in the campaign, in an easy-to-see and use web-based format. The Help page ("?" icon) will explain how to use the HotAC AI to run your HotAC Empire AI ships for each battle. The "Ships" page ("ship" icon) provides a detailed breakdown of each Empire AI ship and all of its maneuvers in the maneuver tables.
Here is a screen shot of the HotAC AI 2nd Edition "Main Page":
On the HotAC 2nd Edition AI Main Page, during the AI's Activation Phase, you select a "Target Ship" for the AI using the priorities listed under "Select Target", then click on one of the 9 "Active" sectors in the "Aiming Reticle" diagram where the Target Ship is in relation to the AI. That click will populate the AI Maneuver section with allowable maneuvers for 4 conditions (R1/R2Closing, R2Fleeing/R3, R4+ or AI Stressed), per the HotAC Campaign rules. You select the maneuver that corresponds to the Target Ship's range from the AI ship, and then execute the AI's movement on the table-top per the HotAC Campaign rules and X-Wing 2nd Edition rules.
Actions for the AI are prioritized in the "Action Selection" list for the selected ship. Based on those priorities, you select and conduct the AI's action(s).
For the Engagement Phase, you select the AI's "Attack Target" (which might or might not be the same target as the "Target Ship") using the priorities listed in the "Attack Priorities" section for each ship, and execute the attack per the HotAC Campaign rules and X-Wing 2nd Edition rules.
Any End Phase or System Phase AI ship activities are also shown.
You can still use x-wing AI 2nd Edition or x-wing AI 1st Edition for your table-top solo play, just as before. You can easily switch AI versions using the "AI" icons on the top-right part of the web page.
As always, x-wing-ai is free to use. You can also download a stand-alone version in a .zip file for your use off-line here or download it from the info page ("i" icon) or Help page ("?" icon) of the x-wing-ai.com HotAC AI webpage, or you can use the AI(s) directly from the x-wing-ai.com website.
Shaun's version of HoTAC 2nd Edition is the same version that has been uploaded to Vassal . The "uploaded to Vassal" post (and the HotAC info and help pages) includes a link to Shaun's HotAC 2nd Edition Campaign (ver 2.07.04) files, in case you don't yet have HotAC.
If you are starting or running a HotAC campaign, give it a try! Rebels, stand strong in the Aturi Cluster - the Rebellion is counting on you!
Regards,
Tomcattwo
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Update to version 2.0.2!
After a long hiatus, I have finally done an update to X-Wing AI2. This was a big update that includes:
1) Added 2nd Edition new waves 4, 5, 6, and 7 ships
2) Added Gozanti class and C-ROC Cruisers (with faction variants)
3) Completely changed how the AI reads and determines AI actions for all ships (the original version could only accommodate 31 unique actions; this update removes that restriction and adds a number of new actions). This required some major code overhaul in the AI and generation files (python and JavaScript) and updates for every ship file (85 ships/variants)
4) Minor aesthetic changes (Capitalized factions, added tooltips for all icons, cleaned up the presentation and updated the info and help pages a bit).
The update has made for a better app. See below for basic instructions on how to use it.
Give it a try at http://www.x-wing-ai.com , or you can download a zip file of the app for use even when you are off-line (works in any browser except Internet Explorer - it does work in edge, chrome, opera, Firefox, safari, and android internet apps).
Regards,
Tomcattwo
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
Original post:
Fellow X-Wing Pilots,
I ran across Wyzbang's outstanding work creating xwing_ai a month or so ago when I started playing the X-Wing Miniatures Game. I like to play solo, and I decided I would modify his AI under the Open Creative License that he published xwing_ai under (
Creative Commons License 3.0
) to update the ai to X-Wing Second Edition Rules. I have done so.
xwing_ai2 allows you to play solo using your tabletop models on your playmat. The AI will provide reasonable semi-random moves depending on the aspect (range, location in a 360 circle and closing/opening orientation), of your ships to the AI ship. It's a simple web-based interface. To use it:
Setup game per standard 2nd Edition rules, choosing any squadrons and or missions.
For each AI controlled ship, instead of setting a dial, you'll use the AI to determine each AI ship's movement during the Activation phase.
- Click on the faction of the the AI controlled ship
- Click on the ship type for the AI controlled ship
- Pick a target (human-controlled) ship for the AI ship to consider/react to
- Click on the location on the targeting ring that matches the direction of target (human-controlled) ship
- Move the AI ship using the displayed maneuver for the proper condition (target is closing, retreating, out-of-range or the AI is stressed)
- Choose an Action for the AI ship. The AI shows available standard actions for that ship.
- Carry out attack(s) for the AI ship
- Complete round per standard 2nd Edition rules.
xwing_ai2 includes:
1) A complete update to X-Wing 2nd Edition Rules, including all ships, and factions, 2nd Ed maneuver dials, and 2nd edition actions
2) The ability to switch back and forth from 2nd Edition to 1st Edition rules AI (Wyzbang's original AI, but updated to include all 1st edition ships through wave 14).
I have hosted the web version here:
Click on the "?" icon in the upper right for how to use.
Click on the "AI" icon to switch to 1st edition xwing_ai, "AI2" icon to switch back again to 2nd edition.
There is a download link you can access by clicking on the "i" icon, to download the distributable version for offline use or download it here . Once you download the zip file, unzip it into a convenient directory, then open "index2.htm" in any browser for the 2nd edition ruleset, or "index.htm" for the 1st edition ruleset.
NOTE: THIS APP DOES NOT WORK IN Internet Explorer and I don't have the inclination to fix it for that browser. Works best in Chrome, but also works in Firefox, Opera, IOS Safari and Android Web apps.
xwing_ai2 remains open source under the original Creative Common License 3.0. The source files are here on github:
xwing_ai2 Source Files on Github
Feel free to try it out and post any constructive feedback in this thread. Enjoy.
Regards,
Tomcattwo
Update Post Title and post update information