• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

A19e Nitrogen - UNSTABLE

Status
Not open for further replies.
New version online, (link in first post, experimental build)

-new Highway feature:

    you can generate double or single track highways that cross the map North-South and East-West
    they can take up a lot of performance, as the highway is visualized using prefab elements

    
-updated included prefablist to  CompoPack 43

-batch generation of maps, you can generate more maps at one time
    limited to 10 maps, in order not to accidentally flood your computer with too much mapdata

-tool: ability to generate preview maps from already existing maps

highway1.jpg


highway2.jpg


highway3.jpg


-----

@xaroth8088

Thanks for the offer, but I dont plan to open source the project currently

 
Last edited by a moderator:
Damocles - I assume that A19 will not be an issue for the Nitrogen generator. Do you expect to have to tweak it at launch or do you expect it to work upon the A19 release? Just curious. 

P.S. Great job of the highways. Can't wait to try them out. 

 
Last edited by a moderator:
Damocles - I assume that A19 will not be an issue for the Nitrogen generator. Do you expect to have to tweak it at launch or do you expect it to work upon the A19 release? Just curious. 

P.S. Great job of the highways. Can't wait to try them out. 
I have to see if there where any major changes in A19. I suppose it will only change some prefabs, but not the word-file structure.

Unless they throw in some akward new file formats... never know.

Just tried the batch create, however it only generated a preview map for the final (10th) map generated.
Works on my side. So the preview map folder is empty on the others? Any error messages?

You could launch it via the .bat file, and then view any Exception that might pop up.

-> also, always delete your configUI files in resources, if you have overwritten the last NitroGen installation,  as they might change over the versions. They get recreated when not there.

 
Last edited by a moderator:
I have to see if there where any major changes in A19. I suppose it will only change some prefabs, but not the word-file structure.

Unless they throw in some akward new file formats... never know.

Works on my side. So the preview map folder is empty on the others? Any error messages?

You could launch it via the .bat file, and then view any Exception that might pop up.
Just running a few more runs to see. Yep the preview folder was there but empty. Will let you know shortly on the bat file/errors.

Cleared output, ran a new run of 2 after launching from the bat file:

Code:
changed landscape
running generation thread
planned runs: 2
Map name: NitroGenMap1
creating output directory: NitroGenMap1  C:\Users\Dan\Downloads\NitroGen_WorldGenerator\output\NitroGenMap1
output directory created
... running terrain generation ...
exporting (1/3)
exporting (2/3)
exporting (3/3)
... terrain generation ... DONE ...
... running world mapping ...
java.lang.ArrayIndexOutOfBoundsException: 1024
        at nitrogen.a.c.a(Unknown Source)
        at nitrogen.a.c.b(Unknown Source)
        at nitrogen.a.c.c(Unknown Source)
        at nitrogen.a.c.a(Unknown Source)
        at nitrogen.gui.NitroGenUI.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
1024
Total time taken: 1 min 57 sec
Map name: NitroGenMap2
creating output directory: NitroGenMap2  C:\Users\Dan\Downloads\NitroGen_WorldGenerator\output\NitroGenMap2
output directory created
... running terrain generation ...
exporting (1/3)
exporting (2/3)
exporting (3/3)
... terrain generation ... DONE ...
... running world mapping ...
java.lang.ArrayIndexOutOfBoundsException: 1024
        at nitrogen.a.c.a(Unknown Source)
        at nitrogen.a.c.a(Unknown Source)
        at nitrogen.a.c.c(Unknown Source)
        at nitrogen.a.c.a(Unknown Source)
        at nitrogen.gui.NitroGenUI.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
1024
Total time taken: 0 min 57 sec
 
Last edited by a moderator:
Just running a few more runs to see. Yep the preview folder was there but empty. Will let you know shortly on the bat file/errors.

Cleared output, ran a new run of 2 after launching from the bat file:

changed landscape
running generation thread
planned runs: 2
Map name: NitroGenMap1
creating output directory: NitroGenMap1 C:\Users\Dan\Downloads\NitroGen_WorldGenerator\output\NitroGenMap1
output directory created
... running terrain generation ...
exporting (1/3)
exporting (2/3)
exporting (3/3)
... terrain generation ... DONE ...
... running world mapping ...
java.lang.ArrayIndexOutOfBoundsException: 1024
at nitrogen.a.c.a(Unknown Source)
at nitrogen.a.c.b(Unknown Source)
at nitrogen.a.c.c(Unknown Source)
at nitrogen.a.c.a(Unknown Source)
at nitrogen.gui.NitroGenUI.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
1024
Total time taken: 1 min 57 sec
Map name: NitroGenMap2
creating output directory: NitroGenMap2 C:\Users\Dan\Downloads\NitroGen_WorldGenerator\output\NitroGenMap2
output directory created
... running terrain generation ...
exporting (1/3)
exporting (2/3)
exporting (3/3)
... terrain generation ... DONE ...
... running world mapping ...
java.lang.ArrayIndexOutOfBoundsException: 1024
at nitrogen.a.c.a(Unknown Source)
at nitrogen.a.c.a(Unknown Source)
at nitrogen.a.c.c(Unknown Source)
at nitrogen.a.c.a(Unknown Source)
at nitrogen.gui.NitroGenUI.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
1024
Total time taken: 0 min 57 sec

