punyverse/punyverse/world.json
2013-10-27 17:32:17 -04:00

126 lines
3.3 KiB
JSON

{
"comments": {
"au": "greatly shrunk so planets can actually be seen",
"tick": "real world second per game tick",
"length": "kilometre per world units for satellite distance and planetary radius",
"radius": "note that radius is equatorial, flattening will be implemented later",
"distance": "virtual distance to look better, in km",
"sma": "semi-major axis used with mass of parent to calculate orbit, in km",
"mass": "mass in kg",
"texture": "a group of texture to use, tried in that order. a list means a colour",
"model": "used to load a wavefront object instead of a textured sphere"
},
"au": 10000,
"tick": 432,
"length": 63.7,
"bodies": {
"earth": {
"texture": ["earth.jpg", "earth_medium.jpg", "earth_small.jpg", [0, 0.28, 1, 1]],
"radius": 6378.1,
"z": "AU",
"pitch": -90,
"yaw": 23.4,
"roll": -90,
"mass": 5.97219e+24,
"atmosphere": {
"cloud_texture": "cloudmap.png",
"diffuse_texture": "atmosphere_earth.png",
"diffuse_size": 30
},
"satellites": {
"moon": {
"texture": ["moon.jpg", "moon_medium.jpg", "moon_small.jpg", [0.53, 0.53, 0.53, 1]],
"radius": 1738.14,
"distance": 38439,
"sma": 384399,
"eccentricity": 0.0549,
"inclination": 5.145,
"pitch": -90,
"yaw": 6.68
},
"iss": {
"model": "satellites/iss.obj",
"inclination": 51.65,
"distance": 6800,
"scale": 5
}
}
},
"mars": {
"texture": ["mars.jpg", "mars_small.jpg", "mars_medium.jpg", [0.85, 0.47, 0.2, 1]],
"radius": 3396.2,
"z": "1.524 * AU",
"pitch": -90,
"yaw": 25.19,
"mass": 6.4185e+23,
"satellites": {
"phobos": {
"distance": 9377,
"inclination": 26.04,
"eccentricity": 0.0151,
"model": "satellites/phobos.obj"
}
}
},
"jupiter": {
"texture": ["jupiter.jpg", "jupiter_medium.jpg", "jupiter_small.jpg", [0.65, 0.36, 0.19, 1]],
"radius": 71492,
"mass": 1.8986e+27,
"z": "5.2 * AU",
"pitch": -90,
"yaw": 3.13
},
"saturn": {
"texture": ["saturn.jpg", "saturn_medium.jpg", "saturn_small.jpg", [0.9, 0.8, 0.64, 1]],
"radius": 60268,
"mass": 5.6846e+26,
"z": "9.58 * AU",
"pitch": -90,
"yaw": 26.73,
"ring": {
"texture": "ring_saturn.png",
"distance": 1169,
"size": 2247
}
},
"uranus": {
"texture": ["uranus.jpg", [0, 0.53, 0.84, 1]],
"radius": 25559,
"mass": 8.6810e+25,
"z": "19.23 * AU",
"pitch": -90,
"yaw": 97.77,
"ring": {
"texture": "ring_uranus.png",
"pitch": 0,
"yaw": 0,
"roll": 90,
"distance": 421,
"size": 781
}
},
"neptune": {
"texture": ["neptune.jpg", [0.31, 0.49, 0.59, 1]],
"radius": 24764,
"mass": 1.0243e+26,
"z": "30.5 * AU",
"pitch": -90,
"yaw": 28.32
},
"sky": {
"texture": "sky.jpg",
"optional": true,
"lighting": false,
"radius": 190000,
"pitch": 90,
"yaw": 30,
"roll": 180,
"delta": 0,
"background": true
}
},
"start": {
"z": "AU - 400",
"yaw": 180
}
}