-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Suggestion] Valkyrien Skies 2 Support #25
Comments
As someone whos made a VS addon, and so knows its api's decently, I'm intrigued by the idea of adding this through a PR eventually, however I don't know much about MB2s code (or the mod in general for that matter). If I wanted to add a "apply force to ship" and "is on ship" function to the machine events graph nodes (idk what to call them), how would I go about doing that? And where should I look in the source for similar things to take from? Only if your ok with me trying out at adding VS support, if you want to do it yourself or don't want it at all that's fine too, I just thought it could be something fun and cool for me to do as a project. |
I'm glad you can provide help. I have no idea about this mod, because I havn't played the VS yet. As your features, it should be something like this. @LDLRegister(name = "apply force", group = "graph_processor.node.mbd2.machine.valkyrienskies", modID = "valkyrienskies")
public class EmitPhotonFXNode extends LinearTriggerNode {
@InputPort
public MBDMachine machine;
// ......
@Override
protected void process() {
if (machine != null) {
// do your logic here
}
}
} |
I dont really know anything about java programming so i have no idea how hard this is but it would be extremely useful if Eureka engine power was also supported directly (Eureka is an addon for Valkyrien Skies that adds easy to use ship parts) Example of a mod that adds compat for create rotation to increase the engine power of a ship: |
Wait so you mean compat with eureka, to increase the power of its engines and stuff? I mean, it's theoretically possible, I'm just not sure why that would be super useful for a custom machine/multiblock |
The use of that is that you could make a single powerful multiblock engine instead of having 99 of the eureka furnace like engines. Or a sail multiblock that speeds up the ship like an engine. And control them through the existing ship helm systen in eureka (also has cruise control). Also the built in stabilisation of Eureka ships doesnt like "external" forces when turning. But simply applying a force (going forwards or backwards) as you wanted to implement would probably work too (as long as its not applying any torque to the ship). PS (It would be useful in general to be able to mimic all functional blocks of Eureka but i think being able to make your ship faster is the most important one. Beggars can't be choosers :P) |
As far as i know valkyrien skies provides functions for other mods interacting with ships.
For example a really useful feature would be to make machines that only function as part of a ship.
The text was updated successfully, but these errors were encountered: