Author Topic: Example SpecialFaction Mod  (Read 953 times)

Offline CRZgatecrusher

  • Newbie Mark II
  • *
  • Posts: 17
Example SpecialFaction Mod
« on: July 08, 2019, 04:37:31 AM »
This example mod is an example into creating a custom faction for AIW2. This is a basic special faction that was never designed to be fair. the faction is a number of hunter/killers seeded into the game. after that it goes into random systems. it is heavily commented in an effort to help others with modding. There is an uncommented version as well for those who do not care about that. (the comments are recommended but not essential).

C# code is 105 lines commented and 93 lines uncommented

I hope this helps anyone interested in modding in special factions.

Thanks Badger , StarKelp and Dominus Arbitrationis.

EDIT: further down I updated the code and this code is kept for legacy reasons sorry for any inconvenience
« Last Edit: October 12, 2019, 03:43:44 AM by CRZgatecrusher »
A terrible mod but interesting at least (https://forums.arcengames.com/ai-war-ii-modding/reprocessor-mod/). Very unbalanced

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,627
Re: Example SpecialFaction Mod
« Reply #1 on: July 08, 2019, 10:03:48 AM »
Thanks so much for posting this!  This should be useful for a lot of folks, I hope. :)
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 CRZgatecrusher

  • Newbie Mark II
  • *
  • Posts: 17
Re: Example SpecialFaction Mod
« Reply #2 on: July 08, 2019, 06:56:19 PM »
thanks! I hope it helps other people as modding this game is enjoyable though required a lot of frustration initially. It gets way better though and I thought an example faction would help a bit.
A terrible mod but interesting at least (https://forums.arcengames.com/ai-war-ii-modding/reprocessor-mod/). Very unbalanced

Offline CRZgatecrusher

  • Newbie Mark II
  • *
  • Posts: 17
Re: Example SpecialFaction Mod
« Reply #3 on: October 11, 2019, 07:49:48 PM »
a minor update to the minor factions removing old code and replacing it (sorry if this hindered anyone's ability to learn the code)

Fixed
« Last Edit: October 19, 2019, 05:24:08 PM by CRZgatecrusher »
A terrible mod but interesting at least (https://forums.arcengames.com/ai-war-ii-modding/reprocessor-mod/). Very unbalanced

 

SMF spam blocked by CleanTalk