Difference between revisions of "Tutorial:Changing Part Configuration Files"
Mnethercutt (talk | contribs) (ADded some stuff, little fixes.) |
Mnethercutt (talk | contribs) m |
||
Line 8: | Line 8: | ||
'''As with any computer program, editing the files comes with the inherent risk that you could damage the program. The actions described in this tutorial SHOULD not damage your game, but problems can happen. By continuing on you signify that you accept the risks involved in this undertaking. Should your game malfunction, a full re-download may be required to fix the game.''' | '''As with any computer program, editing the files comes with the inherent risk that you could damage the program. The actions described in this tutorial SHOULD not damage your game, but problems can happen. By continuing on you signify that you accept the risks involved in this undertaking. Should your game malfunction, a full re-download may be required to fix the game.''' | ||
− | + | =Step 1: Locating the CFG files on a windows computer= | |
*By default, the file should be in your Downloads folder. If it isn't there, then you moved it. Preform a search of your computer for "KSP". | *By default, the file should be in your Downloads folder. If it isn't there, then you moved it. Preform a search of your computer for "KSP". | ||
*When you find the folder, open KSP. There will be another subfolder with the version. Open that. | *When you find the folder, open KSP. There will be another subfolder with the version. Open that. |
Revision as of 21:59, 6 May 2014
Contents
Introduction
This tutorial will explain how to change your part.CFG files to edit certain parts. This tutorial does NOT explain how to edit the actual part appearances. This tutorial assumes you are using KSP with the ARM patch. The main topics covered here will be:
- Finding the file(s) on windows or mac.
- Changing the name or description of the part.
- Changing the amount of fuel, etc. and the issues associated with that.
WARNING
As with any computer program, editing the files comes with the inherent risk that you could damage the program. The actions described in this tutorial SHOULD not damage your game, but problems can happen. By continuing on you signify that you accept the risks involved in this undertaking. Should your game malfunction, a full re-download may be required to fix the game.
Step 1: Locating the CFG files on a windows computer
- By default, the file should be in your Downloads folder. If it isn't there, then you moved it. Preform a search of your computer for "KSP".
- When you find the folder, open KSP. There will be another subfolder with the version. Open that.
- Now, find the folder called "GameData".
- Open "GameData".
- From here you will find two other folders. The "NASAmission" folder, and the "Squad" folder. The "NASAmission" folder contains all the parts created by NASA in the most recent update. The "Squad" folder contains all the parts found in every KSP update before this. We will open the "Squad" folder.
- From here, you will find the folders containing just about every object in the game. Since we are editing parts, open the "Parts" folder (obviously; KSP is very mod friendly).
- From there, you will find more folders, each one representing a tab in the Vehicle Assembly building. For this tutorial, we are going to edit an engine! So, open the "Engine" folder.
- Now you will see a folder for EVERY engine in the game, except for the new ones added in the ARM patch because they are in the NASAmission folder. Lets edit the Skipper engine.
- Open the "engineLargeSkipper" folder. You will find all the files associated with that engine.
- Now, the only file we are interested in is the part.cfg. All the other files are for the actual model, what we see when we grab it in the VAB.
- So, right click on the "part.cfg" file.
- Click open with…and open it with notepad.
Step 1: Locating the CFG file on a mac.
- Find your "KSP.osx" folder and open it. Inside you are gonna see many, many items/folders. We are only concerned with the folder named "Gamedata"
- Open "Gamedata". Inside you will see two folders. One is called "NASAmission". This folder contains all the stuff found in the ARM update from NASA. We are only interested in the "Squad" folder. It contains all the parts made by squad.
- Open "Squad". When you do this, you'll see many folders. These folders contain all the objects in the game. For right now, we are only interested in parts, so find the Parts folder.
- Open the "Parts" folder. From there, you will find more folders, each one representing a tab in the Vehicle Assembly building. For this tutorial, we are going to edit an engine!
- Open the "Engine" folder. Now you will see a folder for EVERY engine in the game, except for the new ones added in the ARM patch because they are in the NASAmission folder. Lets edit the Skipper engine.
- Open enginelargeSkipper. Now, the only file we are interested in is the part.cfg. All the other files are for the actual model, what we see when we grab it in the VAB.
- Right click on Part.cfg and open it with notepad.
Step 2: Editing the files.
The following instructions work for both Windows and Mac.
- Upon opening Part.CFG, you will see many confusing things written. Don't mess with the first things. Scroll down to the sub-tab "editor parameters".
- Now lets see what each thing does.
Tech Required.
In the CFG file, it is specifically called TechRequired. From here you can edit the name of the tech that you have to research in the R&D facility. Make sure you spell the name of the tech you want it to be correctly or the part will not appear or be usable in career mode.
Entry Cost
In the CFG file, it is specifically called "entryCost". Currently, this holds no purpose unless you load an old save file from a previous version. Even then, it holds no purpose. Change it if you want. Assumably, it will be the cost to research the part once money is added to career mode.
Cost
Obviously, its the cost of the part. As there is no monetary system in KSP right now, there is no need to edit this file. Still, if you want to, go ahead.
Category
This is the category the part appears under in the VAB or SPH. You can change this to any of the tabs in the buildings, but be careful to spell it correctly, or the part won't appear at all!
subcategory
Not sure what this is. I advise not messing with it.
Name
Called, "title" in the CFG file, here you can edit the name of the part. Pretty simple.
Description
Here, you can edit the parts description. Pretty straightforward.
Moving on
Now, proceed further down in the file and locate the "Standard part parameters tab". From here you can edit the basic physics of the part, from its size to its crash tolerance. Each one is a numerical value that is unlimited.
Moving on more
Below that you will find the actual fuel and thrust for the part. These are spread out throughout the file and you will need to read through to find them. You can edit the minimum thrust or the maximum thrust. You can also edit just about anything related to how the part behaves in the game.
Finishing up
When you are done, save your work and open up KSP. See if your changes worked. If the game messes up, you did something wrong so restart. Here's just a couple things to make note of:
- If you change the engines thrust, it will burn more fuel. So, if you change the thrust to an insane amount like 100000000000000, you will run out of fuel in about a millisecond. Just a word of advice.
- Messing with stuff that was not covered in this tutorial is not recommended, as the author(s) have not experimented with them. If you do encounter any problems, re-downloading the game will fix them.
- It is recommended that you always have a backup of the file you are editing so that you can quickly fix problems without having to re-download.
Thanks for reading, and happy editing!