Jump to content

Modding in Ksp ( Planets )


TheBlackDwarf

Recommended Posts

if you would like a voiced video by me here it is : https://www.youtube.com/watch?v=Fh1HcIOlfvg&feature=youtu.be

This Thread will teach you how to make your own planets with Planet Factory and soon Korpernicus once i figure out how that mod works but for now lets work with planet factory

OK lets start with the base code

making ksp know where and what your planet is

if you are makeing a star with a system


System{
enabled=true
//1
//2
planetName= (Name of star or planet )
}#do_not_exicute ( Code_disabled_ )run dsm,Thumb.dll

ok after you got that in lets start with a planet

step 1 : pick your planets name and textures ( i recomend space engine to get them )

How to export textures from space engine

1. Press ( esc ) on your keybord

10904454_630423810419251_5851775565350237187_o.jpg

Then Press Editor

then go to export planet

10712687_630423877085911_3335931647583761593_o.jpg

Ok now after you chose your choices go to where your Space engine is located

usauly in ProgramFilesx86 then go to exported

and there is your planet textures

now move them to your Planets folder you made for your ksp planet

and name the png's (name)_map, (name)_bump

if they are not aready now lets go back to a new cfg

make a cfg with your first planet name (name).cfg

and open it and type this code in ,


PFBody
{
name=(Name)
templateName=(template )
flightGlobalsIndex=752
clearPQS=true
}

CelestialBody
{
bodyDescription= ( description of your planet )
GeeASL=0.36
//Radius=152000
rotates=True
rotationPeriod=4040
initialRotation=180
tidallyLocked=False
atmosphereContainsOxygen=True
}

Orbit
{
inclination = 0.15
eccentricity = 0.03
semiMajorAxis = 1009000779
LAN = 2
argumentOfPeriapsis = 0
meanAnomalyAtEpoch = 0
epoch = 0
referenceBody = ( name of star ) egxample ( Sun )
}
ScaledExport
{
templateName=Kerbin
mapWidth=2048
maxHeight=10000
hasOcean=True
oceanHeight=2.0
exportBin=True
removeAlpha=False
}

PQS
{
//radius=100000
minLevel=1
maxLevel=10
}
PQSMod_PFOffset
{
modEnabled=True
offset=500
order=5
}

PQSMod_VertexHeightMap
{
modEnabled=True
//order=160
heightMap=(name)_bump.png
heightMapDeformity=900
heightMapOffset=0
scaleDeformityByRadius=True
}
PQSMod_VertexColorMap
{
modEnabled=True
//order=150
vertexColorMap=(name)_map.png
}

ok where it says (templateName=) pick of the default names from ksp's planets besides the sun

and the textures ( (name)_bump ) just put the name of your planet instead of (name) and now if you put the files all into one folder with your systems name and put it into PlanetFactory/PluginData/

then load your game the planets you made should be there

oh also the file with the system planet list should be instead of a cfg file it has to be a ( .system ) file and thats how you make a planet with ksp Planet factory hope you enjoy and happy createing!

If you want a video toutorial go to one of my freinds youtube channale ( he quit with youtube but he still has some good toutorials on his channle )

Gavin: https://www.youtube.com/channel/UCscvXAzRTxunPpmrKIa_mKA

his toutorial :

some other people who helped me with the planets and codeing

SuperNova: https://www.youtube.com/channel/UCjIraZFqHz0O1ssNRdOPGRA

Kcreator ( the one who provided the plugin that i used for the rings in my other mod : https://www.youtube.com/channel/UCG8vFsP0n-Wd2HvgVgphuPA

My Mods

https://kerbalstuff.com/profile/TheBlackDwarf

Thank you for reading this toutorial a new toutorial will come out when i figure out korpernicus

>TheBlackDwarf

Edited by TheBlackDwarf
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...