Avorion
Fleet Jump through Gate Command [OUTDATED]
95 条留言
倒背圆周率 3 月 6 日 上午 12:07 
中文翻译,这个模组在地图视图中添加了两个舰队命令。仅兼容 Avorion v1.* 版本。

功能:

使用传送门:
如果有传送门,会弹出一个窗口选择要跳跃的传送门。飞船将使用传送门,即使目标星系在其跳跃范围内。

使用虫洞:
选中的飞船将飞越当前星系内的虫洞。

这两个命令可以排队执行,并且即使目标星系之前未被探索过也能正常工作,因此非常适合自动化探索。

如果你想添加、改进、优化某些功能,或者只是想确保你的模组与此模组兼容,欢迎在 GitHub 上 Fork 该项目并提交 Pull 请求:
https://github.com/MassCraxx/Avorion-FleetJumpGateCommand

如果你喜欢我的模组并想支持我,欢迎请我喝杯咖啡:
https://buymeacoff.ee/MassCraxx =)

特别感谢:

Shrooblord 提供的更新支持。
CharChar 2021 年 9 月 12 日 下午 2:40 
This is now a problem: "I overwrote all of the mapcommands client code"
The mod works as advertised, but now it is not possible to give jump orders to captains on the Galaxy Map.
Squidface McGee 2020 年 12 月 31 日 下午 10:55 
Thanks for your work on this!
Jikings 2020 年 12 月 31 日 下午 7:54 
I just realized this (AI order to go through gate/wh) is actually in the base game, but not as a part of the right buttons
Jikings 2020 年 12 月 30 日 上午 9:14 
New player here.

I was wondering why I wasn't able to order one of my ships to go through a gate (which made complete sense to me), after a Google search I found this and thought... this should be on the game by default.

Great mod, thank you ♥
MassCraxx  [作者] 2020 年 7 月 10 日 上午 9:48 
@Frettzo the mod just gives the AI a command to fly through the gate. The way the ship takes and the time it needs to do it is completely handled by the game itself. Therefore I can not give any insights in that, maybe it encountered some obstacles like asteroids or so.
Frettzo 2020 年 7 月 10 日 上午 4:31 
Ah, nervermind it just used the gate. It just took an incredibly long time, why is that?
Frettzo 2020 年 7 月 10 日 上午 4:30 
Hello, I assigned a small explorer ship to jump through a few gates but it doesn't seem to be doing anything. THe only other mods I've got active are Advanced Shipyard, Detailed Turret Tooltips and No Independent Targeting Penalty. I don't think any of them modify the command filed for fleets right?
MassCraxx  [作者] 2020 年 7 月 8 日 上午 9:22 
@Drexl thanks dude :happymeat:
MassCraxx  [作者] 2020 年 7 月 8 日 上午 9:20 
I updated the mod and its now compatible to the current Avorion version.
I overwrote all of the mapcommands client code, so I don't expect this to work well with most other mods that manipulate those commands. I may consider a more compatible Crafts Order Lib version once it gets updated.
Drexl 2020 年 7 月 1 日 下午 6:02 
I look forward to the update. This is an excellent mod. Thank you for your hard work! :)
MassCraxx  [作者] 2020 年 6 月 23 日 上午 8:31 
Unfortunately, the updates to the Galaxy Map broke compatibility. I will look into updating it soon.
MassCraxx  [作者] 2020 年 6 月 23 日 上午 7:14 
This mod is not built using the Crafts Order Lib, therefore it is not compatible with it.
Kalshion 2020 年 5 月 27 日 下午 11:27 
Whenever I try to use your mod, it tells me that it isn't compatible with Crafts Order Lib?
MassCraxx  [作者] 2020 年 5 月 18 日 下午 12:00 
Yeah, mb, should be fixed now.
Shrooblord 2020 年 5 月 18 日 上午 4:27 
Hey MassCraxx, just discovered you didn't include the full bugfix. In mapcommands.lua there is also a part that says

