Author Topic: AI Shield Generators [Updated 10/11/20]  (Read 1414 times)

Offline cml

  • Newbie
  • *
  • Posts: 5
AI Shield Generators [Updated 10/11/20]
« on: April 10, 2020, 01:44:43 PM »
AI Shield Generators
Or, "Core Shield Generators," for those who played AIWar Classic.

This mod adds a special faction, "AI Shield Generators," to the game. This faction consists of a number of shield generators which must be destroyed before the dire guard posts on the AI Homeworld(s) can be destroyed. The catch? In order to destroy the generators, you will need to either hack them or capture the planet they are on.

Installation:
  • Delete any current previous versions of the mod.
  • Download the attached file.
  • Unzip the file, placing the files within it in the into your main AI war 2 folder. Make sure that you maintain the folder structure indicated by the attachment


Setup:
  • Enable the "AI Homeworld Shields" faction. Without this, the shield generators will not protect anything. Please note that this faction should not be enabled unless you are using Ai Shield Generators. Doing so would result in the guard posts on the AI Homeworld being invulnerable for the entire game. shield generators having no effect.
  • Enable one or more "AI Shield Generators" factions.
  • Set the "Faction Color", "Number of Shield Generators," and "Network Strength" for each "AI Shield Generators" faction. The first two options should be self-explanatory, while the last is explained in more detail below. I suggest selecting a different colour for each faction so that you can distinguish between them in-game.

Gameplay:
During the game, you will discover that a number of "Shield Generator" structures have been added to the map. These structures will be invulnerable to damage until you capture the planet they are on. Alternatively, there is a hack which will allow you to destroy them outright without capturing the planet.

Each generator is linked into either a "Strong" or "Weak" network, consisting of all of the generators spawned by one "AI Shield Generators" faction. Generators in a "Strong" network will need to be destroyed individually until only one remains, at which point the remaining generator will self-destruct. Destroying one generator from a "Weak" network, on the other hand, will cause all of the other generators in that network to self-destruct.

You will also find that an "AI Homeworld Shield Generator" has been added to each AI Homeworld. These structures are invulnerable to damage and provide invulnerability to all Dire Guardposts on the planet. Fortunately, they will self-destruct once all of the non-homeworld shield generators have been destroyed.

Compatibility:
This mod uses partial records to add invulnerability to the Dire Guardposts. It also makes use of the Buttress special unit type. If another mod uses either of these, something might break. If a mod adds new Dire Guardposts, a compatibility patch will be required. The mod also replaces the Dire Guardposts created at the start of the game with invulnerable copies created from them, and then replaces these with vulnerable copies later in the game. This shouldn't cause any issues, but it is something to be aware of all the same.

Other Notes:
This is my first mod. If/when you find bugs, please report them in this thread. I would also welcome any comments or suggestions regarding balance.

I would like to thank the wonderful people in the Arcen Games discord. Without them, I would likely have never figured out how to set up Visual Studio, let alone managed to make this mod.

Updates:
10/05/20 - Updated for changes introduced in Beta 2.027
22/05/20 - Updated to account for the removal of exp in v2.045
03/08/20 - Updated to work around an issue regarding partial records. Please note compatibility changes detailed above.
21/10/20 - Updated to work following several changes. No change to functionality.
10/11/20 - Updated to account for changes to FactionUtilityMethods. No change to functionality.
« Last Edit: November 10, 2020, 02:36:40 AM by cml »

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,627
Re: AI Shield Generators
« Reply #1 on: April 10, 2020, 03:02:14 PM »
This is killer!  Thanks for making this, I'm definitely a fan. :)
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline cml

  • Newbie
  • *
  • Posts: 5
Re: AI Shield Generators
« Reply #2 on: April 27, 2020, 02:54:22 PM »
Thanks for saying so, and sorry for the delayed reply.
It means a lot to hear that, and to see people downloading this.

Offline cml

  • Newbie
  • *
  • Posts: 5
Re: AI Shield Generators
« Reply #3 on: May 11, 2020, 04:19:44 AM »
I posted a quick update yesterday, the mod should work again now.
If you downloaded the old version and it didn't work, you will need to download it again.

Offline cml

  • Newbie
  • *
  • Posts: 5
Re: AI Shield Generators [currently not working]
« Reply #4 on: July 07, 2020, 06:48:49 AM »
Unfortunately this mod does not work currently due to xml errors. I will reupload it when it is working again.
« Last Edit: July 07, 2020, 12:09:02 PM by cml »

Offline cml

  • Newbie
  • *
  • Posts: 5
Re: AI Shield Generators [Reuploaded 03/08/20]
« Reply #5 on: August 03, 2020, 02:17:42 PM »
The mod has been uploaded again. Please delete any previous versions prior to installing.

 

SMF spam blocked by CleanTalk