Oxygen Not Included Wiki talk:Community portal

[Please start new messages at the bottom of the page or click this link to add a new section.]

anyone has acces/source to ingame building pictures?, i want to make stamps for snagit.

I'm prevented from referencing articles properly
Twice not I have been prevented from properly reference the articles I'm making because of the spam filter.

This is the message I get: * The text you wanted to save was blocked by the spam filter. This is probably caused by a link to a blacklisted external site. * The following text is what triggered our spam filter: youtu.be

The source I'm using is a link to the exact time in the video where the information is, for example: "https://youtube.com/watch?v=CKlEDVYF0xM&t=750" [Edited: KGello (talk) 16:09, 11 July 2019 (UTC)] (I have to put a "-" in the link so it breaks and doesn't trigger the filter), I get this link from right clicking on the video.

What can I do to be able to properly reference the articles without having to break the link each time?


 * I've managed to make your link work by editing the URL as you see I have. KGello (talk) 16:09, 11 July 2019 (UTC)

Interest in linking to external guides?
By JahwsUF

I've been on-and-off maintaining a set of Steam-based text guides for the game and have mostly updated them to the release version at this point. I strive to make these newbie-friendly while not being too hand-holdy.

I do see that we have a guides section here, but I think all of them are short, succinct, and are hosted on this wiki. I'm really hesitant to duplicate all the work, so would it be reasonable to link these in the Guides category? In case it matters, Steam-based guides have no monetization scheme so far as I know; they're solely for the benefit of the community.


 * Surviving the Early Game
 * Surviving the Mid Game

There's another one for common, useful structures linked by those two as well.

I can easily understand if these aren't quite what this wiki's community is looking for, but just in case, I thought I'd ask in case you'd want to offer links to these newbie-oriented guides.

New information to be added
A fairly extensive compilation of information on the forum exist made by BLACKBERREST3, and he has recently made a copy on the wiki: https://oxygennotincluded.gamepedia.com/User:BLACKBERREST3/ONI_University

This information needs to be moved into the relevant pages/create new pages and be properly referenced. Chintam (talk) 11:35, 23 October 2019 (UTC)

Graphical Tile Of Interest Prototype
Hi all!

I was surprised to see there were no graphical "tile of interest"(TOI) indicators for buildings, so I had a go at it myself. I had to copy a wikimedia template (Superimpose) to do it, I hope that is ok and that I did it correctly.

One thing I have noticed is that the template isn't scaling the images, so it would be great if someone could look into that as I have no idea what could be wrong.

The prototype is on the Rock Crusher page. Please have a look and tell me what you think. ( Maybe it would be better to show the TOI with a grid? )

Perhaps in future it could be incorporated into the main building infobox, with a button to enable/disable the overlay maybe?

