Modifying existing IVAs - kurgut/KSP-IVA-modding-Guide GitHub Wiki
To modify an existing IVA, and by that I mean adding, removing props, or their layout in the internal model, you need to import the internal in the Unity Editor via Part Tools, make your edits, and export it. All the steps are detailed below.
-->If you didn't do it already, you will first need to have the Unity editor set up for KSP --> Unity editor setup for KSP
- Spawn the IVA you want to modify. For this example guide, we will choose the
mk1pod_IVA
, the internal for the Mk1 Command Pod - Note that the props and spaces listed in Part Tools window are displayed following the folder hierarchy, and in alphabetical order
to come
Once you're done with your changes, or if you want to check how it looks in KSP after some edits, you need to :
- Select the Internal top parent object in the Hierarchy, in our case
mk1pod_IVA
- In the Inspector, click "Save to Config"
- This will save the internal.cfg to the specificed Directory ("DIR URL"). So it will be in
"UNITYGameData"/Squad/Spaces/mk1pod_IVA/mk1pod_Internal.cfg
- the "Config Name" field changes the file name
- the "Space Name" field changes the internal space name.
- You can then copy the exported cfg from the "UNITYGamedata" to your normal KSP installation and test your changes
- Better KSP Part Tools for IVA modding : https://forum.kerbalspaceprogram.com/topic/208525-starilex-nightstar-better-ksparttools-for-ivas/
- Unity Align Tool : https://github.com/litefeel/Unity-AlignTools
[to come maybe : cfg and MM patching to not overwrite stuff]