local sectorView = player:getKnownSector(x, y)

which also needs the "or alliance" treatment:

local sectorView = player:getKnownSector(x, y) or player.alliance:getKnownSector(x, y)
MassCraxx  [作者] 2020 年 5 月 13 日 上午 7:04 
I somehow deleted my earlier comment.... So I added Shrooblords fixes to this mod, thanks again!

@Shrooblord I feel confident =). I hope this mod will be part of the base game before it looses compatibility, it happened before.
Shrooblord 2020 年 5 月 13 日 上午 6:54 
P.S. RE: dependencies: 1.0.* will work as well, of course. 1.* is maybe a little much going forward
Shrooblord 2020 年 5 月 13 日 上午 6:53 
Removed my port from the WS, consequently. Thanks Craxx!
Shrooblord 2020 年 5 月 12 日 下午 5:00 
@MassCraxx thanks. On my own workshop version I uploaded a bugfix just now where Alliance and Player Ships now behave the same. I was experiencing weird inconsistent and buggy-feeling behaviour. But it's fixed now for my version. Feel free to check it out and see if you want to integrate it into the original.
MassCraxx  [作者] 2020 年 5 月 10 日 下午 4:29 
@Shrooblord Done. Sorry for the inconvenience.
Shrooblord 2020 年 5 月 10 日 上午 9:52 
Hey there! Could you change your dependencies key from


dependencies = {
{id = "Avorion", min = "1.*", max = "1.0"}
},

to


dependencies = {
{id = "Avorion", min = "1.0", max = "1.*"}
},

?

Then it will work as expected. Currently, you cannot play this on the beta branch, because technically 1.0.2 is higher in version than 1.0.
MassCraxx  [作者] 2020 年 3 月 26 日 上午 6:50 
Yes, this will not alter your savegame in any way.
Sindroms 2020 年 3 月 26 日 上午 12:36 
Good day, governor.
Is it safe to assume that this will work on existing saves?
MassCraxx  [作者] 2020 年 3 月 21 日 下午 4:59 
It will now.
@Leet, RyGuy_McFly I think I found a solution your request. Let me know if this works for you.
[S.C.] Worsin 2020 年 3 月 12 日 上午 4:44 
Will this work for 1.0?
MassCraxx  [作者] 2020 年 3 月 9 日 下午 1:07 
@RyGuy_McFly as pointed out by [DPDN] Leet the ships did always prefer jumping over using gates if the destination is in jump range, even with this mod.

I think this behaviour could be easily adjusted though, but is this always preferable?
RyGuy_McFly 2020 年 3 月 3 日 下午 7:57 
At the moment, ships just seem to ignore the gates entirely and attempt hyperspace.
MassCraxx  [作者] 2020 年 2 月 29 日 上午 7:43 
I see. Can you be a little more specific on the difference, or what exactly is not working for you? Is it about wayfinding of the AI? If so, there is not much I can do, since this is being done in the native code which is not easily moddable.

I will have a look after the full release on 8th of March. Until then, lets go the official way and create a bug ticket for Avorion (you can do this in-game), as they are currently heavily fixing stuff.
RyGuy_McFly 2020 年 2 月 28 日 下午 3:12 
I agree with @El_Burro_Diablo, base game seems to not do this, or at least not in the same way, and I can't seem to figure it out...
El_Burro_Diablo 2020 年 2 月 26 日 下午 3:53 
i still think your mod actully works a lot better then the base game update now
MassCraxx  [作者] 2020 年 2 月 16 日 下午 1:27 
Well, the only thing that they dont have in the base game is the wormhole button, but I dont think it adds enough value to the game to maintain a mod for it. Correct me if im wrong. So I guess there is no need for any mod like this anymore.
siremagu 2020 年 2 月 16 日 下午 1:17 
Does that mean that you mod will become completely redundant or do you have other plans for it.
MassCraxx  [作者] 2020 年 2 月 16 日 上午 7:17 
@siremagu Thank you for reporting this. I can happily confirm the mod stops working with 0.32 and that is because this feature is now finally a part of the base game, as it should be!

