Arcen Forums

General Category => AI War II => AI War II - Modding => Topic started by: cml on April 10, 2020, 01:44:43 PM

Title: AI Shield Generators [Updated 10/11/20]
Post by: cml 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:


Setup:

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.
Title: Re: AI Shield Generators
Post by: x4000 on April 10, 2020, 03:02:14 PM
This is killer!  Thanks for making this, I'm definitely a fan. :)
Title: Re: AI Shield Generators
Post by: cml 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.
Title: Re: AI Shield Generators
Post by: cml 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.
Title: Re: AI Shield Generators [currently not working]
Post by: cml 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.
Title: Re: AI Shield Generators [Reuploaded 03/08/20]
Post by: cml on August 03, 2020, 02:17:42 PM
The mod has been uploaded again. Please delete any previous versions prior to installing.