Oxygen Not Included

Oxygen Not Included

98 ratings
Extended Building Width
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
192.755 KB
23 Aug, 2023 @ 1:37pm
3 Sep @ 1:56pm
27 Change Notes ( view )

Subscribe to download
Extended Building Width

Description
This mod can help you build bridges longer than 3 tiles

"How can I use this mod in-game?"
1. Click Build menu (B) and pick a building you want to extend.
2. When building is selected, you will see a white silhouette of it with its standard width.
3. Press ALT+X or ALT+C to make the building smaller or bigger.
4. Place the building.
The hotkeys can be changed in menu: Options -> Game -> Controls -> Mods.
I recommend changing to CTRL+MouseScrollUp / CTRL+MouseScrollDown

"I have a problem"

"1. My game doesn't crash, I have an in-game problem"

"Can't extend a particular bridge"
By default, the mod is only applicable to very few buildings: Gas, Liquid and Solid bridges, and also any other building that contains substring %ConduitBridge% in its technical name - for example, buildings from other mods like HighPressureApplications.
If you want any other bridge to also be extended, do this:
- navigate Main Menu -> MODS -> Extended Building Width -> OPTIONS -> Main settings
- press button "Add / remove records"
- locate the bridge you want to be extended (via either by browsing or by using "filter" input -> "refresh" button)
- mark the checkbox
- "Confirm and continue" -> "Confirm and continue" -> "OK" -> all changes will be saved to config.json and the game asks you for restart

"Can't find a particular bridge"
- press "Create list of all in-game buildings" button
- open the newly created .TXT file
- locate the bridge you want to extend and remember its caption or technical name
- go back to "Can't extend a particular bridge"

"Сan't extend Travel tube crossing"
This mod does not support travel tube crossings.
Try 'Transit Tubes Expanded' by Sanchozz

"Side panel 'Select material' shows incorrect amount of materials"
It is a visual glitch that I can't get rid of.
The bigger the dynamic building is, the more materials it requires. Also, info-cards (those small popup white rectangles with info) show correct amounts and correct building names.

"I want to change config.json manually"
Locate config.json in %userprofile%\Documents\Klei\OxygenNotIncluded\mods\config\ExtendedBuildingWidth.
Note: config.json is created when you press "Manual config" button on main Mod screen, or when you make some changes on one of UI screens and then press "OK" button on main Mod screen

"2. My game crashes"
One common scenario for a crash is when ONI developers recently rolled a patch, or one of your mods (including this one) got an update. In that case you can detect what mod exactly causes the crash with steps below:
1. At the crash screen uncheck all mods that are marked red (usually it is done automatically)
2. Restart
3. If the crash is still there - uncheck half of the active (checked) mods (or uncheck them one-by-one).
4. Perform steps 2-3 until the game stops crashing.
[........]
The game is finally loaded, and now you know that the core of problem lays in the very recent iteration of steps 2-3.
5. Activate the recently deactivated bunch of mods one-by-one (or half at a time)
6. Restart.
7. Perform steps 5-6 until the game start crashing again.
[........]

You just located the problematic mod.
If it is this mod - go to section "3. I still have a problem" and create a Github issue ticket.

"3. I still have a problem / Nothing of the above helps"
Create an issue ticket on Github issue page: https://github.com/pakvg85/ONIMods/issues/new/choose.
I do not resolve problems via comment section. Please use GitHub issue tab.

Source code
https://github.com/pakvg85/ONIMods
90 Comments
Shrglwyddes 4 Sep @ 4:59am 
Excellent idea! Good work btw. I hope it was not too much trouble to convert to the new system. Here's an updated (i think?) config.json that reflects all the vanilla buildings and all the new bridges in Ronivan's Legacy, which is very popular.

Thanks again!
INFLAMES  [author] 3 Sep @ 5:35pm 
@Shrglwyddes, I'm thinking about a good way to share other players' settings. Now the mod has new format and it would be easier to juggle with json
INFLAMES  [author] 3 Sep @ 2:13pm 
Just released update 1.2.10 - now config.json can be edited outside of the game more easily.
>>> Your existing configs can still be accepted, do not rewrite them manually <<<

If you don't have config.json and you use just the standards - you will not notice anything.
If you have config.json in old format - the game will accept it and operate correctly.
If you want to convert your config into new format - just press button "MANUAL CONFIG" or "OK" on the Main Mod Screen - the file will be rewritten with new formatting.

For editing you could use something like Notepad++ with "JSON Viewer" plugin installed
Shrglwyddes 28 Aug @ 6:06am 
BTW, here is a new config.json file that covers all bridges in all major mods (including new High Pressure Applications). I humbly suggest you consider deploying it as default, as it would creates maximum compatibility. https://pastebin.com/Nu45Bb0i
INFLAMES  [author] 2 Aug @ 8:48am 
oh, I had a feeling that Sgt Imalas' issue is the exact same as yours. good to know it is fixed.
although I would still recommend to become familiar with Github - if not for this mod, then for some other one. I believe it would be helpful.
and again - you can ask help either at Discord ONI community, or here in the comments
Shrglwyddes 2 Aug @ 8:36am 
I’m glad Sgt Imalas was able to help you out. Thanks for the update! I’ll be able to test it next week. You added more defaults too, awesome. Thank you for your prompt replies, I understand GitHub is a standard for developers for many good reasons. Great mod as always.
INFLAMES  [author] 2 Aug @ 4:38am 
Github issue page is much more useful for mod developers and for other players, because it allows to track issue history for the particular mod, and maintain all data related to a particular bug in one place.
Steam comment section does not maintain issue data in one place, and Discord topics does not quite track the history of bugs, and makes it more difficult for devs and other players.
I picked Github because almost everyone use it as a standard (except one or two devs who does not use it at all).

I think your troubles with Github can be helped. What step got you stuck?
Shrglwyddes 19 Jul @ 8:39am 
I apologize for the differences in our schedule. Unfortunately, I have never used github before, and I don't know how to do so. I am more accustomed to resolving issues through the ONI discord. https://discord.gg/oxygennotincluded I hope this is an effective solution. Do let me know, if not, and I will find another solution. Thank you for your patience.
INFLAMES  [author] 19 Jul @ 3:46am 
I can't help you if you are not helping. also now I see why other modders lock their comment section and allow all interaction only via tickets