-- Niightblade (t)  09:34, 9 February 2021 (UTC)


 * I think this is great!


 * Template:Superimpose trascluded Template:if empty, which was not present on this wiki, and actually invokes a module. I substituted that template to standard wiki code, and now resizing works.


 * Targetting the cyan frame is pretty tricky, some logic would be nice, so tiles could be used instead of pixels.
 * KGello (talk) 11:21, 9 February 2021 (UTC)


 * Thanks, I must have missed a bit of that invoke! I agree a new template that uses tiles for targeting is needed, and I think I've worked the math out:


 * X_pixels = (X_tiles - 1) * 29 + 5


 * Y_pixels = (Y_tiles - 1) * 29 - 4 


 * so for the Rock Crusher our TOI target in tiles is x2 y4 which works out to:


 * X_pixels = (2 - 1) * 29 + 5 = 34


 * Y_pixels = (4 - 1) * 29 - 4 = 83 


 * However math is one of my many weaknesses so I may be off! I'll need to test it on a few more buildings.  Also this all assumes the top-left tile is 1, 1 which may be counter-intuitive to some people, I'm not sure.


 * Another thought just occurred to me -- perhaps we should be using https://en.wikipedia.org/wiki/Template:Superimpose2 as it can handle more than 2 images?


 * -- Niightblade (t)  12:06, 9 February 2021 (UTC)


 * I think you'll run into problems unfortunately, beccause the building images on the wiki are GUI elemnts, not the in-world object art. So for example the rock crusher's image is not four times as wide as the manual airlock's.


 * A potential solution could be to divide the image width/height with the object width/height in tiles, since if you want to put TOI on the infobox, this value is at hand. Sadly, I had a tangetially similar problem when developing the building cards, and I couldn't figure out how an image's dimensions could be stored as variables, so they can be used in calculations. Modules are more powerul then parser functions, so they may hide the solution. Priviliged access is needed to create and edit modules.


 * When you create the targeting template, You'll have to decide whether to support resizing. I don't see that in you calculations.


 * KGello (talk) 12:39, 9 February 2021 (UTC)


 * Another wrinkle: We will definitely need multiple superimpositions for some buildings, but alas the Superimpose2 template has multiple dependencies, and is far too complex for me to tackle.  I'm thinking the best solution atm is to only annotate buildings that have unusual TOIs, using Superimpose for the ones with a single TOI, and GIMP2 or w/e for multiple TOIs as "hard-coded" images.


 * https://feheroes.gamepedia.com/Module:Superimpose seems to do what we need, so that's one issue resolved if we decide to go down that path. A modified version of it could probably handle tile-based targeting and auto-scaling, but modules are a bit beyond my capabilities atm  :)
 * -- Niightblade (t)  01:27, 10 February 2021 (UTC)


 * This module is pretty great! Using information from this manual (https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#File_metadata) we could indeed modify it to do exactly what we want. Now it's jusst finding the time to figure it out...


 * KGello (talk) 13:24, 10 February 2021 (UTC)


 * Edit: In the meantime TOI information should be added to building infoboxes, since that is immediately useful. With a minimal javascript we could create a field that says "Hover to show tiles of interest". (It should support touchscreens as well.) I'm about to add support for the DLC to them, so it would be nice to figure this out as well in time. Recreating the database puts load on the server. What kind of TOIs are there?


 * KGello (talk) 13:34, 10 February 2021 (UTC)


 * Sounds good! (Note that module doesn't seem to have any scaling options.)  As for the types of TOI, I'm still working through an oldish reddit post that details the TOI of most buildings with pictures and cumbersome text descriptions ("middle left bottom tile").  (At some stage I would like to verify al this in-game of course.)  I'll start putting together a draft specification in my sandbox with the aim of standardization and simplification.


 * -- Niightblade (t)  01:43, 11 February 2021 (UTC)


 * Now that I've brainstormed this idea further, I'm currently leaning toward the idea of just doing the few buildings with hard-to-guess or unexpected TOI offline in GIMP2 :-)


 * -- Niightblade (t)  10:47, 11 February 2021 (UTC)


 * Spreadsheet (still mostly from the reddit post) here: https://docs.google.com/spreadsheets/d/1madIiZZm4hfaboN003kE6yM-tQ8nakPB_cgOY-KYuVU/edit?usp=sharing


 * -- Niightblade (t)  03:54, 13 February 2021 (UTC)

It's cumbersome to format, as I'm on mobile. Do you have all buildings in your list, or only those that the Reddit post discusses. Do you need help assembling a complete list? I see that everywhere you put tested: CS, you also bolded the line. Does this mean every building you checked had to be fixed or expanded upon?

Check out the #wiki-collab channel on the ONI Discord,

KGello (talk) 08:16, 13 February 2021 (UTC)


 * (This wiki really needs the outdent template at the very least!) I *think* I have all the buildings listed as of CS.  The sheet is still very much a WIP, and is far from complete.  Bold text indicates my changes from the original reddit post -- so if the line is 100% bold, that's because it wasn't listed and I added it (and tested it in-game where indicated), otherwise, the bold parts are corrections I've made.  Not every building I checked had to be fixed.  (I haven't actually checked very many yet!)  I'm lurking on discord as I type this, my handle is "Nighty".  :-)


 * -- Niightblade (t)  11:24, 13 February 2021 (UTC)


 * I've changed my user name. How's it going? What do could you use some help with? KGello (talk) 20:31, 17 February 2021 (UTC)