X4: Foundations

X4: Foundations

452 个评价
Civilian Fleets: Mimicry Extension
7
2
2
6
5
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
1.625 MB
2020 年 5 月 11 日 上午 4:56
2024 年 4 月 4 日 下午 9:54
23 项改动说明 ( 查看 )

订阅以下载
Civilian Fleets: Mimicry Extension

在 Vectorial1024 的 1 个合集中
V1024 Civilian Fleets: Supported Mods
5 件物品
描述
OBSOLETE FOR X4 7.0+, PLEASE READ EXTRA INFO (e.g. what to do next) https://github.com/Vectorial1024/v1024_civilian_fleets/blob/master/CLOSING.md ; thank you all for your support!

------

Create trading fleets and mining fleets to help manage traders and miners. Managing your civilian ships has never been easier. This is effectively Mimic but with extra, useful steps.

NOTICE: If you would like to downgrade to pre-CoH version of this mod, please download the mod from this link and replace the Steam version: https://github.com/Vectorial1024/v1024_civilian_fleets/releases/tag/v4.10

I need to spend some time rethinking about this mod.


Quick Info
  • The continuation to the currently-broken mod Mining Trading Fleet (available at Nexus)
  • The first X4 mod that declares independence from Right Click API (should be the first, I think)
  • Requires SirNukes Mod Support API
  • Totally save-game compatible; ships will still carry out their pre-assigned duties after removing this mod, but they will fall back to vanilla Mimic default behavior and lose a bit of memory
  • Civilian fleets will use your money but does not report possible profits at the "Credits due" section; this is game limitation, and you still get the money after trading
  • Traduction allemande intégrée par les membres de la communauté
  • Eingebaute deutsche Übersetzung von Community-Mitgliedern
  • 裡面已經有中文翻譯
  • コミュニティメンバーによる組み込みの日本語翻訳
Links of Interest
Feature Overview
  • Civilian fleets: fleets, but for traders and miners, such as trading fleets and mining fleets
  • Now also works for salvagers! (Since X4 v5.00)
  • Order synchronization: subordinates irregularly obtains orders from fleet leaders
  • Fleet auto-rename: a quick idea of your fleet compositions
  • The heaven of management: friendship ended with 479 unassigned ships, now best friends with 36 different civilian fleets
Quick Start Guide
You should check the Nexus page for more details, but, if you want to form/join a civilian fleet:
  1. Set and confirm the default behavior of the fleet leader; the default behavior of the fleet leader will be applied to other members of the civilian fleet
  2. Select and assign your other ships as "Mimic" role (refer to the attached pic above)
  3. Setup complete
  4. Forget about the fleet
  5. ???
  6. Profit.
Supported Mods
List of supported mods

Tips from the Mod Maker
When you suspect there is a bug, try to "clean the cache of your game" first (NOT STEAM CACHE! but I just borrow the concept), this is probably some side effects of EgoSoft's programming magic to optimize mod loading/patch file loading.
1. Start X4 without this mod
2. Make a new game (we only need the "entered game" state)
3. Restart X4 with this mod
4. Should be OK now

Current Mod Status
Passive state: avoiding updates if not critical.

Known issue(s)
This mod has entered a very awkward state. I will need time to sort out errors such as "no trade/mine assignment buttons"

Important notice on transitioning to X4 v4.0+:: previous (pre-CoH) civilian fleets will need to be recreated using the Mimic assignment/manually switch over to Mimic assignment. This is an inconvenience, and is probably the only time where updates cannot carry over smoothly. I apologize for the inconvenience, but it will very likely not happen again, because this mod has reached its final state.

2020 August update: order of which updates appear: GitHub > Steam > Nexus. The change of order between Steam and Nexus was made so that I can update the mod in three platforms in a more streamlined way, even though the Steam upload is not very wieldy.
热门讨论 查看全部(3)
2
2020 年 6 月 1 日 上午 11:06
Suggestions
Le Leon
1
2020 年 11 月 18 日 下午 6:03
Can i "multi-buy" certain item with the whole "fleet" ?
Swatti
0
2020 年 6 月 7 日 上午 4:20
置顶: Downloading from GitHub dev-builds
Vectorial1024
410 条留言
Korvyr 11 月 3 日 下午 9:29 
So far, it results in a commander with a "mimic" behavior, but with no behavior to mimic itself, it does nothing, and mimics in its fleet do nothing.

But, I'm wondering if there's a nuance to it as my test cases involved zero-skill behaviors and then tossing the commander to the wolves to see what happens. Or I may have another mod interfering, though I don't have many.

I've a mind to dip my toes back in myself just to make a mini mod that makes mimic a wee bit smarter.
Vectorial1024  [作者] 11 月 3 日 上午 9:19 
@Korvyr

Now I am slightly interested again...

Does the successor commanders hold with "Wait"?

One guess is that, whenever a ship is promoted to commander, it instantly calls "lib.request.orders", which essentially cancels the running Mimic command.

Whatever happens, this mod is gonna stay retired. If anything, I might make a new mod to slightly bugfix Mimic.
Korvyr 11 月 2 日 上午 10:49 
I recognize EgoSoft claims to have modified mimic to recreate the commander's behavior, but considering my commander had a zero-skill requirement behavior and the commander's death resulted in a fleet with no direction and a commander with no behavior on multiple tests, I can safely say their code does not work. Or, at least, is very unreliable.
Vectorial1024  [作者] 11 月 1 日 下午 11:53 
Basically, back when Mimic wasn't even a thing, this mod decided to be lenient and let mimic successors use a previously-available, but now-internal-only "AutoTrade"/"AutoMine" script, so that they may "retain" the order but don't guarantee pre-succession range numbers; this is still limited by the skill level of the successor running the default order.

EgoSoft then made several subsequent "clarification" updates which are basically these:
- AutoTrade/AutoMine is not for every ship; skill level required
- Mimic is not for every ship; skill check applies
- EgoSoft agrees Mimic should try to recreate late commander's default orders; skill check applies

For further inquiries you should find EgoSoft or the general modding community.
Vectorial1024  [作者] 11 月 1 日 下午 11:47 
Re-reading the 8.0 vanilla code for Mimic, I can see that the vanilla game now attempts to recreate the default order of the late commander when a subordinate is promoted to "root" (aka no commander). I remember this change was made in 7.0 and is the main reason why I retired this mod: vanilla is now fully doing what this mod is trying to do.

I do notice that vanilla will check skill levels when trying to recreate orders, which is different from this mod. This may explain why sometimes the mimic "does not work": maybe the skill check failed.
Korvyr 11 月 1 日 下午 6:42 
I can confirm that vanilla mimic does NOT recreate the commander's default behavior if the commander dies, which was the main draw of this mod.
Hebrux 10 月 14 日 下午 3:40 
anyone know if this still works?
Bigs2013 7 月 25 日 下午 4:18 
Hey @Vectorial, just wanted to say thank you for providing us this amazing mod through the years, you did a absolutely amazing job thank you!
UberQuicks 2024 年 10 月 5 日 上午 2:53 
I'm certain I'm beating a dead horse, but is this mod still usable even without an update. Found this mod to be far superior to ego's current mimic (7.10) and would much rather use this mod instead.

Thanks for creating this mod to begin with, makes trading/mining much easier.

Cheers!
Kotonoha-Enka 2024 年 9 月 17 日 上午 4:02 
emmmm.....hard for me.I do not have the ability to view authoring source files