Star Ruler 2

Star Ruler 2

评价数不足
ShareGates
   
奖励
收藏
已收藏
取消收藏
Content: Subsystems
Type: Mod
文件大小
发表于
248.524 KB
2016 年 5 月 2 日 上午 9:57
1 项改动说明 ( 查看 )

订阅以下载
ShareGates

描述
Enables your Fleets to travel through your teams Stargates.
11 条留言
Alexander the Great 2016 年 5 月 3 日 上午 8:57 
Awesome
Dalo Lorn 2016 年 5 月 3 日 上午 7:18 
Probably, if they're on your team.
Crack 2016 年 5 月 3 日 上午 7:16 
wait can an ai use ur gates?
Horlan  [作者] 2016 年 5 月 3 日 上午 6:25 
The intent was to use this for coop games. (Player VS AI, Invasion). I didn't even consider the Situation where teams break up.

I want to avoid changing the navigation code because that would probably soon run into issues with other Mods who touch these files.

I will look into the specific case with surrenders/allies and if it's easy enough see if I can make it work for that too. But might take a while.
Dalo Lorn 2016 年 5 月 3 日 上午 4:18 
Oh, it only works on teams.

... That still runs into complications if team members are allowed to surrender to enemies.
Dalo Lorn 2016 年 5 月 3 日 上午 3:02 
That's a bit clumsy... it won't unregister if they become unallied.

It would be more effective (as in, safe) if you instead changed the rest of the system (navigation and stuff) to use all the gates on the team.
Horlan  [作者] 2016 年 5 月 3 日 上午 2:47 
@Dalo Lorn: It's rather easy. In the scripts the game uses a function to register new gates with the owning empire. I "simply" changed it to register new gates for all empires of ones team.

In Detail it mods the "GateUnpacked" Status where it replaces the IsGate Hook with a custom Hook that registers it for all friendly empires.
Dalo Lorn 2016 年 5 月 3 日 上午 1:42 
I must learn how this mod works.