Stellaris

Stellaris

541 个评价
Smarter Hyper Relays: Improved AI (shrimpAI)
6
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
334.936 KB
2022 年 6 月 1 日 下午 6:21
11 月 30 日 上午 9:29
22 项改动说明 ( 查看 )
您需要 DLC 才能使用该物品。

订阅以下载
Smarter Hyper Relays: Improved AI (shrimpAI)

在 Oatmeal Problem 的 1 个合集中
Oatmeal Mods
9 件物品
描述
Smarter AI for building hyper relays

Does the AI seem a little haphazard when building hyper relays? And then builds them more-or-less everywhere? This mod fixes that.

With this mod, AI empires build proper networks starting at capitals, branching to sector capitals, then to other colonies.

Details
Every year, this mod finds and marks the shortest path from capitals to sector capitals, and from sector capitals to sector colonies. Paths to wormholes/gateways/catapults and border fortresses are also found (from sector capital if in a sector, otherwise from empire capital). A path along an existing relay is considered twice as short, to encourage the AI to re-use existing relays. The AI then only builds relays in systems that border an existing relay they own and are on one of those paths, with the following exceptions:
  • The empire's capital (this let's them get their network started)
  • Sector capitals that are at least 10 years old and have no path to the capital (this let's them build a separate network if they have a non-contiguous empire, for example on the other side of a wormhole)

Overlords will build paths to the their subject capitals, and will build paths through subjects if they have an isolated sector on the other side.

In addition to normal building of hyper relays using construction ships, the AI gets to build up to 1 hyper relay each year without using a construction ship. They still pay the resources for it, and only do it if they have a large stockpile of resources (10x the required resources). This is to address 2 vanilla issues with the AI:
  • The AI isn't good at managing it's construction ships, sometimes sending one from the east side of it's empire all the way build something in the west, while at the same time sending a one from the west to build in the east, wasting months or even years. This "cheat" helps make up for lost time.
  • Sometimes, especially after unlocking other megastructures, the AI stops building hyper relays, even if their resource stockpiles are completely full. This "cheat" lets AIs with strong economies continue expanding their relay networks into the late game.

This has been tested for performance on a huge galaxy and has no noticeable impact.

Compatibility
  • For Stellaris 4.2.*
  • NOT achievement compatible
  • Can be added to an existing game, but works best if the AI has not started building hyper relays yet
  • Can be removed from an existing game
  • Compatible with Gigastructural Engineering and More (load order does not matter)
  • shrimpAI for Total Conversions is a separate version that provides compatibility for some total conversion mods
  • Compatible with Sparsity and Wild Space 3 (enables building hyper relays in unclaimable space for both player and AI; load order does not matter)
  • Should be compatible with all other mods, except other mods that override hyper relays
    • Note for patch makers: this only overrides the hyper_relay megastructure, and within that, only changes the ai_weight

Sharing
Feel free to update, pack, patch, translate, fork, or incorporate this mod, no prior permission required. Credit, linking to the original mod, and letting me know is appreciated!

[discord.gg]
Come chat in #oatmeal-mods
208 条留言
Oatmeal Problem  [作者] 11 月 30 日 下午 1:39 
@Wairui you're welcome :) yep, assuming no major changes to that mod's implementation, my advice should still be applicable
Wairui 11 月 30 日 下午 1:30 
p.s. another thank you for keeping subscribers informed in the 'Change Notes'. :-)
Wairui 11 月 30 日 下午 1:29 
Author:
Wow, thank you for your creation. You've clearly applied a tremendous amount of game experience and effort into this mod. I'll will use it along with AI Game Performance Optimisation 4.2 . I assume from your 18 Jun advice still holds with the two mods?
Oatmeal Problem  [作者] 11 月 30 日 上午 9:34 
Updated for Stellaris 4.2 (just a version bump)
你好 9 月 30 日 上午 2:50 
Thank you for maintaining this mod
Red2401 9 月 11 日 下午 9:00 
Very nice
dew22797 7 月 10 日 上午 7:53 
GOAT
Oatmeal Problem  [作者] 6 月 18 日 下午 1:26 
@Duke Fontaine yes, they should work fine together, if you turn that mod's relay option off
If you leave it on, the AI won't build relays normally, but they'll still get this mods once-per-year construction-ship-less build
ohbuddyheck 6 月 18 日 上午 11:35 
Would this mod conflict with the "AI Game Performance Optimization 4.0" mod, assuming the related hyper relay option is turned off?
GE0 6 月 17 日 下午 9:27 
Appreciate the quick reply, thanks for this!