peteletroll / dockrotate Goto Github PK
View Code? Open in Web Editor NEWKerbal Space Program lightweight robotics with docking ports
Home Page: https://forum.kerbalspaceprogram.com/index.php?/topic/170484-dockrotate
License: Other
Kerbal Space Program lightweight robotics with docking ports
Home Page: https://forum.kerbalspaceprogram.com/index.php?/topic/170484-dockrotate
License: Other
Hi I'm using KSP 1.6.1 and Dockrotate 1.7.0.37.
When I try to activate the rotation I can this NRE on logs non-stop
[EXC 18:09:45.105] NullReferenceException: Object reference not set to an instance of an object
DockRotate.Extensions.KJRNextCycleAllAutoStrut (.Vessel v)
DockRotate.JointMotionObj.onStart ()
DockRotate.SmoothMotion.advance (Single deltat)
DockRotate.JointMotion.FixedUpdate ()
There are times that one wants to snap or rotate multiple port pairs in a batch from a kOS script (via PAW access) in quick sequence but it appears that struts are disabled/reenabled for each snap operation which on a potato adds minutes to run on a large station.
If a config file setting for the mod could tell DR to delay before reenabling struts to allow yet another snap or rotate request it would be great.
Once the delay has passed without another request occuring reenabling struts would occur as normal. The setting would be the time to delay in decimal seconds.
If I'm approaching this the wrong way and the mod already allows a simpler approach to "batching" snap/rotate operations that doesn't involve action groups please advise me how to do so
BDB has a part using ModuleNodeRotate
, however when KJR is also installed, the node gets reinforcement joints added across it even when the rotation is enabled.
Apparently implementing GameEvents.onRoboticPartLockChanged
in ModuleBaseRotate
should allow KJR to disable it's reinforcing joints automatically when the rotation on a part is enabled.
It may require KSPCF to be installed to work, because it updates that event https://github.com/KSPModdingLibs/KSPCommunityFixes/blob/441f2d7e0ab844cbc3bd86ef2c5410c245f08cb9/KSPCommunityFixes/Modding/DockingPortLockedEvents.cs
This should allow KJR compat with any version of KJR, without having to manually edit the KJR exclusion list.
Hi peteletroll, this is the localized language (Chinese) I provided for this mod.
dictionary-zh-cn.txt
You apparently updated the .version file in Resources/DockRotate.version for an upcoming release, but never released it. So KSP-AVC reports that the mod isn't up-to-date
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.