Jump to content

[1.1.3] Procedural Parts - Parts the way you want 'em - v1.2.5 July 3


OtherBarry

Recommended Posts

Hey guys, I was hoping someone here might be able to point me in the right direction of a solution (or confirm my suspicion that this cannot currently be resolved) of an issue I've been working on regarding Procedural Parts, Modular Fuel Tanks, and the SETI Rebalance mod.  I first noticed that the three didn't play nice together when I was creating negative weight liquid fuel tanks,  which is cool, but at the time I was not trying to create a TARDIS.  I was able to trace this down to the fact that SETI makes some MM config changes to Procedural Parts, and this was not properly removing the TankContentSwitcher module from the parts when MFT was installed, causing a conflict resulting in bigger-on-the-inside-edness.  Again cool, if you're a time lord.

The easy fix is to modify the SETI config to either ignore the included new config or remove TankContentSwitcher if MFT is installed, which I started to work on but either would negate what the SETI config is doing, which is really just to modify the cost to be in line with the changes the mod makes across the core of the game.  Which leads me to my question:  Is it possible to define the costMultiplier variable outside of the TankContentSwitcher module?  Obviously this cost equation is done outside of the module itself, but I've been unable to find anywhere else that references it.  I'm assuming the calculation occurs within a function in the dll, and it defaults to 1 if not passed an argument to otherwise define it, but I was hoping there may be some other way to set this.  Otherwise, it appears that the three mods are not fully compatible in combination, or for that matter any other use case that involves modifying the costMultiplier as well as providing alternate options for defining tank contents. 

 

Link to comment
Share on other sites

On 11/8/2016 at 3:57 PM, larkvi said:

I recall an earlier update saying that it supported creating hollow structures and toroids--have any of these shapes been developed anywhere that I could try out?

As per 1st post toroidal or shapes with holes are not being considered for development. 

2 hours ago, steddyj said:

Hey guys, I was hoping someone here might be able to point me in the right direction of a solution (or confirm my suspicion that this cannot currently be resolved) of an issue I've been working on regarding Procedural Parts, Modular Fuel Tanks, and the SETI Rebalance mod.  I first noticed that the three didn't play nice together when I was creating negative weight liquid fuel tanks,  which is cool, but at the time I was not trying to create a TARDIS.  I was able to trace this down to the fact that SETI makes some MM config changes to Procedural Parts, and this was not properly removing the TankContentSwitcher module from the parts when MFT was installed, causing a conflict resulting in bigger-on-the-inside-edness.  Again cool, if you're a time lord.

The easy fix is to modify the SETI config to either ignore the included new config or remove TankContentSwitcher if MFT is installed, which I started to work on but either would negate what the SETI config is doing, which is really just to modify the cost to be in line with the changes the mod makes across the core of the game.  Which leads me to my question:  Is it possible to define the costMultiplier variable outside of the TankContentSwitcher module?  Obviously this cost equation is done outside of the module itself, but I've been unable to find anywhere else that references it.  I'm assuming the calculation occurs within a function in the dll, and it defaults to 1 if not passed an argument to otherwise define it, but I was hoping there may be some other way to set this.  Otherwise, it appears that the three mods are not fully compatible in combination, or for that matter any other use case that involves modifying the costMultiplier as well as providing alternate options for defining tank contents. 

 

Honestly i am not a coder so I wouldn't know what to say

Link to comment
Share on other sites

On 11/9/2016 at 2:57 AM, larkvi said:

I recall an earlier update saying that it supported creating hollow structures and toroids--have any of these shapes been developed anywhere that I could try out?

There's only one plugin out there which supports rescaling hollow parts in width and length separately by an awesome guy @allista. The plugin is included in the Hangar mod in the AT_Utils folder, called AnisotropicPartResizer, it was finally separated into a separate plugin in the latest version of the Hangar mod. You can learn how to make a rescaling config by looking at the parts from the Hangar mod. It took me time to wrap my head around it, but I finally made a hollow rescaleable tank that day.

AnisotropicPartResizer also supports cone style reshaping, I didn't dig into that though. The part Universal Adapter from the Hangar mod uses that config.

You can also find and download AT Utils separately via CKAN.

Edited by Enceos
Link to comment
Share on other sites

7 minutes ago, Gleisix said:

When I go into my logs folder I only see Kopernicus, where would I find the log that you need?

  1. The Logs
    These are text files that the game spits out for debugging purposes as it runs; if something broke horribly in-game, there will be something in here about it. You should upload the entire log as a file(i.e. not to pastebin); you can use dropbox or an equivalent host to upload the file. Make sure the entire file gets uploaded; you may have to zip it first, as logs can be very long. Here is where you can find the log:
    • Windows: KSP_win\KSP_Data\output_log.txt (32bit) or KSP_win64\KSP_x64_Data\output_log.txt (64bit)
    • Mac OS X: Open Console, on the left side of the window there is a menu that says 'files'. Scroll down the list and find the Unity drop down, under Unity there will be Player.log ( Files>~/Library/Logs>Unity>Player.log )
    • Linux: ~/.config/unity3d/Squad/Kerbal\ Space\ Program/Player.log
