[16.1] Map Preview not showing resources or biters with RSO

Bugs that are actually features.
Aflixion
Inserter
Inserter
Posts: 42
Joined: Thu Dec 14, 2017 9:39 am
Contact:

[16.1] Map Preview not showing resources or biters with RSO

Post by Aflixion »

Screenshots below. Map preview does not show resources or biters if RSO is enabled. Toggled RSO off and selected the same settings for map generation and the preview showed resources and biters.

RSO is the only mod I used for this test.

With RSO:
Image

Without RSO (completely vanilla):
Image
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5284
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [16.1] Map Preview not showing resources or biters with RSO

Post by Klonan »

Well the RSO script won't run outside of the game,
And we didn't really intend it to

So this isn't a bug, and/or we won't fix it
Aflixion
Inserter
Inserter
Posts: 42
Joined: Thu Dec 14, 2017 9:39 am
Contact:

Re: [16.1] Map Preview not showing resources or biters with RSO

Post by Aflixion »

That's disappointing. This means the feature is completely unusable if you prefer RSO resource generation :(
Rseding91
Factorio Staff
Factorio Staff
Posts: 14337
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [16.1] Map Preview not showing resources or biters with RSO

Post by Rseding91 »

Aflixion wrote:That's disappointing. This means the feature is completely unusable if you prefer RSO resource generation :(
Yep.
If you want to get ahold of me I'm almost always on Discord.
sparr
Smart Inserter
Smart Inserter
Posts: 1449
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

Re: [16.1] Map Preview not showing resources or biters with RSO

Post by sparr »

So... how does the game know not to render the default resource locations if it's not running the RSO script?
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5284
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [16.1] Map Preview not showing resources or biters with RSO

Post by Klonan »

sparr wrote:So... how does the game know not to render the default resource locations if it's not running the RSO script?
It changes the autoplace or something
sparr
Smart Inserter
Smart Inserter
Posts: 1449
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

Re: [16.1] Map Preview not showing resources or biters with RSO

Post by sparr »

So RSO's data stage stuff is applied, but not control stage stuff?
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5284
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [16.1] Map Preview not showing resources or biters with RSO

Post by Klonan »

sparr wrote:So RSO's data stage stuff is applied, but not control stage stuff?
Yes
sparr
Smart Inserter
Smart Inserter
Posts: 1449
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

Re: [16.1] Map Preview not showing resources or biters with RSO

Post by sparr »

This prompts me to go confirm that my World Mirror mod is also not accurately represented in the map preview.

I am sad that chunk generation mod code isn't run as part of the preview :(
Rseding91
Factorio Staff
Factorio Staff
Posts: 14337
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [16.1] Map Preview not showing resources or biters with RSO

Post by Rseding91 »

sparr wrote:This prompts me to go confirm that my World Mirror mod is also not accurately represented in the map preview.

I am sad that chunk generation mod code isn't run as part of the preview :(
It's a preview. Why would runtime lua scripting that is associated with a specific game be executed in a preview? It doesn't even run the full normal game code.
If you want to get ahold of me I'm almost always on Discord.
sparr
Smart Inserter
Smart Inserter
Posts: 1449
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

Re: [16.1] Map Preview not showing resources or biters with RSO

Post by sparr »

Rseding91 wrote:Why would runtime lua scripting that is associated with a specific game be executed in a preview?
All the same reasons the preview exists in the first place. Players want to see where water, desert, resources biters, etc are, and reject maps more quickly than doing repeated Restarts.
User avatar
5thHorseman
Smart Inserter
Smart Inserter
Posts: 1193
Joined: Fri Jun 10, 2016 11:21 pm
Contact:

Re: [16.1] Map Preview not showing resources or biters with RSO

Post by 5thHorseman »

Rseding91 wrote:Why would runtime lua scripting that is associated with a specific game be executed in a preview?
Because the runtime lua scripting affects the map, and a preview of that map is not just inaccurate but useless without it.

I understand if you don't want to do it for any reason. It's not your job to make modders' lives better, it's to make the best vanilla game you can. But you did ask for a reason. :D
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5284
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [16.1] Map Preview not showing resources or biters with RSO

Post by Klonan »

5thHorseman wrote:
Rseding91 wrote:Why would runtime lua scripting that is associated with a specific game be executed in a preview?
Because the runtime lua scripting affects the map, and a preview of that map is not just inaccurate but useless without it.

