Simplex started as a branch from Complex. It has combined features from Path To Victory as well as many other mods through a long history of R&D. This mod aims to excavate the full potential of the Homeworld 2 engine and it will simply blow your mind with incredible fun!
AI using hyperspace jump!? Where and when exactly AI jumps in your case? CPU-Player it is capable to use a hyperspace jump in attack, how it is done by Battlecruisers of basic races Hiigaran and Vaygr?
Hiigaran and Vaygr AI players already know how to use hyperspace jump (defined in HW2 engine). They have clear purpose when letting their Battlecruisers jump (such as, to attack the enemy base or to defend the resourcing operations)
What I did here, is to allow AI players of other races (Kadeshi, Turanic Raiders, and Progenitor) to use hyperspace jump too. Their purpose of doing so is not very clear. The warships of these AI players just jump to the enemy or the allied base to check if there's something to attack -- if there's nothing to attack, they may jump back to their own base.
I have found out that all AI-ships capable to use the Hyperspace jumps for attack are hard-coded in the homeworld2.exe file.
And Only two AI-ships (if have onboard module HYPERSPACE TypeString) are capable to use Hyperspace Jumps.
How you have forced CPU-Player with new ships of new races to use Hyperspace Jump?
You have to achieve this in the complex way, using sobgroup functions (at least as I believe). I programmed some dummy hyperspace gates (invisible) that are spawned and despawned constantly, and let the AI players of the new races to use these gates. This method is too complex and is not perfect (the AI is still not smart enough), but it works. I went for dummy hyperspace gates instead of normal hyperspace jump because I already have an integrated trainer in this mod that facilitates the real hyperspace jump, and I wanted to avoid any potential conflict between these two functions.
If you are interested, you can see my source code in the next version of Complex Simple. You can just program the AI to let them use normal hyperspace jump instead of dummy hyperspace gates.
Thanks for your answer
now i will have a reason to build Hyperspace inhiblliators and Hyperspace sensors
Yes! Based on my testing, you definitely need a lot of hyperspace inhibitors to prevent baserape XD