What where your settings?

You could post your configUI.txt, and chosen map size.

 
What where your settings?

You could post your configUI.txt, and chosen map size.
//configuration file for version v0.480
//selection state of UI elements
traders = 1
border biome = 6
city = 5
check folder = 0
city grid = 1
road condition = 2
road type = 1
big lakes = 3
city size = 4
heightmap = 0
import from = 1
scenario = 0
town size = 1
cracks = 1
highways = 2
smoothing = 0
prefab list = 0
traders location = 2
north/south = 1
rivers = 2
small lakes = 3
flatland style = 2
town = 5
old towns = 3
biomes = 2
maps to gen = 3
custom towns = 1
roads = 2
extra car lots = 4
POIs = 0
mountain huts = 3
player spawns = 2
size = 2
outback POIs = 3
preview map = 0
farms = 4
no POIs in biome = 1
Special Zones = 0
landscape = 1
rednecks = 3


8k.

I will run with those settings on another PC and let you know. Its currently generating 10 x 8k's and seems to be doing previews so far (had to run with the '16k' bat else it ran out of memory).

Additional: copied that configui.txt to my other PC and the problem reoccurs there in the same manor. Seems its a combination of those settings.

 
Last edited by a moderator:
//configuration file for version v0.480
//selection state of UI elements
traders = 1
border biome = 6
city = 5
check folder = 0
city grid = 1
road condition = 2
road type = 1
big lakes = 3
city size = 4
heightmap = 0
import from = 1
scenario = 0
town size = 1
cracks = 1
highways = 2
smoothing = 0
prefab list = 0
traders location = 2
north/south = 1
rivers = 2
small lakes = 3
flatland style = 2
town = 5
old towns = 3
biomes = 2
maps to gen = 3
custom towns = 1
roads = 2
extra car lots = 4
POIs = 0
mountain huts = 3
player spawns = 2
size = 2
outback POIs = 3
preview map = 0
farms = 4
no POIs in biome = 1
Special Zones = 0
landscape = 1
rednecks = 3


8k.

I will run with those settings on another PC and let you know. Its currently generating 10 x 8k's and seems to be doing previews so far (had to run with the '16k' bat else it ran out of memory).

Additional: copied that configui.txt to my other PC and the problem reoccurs there in the same manor. Seems its a combination of those settings.
Thanks, also saw an error. Now I can recreate on the main branch.

@Doggeh

Yes, please change the No POIs in biome to "no placement limits".

This feature is kind of buggy,

I will take it out in the next update.

Thanks for your research.

 
Last edited by a moderator:
Thanks, also saw an error. Now I can recreate on the main branch.

@Doggeh

Yes, please change the No POIs in biome to "no placement limits".

This feature is kind of buggy,

I will take it out in the next update.

Thanks for your research.
Thanks, will do. Keep up the good work. 

 
It’s sad that all the water in the world is useless. 
do you have any thoughts, add to the generator, new placement zone types. 
so that the generator identifies large lakes as a new placement grid, and spawns water prefabs on it. Like vessel by Pille. 
can you add new type lanscape: water.
so that you can adjust the amount of land covered by water through the slider.

 
Any chance to make the highways respect the mask or even better have a special highway mask? 
don't get me wrong, I love the asset and I knew this was a stupid idea since the beginning, but I wanted to do a sort of stress test to see what was the outcome and I couldn't help it but laugh at it x)
unknown.png
.

For example, I could make a mask like this one and then the highways would generate only where I want them to.

unknown.png


 
Last edited by a moderator:
I keep getting this when I try to generate a map.

In Nitrogen:

creating output directory: NitroGenMap  C:\Program Files (x86)\NitroGenWorldGenerator\output\NitroGenMap
output directory created
running generation thread
... running terrain generation ...
null
Total time taken: 0 min 0 sec

In Batch:

