Jump to content

[WIP] PlanetMaker mod


Guest

Recommended Posts

All the planet making mods seem very unstable, so why not try to make another one?! This is the kind of API I'll use.

Example Planet:


name = ExamplePlanet
description = blah
radius = 500000
atmosphere = true {
temperatureCurve = 0 12,50000 -272
pressureCurve = 0 0.8,50000 0
oxygen = true
}
customModel = false
heightmap = true {
path = ExamplePlanet_Heightmap.png
altitudeCurve = 000000 -10000,ffffff 10000
}
orbit {
colour = ffffff
periapsis = 1244375875
apoapsis = 1937372828
inclination = 3
orbits = Sun
}
textures = true {
path = ExamplePlanet_Textures.png

}
ocean = true {
altitude = 0
colorTint = [COLOR=#000000][FONT=sans-serif]00FF00[/FONT][/COLOR]
}
normal = true {
tint = [COLOR=#000000][FONT=sans-serif]00FF00
[/FONT][/COLOR] path = ExamplePlanet_Normal.png
}

Maybe to parse it i'll use:


if (prefix == "ocean = ") {
if (input == "true){
Celestial.ocean = true
else
if (input == "false") {
Celestial.ocean = false
else
Log.print(time + ": Ocean parameter not correct")
}
}
}

Anyway, can I have a bit of help making it?

Link to comment
Share on other sites

The stability isnt necessarily caused or influenced by the code.

- - - Updated - - -

I dont know how to put it, but if you meddle with kind of hard coded stuff its likely to break RAM uaage or whatever. Nevertheless, give it a try :)

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...