Here https://forums.ahwoo.com/threads/blender-exporter.494/ I posted an initial implementation to handle engines and thruster in blender.
If I get feedback from the part creaters, I will improve it.
Hi,
I'm working on a blender plugin that creates the required XML files for parts.
You can add thrusters and engines and specify the required parameters in the Parameter editor.
Under Export you then find KSA xml which creates an xml file.
The source code you can find here...
I'm currently trying to create a custom empty for thrusters and engines that directly have the relevant properties for ksa. I will share it when I got a working prototype. It will be basically the same but hopefully a bit more elegant.
I found the XMLs defining the rockets with the subparts and engine/thuster settings.
How would this be nice to be implemented in blender from a "user" point of view? All the parts have many properties like specific impulse, on which input they are bound etc.
My initial idea would be to add...
Each rocket has a defined minimum throttle value (5% for the stock ones). I think they added this for realism, since you also can not run a rocket engine with to low thrust.
Here https://forums.ahwoo.com/threads/kittenremotecontrol.463/ I created a thread where I put my first implementation. (Then this thread can be more hardware-related as it was intended in the beginning...)
I created a simple mod allowing external access to some game features, aiming for developing custom harware.
Currently I use a simple socket connection to send/get data from/to the game.
You find the source code of the mod here: https://github.com/MarcusZuber/KittenRemoteControl . Under mod...
After some experimenting it converges to a (primitive) rest api for the most common parameters. Hopefully, I can share a first implementation in the (European) evening including a small python client.
I followed this https://forums.ahwoo.com/threads/how-to-use-starmap-mod-loader.398/ and then I accessed the KSA.Program class. I will share it when I cleaned it up a bit. (And my son is currently blocking my PC playing ksp...)
I was just looking into kspico and I think for the beginning I could implement an ugly network communication and patch the server of kspico accordingly. Later I will look for a more elegant solution.
First milestone reached! I was able to control the throttle from the "outside"! I will think how to structure the whole mod and see if I find some spare time soon.