I understand if you don't want to do it for any reason. It's not your job to make modders' lives better, it's to make the best vanilla game you can. But you did ask for a reason. :D
In this case, the modder/mod should leverage the existing (and new) features we provide to fulfil the goal of the mod.

The mod wants to overhaul the map generation, but does so by completely ignoring all the in-game functionality for map generation, and doing its own thing with Lua scripting,
There are many many ways, even moreso in 0.16 (Programmable noise) to accomplish the things RSO sets out to do

In this case if you want this problem to be fixed (Preview not working with RSO), then contact the mod author and ask them to implement their mod in a way that is compatible with the map preview feature.
orzelek
Smart Inserter
Smart Inserter
Posts: 3924
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [16.1] Map Preview not showing resources or biters with RSO

Post by orzelek »

Klonan wrote:
5thHorseman wrote:
Rseding91 wrote:Why would runtime lua scripting that is associated with a specific game be executed in a preview?
Because the runtime lua scripting affects the map, and a preview of that map is not just inaccurate but useless without it.

I understand if you don't want to do it for any reason. It's not your job to make modders' lives better, it's to make the best vanilla game you can. But you did ask for a reason. :D
In this case, the modder/mod should leverage the existing (and new) features we provide to fulfil the goal of the mod.

The mod wants to overhaul the map generation, but does so by completely ignoring all the in-game functionality for map generation, and doing its own thing with Lua scripting,
There are many many ways, even moreso in 0.16 (Programmable noise) to accomplish the things RSO sets out to do

In this case if you want this problem to be fixed (Preview not working with RSO), then contact the mod author and ask them to implement their mod in a way that is compatible with the map preview feature.
There is no way to recreate what RSO does with anything that base game offers. Thats why it's completely different and it won't appear on map previews. It might not be 100% user friendly but preview simply won't work with RSO.
User avatar
steinio
Smart Inserter
Smart Inserter
Posts: 2638
Joined: Sat Mar 12, 2016 4:19 pm
Contact:

Re: [16.1] Map Preview not showing resources or biters with RSO

Post by steinio »

With RSO i don't need a preview because i know it works.
Image

Transport Belt Repair Man

View unread Posts
Serenity
Smart Inserter
Smart Inserter
Posts: 1017
Joined: Fri Apr 15, 2016 6:16 am
Contact:

Re: [16.1] Map Preview not showing resources or biters with RSO

Post by Serenity »

Klonan wrote: There are many many ways, even moreso in 0.16 (Programmable noise) to accomplish the things RSO sets out to do
RSO resource generation isn't random noise. That's the whole point and is what makes it so good
steinio wrote: With RSO i don't need a preview because i know it works.
Yeah, you get guaranteed resources in the starting area. There is still some variation with it, but it's almost always something you can work with
User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2529
Joined: Fri Nov 06, 2015 7:41 pm

Re: [16.1] Map Preview not showing resources or biters with RSO

Post by Deadlock989 »

Agreed, it doesn't matter much that you can't see a preview with RSO, because it works so well. At the moment it's not worth playing Factorio without RSO.
User avatar
5thHorseman
Smart Inserter
Smart Inserter
Posts: 1193
Joined: Fri Jun 10, 2016 11:21 pm
Contact:

Re: [16.1] Map Preview not showing resources or biters with RSO

Post by 5thHorseman »

steinio wrote:With RSO i don't need a preview because i know it works.
While true, it'd be nice to get quick feedback on changes to settings to know that your particular settings work for the setup you're trying to generate.
shadoworld56
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Jul 01, 2018 6:52 am
Contact:

Re: [16.1] Map Preview not showing resources or biters with RSO

Post by shadoworld56 »

I would like to see RSO generated resources show up in the map preview. Its nice to see how big the resource piles are for each map and being able to fine tune it without having to deal with the long restart times.
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5207
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: [16.1] Map Preview not showing resources or biters with RSO

Post by eradicator »

@Klonan/Rsed:
How feasible would something like a "full preview" button be? I.e. you press the button and the game internally generates an actual map instance where mod code can run, then generate a pictures of that. It'd probably take 5 mins to generate, but some people might still prefer that to nothing.
Post Reply

Return to “Not a bug”