View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0015605 | Bionic Dues | Suggestion | Jul 31, 2014 8:21 am | Aug 1, 2014 9:28 am | |
Reporter | nas1m | Assigned To | keith.lamothe | ||
Status | resolved | Resolution | fixed | ||
Product Version | 1.011 | ||||
Fixed in Version | 1.012 | ||||
Summary | 0015605: Add support for custom floor tiles | ||||
Description | From the forums: [quote author=keith.lamothe link=topic=16029.msg177436#msg177436 date=1406297451] Looking in the code, I see an enum for FloorType with the following valid values: Factory, FactoryDark, FactoryRed, FactoryPoisonGas, MutedMachinery, GlassRed, GlassPurple, There's also a FloorEdgeType: Wires, Pipes, SmallRibbed, I could add some values to those like "Custom1", 'Custom2", etc, and thus it would recognize files by those names (I'd have it ignore those values if the corresponding files were not present) and use them. I imagine that would handle the main use cases you have in mind. I could also make it no longer enum-based and just read in what's there, but that would be considerably more work. [/quote] [quote author=nas1m link=topic=16029.msg177441#msg177441 date=1406302585] I see. Adding a couple of enum values for custom maps would be totally sufficient, thanks! Maybe roundabout [ten]20? That should suffice for now ;)... [/quote] | ||||
Tags | No tags attached. | ||||
Internal Weight | New | ||||
|
For 1.012: * Added support for custom floor and floor-edge (wall) graphics: ** For floors, the game looks in the RuntimeData\Images\Floors\ folder, for files matching "Custom_*.png" (note the underscore, it is required). *** It will read in at most 99 of these, but that should be plenty variety if someone ever manages it. *** Make sure any pngs you put in here are of exactly the same canvas/texture size as the base-game ones (1024x1024) ** For floor edges, the game looks in the RuntimeData\Images\Floors\Edges folder, for _folders_ matching "Custom_*" (again, underscore required). *** It then expects to find (and will be quite unhappy if it does not find) the following four files in each of those custom folders: **** HorizN.png **** HorizS.png **** VertE.png **** VertW.png *** It expects each of these to be 128x128, so make sure they are. *** Again, it will read in at most 99 of these. ** With all of this, if you change, add, or remove any of the Custom_ textures/folders you'll need to restart Bionic.exe for those changes to take effect. Thanks :) |
Date Modified | Username | Field | Change |
---|---|---|---|
Jul 31, 2014 8:21 am | nas1m | New Issue | |
Aug 1, 2014 9:28 am | keith.lamothe | Internal Weight | => New |
Aug 1, 2014 9:28 am | keith.lamothe | Note Added: 0038804 | |
Aug 1, 2014 9:28 am | keith.lamothe | Status | new => resolved |
Aug 1, 2014 9:28 am | keith.lamothe | Fixed in Version | => 1.012 |
Aug 1, 2014 9:28 am | keith.lamothe | Resolution | open => fixed |
Aug 1, 2014 9:28 am | keith.lamothe | Assigned To | => keith.lamothe |