Thank you all for supporting this mod!
siremagu 2020 年 2 月 15 日 下午 12:33 
I don't think that your mod is working with on the new Beta.
Berkys32 2020 年 2 月 12 日 下午 1:31 
Not 100% sure if its your mod, but somehow my ship is able to follow my commands even without captain (not always, and never through gate thou)
[DPDN] Leet 2020 年 1 月 10 日 上午 6:58 
@MassCraxx Good question, Because when I am trying to jump alot of large vehicles across the universe hitting gates is faster then waiting for jump drives and the fee's are nominal most of the time! Thank's for the reply
MassCraxx  [作者] 2020 年 1 月 8 日 上午 4:57 
@Leet well, I suppose this would be possible, but if the jump range of the ship is sufficient, why not jump instead of using the gate? Saves you the fee.
[DPDN] Leet 2020 年 1 月 7 日 上午 4:42 
any way to force the to use jump gates other then frying their jump drive? or any plans to make it possible?
Baka yellow 2019 年 12 月 26 日 上午 11:04 
@MassCraxx dank yah mate. Far's i know, im taking steps to avoid the ungodly CPU stomp by only making sure my ships move one warp gate at a time, not setting them to go through multiple gates at once.
MassCraxx  [作者] 2019 年 12 月 26 日 上午 9:16 
@Baka will investigate this further. Also, well its a little more than just "activating" commands, but yeah honestly I don't see a reason (yet) why the devs did not just add this in the first place.
Baka yellow 2019 年 12 月 25 日 下午 3:21 
@massCraxx I dunno thinking about it. Far's i know is that when i have like, 2 or 3 ships separately moving to separate sectors using warp gates,the CPU gets hit hard. also excuse me ADDS AI COMMANDS THAT ARE ALREADY PART OF THE BASE GAME? OH COME ON!(that said dank yah for activating those commands still)
MassCraxx  [作者] 2019 年 12 月 23 日 上午 8:05 
@Baka Does this only happen with this mod activated? It should actually not have a high impact on the performance as it simply adds control over AI commands that are already part of the base game. Possibly, these are not very optimized yet, its early access after all.
Baka yellow 2019 年 12 月 21 日 下午 8:09 
Interesting note. Having multiple ships warp into multiple sectors through shift click lags the heck out of my CPU. Any way that can be fixed? Just curious.
Malory Veridia 2019 年 12 月 21 日 上午 8:48 
@MassCraxx I think I figured out the issue. If for any reason your hyperdrive is disabled on the systems power management then your ship will not even move through a gate or wormhole.
MassCraxx  [作者] 2019 年 12 月 21 日 上午 6:33 
@Sylanna I did not observe this behaviour yet. Does it work again if you reload your savegame or is the error persistent once it comes up? Could you please check the ingame console and send me any error you get once it stopped working via PM? You may need to manually bind a hotkey in the settings to open the console.
Malory Veridia 2019 年 12 月 19 日 下午 11:34 
This seems to break after a while. Been using it for a few hours and it just stopped functioning.
Strayloc 2019 年 12 月 8 日 下午 12:07 
Lovely, just lovely.
Seraphin 2019 年 11 月 19 日 下午 2:14 
Nevermind ... I looked up how to add a mod via modconfig.lua to my LAN server. Now it looks like it's working fine. Thank you for this mod. It's a heavy missed feature to be able to send ships through gates remotely on the universe map.
Seraphin 2019 年 11 月 19 日 下午 1:48 
Doesn't work in my LAN game ... do I need to install this mod on the server itself?

The mod is shown on my client in the mod screen of the main menu ... but it's not shown in the mod screen when ingame. Any advice?