Fluppi Posted April 2, 2016 Share Posted April 2, 2016 (edited) @gleedadswell It seems like CKAN just updated CustomBarnKit to 1.0.5 which is not working with RO/RP-0 at the moment. I fixed it by downgrading CustomBarnKit to 1.0.4 again https://ksp.sarbian.com/jenkins/job/CustomBarnKit/12/artifact/CustomBarnKit-1.1.4.0.zip Edited April 2, 2016 by Fluppi Quote Link to comment Share on other sites More sharing options...
gleedadswell Posted April 2, 2016 Share Posted April 2, 2016 Quote I'm playing a RP-0 game and it looks like the last update of CustomBarnKit may have broken things. All of a sudden rockets which I've launched before are exceeding mass/size limits of the launch pad. The launch pad is at upgrade level 2 and the mass limit is showing up as 140 t (in RP-0 it should be 800 t.). I reverted to version 1.1.4 of CustomBarnKit and the problem went away. So it looks like something in version 1.1.5 is not getting along with RP-0. Quote Link to comment Share on other sites More sharing options...
talpa Posted April 3, 2016 Share Posted April 3, 2016 8 hours ago, gleedadswell said: I reverted to version 1.1.4 of CustomBarnKit and the problem went away. So it looks like something in version 1.1.5 is not getting along with RP-0. Indeed... I initially just though that the difficulty had just been increased (to the point where it is would be very difficult for me to get small satellites into orbit due to lack funds for upgrades) Quote Link to comment Share on other sites More sharing options...
dewin Posted April 16, 2016 Share Posted April 16, 2016 Hmm, a year ago I posted this idea/mod requests of making KSC upgrades more like a tech tree of sorts: Would this mod make that possible? Quote Link to comment Share on other sites More sharing options...
sarbian Posted April 16, 2016 Author Share Posted April 16, 2016 (edited) This is exactly what this mod does. Here is build 1.1.6 for KSP 1.1 : CustomBarnKit-1.1.6.0.zip Changes : Now let you configure the number of upgrades of each buildings. Allow to set the visual for each level (using the stock visual for now) Warning : the config format changed a bit. So you will have to update your MM patch. The EDITOR section got divided in 4 sections, one for each building. unlockedFuelTransfer moved under RESEARCH, where it should have been from the start. upgradesVisual is where you set up the visual for each upgrades. each number is the visual of the orignal upgrade so you should use numbers between 1 and 3. I do not check the config for consistency. If you configure a building with 5 level then all its config should have 5 values. Edit : I just noticed the inside of the buildings do not change properly. I ll investigate later. Edited April 16, 2016 by sarbian Quote Link to comment Share on other sites More sharing options...
dewin Posted April 17, 2016 Share Posted April 17, 2016 (edited) @sarbian Just poked around at the default config file to get an idea for it. It's close to what I'd want to see as a framework for a mod (and at least establishes that said idea is possible), but not entirely there -- it adds additional levels that I can see, but I don't see any sort of way to do the sort of 'branching' idea I originally had. The ultimate end goal a year ago was to have something akin to KSP's science tree/the talent tree used in MMOs/etc -- where individual parts of a building can be improved independently from each other (but with some "Option X requires both Y and Z"-type things.) -- so you can make smaller incremental upgrades to the things you actually care about rather than upgrading the building as a whole. Maybe I'll eventually teach myself C# and poke at the source and dabble... but UI is my weakness in -any- language so I don't even want to imagine how that'd go. Edited April 17, 2016 by dewin Quote Link to comment Share on other sites More sharing options...
sarbian Posted April 19, 2016 Author Share Posted April 19, 2016 Official for 1.1 with new feature out. See OP for details On 4/17/2016 at 4:35 AM, dewin said: I don't see any sort of way to do the sort of 'branching' idea I originally had. I missed that part. Doable but not sure I will. Quote Link to comment Share on other sites More sharing options...
Gnoyze Posted April 20, 2016 Share Posted April 20, 2016 Does anyone have configs for this yet? I have yet to fully grasp what this does, but does it make it possible that I wont go from being able to use 30 parts to building up to 255 parts in one upgrade? Quote Link to comment Share on other sites More sharing options...
jofwu Posted April 29, 2016 Share Posted April 29, 2016 Anyone if this can be installed mid game? And does it play well with Kerbal Construction Time? I'm interested in Strategia, which depends on this. Quote Link to comment Share on other sites More sharing options...
Drew Kerman Posted April 30, 2016 Share Posted April 30, 2016 On 4/16/2016 at 6:50 PM, sarbian said: Changes : Now let you configure the number of upgrades of each buildings. Allow to set the visual for each level (using the stock visual for now) woah totally missed this update! Huge deal - thanks Sarbian! Quote Link to comment Share on other sites More sharing options...
Kiwa Posted May 1, 2016 Share Posted May 1, 2016 On 20.4.2016 at 7:41 AM, Gnoyze said: Does anyone have configs for this yet? I have yet to fully grasp what this does, but does it make it possible that I wont go from being able to use 30 parts to building up to 255 parts in one upgrade? That should certainly be possible. Maybe this example MM_CustomBarnKit.cfg can help get you started, it adds intermediate levels between each stock stage to unlock the action groups separately, and also shows how to change the part count limits: Spoiler @CUSTOMBARNKIT:Final { @VAB { @levels = 5 @upgradesVisual = 1, 1, 2, 2, 3 @upgrades = 56000, 75000, 150000, 235000, 610000 @actionGroupsStockUnlock = 2 @actionGroupsCustomUnlock = 4 @partCountLimit = 30, 45, 255, 400, -1 } } Quote Link to comment Share on other sites More sharing options...
Honeybadga Posted May 1, 2016 Share Posted May 1, 2016 Hey, I just discovered this gem. Exactly what I was looking for. Would it be possible to split the custom action groups into sections, so that I can for example unlock custom groups 1 through 5 at VAB lvl 2 and 6 through 0 at lvl 3? Quote Link to comment Share on other sites More sharing options...
theonegalen Posted May 3, 2016 Share Posted May 3, 2016 Hello, I would like to report a bug. When CustomBarnKit and Custom Asteroids are both installed, CustomAsteroids loses functionality and no asteroids are spawned, even on a brand new sandbox save. Reproduction: install CustomBarnKit and Custom Asteroids, including Custom Asteroids' config files. Start a new sandbox save. Go to the tracking station. TimeWarp forward, and observe that no unknown objects spawn. Quote Link to comment Share on other sites More sharing options...
gamerscircle Posted May 3, 2016 Share Posted May 3, 2016 I have recently started to use the KSP Add-On Version checker and after upgrading to 1.1.2 of KSP, I get a warning that states, that this mod was built to run on KSP 1.1. I am assuming that since my game runs and I don't see any obvious errors, everything is okay? I do apologize if you have seen this note before in another thread, as I do have a couple of mods I get the warning on and would just like to make sure that I haven't missed an update or anything. I mean no harm and am sorry if I have broken any rules. Thank you for the mod and the support. Quote Link to comment Share on other sites More sharing options...
Starstrider42 Posted May 3, 2016 Share Posted May 3, 2016 12 hours ago, theonegalen said: Hello, I would like to report a bug. When CustomBarnKit and Custom Asteroids are both installed, CustomAsteroids loses functionality and no asteroids are spawned, even on a brand new sandbox save. Reproduction: install CustomBarnKit and Custom Asteroids, including Custom Asteroids' config files. Start a new sandbox save. Go to the tracking station. TimeWarp forward, and observe that no unknown objects spawn. The root cause is that GameVariables.Instance appears to always be null. Sarbian, is there some alternative API we should be using to check facility levels? Quote Link to comment Share on other sites More sharing options...
sarbian Posted May 3, 2016 Author Share Posted May 3, 2016 11 minutes ago, Starstrider42 said: The root cause is that GameVariables.Instance appears to always be null. Sarbian, is there some alternative API we should be using to check facility levels? Uh, what ? The mod would not work at all if it was the case since stock use GameVariables.Instance for all its check. The first thing the mod does is replacing the default instance with the new version. Are you sure the problem is not that you grab the old instance of GameVariables.Instance ? Quote Link to comment Share on other sites More sharing options...
Starstrider42 Posted May 3, 2016 Share Posted May 3, 2016 1 minute ago, sarbian said: Uh, what ? The mod would not work at all if it was the case since stock use GameVariables.Instance for all its check. The first thing the mod does is replacing the default instance with the new version. Are you sure the problem is not that you grab the old instance of GameVariables.Instance ? Pretty sure the reference is up-to-date, since I don't cache it or anything: if (GameVariables.Instance == null) { #if DEBUG Debug.Log("[CustomAsteroids] GameVariables.Instance not found!"); #endif // It probably means the game isn't properly loaded? return false; } This is called periodically as game time advances, so it's not a first-frame-after-scene-change bug or anything like that. Quote Link to comment Share on other sites More sharing options...
sarbian Posted May 3, 2016 Author Share Posted May 3, 2016 Let me rewrite that for you : if ((object)GameVariables.Instance == null) { #if DEBUG Debug.Log("[CustomAsteroids] GameVariables.Instance not found!"); #endif // It probably means the game isn't properly loaded? return false; } Now it returns true. It s a component and I did not attach it to an object so you get the strange behavior of Unity stupid override of equality. I will attach it to an object in the next version so it will be les convulsed. Quote Link to comment Share on other sites More sharing options...
Starstrider42 Posted May 3, 2016 Share Posted May 3, 2016 (edited) 6 minutes ago, sarbian said: Let me rewrite that for you : if ((object)GameVariables.Instance == null) { #if DEBUG Debug.Log("[CustomAsteroids] GameVariables.Instance not found!"); #endif // It probably means the game isn't properly loaded? return false; } Now it returns true. It s a component and I did not attach it to an object so you get the strange behavior of Unity stupid override of equality. I will attach it to an object in the next version so it will be les convulsed. I would never have guessed that casting Instance to a generic object would make a difference (heck, C# is the only language I can think of where it *could* make a difference). Thanks for the help. @Thomas P., I believe the same bug can appear in Kopernicus. Edited May 3, 2016 by Starstrider42 Quote Link to comment Share on other sites More sharing options...
sarbian Posted May 3, 2016 Author Share Posted May 3, 2016 v1.1.8 Internal change to how the mod is initialized to make life easier for other mods. Downloads : CustomBarnKit-1.1.8.0.zip Quote Link to comment Share on other sites More sharing options...
MisterFister Posted May 3, 2016 Share Posted May 3, 2016 I tried reading the OP to gain a better understanding of what this mod does, but I'm still rather unclear. I glanced through a few of the pages of this thread at random, no help. Is there a specific post that explains what this mod does? Quote Link to comment Share on other sites More sharing options...
Nightside Posted May 3, 2016 Share Posted May 3, 2016 (edited) 1 hour ago, MisterFister said: I tried reading the OP to gain a better understanding of what this mod does, but I'm still rather unclear. I glanced through a few of the pages of this thread at random, no help. Is there a specific post that explains what this mod does? Mostly, it lets you (or some other mod) configure the building upgrade progression to your liking. If you know how to make a Module Manager Config, you will be able to use this easily. If you don't, there are lots of examples for how to use that. I use this because I've never liked the huge jumps of part limits at the VAB and SPH in the stock progression so I've set 5 building tiers with more gradual limit increases. I also think the level 1 runway is annoying so I make it very cheap to upgrade. Btw, thank you Sarbian for making this! Edited May 3, 2016 by Nightside say thanks Quote Link to comment Share on other sites More sharing options...
Honeybadga Posted May 3, 2016 Share Posted May 3, 2016 1 hour ago, MisterFister said: I tried reading the OP to gain a better understanding of what this mod does, but I'm still rather unclear. I glanced through a few of the pages of this thread at random, no help. Is there a specific post that explains what this mod does? I dislike how in career mode action groups become available only after spending hundreds of thousands of Kredits for upgrading the VAB and SPH. So, I made a very simple MM config to change that, only to give you a small example: Spoiler @CUSTOMBARNKIT:Final { @VAB { @actionGroupsStockUnlock = 1 @actionGroupsCustomUnlock = 2 } @SPH { @actionGroupsStockUnlock = 1 @actionGroupsCustomUnlock = 2 } } This config makes the basic action groups available at VAB/SPH level 1 and the custom ones at level 2 respectively. Even though I'm a noob when it comes to Module Manager, this works for me. Suggestions for improvement are welcome Quote Link to comment Share on other sites More sharing options...
Venusgate Posted May 4, 2016 Share Posted May 4, 2016 DL link dead? Quote Link to comment Share on other sites More sharing options...
Hairy Al Posted May 11, 2016 Share Posted May 11, 2016 On 04/05/2016 at 5:16 PM, Venusgate said: DL link dead? Worked fine for me Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.