That is because I didn't include the assets for empty_space in the generator, the example is actually for my x3 galaxy TC
viewtopic.php?f=181&t=408787#p4808134
I've updated the OP with a warning about this behavior
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
That is because I didn't include the assets for empty_space in the generator, the example is actually for my x3 galaxy TC
The clusters have a belts property you can use as this:
Code: Select all
"clusters": [
{
"id": "01",
"name": "Argon Prime",
"description": "Argon Prime",
"music": "music_cluster_02",
"sunlight": "1",
"economy": "0.75",
"security": "0.75",
"x": 0,
"y": 0,
"backdrop": "empty_space",
"factionHq": "ARGON",
"factionStart": {
"faction": "ARGON",
"name": "The Argon Saga",
"playerName": "Vel Driar",
"description": "The Argon Federation is a proud place to call home: the center of culture, science and learning in the universe. This pride is born of a long and storied history; of a bold and daring risk to lure the greatest threat the universe has known away from Earth and a sacrifice to save a home they would never return to. The Argon people were forced to began anew in a place unfamiliar to them and have thrived since. Do you have what it takes to continue this saga?"
},
"connections": [
{
"targetClusterId": "03",
"connectionType": "SE"
},
{
"targetClusterId": "05",
"connectionType": "S"
}
],
"stations": [
{"type": "SHIPYARD", "race": "ARGON", "owner": "ARGON", "faction": "ARGON"},
{"type": "WHARF", "race": "ARGON", "owner": "ARGON", "faction": "ARGON"},
{"type": "DEFENCE", "race": "ARGON", "owner": "ARGON", "faction": "ARGON"}
],
"belts": [
{"type": "ORE", "x": "-100000", "y": "100000", "rotation": "250"},
]
},
If you look on the top of the json file you'll noticebalogt wrote: ↑Mon, 24. Dec 18, 00:04cell you said that code will disable random belt placement in the cluster, is there by any chance some code already in place that randomly generates asteroids in sectors upon creation of the universe. cause all I would need to do is UP that number and occurance then poof tons of asteroids all the time.
Code: Select all
"seed": "20051028",
"minRandomBelts": 3,
"maxRandomBelts" : 5,
In standard JSON format there are no trailing commas allowed (this is not javascript)
They should have been there here is an example from my first runs
Code: Select all
"clusters": [
{
"id": "01",
"name": "Argon Prime",
"description": "Argon Prime",
"music": "music_cluster_02",
"sunlight": "1",
"economy": "0.5",
"security": "0.25",
"x": 0,
"y": 0,
"backdrop": "empty_space",
"gamestart": true,
"connections": [
{
"targetClusterId": "03",
"connectionType": "SE"
},
{
"targetClusterId": "05",
"connectionType": "S"
}
],
"belts": [
{"type": "ORE"},
{"type": "ORE"},
{"type": "HYDROGEN"}
]
},