Search the Community
Showing results for tags 'module'.
-
The Great Unofficial Module Manager Help Thread!
SkyFall2489 posted a topic in KSP1 Mods Discussions
IMPORTANT: PAGE UNDER CONSTRUCTION, NOT FINAL Before I begin: 1. This is my own idea, it is in no way official, nor affiliated with any developer of ModuleManager. 2. I thought it would be helpful. 3. No one told me not to. 4. This is for you, @Ooglak Kerman. And all the others who wished to manage their modules, but could not. So, I figured that many KSP players who use a lot of mods may not exactly have the mods just the way the want. Or maybe a budding modder wants to learn some stuff about CFG files. Part 1: What is Module Manager? ModuleManager is a mod created by @ialdabaoth and currently maintained by @sarbian. A large portion of KSP's data are stored in text files with the .cfg extension. This includes resource definitions, part functionality, science flavor text and gains, and much, much, more. Sometimes, a mod may need to change this existing data as well as adding it's own. That is where Module Manager comes in to help. With ModuleManager, the text in CFG files can change what is actually loaded into the game from what is in the other files. For example, Snacks, a life-support mods, adds some life support supplies to all crewed pods using ModuleManager. THIS GUIDE WILL NOT TELL YOU HOW TO INSTALL MODULE MANAGER. Part 2: The Node Structure The CFG files are set up into a hierarchy of nodes. These nodes contain fields, where data is, and other nodes. Let's take a look at the definition of the Liquid Fuel resource. At the top, in caps, we see "RESOURCE_DEFINITION". This is the type of node. As it does not exist within another node, we call it a top-level node. Within it, are some other nodes and fields. First, is the "name" field. This is not what is displayed, it is an internal name. It is very important, however, for selecting that node for later editing. It also has some other functions for things like functionality. You may notice, that in the displayName and abbreviation fields, there is some #autoLOC_<numbers>. This uses the localization system, displaying a different value based on what language is selected for the game. This will be later discussed further. So, we have those fields, but we also have the "RESOURCE_DRAIN_DEFINITION" node, with its own fields inside. There could be other nodes inside that, and you can go on forever. Part 3: Selecting a Node for Editing At the top of the previous example, we saw the line "RESOURCE_DEFINITION". In front of that, we could have put a few thing, and behind it, we could have put a lot more things. If, at the front, we had an "@" character, we could select a RESOURCE_DEFINITION for editing. if we had a "+" character, it would make a copy and let us edit that. the "!" and "-" characters delete the selected node, but you still have to specify a little something. More detail on this later. Finally, the "%" character edits something if it already exists, and if not, creates it. At the back, we could have put some square brackets. Inside those brackets, we could select a name of the specific node to edit, as there are lots of nodes of the same type. The name is the same as the "name" field specified in the initial creation of the node. You can put the "*" character inside the name, and it will represent any number of any characters. So, "abc*" would select "abc1", "abc2", "abcde", but not "ab3". Additionally, the "?" character can be any one random character. If you want to select every part, you can put just the "*" character into the square brackets. After the square brackets, we can put a comma and then a number, or some other selectors. The numbers indicate which node to edit, if the node they are in have multiple with the same name. The selectors are: HAS, NEEDS, FOR, BEFORE, AFTER, FIRST, and FINAL. They will be discussed in more detail later. After each of these words, there is some stuff in square brackets, and then a colon between everything. Here's an example, from the Blueshift thread: Let's look at each line. First, it edits the parts with a specific set of nodes. Curly braces indicate that we are going a level in. Then, we edit a module node with the name "WBIWarpEngine". Again, curly braces. Finally, we edit the warpSpeedSkillMultiplier field to be 0.6. Remember to make sure that each opening curly brace is paired with a closed curly brace. This is one of the most common mistakes! Part 4: Selecting Fields Fields also need to have the selection character at the front, and can have the other selectors or numbers applied to them. Oh, and the number can be the star symbol to select all of them. If there is no number, the first one is used. These go before the new value, like this: @WhatEverThisIs, 3:NEEDS[xyz] = abc Part 5: Other Selectors There are a few things you can put after each selected node or field: 1. HAS HAS will only make the patch apply to parts with some condition. After the word goes a set of square brackets. Inside, you can put: <character><node/fieldType>[<name>]. The character can be @, # or !. If the character is @, then the patch will only run on parts with that node. If the character is !, then the patch will only run on parts without that node. The # character will be covered later, when we get to variables. The node type should be self-explanatory. is it a PART? MODULE? RESOURCE? The name is just the same as the name field when selecting a part. 2. FOR This one's simple, a mod name goes in the box. This lets Module Manager know that the patch is for that mod. 3. NEEDS For this selector, inside the box goes the name of a mod. The patch will only run if that mod is installed. The ! character can be used to make the patch only run if the mod is not installed, and the | character acts like a logical OR gate, so either of two mods can be installed and the patch will run. To determine whether a mod exists: A. if there is a patch, that runs at all, with the FOR selector carrying a name that is the same as what is in the NEEDS box B. Or, if there is a folder in GameData with the name you are looking for. 4-5. BEFORE and AFTER Mod names go in the box. These make the patch run before or after patches with FOR selectors of the mod name. Useful to avoid pouring the drink before getting out a cup, so to speak. 6-7. FIRST and FINAL Simply put, these just make the patches run before or after everything else. No square brackets needed. COMMUNITY UPDATING As it seems others have begun to add things to this, I will quote them here in the OP. Thanks, everyone!- 37 replies
-
- 11
-
- module manager
- modulemanager
-
(and 3 more)
Tagged with:
-
This thread has moved! KEAM has merged with KA-330 to become "Kerbalow Aerospace." Please visit the new thread: Welcome to the release thread for Kerbalow Aerospace's Kerbal Expandable Activity Module As you may have guessed, this is a re-creation of the BEAM module from Bigelow Aerospace. The KEAM module is, at stock scale, 1.25-meters. As such, it will fit with any 1.25-meter docking port you wish to attach to it. The module fits stowed into any 2-meter payload pay by both upper and lower attachment nodes. This is an animated inflating/expanding module. Do NOT attempt inflation/expansion while anything is still attached to the bottom node. The bottom node is only there for payload stowage purposes. I also take no responsibility for any problems with your save games related to this part (there should be none...) Features: 4x Unique Science Experiments Distributed Impact Detection System Deployment Dynamic Sensors Wireless Temperature Sensors Radiation Environment Monitor Kerbal Inventory System Storage Space Compatibility Connected Living Space Compatibility Tweakscale Compatibility KEAM is 100% Dependent upon Textures Unlimited by @Shadowmage Installation: Extract the contents of the GameData folder to your GameData folder. Structure should then read GameData\KEAM Optional Connected Living Space Compatibility Installation: Place the file KEAM-CLS.cfg inside the OptionalConfigs folder into the GameData\KEAM directory Optional Tweakscale Compatibility Installation: Place the file KEAM-tweakscale.cfg inside the OptionalConfigs folder into the GameData\KEAM directory K.E.A.M. is also compatible with Kerbal Inventory System as well as Kerbal Attachment system. Please visit their respective websites to download those add-ons or acquire via CKAN. Download Download A VERY SPECIAL THANK YOU TO: @CobaltWolf, @Nertea, @Shadowmage and all the other devs who continue to be an amazing part of the mod process! KottabosGames YouTube Review of KEAM KEAM is License CC-BY-4.0 https://creativecommons.org/licenses/by/4.0/
- 20 replies
-
- 16
-
Hi everyone, totally out of the blue (like 1 week ago it still worked) I am getting an error message "CKAN.ModuleNotFoundKraken" when trying to start Ckan. I have version 1.24.0. I tried to google for a problem but did not find a solution. Any help to fix this? Are there newer versions of this program? Regards, Chris
-
I would like to know how I should make a MM patch to make some Non RO parts tagged as RO. I tried with this method but It didn't work. The mod (at the moment , I'll do more RO patches in future for other mods) is NEBULA DECALS. Thank you for your help!
-
I started working on a new Module that will allow me to do a hands-off powered descent and mun lander. The module is good at controlling the throttle. However, it is not good at keeping the craft locked on its retrograde! At first, the ship will point almost exactly at the retrograde. However, after several seconds, the craft will stop following the retrograde, and only adjust once the retrograde has drifted very far from the craft's heading. Using SAS, I can click on the hold retrograde icon, and it fixes the problem. This works, but I don't want people to have to mess with their SAS. Here is my code, and I also have a video of a working attempt:
-
I hope someone can help me sort this out. I am running a stockish V1.3 and the only mods are helpers such as kerb-eng, mech jeb etc and visual enhancements. I wanted to upgrade the appearance of the game and it was working fine until I did that. I followed the recommended list of visual upgrades that one of the dev's had on his page. Of course drawing blank on who that was lol. After installing stock visual enhancements with low resolution textures, Distant Object 1.9, Planet Shine, module manager 2.8dll, EVE 1.2.2.1. and scatterer 0.0300. The first issue was the Planetshine is not compatible with V1.3. That was the only warning or error message. When playing the mods all seem to work fine. There is a noticeable visual improvement of course. The problem shows up in the behaviors of any solar panels. They will deploy and track but will never show any charging at all. All solar panels now have this behavior. So to play the game I have to enable unlimited electricity. What I am hoping is that someone knows which part of the mods might be the root cause of this. I would still like to use as much of that list as I can so I haven't just deleted the mod files to "fix". I had noticed a error in the debug when I was enabling the electricity. I think it was talking about an unregistered object.
- 4 replies
-
- 1
-
- solar panel
- sve
-
(and 2 more)
Tagged with:
-
I'm trying to get the ModuleResourceHarvester working for atmospheric CO2, but it doesn't show up on the part menu. Here's the cfg: PART { name = CO2Compressor module = Part author = Chirality mesh = compressor.mu scale = 1 rescaleFactor = 2.1 node_attach = 0.03, 0.0, 0.0, 1.0, 0.0, 0.0, 1 TechRequired = precisionEngineering entryCost = 6400 cost = 20 category = Utility subcategory = 0 title = Surface Mount CO2 Compressor manufacturer = Chirality Technologies description = Filters CO2 out of the atmosphere and compresses it. Fuels CO2 thrusters! attachRules = 0,1,0,0,0 mass = 0.01 dragModelType = default maximum_drag = 0.2 minimum_drag = 0.2 angularDrag = 2 crashTolerance = 7 maxTemp = 2000 bulkheadProfiles = srf MODULE { name = ModuleResourceHarvester HarvestorType = 2 Efficiency = 0.15 ResourceName = CarbonDioxide ConverterName = CO2 Filtration StartActionName = Start Filtering CO2 StopActionName = StopFilteringCO2 AutoShutdown = true UseSpecialistBonus = false INPUT_RESOURCE { ResourceName = ElectricCharge Ratio = 10 } } MODULE { name = ModuleResourceConverter ConverterName = CO2 Compressor StartActionName = Start Compressor StopActionName = Stop Compressor AutoShutdown = true GeneratesHeat = false UseSpecialistBonus = false INPUT_RESOURCE { ResourceName = CarbonDioxide Ratio = 1.0 FlowMode = ALL_VESSEL } INPUT_RESOURCE { ResourceName = ElectricCharge Ratio = 20 } OUTPUT_RESOURCE { ResourceName = LqdCO2 Ratio = 0.1 DumpExcess = true FlowMode = ALL_VESSEL } } } The converter function works (or at least, it shows up). Any ideas?
-
Did a few searches, couldn't find anything on the subject, so here goes,... We all know its possible using the stock game to align parts to the sun, due to solar panels; but does anyone know if it would be possible to align a newly created, pivot-mounted satellite dish to Kerbin, using only ingame stock mechanics/modules? So that when the part loaded, instead of facing the sun like a solar panel, it turned to face the direction of Kerbin.
-
For any planet!* It can very slowly take off on Kerbin. The album. *: Except Jool and Kerbol.
-
Hi, I was wondering if anyone knew which command module robbaz uses in a few of his videos. It is pictured here. This has been bugging me for days now. At first I thought it was B9 aerospace but it doesn't appear in the list of parts. Thanks in advance.
-
Science Parts take too much place? It is hard to collect them all? Don't want to use Heat Sheilds but need them? Need ablator for your shuttles? NO MORE PAIN With this mod you can do science with pods and you can have pods with ablator. Download Link: Curse