Link to comment
Share on other sites

22 minutes ago, Rafael acevedo said:
  1. The Logs
    These are text files that the game spits out for debugging purposes as it runs; if something broke horribly in-game, there will be something in here about it. You should upload the entire log as a file(i.e. not to pastebin); you can use dropbox or an equivalent host to upload the file. Make sure the entire file gets uploaded; you may have to zip it first, as logs can be very long. Here is where you can find the log:
    • Windows: KSP_win\KSP_Data\output_log.txt (32bit) or KSP_win64\KSP_x64_Data\output_log.txt (64bit)
    • Mac OS X: Open Console, on the left side of the window there is a menu that says 'files'. Scroll down the list and find the Unity drop down, under Unity there will be Player.log ( Files>~/Library/Logs>Unity>Player.log )
    • Linux: ~/.config/unity3d/Squad/Kerbal\ Space\ Program/Player.log

Here you go: https://www.dropbox.com/s/j28xqi3no9gk67b/output_log.txt?dl=0

I appreciate the help!

Link to comment
Share on other sites

11 hours ago, Gleisix said:

I am looking at it, will take me a while, but one of the things you need to do is update mechjeb to Devi version 648 currently you are at 645.

also you gamedata\proceduralparts\plugins\proceduralparts.dll is not loading.  The main cause for this might be that for some reason your procedural parts folder is named proceduralparts-master, it should be only procedural parts. This is throwing the pointers away. My suggestion is to delete your procedural parts folder. And reinstall with a clean copy from github copy the proccedural parts folder as is do not change name. Let me know if this works

Edited by Rafael acevedo
Corrections
Link to comment
Share on other sites

17 hours ago, Rafael acevedo said:

I am looking at it, will take me a while, but one of the things you need to do is update mechjeb to Devi version 648 currently you are at 645.

also you gamedata\proceduralparts\plugins\proceduralparts.dll is not loading.  The main cause for this might be that for some reason your procedural parts folder is named proceduralparts-master, it should be only procedural parts. This is throwing the pointers away. My suggestion is to delete your procedural parts folder. And reinstall with a clean copy from github copy the proccedural parts folder as is do not change name. Let me know if this works

I just updated Mechjeb (Thank you), and downloaded procedural parts 1.2.7 again. For some reason the first time I downloaded it, it was called ProceduralParts-Master and I just assumed that was the correct name. I now have the     "non-master" version and it works! Thanks for helping me fix that, I really appreciate it!

Link to comment
Share on other sites

1 hour ago, Gleisix said:

I just updated Mechjeb (Thank you), and downloaded procedural parts 1.2.7 again. For some reason the first time I downloaded it, it was called ProceduralParts-Master and I just assumed that was the correct name. I now have the     "non-master" version and it works! Thanks for helping me fix that, I really appreciate it!

No problem, enjoy

 

Link to comment
Share on other sites

O~k, i tried this in 1.2.1, well, the menu options are there, they are working for me but, for fuel tanks, if you put the fuel in it and change the dimensions after that, the gui won't reflect the proper amount instantly, you need to start dragging slider for each fuel type and that is when it will update the proper max levels, i think there should be a method call to recalculate these stuff when you use buttons or sliders in gui that would change the volume ?

Link to comment
Share on other sites

So, I downloaded new release 1.2.8, that is dedicated for KSP 1.2.1. And yet, during the loading, pop-up window telling me that Procedural Parts is incompatible with KSP 1.2.1 is still popping up. And, to reiterate myself, I'm not talking about KSP-AVC message, it's some version checker inside of Procedural Parts itself that is making this mistake. ProceduralParts.version file has nothing to do with it.

Link to comment
Share on other sites

7 hours ago, Sol Invictus said:

So, I downloaded new release 1.2.8, that is dedicated for KSP 1.2.1. And yet, during the loading, pop-up window telling me that Procedural Parts is incompatible with KSP 1.2.1 is still popping up. And, to reiterate myself, I'm not talking about KSP-AVC message, it's some version checker inside of Procedural Parts itself that is making this mistake. ProceduralParts.version file has nothing to do with it.

as i mentioned few posts ago, there is a method in the git hub repo that reads the game version and compares it to the hard coded version in the mod up to sub versions. so yeah, if no one change that before recompiling, that error will pop up but the point is that the error is harmless and the mod is working, well, the exception is the bug i reported two posts above ;D

Edited by Jiraiyah
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...