Jump to content

Ailex

Members
  • Posts

    5
  • Joined

  • Last visited

Reputation

6 Neutral

Recent Profile Visitors

691 profile views
  1. Nightstar II A Starliex product "Guiding you through IVA even when it's dark" Hello fellow kerbounats! It is not a secret that making IVAs for KSP is not the easiest thing to do, and that's why I founded Starliex Coproration and developed a plugin used to make the life of those who chose to dedicate their time to bring us awesome new IVAs much easier. As of right now, one of the biggest problems is that even with the Official KSPartTools IVAs are somewhat broken, I've decided to address the following problems: Props have the wrong values: When an IVA is spawned in Unity through the KSPartTools, the props used in the IVA have wrong values for Position, Rotation and Scale, this makes practially impossible editing an already made IVA, both stock and modded a like. It is also a big problem if for some reason while working on a IVA the original Unity project is lost and now to keep working on the IVA it's necessary to spawn it with the official Part Tools and welp, now the values are all messed up (that actually happened to me, rip) The textures don't work on the editor: The DDS file format used by KSP is not used by Unity to map the texture on the model, which makes all models appear white with no texture. The prop spawner can be tedius: While it's neat and convenient, once there are a lot of props (like RPM and ASET) searching for a specific prop becomes tedius and time consuming, especially because they are not fully ordered alphabetically, so looking for the right prop takes a lot of unecessary time, in addition it's also not possible to search by name, which again would make the IVA making process much easeir. While I intend to resole all of these problems, I will do it step by step with the Nightstar Project, so far it has 3 different releases, which will be posted on this forum once i finish developing them. We're currently at release 2 ! Download It's avaliable from my gitlab https://gitlab.com/Ailex-/starilex-nightstar Installation A working unity project with KSPartTools is required, i'm too lazy to write another guide here, but it can be found at the Official KSPartTools thread. The first step is to download the zip file, then copy the Starliex Nightstar folder inside the Asset\Plugins\ directory of the Unity project. Once it's installed you should have on the top a Starliex button like so: Utilization Coordinate Recalculator (also IVA Textures) - This tool allows to have working IVA textures for the capsules in Unity, it also recalculates the coordinate of every prop and place them in the correct position. Set up the GameData directory with the official KSPartTools Select the IVA model (not the props!) Click Calculate to get working textures (You will have to then delete and respawn the IVA) Click Calculate Coordinates to snap every prop in the correct place Prop Tools Spawn the window by clicking on the Starilex menu at the top Spawn a Prop from the KSPartTools Select the Prop You can now copy and paste the position, rotation and scale between props, when the plugin is loaded the default values for all of those is 0. To use the Open Config feature you need to specify the GameData diretctory with the official Part Tools, otherwise it will not work. License AGPL ███
  2. @JPLRepo Whops, sorry didn't meant to break the T&Cs,. Thanks for the tip, I will file a bug report then.
  3. @Shadowmage Yup, correct when my GameData dir is set to KSP's GameData I can spawn IVAs, and I also found out that indeed when I use moardv props they work just fine, both models and textures. Since I am planning to make only custom IVAs for stock parts, can't I use the broken model just as reference to put the modded props, since the config file that generates (as far as I know) tells KSP that there is a module X placed at location X,Y,Z with X,Y,Z rotation, then I should just remove the stock configs and it should work. But again looking more at the broken KSP IVA I see that it doesnt load the stock props where it should, no knobs or switches inside the iva, they are all loaded outside and they are are also incorrectly scaled (they are way too gigantic). At this point I'm thinking of : ◄ 1 ~ Reverse enginnearing KSP Part Tools with Ghidra ► ◄ 2 ~ Wait for a fix / don't mod anymore ► In all honestly I should be able to reverse it, given enaugh time, since I am a programmer but that is really, really painful. Maybe I could also try to load a custom IVA from like moardv+ wich includes modded stock ivas and start working from there but I am afraid that part tools will still break it. Welp, still thanks a lot for wasting some of your time on this topic
  4. @Shadowmage Thanks for the reply, I am not 100% sure on what the error actually is, however after some research I read that Unity doesn't/will not support DDS images, wich is werid since KSP still uses DDS, I have to admit that some threads say that modders should convert to another format (sorry can't find these threads back :[ ) wich kinda makes sense because the Unity console says that Texture 'texture path' not found!, and these textures are indeed DDS, and that made me think that maybe I picked the wrong unity version, but accordingly to the Official KSP Changelog KSP updated to Unity 2019.2.2f1 since KSP 1.8. https://wiki.kerbalspaceprogram.com/wiki/Version_history So maybe am I missing some kind of Unity plugin? I always used Unreal Engine 4/Godot so I have zero knowladge of Unity. I tried to put the Part Tools data to point at the KSP folder itself, but now I have another type of problem. Any Ideas? https://ibb.co/cLxnz7M Edit: Missclicked the save button
  5. Hello there! I am new on the ksp forum, i've been playing ksp for a long time now and wanted to make some IVAs using rpm and moardv. I looked up on google and on the ksp forum and using this thread I found out that I have to use Unity 2019.2.2f1 and KSP Part Tools. ◄ I install Unity 2019.2.2f1 from unity's site► ◄ I deleted and installed a fresh KSP copy from steam so to not havy any issues ► ◄ I opened Unity and installed the part tools ► ◄ I removed TextMesh Pro that came pre-installed with Unity, and followed the thread ► ◄ I opened the KSP part tool window in unity and I set up the GameData folder to the GameData folder of the fresh KSP install ► ◄ I spawn a cupolaInternal IVA and this happens► https://ibb.co/5Y1PHvy ▲ Unity Viewport is bugged with incorrect shaders and textures https://ibb.co/jz0VV2W ▲ The errors that Unity gives me about missing models/textures I've alredy spent some days looking for some doumentation but all I could find was little to nothing, I hope that I was clear with the problem. Thanks in advance !
×
×
  • Create New...