[TOOL] X4 Galaxy Creator
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Re: [TOOL] X4 Galaxy Creator
@celludriel awesome, thanks for the reply. Would be really cool if you could add backdrop and music in a dropdown, but not expected. A list will be awesome though.
-
- Posts: 163
- Joined: Thu, 12. Sep 13, 11:29
Re: [TOOL] X4 Galaxy Creator
First of here is our trello board
https://trello.com/b/eKmvOxoT/x4-galaxy-creator
next the list of music
Code: Select all
<music ref="music_cluster_01" />
<music ref="music_cluster_01_sector_01" />
<music ref="music_cluster_01_sector_02" />
<music ref="music_cluster_01_sector_03" />
<music ref="music_cluster_02" />
<music ref="music_cluster_03" />
<music ref="music_cluster_04" />
<music ref="music_cluster_04_sector_01" />
<music ref="music_cluster_04_sector_02" />
<music ref="music_cluster_05" />
<music ref="music_cluster_06" />
<music ref="music_cluster_06_sector_01" />
<music ref="music_cluster_06_sector_02" />
<music ref="music_cluster_07" />
<music ref="music_cluster_08" />
<music ref="music_cluster_09" />
<music ref="music_cluster_10" />
<music ref="music_cluster_11" />
<music ref="music_cluster_12" />
<music ref="music_cluster_13" />
<music ref="music_cluster_14" />
<music ref="music_cluster_15" />
<music ref="music_cluster_15_sector_01" />
<music ref="music_cluster_15_sector_02" />
<music ref="music_cluster_16" />
<music ref="music_cluster_17" />
<music ref="music_cluster_18" />
<music ref="music_cluster_19" />
<music ref="music_cluster_19_sector_01" />
<music ref="music_cluster_19_sector_02" />
<music ref="music_cluster_20" />
<music ref="music_cluster_21" />
<music ref="music_cluster_21_sector_01" />
<music ref="music_cluster_21_sector_02" />
<music ref="music_cluster_22" />
<music ref="music_cluster_23" />
<music ref="music_cluster_24" />
<music ref="music_cluster_25" />
<music ref="music_cluster_25_sector_01" />
<music ref="music_cluster_25_sector_02" />
<music ref="music_cluster_26" />
<music ref="music_cluster_26_sector_01" />
<music ref="music_cluster_26_sector_02" />
<music ref="music_cluster_27" />
<music ref="music_cluster_28" />
<music ref="music_cluster_29" />
<music ref="music_cluster_29_sector_01" />
<music ref="music_cluster_29_sector_02" />
<music ref="music_cluster_30" />
<music ref="music_cluster_31" />
<music ref="music_cluster_32" />
<music ref="music_cluster_32_sector_01" />
<music ref="music_cluster_32_sector_02" />
<music ref="music_cluster_33" />
<music ref="music_cluster_09" />
<music ref="music_cluster_23" />
<music ref="music_cluster_23" />
<music ref="music_cluster_22" />
<music ref="music_cluster_22" />
<music ref="music_cluster_03" />
<music ref="music_cluster_13" />
<music ref="music_cluster_13" />
<music ref="music_cluster_19" />
<music ref="music_cluster_19_sector_01" />
<music ref="music_cluster_19_sector_02" />
<music ref="music_cluster_19" />
<music ref="music_cluster_19_sector_01" />
<music ref="music_cluster_08" />
<music ref="music_cluster_08" />
<music ref="music_cluster_30" />
<music ref="music_cluster_18" />
Code: Select all
<component connection="space" ref="Cluster_01" />
<component connection="space" ref="Cluster_02" />
<component connection="space" ref="Cluster_03" />
<component connection="space" ref="Cluster_04" />
<component connection="space" ref="Cluster_05" />
<component connection="space" ref="Cluster_06" />
<component connection="space" ref="Cluster_07" />
<component connection="space" ref="Cluster_08" />
<component connection="space" ref="Cluster_09" />
<component connection="space" ref="Cluster_10" />
<component connection="space" ref="Cluster_11" />
<component connection="space" ref="Cluster_12" />
<component connection="space" ref="Cluster_13" />
<component connection="space" ref="Cluster_14" />
<component connection="space" ref="Cluster_15" />
<component connection="space" ref="Cluster_16" />
<component connection="space" ref="Cluster_17" />
<component connection="space" ref="Cluster_18" />
<component connection="space" ref="Cluster_19" />
<component connection="space" ref="Cluster_20" />
<component connection="space" ref="Cluster_21" />
<component connection="space" ref="Cluster_22" />
<component connection="space" ref="Cluster_23" />
<component connection="space" ref="Cluster_24" />
<component connection="space" ref="Cluster_25" />
<component connection="space" ref="Cluster_26" />
<component connection="space" ref="Cluster_27" />
<component connection="space" ref="Cluster_28" />
<component connection="space" ref="Cluster_29" />
<component connection="space" ref="Cluster_30" />
<component connection="space" ref="Cluster_31" />
<component connection="space" ref="Cluster_32" />
<component connection="space" ref="Cluster_33" />
<component connection="space" ref="Cluster_34" />
<component connection="space" ref="Cluster_35" />
<component connection="space" ref="Cluster_36" />
<component connection="space" ref="Cluster_37" />
<component connection="space" ref="Cluster_38" />
<component connection="space" ref="Cluster_39" />
<component connection="space" ref="Cluster_40" />
<component connection="space" ref="Cluster_41" />
<component connection="space" ref="Cluster_42" />
<component connection="space" ref="Cluster_43" />
<component connection="space" ref="Cluster_44" />
<component connection="space" ref="Cluster_45" />
<component connection="space" ref="Cluster_46" />
<component connection="space" ref="Cluster_47" />
Re: [TOOL] X4 Galaxy Creator
The link to the Trello board is in my first post. So keep an eye on that for any bugs you might see. If its not on there post it here and we can add it to the list.
If I get time tonight I will fix the sectors not changing on adding/updating stations as well as merging the changes celludriel has already done and get a new version out for you guys to play with.
If I get time tonight I will fix the sectors not changing on adding/updating stations as well as merging the changes celludriel has already done and get a new version out for you guys to play with.
Re: [TOOL] X4 Galaxy Creator
This has real potential.
Great job folks.
Great job folks.
Re: [TOOL] X4 Galaxy Creator
Huge potential. Very-very awesome work!
Is it possible you guys can figure out to implement superhighways? I want to create Rebirth-style universe with the most superhighway eyecandy. I'm speaking of connecting planetary bodies real-time while buzzing the magic tube's directions up-down-left-right.
Is it possible you guys can figure out to implement superhighways? I want to create Rebirth-style universe with the most superhighway eyecandy. I'm speaking of connecting planetary bodies real-time while buzzing the magic tube's directions up-down-left-right.
Re: [TOOL] X4 Galaxy Creator
New version released. This includes bug fixes by celludriel and a new version of the generator, along with changing/adding stations changes cluster colours.
Re: [TOOL] X4 Galaxy Creator
I have not looked in the new version yet and to be honest I forgot for a moment if there are silicon asteroids, to many space games lol. But if there are, I could not find silicon rocks in the generator.
-
- Posts: 163
- Joined: Thu, 12. Sep 13, 11:29
Re: [TOOL] X4 Galaxy Creator
The regular ORE belt has a mix of silicon and ore so there is always available.
Re: [TOOL] X4 Galaxy Creator
Ahh I see, thank you.celludriel wrote: ↑Thu, 10. Jan 19, 13:35The regular ORE belt has a mix of silicon and ore so there is always available.
Re: [TOOL] X4 Galaxy Creator
Problem seemed to be the ID's, changing them for number strings seems to have fixed it. Probably better to just use numbers anyway, much more straight forward and reduces complexity
-
- Posts: 163
- Joined: Thu, 12. Sep 13, 11:29
Re: [TOOL] X4 Galaxy Creator
It is not possible to export a map as soon as a station has been set in the map.
When comparing the JSON files from two maps, huge differences are also visible.
Have both maps as an archive.
In the folder functional is the file of the map which can be exported with stations.
In the second folder is the file, which I have created, this can only be exported without any station.
If only one station is set in my map, the export is no longer possible.
Please take a look at it, because the great thing about it is really awesome.
Map-Archive
Sorry for Bad Englisch, its Googletrans
Greeting Cappy1401
When comparing the JSON files from two maps, huge differences are also visible.
Have both maps as an archive.
In the folder functional is the file of the map which can be exported with stations.
In the second folder is the file, which I have created, this can only be exported without any station.
If only one station is set in my map, the export is no longer possible.
Please take a look at it, because the great thing about it is really awesome.
Map-Archive
Sorry for Bad Englisch, its Googletrans
Greeting Cappy1401
Jedes Kriegsschiff, das unsere Werften verlässt, jedes abgefeuerte Geschütz bedeutet letztlich einen Diebstahl an denen, die sich nicht wehren können, nämlich an unseren Kindern. Eine Welt bewaffnet bis an die Zähne feuert nicht nur gebündelte Energie allein. Sie feuert auch oft genug die Hoffnung ihrer Kinder nutzlos in den Weltraum hinaus. Doch hin und wieder lässt man uns keine Wahl, dann jedoch besteht jede Salve aus der geballten Hoffnung das endlich wieder Frieden herrscht.
Der Amazone
Der Amazone
-
- Posts: 163
- Joined: Thu, 12. Sep 13, 11:29
Re: [TOOL] X4 Galaxy Creator
Thanks I found a bug in the json output, the new private fields should never have gone into the json.
I'll put in a fix and see if badger has time to release a new version
Seems someone beat me to it
https://github.com/killeroguk/X4GalaxyCreator/pull/26
I've asked badger to merge the fixes and bring out a release
I'll put in a fix and see if badger has time to release a new version
Seems someone beat me to it
https://github.com/killeroguk/X4GalaxyCreator/pull/26
I've asked badger to merge the fixes and bring out a release
Re: [TOOL] X4 Galaxy Creator
Merged the fixes, so thanks to whoever did that. Ill release a new version tomorrow night or at the weekend with these fixes included.
Re: [TOOL] X4 Galaxy Creator
Thank you for your prompt reply.
I also noticed something.
Some of the Factions have the same color for me, including: Ministry, Player, Ownerless and None.
The color is a kind of pink, which makes it impossible to determine which faction it is.
Here are four screenshots.
In the upper left corner are the four sectors where it will show.
On the right is visible, which factions are set.
I use Win 10-64Bit
Screenshot 1
Screenshot 2
Screenshot 3
Screenshot 4
Greeting Cappy1401
I also noticed something.
Some of the Factions have the same color for me, including: Ministry, Player, Ownerless and None.
The color is a kind of pink, which makes it impossible to determine which faction it is.
Here are four screenshots.
In the upper left corner are the four sectors where it will show.
On the right is visible, which factions are set.
I use Win 10-64Bit
Screenshot 1
Screenshot 2
Screenshot 3
Screenshot 4
Greeting Cappy1401
Last edited by Cappy1401 on Mon, 28. Jan 19, 20:39, edited 1 time in total.
Jedes Kriegsschiff, das unsere Werften verlässt, jedes abgefeuerte Geschütz bedeutet letztlich einen Diebstahl an denen, die sich nicht wehren können, nämlich an unseren Kindern. Eine Welt bewaffnet bis an die Zähne feuert nicht nur gebündelte Energie allein. Sie feuert auch oft genug die Hoffnung ihrer Kinder nutzlos in den Weltraum hinaus. Doch hin und wieder lässt man uns keine Wahl, dann jedoch besteht jede Salve aus der geballten Hoffnung das endlich wieder Frieden herrscht.
Der Amazone
Der Amazone
-
- Posts: 163
- Joined: Thu, 12. Sep 13, 11:29
Re: [TOOL] X4 Galaxy Creator
These factions cannot claim space for themselfes. So they are treated as empty sectors. The pink color is the unowned color. This is normal behavior
I'm not sure what you mean, since 1.0.2 you have to select the map editor from the editors menu option explicitly. This has to do with having to initialize some parameters. It's more a hack not to have to do all to complicated stuff. I just tested it myself and as far as I know no map is being destroyed. It does seem description is required in my java generator and the editor allows to have an empty description that is something I either have to make mandatory in the editor or fix in the generator.
Re: [TOOL] X4 Galaxy Creator
Here is the map that I created with V1.0.2.
The map can be loaded via the menu after starting the program.
If I choose the Mapeditor in the menu, it comes to the CTD.
Map
Edit
Saving with V1.0.0 does not help, there is still a CTD
The map can be loaded via the menu after starting the program.
If I choose the Mapeditor in the menu, it comes to the CTD.
Map
Edit
Saving with V1.0.0 does not help, there is still a CTD
Last edited by Cappy1401 on Sat, 19. Jan 19, 11:17, edited 1 time in total.
Jedes Kriegsschiff, das unsere Werften verlässt, jedes abgefeuerte Geschütz bedeutet letztlich einen Diebstahl an denen, die sich nicht wehren können, nämlich an unseren Kindern. Eine Welt bewaffnet bis an die Zähne feuert nicht nur gebündelte Energie allein. Sie feuert auch oft genug die Hoffnung ihrer Kinder nutzlos in den Weltraum hinaus. Doch hin und wieder lässt man uns keine Wahl, dann jedoch besteht jede Salve aus der geballten Hoffnung das endlich wieder Frieden herrscht.
Der Amazone
Der Amazone
-
- Posts: 163
- Joined: Thu, 12. Sep 13, 11:29
Re: [TOOL] X4 Galaxy Creator
You seem to have connections without a targetClusterId
Code: Select all
{
"id": "270",
"name": "{7,127000}",
"description": "xenon hub",
"music": "music_cluster_02",
"sunlight": "1",
"economy": "0.75",
"security": "0.75",
"x": 3,
"y": -1,
"backdrop": "cluster_01",
"connections": [
{
"connectionType": "N"
}
],
"belts": [],
"stations": [
{
"type": "DEFENCE",
"race": "ARGON",
"owner": "PLAYER",
"faction": "PLAYER"
}
],
"spaceObjects": []
},
Re: [TOOL] X4 Galaxy Creator
FULLEDIT
Have found a second goal without a goal and deleted.
You can find the gate if you are looking for {7,135000}
The map can now be displayed again in the map editor.
Export but not possible.
Cappy1401
EDIT OF EDIT
I just remembered.
The removal for gates has no effect, a set gate can not be removed.
Have found a second goal without a goal and deleted.
You can find the gate if you are looking for {7,135000}
The map can now be displayed again in the map editor.
Export but not possible.
Cappy1401
EDIT OF EDIT
I just remembered.
The removal for gates has no effect, a set gate can not be removed.
Jedes Kriegsschiff, das unsere Werften verlässt, jedes abgefeuerte Geschütz bedeutet letztlich einen Diebstahl an denen, die sich nicht wehren können, nämlich an unseren Kindern. Eine Welt bewaffnet bis an die Zähne feuert nicht nur gebündelte Energie allein. Sie feuert auch oft genug die Hoffnung ihrer Kinder nutzlos in den Weltraum hinaus. Doch hin und wieder lässt man uns keine Wahl, dann jedoch besteht jede Salve aus der geballten Hoffnung das endlich wieder Frieden herrscht.
Der Amazone
Der Amazone
Re: [TOOL] X4 Galaxy Creator
Version 1.0.3 released with bug fixes from ianb1987.