《戴森球计划》Mods
[BetterStarmap] 多种星图功能扩展 multiple star map function expansion
[StellarAutoNavigation] 星际自动航行(在星图界面对目标按左Ctrl设置,按K键或右键盘0键进行导航) Stellar Auto Navigation
[SelectBuild] 框选拆除升级 Frame selection destruct and upgrade
Dyson Sphere Program Mods
《戴森球计划》Mods
[BetterStarmap] 多种星图功能扩展 multiple star map function expansion
[StellarAutoNavigation] 星际自动航行(在星图界面对目标按左Ctrl设置,按K键或右键盘0键进行导航) Stellar Auto Navigation
[SelectBuild] 框选拆除升级 Frame selection destruct and upgrade
准确来讲,导航没失效,标记恒星的功能失效了,SetPin函数和新版本游戏自带的冲突了。
@jimmieclark3 Because the lastDist in class SailMode_AutoNavigate is static, does this mean the auto stop feature will use two wrappers
in some cases when lastDist is small (after the most recent navigation) and the cdist is large (e.g., galaxy navigation)?
[HarmonyPatch(typeof(PlayerMove_Sail), "GameTick")]
private class SailMode_AutoNavigate
{
private static VectorLF3 oTargetURot;
private static double? lastDist;
private static void Prefix(PlayerMove_Sail __instance)
{
if (!s_NavigateInstance.enable)
return;
if (!__instance.player.sailing && !__instance.player.warping)
return;
++__instance.controller.input0.y;
//oTargetURot = __instance.sailPoser.targetURot;
oTargetURot = __instance.controller.fwdRayUDir;
if (__instance.player.warping)
{
var cdist = s_NavigateInstance.target.GetDistance(__instance.player);
if (lastDist != null)
{
if (lastDist < cdist)
{
ModDebug.Trace($"Dropping out of warp, passed target - ld:{lastDist} cd:{cdist}");
//We passed the target, drop out of warp, retarget
AutoStellarNavigation.Warp.TryLeaveWarp(__instance, false);
}
}
lastDist = cdist;
}
if (s_NavigateInstance.IsCurNavStar)
s_NavigateInstance.StarNavigation(__instance);
else if (s_NavigateInstance.IsCurNavPlanet)
s_NavigateInstance.PlanetNavigation(__instance);
}
I think the issue comes with GalacticScale, but I'm not sure. Basically, since I installed this mod (along with a few others), autopilot won't leave the planet. I have to get in space manually.
(谷歌翻译 :我认为问题出在 GalacticScale 上,但我不确定。 基本上,自从我安装了这个模块(连同其他几个模块),自动驾驶仪不会离开这个星球。 我必须手动进入太空。)
Love this mod! It's pretty much the most amazing thing. Can you please put in an English translation, or post the uncompiled code into the repo and I can try taking a stab at it.
Thank you!
@jimmieclark3 Hello, do you have any plans to develop the auto navigation function to hive or tinder recently?
不知道是和其他mod不兼容还是没调试好
The mod requires a recompile to run with the latest patch.
It would be interesting to let select planet with Quickkeys :
(Filename: D:\unity\Runtime/Export/Debug.bindings.h Line: 45)
MissingFieldException: Field 'PlayerNavigation.indicatorAstroId' not found.
at UIStarmap.OnCursorFunction3Click (System.Int32 obj) [0x00005] in <223ad7a8c9634815903ae66b31e1f398>:0
at UIButton.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00040] in <223ad7a8c9634815903ae66b31e1f398>:0
at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00008] in <32bd6c8a2dd3414ca080d595da90bbab>:0
at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction1[T1] functor) [0x00070] in <32bd6c8a2dd3414ca080d595da90bbab>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction
1)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent()
UnityEngine.EventSystems.StandaloneInputModule:Process()
UnityEngine.EventSystems.EventSystem:Update()
(Filename: <223ad7a8c9634815903ae66b31e1f398> Line: 0)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.