mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Update README.md
This commit is contained in:
parent
ff8503d420
commit
3f29c5707b
61
README.md
61
README.md
@ -16,25 +16,52 @@ Moon support is coming soon!
|
|||||||
<!-- /TOC -->
|
<!-- /TOC -->
|
||||||
|
|
||||||
## Creating a planet file :
|
## Creating a planet file :
|
||||||
This list will update as more options are added. Structure JSON file like so :
|
This list will update as more options are added. Here is an example of a file :
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
"name" : "Test Planet",
|
"name" : "Gallifrey",
|
||||||
"position" : {
|
"position" : {
|
||||||
"x" : 0,
|
"x" : 0,
|
||||||
"y" : 0,
|
"y" : 0,
|
||||||
"z" : 5000
|
"z" : 10000
|
||||||
},
|
},
|
||||||
"orbitAngle" : 0,
|
"orbitAngle" : 45,
|
||||||
"primaryBody" : "SUN",
|
"primaryBody" : "SUN",
|
||||||
"hasFog" : true,
|
"isMoon" : false,
|
||||||
"fogTint" : {
|
"hasSpawnPoint" : true,
|
||||||
"r" : 255,
|
"hasClouds" : true,
|
||||||
"g" : 100,
|
"topCloudSize" : 650,
|
||||||
"b" : 0,
|
"bottomCloudSize" : 600,
|
||||||
"a" : 128
|
"bottomCloudTint" :
|
||||||
},
|
{
|
||||||
"fogDensity" : 0.5
|
"r" : 255,
|
||||||
|
"g" : 0,
|
||||||
|
"b" : 0,
|
||||||
|
"a" : 128
|
||||||
|
},
|
||||||
|
"topCloudTint" :
|
||||||
|
{
|
||||||
|
"r" : 255,
|
||||||
|
"g" : 0,
|
||||||
|
"b" : 0,
|
||||||
|
"a" : 128
|
||||||
|
},
|
||||||
|
"hasWater" : true,
|
||||||
|
"waterSize" : 401,
|
||||||
|
"hasRain" : true,
|
||||||
|
"hasGravity" : true,
|
||||||
|
"surfaceAcceleration" : 12,
|
||||||
|
"hasMapMarker" : true,
|
||||||
|
"hasFog" : true,
|
||||||
|
"fogTint" :
|
||||||
|
{
|
||||||
|
"r" : 255,
|
||||||
|
"g" : 100,
|
||||||
|
"b" : 0,
|
||||||
|
"a" : 128
|
||||||
|
},
|
||||||
|
"fogDensity" : 0.75,
|
||||||
|
"groundSize" : 400
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
Everything in "Required" is always needed, and so is every tabbed line in an option.
|
Everything in "Required" is always needed, and so is every tabbed line in an option.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user