Jump to content

Recommended Posts

<Just a side note, I really had no idea where to upload this...This is just a proof of concept and nothing more>

I decided to give modding Oxygen not included a try and after losing my game to a pesky black hole a couple of times I've managed to do something. 

<How does this work?>

Well basically, after some digging, I found that ONI keeps the scripts that randomly generate its worlds under the "StreamingAssets" folder located in the "OxygenNotIncluded_Data" folder in the game's install directory. With some time and a bit of patients I managed to get the game to generate worlds according to my preferences. 

<What does the mod add?>

-It modifies the temperatures of certain bioms/subworlds

-it adds the Naturem subworld 

-it enables some debug boims/subworlds 

-It increases the map size to 512 by 512 

-It may substantially increase the time it takes to generate new maps(The custom world-gen script I use is nowhere near as efficient as the original one)
 

<Installation guide>

>Go to steam
>Right click Oxygen not included
>Select Properties 
>Select the "Local files tab"
>Select browse local files
>open "OxygenNotIncluded_Data"
>Make a backup of the file "StreamingAssets"
>Copy the contents of this zip into your "OxygenNotIncluded_Data" file
>select "Replace" if prompted

<Closing notes>
Download at own risk and black-hole repellent sold separately

<File> 

BigChill.zip

<Just another note>

If you want to make your own thing using the scripts I modified then go ahead...

 

<Made a Guide on how to make your own worldgen mod/Script>

http://steamcommunity.com/sharedfiles/filedetails/?id=1290376477

<My other work>

 

 

Link to comment
https://forums.kleientertainment.com/forums/topic/87094-mod-big-chill/
Share on other sites

6 hours ago, glenalec said:

Nice. I changed the first line of BigChill.yaml to "name: BigChill" so I didn't have to guess which 'default' to use in the setup dialog ;). (Did the same for the included alt-world "TheRock", since this had the same issue.)

 

K, I'll keep that in mind if I decide to make more mods in this nature
 

4 hours ago, geniusthemaster said:

wow thanks a ton! can you make more worlds like this? pretty please?

I can actually do that, if you want I can even add in custom ruins and structures. 
I'm currently working on a guide on how to create mods like this which should go live on steam in a few days

 

Naturem is starter biome, spread around starter biome but also gives us a third water and nat gas geyser, much more exploratory an suspenseful as it takes a LOT of digging just to get to a new biome but can have a huge base to do it with so........ :D i'ma love this :D

7 hours ago, Hanro50 said:


I'm currently working on a guide on how to create mods like this which should go live on steam in a few days

Okay very cool.

Will be keeping an eye out for it.  I don't want to tinker with the files of the game. But will give it a go if not too involved.

 

I only want a wider map rather than the default taller ones.  No other changes to the base game.

17 minutes ago, Olimar said:

Okay very cool.

Will be keeping an eye out for it.  I don't want to tinker with the files of the game. But will give it a go if not too involved.

 

I only want a wider map rather than the default taller ones.  No other changes to the base game.

That's easy enought.
Go to your game's install location, then browse to "OxygenNotIncluded_Data\StreamingAssets\worldgen\worlds" 
Open the file "Default.yaml" with a text editor like Notepad++
look for the heading "worldsize:"
Change the number next to the "X:" sub heading to increase the size of the world along the X axes 

Do take care not to remove any spaces if possible. 

1 hour ago, Olimar said:

Okay very cool.

Will be keeping an eye out for it.  I don't want to tinker with the files of the game. But will give it a go if not too involved.

 

I only want a wider map rather than the default taller ones.  No other changes to the base game.

The game is already pre-prepared for modding and if you read my post above I didn't let him make any changes to my actual game.  In order for me to load the mod maps I have to go to New game->Custom game->scroll down you will see default with an arrow click it will say helicona twice one is "the rock" these are mod maps included now with the game....... By following my instructions above you can include the map design style(including size and extra geysers) the changes will Only affect "Big Chill" games because his are the only one to call for them.
In order to have the "Base game but wider" you will have to copy default.yaml and rename it wider.yaml then open it with text editor.
image.png.87cf4d4634bb106e5af2db63a99e0d2e.png

image.png.8b8f3453891820a7d728d7615d2658f9.png

this will be the name displayed in game

way off to the right you see worldsize x and y x is wide.  make that 512 you will double the width of the game.
You ask for a very specific and easy to provide thing.  This will let you play the default game on any size you want just adjust x and y
image.thumb.png.be2b109b23a265b83380c184f76457f6.png

image.thumb.png.f291b342a5b6386a41d76ba23edd8cb5.png

image.thumb.png.e127128ed4960c99fbc71e98a2e2d759.png

Again thanks for the help.  I was almost going to post again because I was having an issue.  Even though both of your instructions were really clear and simple.

I decided not to and just test it on my own to see if I did something wrong.  My intent was to have a wider map,  but I did not want to exceed the maximum number of tiles due to performance.  (because my PC is about 5'ish years old)

 

So my desired setting was 408x240 which comes just under the default max map tiles.  97920 vs 98304,  yay performance??  I dunno..

But the game CTDs everytime.  Anyway to the point,  the games does not like any values below 256.   I'm assuming this applies both to the width and height,  but I'm not interested in testing every single one.

I tried the height at 240, 250, 254 and they all CTDs.   255 crashes but also goes to an program crash error message.    256, 257 works just fine.

 

Might be good to have a warning about this?   Checked out your steam guide, looks good and simple.  :)

    

7 hours ago, geniusthemaster said:

please post all your created maps here. i have bad memory so i would love to check my bookmarks and find them here :)

I can't exactly do that, but here is a link to a new world gen mod I'm working on

https://forums.kleientertainment.com/topic/87171-mod-big-freeze/

10 hours ago, Hanro50 said:

I can't exactly do that, but here is a link to a new world gen mod I'm working on

https://forums.kleientertainment.com/topic/87171-mod-big-freeze/

You can, go back and edit the first post to "My creaed maps showcase" and move forward from there.

12 hours ago, Kabrute said:

You can, go back and edit the first post to "My creaed maps showcase" and move forward from there.

I'll add a reference to it at the bottom of the post.

I just want to keep the posts for map mods I make separate entities as feedback and discussion for one map mod might not be applicable to the next one.

Similarly I don't want one post that just become a huge wall of text people have to dig thru just to get to the notes detailing the specific map mod they're interested in.

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...