Map Generator

Place to get help with not working mods / modding interface.
Post Reply
Gladaed
Inserter
Inserter
Posts: 27
Joined: Mon Feb 09, 2015 4:55 am
Contact:

Map Generator

Post by Gladaed »

Where can i find the actual map generator that fills all tiles? can't seem to find it in a lua right now.

(I'd like to invert the water placement so that you get a map of island instead a sea filled landscape)

Rseding91
Factorio Staff
Factorio Staff
Posts: 13198
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Map Generator

Post by Rseding91 »

All of the game logic is written in C++ the map generator included and as such isn't available to change outside the prototype definitions or through runtime control.lua mods.
If you want to get ahold of me I'm almost always on Discord.

Gladaed
Inserter
Inserter
Posts: 27
Joined: Mon Feb 09, 2015 4:55 am
Contact:

Re: Map Generator

Post by Gladaed »

Is it possible for you to provide an option that reverses the comperator in the water filling step? (As far as i know it's a if perlin > threshold and i'd want a if perlin < threshold so water/land masses get inverted.)

User avatar
steinio
Smart Inserter
Smart Inserter
Posts: 2633
Joined: Sat Mar 12, 2016 4:19 pm
Contact:

Re: Map Generator

Post by steinio »

So you will start on a water tile and die.
Image

Transport Belt Repair Man

View unread Posts

Gladaed
Inserter
Inserter
Posts: 27
Joined: Mon Feb 09, 2015 4:55 am
Contact:

Re: Map Generator

Post by Gladaed »

The respawn gets you to a land tile

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: Map Generator

Post by darkfrei »

Look water maze mod, there is some method to set water or earth where you will.

Post Reply

Return to “Modding help”