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