Current working directory: C:\Program Files (x86)\NitroGenWorldGenerator
(please check if this is valid)
java.io.FileNotFoundException: C:\Program Files (x86)\NitroGenWorldGenerator\resources\configUI.txt (Access is denied)
        at java.io.FileOutputStream.open0(Native Method)
        at java.io.FileOutputStream.open(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.PrintWriter.<init>(Unknown Source)
        at nitrogen.gui.b.a(Unknown Source)
        at nitrogen.gui.NitroGenUI.actionPerformed(Unknown Source)
        at javax.swing.JComboBox.fireActionEvent(Unknown Source)
        at javax.swing.JComboBox.setSelectedItem(Unknown Source)
        at javax.swing.JComboBox.setSelectedIndex(Unknown Source)
        at nitrogen.gui.b.a(Unknown Source)
        at nitrogen.gui.NitroGenUI.<init>(Unknown Source)
        at nitrogen.gui.NitroGenUI.main(Unknown Source)
changed landscape
java.io.FileNotFoundException: C:\Program Files (x86)\NitroGenWorldGenerator\resources\configUI.txt (Access is denied)
        at java.io.FileOutputStream.open0(Native Method)
        at java.io.FileOutputStream.open(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.PrintWriter.<init>(Unknown Source)
        at nitrogen.gui.b.a(Unknown Source)
        at nitrogen.gui.NitroGenUI.actionPerformed(Unknown Source)
        at javax.swing.JComboBox.fireActionEvent(Unknown Source)
        at javax.swing.JComboBox.setSelectedItem(Unknown Source)
        at javax.swing.JComboBox.setSelectedIndex(Unknown Source)
        at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(Unknown Source)
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at javax.swing.plaf.basic.BasicComboPopup$1.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
java.io.FileNotFoundException: C:\Program Files (x86)\NitroGenWorldGenerator\resources\configUI.txt (Access is denied)
        at java.io.FileOutputStream.open0(Native Method)
        at java.io.FileOutputStream.open(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.PrintWriter.<init>(Unknown Source)
        at nitrogen.gui.b.a(Unknown Source)
        at nitrogen.gui.NitroGenUI.actionPerformed(Unknown Source)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
creating output directory: NitroGenMap  C:\Program Files (x86)\NitroGenWorldGenerator\output\NitroGenMap
output directory created
running generation thread
... running terrain generation ...
java.io.FileNotFoundException: C:\Program Files (x86)\NitroGenWorldGenerator\output\NitroGenMap\radiation.png (The system cannot find the path specified)
        at java.io.RandomAccessFile.open0(Native Method)
        at java.io.RandomAccessFile.open(Unknown Source)
        at java.io.RandomAccessFile.<init>(Unknown Source)
        at javax.imageio.stream.FileImageOutputStream.<init>(Unknown Source)
        at com.sun.imageio.spi.FileImageOutputStreamSpi.createOutputStreamInstance(Unknown Source)
        at javax.imageio.ImageIO.createImageOutputStream(Unknown Source)
        at javax.imageio.ImageIO.write(Unknown Source)
        at nitrogen.terraingen.ToolImageProcessor.b(Unknown Source)
        at nitrogen.terraingen.ToolImageProcessor.a(Unknown Source)
        at nitrogen.terraingen.c.b(Unknown Source)
        at nitrogen.gui.NitroGenUI.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
        at javax.imageio.ImageIO.write(Unknown Source)
        at nitrogen.terraingen.ToolImageProcessor.b(Unknown Source)
        at nitrogen.terraingen.ToolImageProcessor.a(Unknown Source)
        at nitrogen.terraingen.c.b(Unknown Source)
        at nitrogen.gui.NitroGenUI.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
null
Total time taken: 0 min 0 sec

 
The program cannot load the resource files. 

Thats either because they are not there, or there are not permissions to load the files.

Try to unpack and run it from a different folder.

The desktop or D drive for example.

 
Hi There Damocles

Thanks for the awesome work.

With regards to roads and the city grid, do you know when that is going to full completed?

Would it be possible to generate roads with sidewalks, street signs, street lamps, speed bumps, traffic circles ect.

Thanks for all your hard work.

Anni

 
Things like sidewalks, street lamps etc are a question of what prefabs are available in the vanilla files. (the features should work right away in an unmodded game with the default prefabs, and I dont plan to ship any prefabs)

I will have a look at what prefabs will be in A19, and then see how to make more interesting arrangements in city roads.

There could be a lot more fancy towns in a random gen world, if the game would ship more modular decoration prefabs for roads, roadsides, parks and highways.

The prefab-voxel-tech could do a lot more, if it designed for that.

I would also like to have some more dynamic soil-voxels, so prefabs could spawn on slopes, without requiring a flat square plateau.

 
That would be awesome if you could get it right.

With all the new commercial POI coming in A19, I am sure there will be some Juicy stuff to use.

Did you have any lucky with stopping the same POI spawning in the same town, I have 6 TV towers in my one city.

 
Last edited by a moderator:
The distribution is already quite good, with few repetitions within the same town.

But there are only a limited number of POIs to choose from, so a large town is bound to repeat POIs.

The more POIs are added to the game in the future, the less likely that they will repeat.

 
Last edited by a moderator:
Good Day Damocles ... Well you answered My question on the first page ... We will be updating Nitrogen for A 19 .. Thank Goodness for that.

I've been making maps for several Youtubers now and they love the ones I put together .. and they are looking forward for the ones I do for A 19.

As always .. Have Fun and Be Safe ... the Old Gamer .. 😌

PS: On the First Page is there a Way that you can put ( " Java 64 " not a default download it is a Manual download ) in Big letter for the ones you can not read small print .. and .. yes I am laughing on this one, but sadly true.  😁

 
Last edited by a moderator:
Status
Not open for further replies.
Back
Top