Phase Gates

I'm tryimg to make a little mod for fun that would allow the Vasari to bascially do what the phase gates allow them to do without actually having to use a phase gate.  I tried adding the phase gate abilty to every planet type and eliminating the prerequisite reserch needed for the abilty to work.  However, even when a planet has the phase stablizer node abilty, I still can't jump directly to another planet without having the approriate phase gates built.  Is this something that is hard coded or am I just missing something.  My ultimate goal is to eventually give all three races the abilty to directly jump to any planet within a system.  I know I could just make a map that connects every planet to one another, but I'd rather try it by modding.  If anyone has any tips or ideas for how I can achieve this I'd greatly appreciate it. Thanks.
4,101 views 4 replies
Reply #1 Top
It's probably coded to only work with a structure. Try adding it to, say, a frigate factory, or extractor, or something that you get automatically. Also, you could make an invincible, invisible phase gate structure and add it to galaxyscenariodef.
Reply #2 Top
It's probably coded to only work with a structure. Try adding it to, say, a frigate factory, or extractor, or something that you get automatically. Also, you could make an invincible, invisible phase gate structure and add it to galaxyscenariodef.
End of quote


That last part wouldn't quite work, every faction would have it then. an idea tho is to have something like a free phase gate built when you capture a planet, like the Tec colony ship builds a free extractor, you could also make it invisible, i might tinker around with the idea there now just to see if it is possible.

Edit: tried doing the above, but apparently the extractors come from buffInstantActionType SpawnResourceExtractors which to my current knowledge is not editable, but i could be wrong.
Reply #3 Top
I wonder if you could modify the Psi AbilityFarSight ability (CAPITALSHIP_PSIPLANETPSIONIC) to create phase gates on a planet.

I'm fairly certain you could modify the Tec AbilityDeployCombatTurret (CAPITALSHIP_TECHCARRIER) to create an ability to drop phase gates from say your scout... Talk about mean...
Reply #4 Top
Even worse:

1) Create new ability from the Phase AbilityPhaseGateCapital (CAPITALSHIP_PHASESCOUT) to "cast" an always on phase gate on the planet. Make sure you delete any finish conditions from the buff.

2) Then modify your scout to be invulnerable (either really high shield / hull repair rate or just give it an intrinsic ability).

3) Attach new ability from step 1 onto scout. You then have a phase stabilizer at every planet the scout goes.