Custom Structures
Adds new unique structures to world generation, with over 1300 community-made structures!
| Date uploaded | 3 hours ago |
| Version | 1.4.0 |
| Download link | Jimmyking-Custom_Structures-1.4.0.zip |
| Downloads | 8 |
| Dependency string | Jimmyking-Custom_Structures-1.4.0 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2305Jimmyking-CUCoreLib
Core modding library for Casualties: Unknown. Adds content registration, hooks and shared utilities that other mods build on!
Preferred version: 1.1.0README
Custom Structures
A mod that adds >1300 user-created custom structures!
A World Built From Everyone

Custom Structures lets you create and use custom structures made from other people!
Design structures in the browser, export them, and drop them directly into your game.
More than 1307 structures are already available to discover and use. Woah.

What's Included?
Custom Structures In-game
Add fresh new structures filled with dangers and loot to your runs, made from the community! Browse structures with the online or in-game structure browser.
Online Structure Editor and Browser
Build and edit structures visually with the browser-based editor, and share it with the world! Create with custom properties for every tile, liquid, item, and entity.
Structure Editor

Create, edit, preview, and export your own structures in the online editor!
Open The Editor Here! ->
Editor Controls
The editor follows the control scheme of Aseprite, and is heavily inspired by said program ^^
- Middle mouse: Pick blocks or pan
- Space: Pan camera
- S: Select tool
- B: Brush tool
- Ctrl + C / Ctrl + V: Copy and paste
- Ctrl + Z / Ctrl + Y: Undo and redo
Otherwise, use the given tools in the application! There's little you can't hover on for help

Downloading Community Structures
- Visit the Structures Library
- Download any structures you want.
- Move them into the
BepInEx/plugins/Structuresfolder (with a mod manager, this is inside your profile folder) - Restart the game or run
reloadstructuresvia the console
Alternatively, open the in-game structure browser in the main menu background and download directly into the game!

Console Commands
| Command | Description |
|---|---|
structure {id} |
Spawn a custom structure |
locatestructure {id} |
Locate a custom structure |
reloadstructures |
Reload all structure files |
Installation
You're able to (and recommended to) install this with a mod manager. Thanks, Thunderstore!
For a manual install, extract the mod into BepInEx/plugins, alongside CUCoreLib:
Casualties Unknown/
└── BepInEx/
└── plugins/
├── CUCoreLib.dll
├── CustomStructures.dll
└── Structures/
└── YourStructure.txt
Enjoy your structures!
CHANGELOG
Changelog
v1.4.0
- Huge optimizations (>10x speeds! Wow!)
- Added IDs, triggers, logic and command running to structures (Logic gates, activation zones, command triggers, move triggers, spawn triggers, etc...)
- Added custom lighting objects
- Updated the structure preview for in-game structures
- Added decay field
- Structures can now be downloaded straight from the in-game console using a URL or the structure’s name
- Fan attachment custom property
- Lore notes can have the EPDA font
- Added a slider in the settings menu to tone down vanilla structures
- Structures now respect CUCoreLib's tagging system
- Added Backgroundify, to bring foreground entites to the background (cannot be hit)
- Added lighting to the structure browser. Woah. There's now Dark/Dim/Bright/Fullbright options with the game’s own ambient light settings
- Added a background dropdown so you can preview structures against any layer’s own background
- Many nice UI changes
- Fixed a few items not displaying correctly in-game, or having the wrong values
- Fixed climbing ropes mixing up the extended and normal variants
- Mobile support for the browser (limited)
- Added
wallholes - Loading bar
- Geysers have a
liquidtypecustom property - QoL support, + full world saving qol support
- Lifepodlights can be in different colors now
- Magazines spawn with max ammo if in containers by default
- Scrapeaters and bio terminals have IDs as optional args
- Fixed lifepod pump spawning issues
- Fixed multiplayer spawn persistence bug (structures no longer bleed into your own worlds after playing in a lobby)
- Updated in-game structure browser
v1.3.0
- Full release support!
- Full release webapp support! Yay!
v1.2.5
- Added v5 multiplayer support. For v4 use, please use v1.2.3 of custom structures.
- Fixed caching in custom structures
- Fixed traders teleporting to 0,0 when aggroed
- Fixed long load times from simulating the player, causing freezing when loading lots of structures
- Fixed buttons breaking if pressed too many times, crystals not appearing at all for clients without custom structures mod
- Fixed webapp issue where background movement moved custom property tags
- Webapp containers now have every item, and has added qol
v1.2.4
- Fixed crystals, (and lighting) yay! Note that due to KrokMP's lack of crystal sync, some visual effects may affect the host. Not much that can be done for now, but it should be relatively minor
- Clients that join hosts will properly get working structures
- Fixed certain ID-trigged visuals (e.g. turrets, showers) from not appearing as the client
- IDs are now not worldwide >.>
- Community in-game browser query is better, and can be exited with ESC
- Added loading bar for clients connecting
- Clients connecting to a host without custom structures now takes 3 seconds
- Hide menu button setting
- Line tool, with pixel perfect :)
- Structure placement is now incremental and cached, and should help with lag. Clients get this propagation, so they also don't freeze when you place your 800x800 structure (given both client and host are on the latest mod version)
- Debug worlds made with the base game or MP now do not spawn structures by default (like the tutorial!)
- Fixed the
structureconsole command blocking the game during placement - If you get a game unresponsive freeze with this new version, that is now officially an error and not part of the behaviour
- Webapp will now no longer download .txt files for newer structures, and the infinite scroll is partially fixed (gotta lower my firebase costs haha)
v1.2.3
- Uses tilemaps for background/foreground layers, which is a huge optimization
- Also generates in chunks, which might help with freezing even if it is technically every so slightly slower
- Fixed people in multiplayer without cucorelib getting a grid worldgen (byte send request issue)
- Late joiners in multiplayer should have full working structures
- Optimize large structure generation, for both host and clients
- Restored magma
- Fixed timeout issues in MP when loading a large custom structure
- Fixed floodfill for conjoined foreground layer tiles (counted air for some reason?)
- Fixed crystals not showing their desc
- Fixed conditions not working
v1.2.2
! NOW USES CUCORELIB v1.0.6 !
- Fixed custom background tiles, decal, and custom (button, lorenote, etc...) buildingentity data being lost during multiplayer sync
- Added hidden foreground tile support!
- Updated game item, entity, container, and texture data to the latest release
- Added shuttle/elevator ID + movement support.
- Made ladder smooth
- Added crystal marker properties
- Structure placement caching for sparse structures
- Added multiplayer compatibility and synchronization improvements for custom objects, entities, tiles, and registrations.
- Added community browser filtering
- Fixed browser scaling on ultrawide displays.
- Fixed interaction bugs for UI
- Updated item/entity aliases
- Reworked rendering, texture caching, noise tools, palettes, storage, and structure previews!
- Optimized world-generation, structure browser webapp, and structure placement
- Fixed community-browser page sorting (maybe)
- Added custom CUCoreLib support for modded structures, with local previews for tiles/buildingentites
- Fixed ammo containers, added field for ammoamount (can go above max cap ;) )
- Added missing plushie image
Re. Terrain/New layer tools: Okay. These changes were made in conjunction with a multiplayer v5 compatible release branch. However, due to the delay of v5 for multiplayer, I decided to archive that branch. As such, the new terrain and layer tools may have to be delayed for longer while I figure out if I should surgically extract it and rewrite the logic or potentially leave it unfinished until mpv5 comes out :( It sucks, yeah...
v1.2.1
- V7 compatibility!
- Added magma, new items, new crystal enemy/food
- I will probably not add said crystal effects for the time being
- All entity objects now have a health you can set
- Updated to fix v7 UI clickthrough bugs
- New filters for the structure browser
- Fixed ultra-wide resolution scaling
- Updated names and added automatic mapping, so old structure work without manual adjustment
v1.2
- Mod now fully works in multiplayer. This is a server-side mod, and all clients must also have the mod for full functionality. It works if only the host has it, but only tiles and other objects will sync
- Said multiplayer functionality includes synced worldgen, synced doors, backgrounds, props/decor, structure console commands, and other fun id toggles
- Fixed many issues and bugs in-game
- Fixed that one super annoying click-through-ui-bug
- Large reworks to allow for something special in the future ;)
- The webapp has a voting system. There is limited anti-abuse measures, but I'm keeping an eye on it and it's prone to just getting removed if that happens. I trust all of you :sweat_smile:
- Large-scale structures are a lot more optimized, layer/worldgen update soon
- Discord embeds! Yay!
- Many small changes that will now be listed rapidfire: better infinite scroll, first-time mod download support, load optimizations, backend changes, ctrl + f, structure browser screen effect fix, better qol integration, better in-game browser, zipped mass-downloads, mod size compression
v1.1.1
- Added an in-game structure browser
- Readded 5 missing objects
- Lag fixes (!)
- Fixes for item pool condition precents
- Webapp QoL
- Fix climbing ropes
- Add no overlap flag
- Per-structure spawn multipliers
- Rendering fixes (for the webapp, for the sake of optimization the in-game browser is still not great)
v1.1
- The editor is now like an actual professional editor, yay! This was heavily inspired by Aseprite, so the keybinds you're familiar with (if you use aseprite) work here
- Swapped to a react framework with the Pixi renderer, which allows for seamless movement across hundreds of thousands of tiles.
- Added custom properties to multitudes of things.
- Want to make a crate only drop a specific item? Sure.
- Want to have a 50% chance of spawning a minibarrel with 10000ml of fent and 50% chance of it being full of mold? You can do that.
- Want to drop a 1% condition material pouch with 40 1% condition canvases in it? Yeah, sure
- You can write your own messages on wall notes
- Added lifepod buttons and an ID system. Anything sharing the same ID will be triggered. Doors, turrets, landmines, lifepod showers, lights, etc... (Sorry, ac will have to wait a bit)
- Added background objects, and cheated a bit to add custom new v6 background objects ;)
- Lifepod pumps now work, and divert water to the nearest
pipeoutside - Added layers, we're a real pixel art program here now
- Added unlimited custom objects and items
- Added a project save viewer, so you don't need to carry .txt files around (still do, though)
- You can now update (and soon delete) your own created structures. Woah.
- Made the web browser use the pixi renderer, so you can see everything clearly ^^
- Updated many sprites to match their iname version
- Added a new level save format (~saving 44% space despite all the new features)
v1.0.1
- Console commands support for v503
- Added all removed content back
- Added new structures to webapp visualizer
- Added new items to webapp visualizer
structuremulticonsole command, to change your global structure amount multiplayer. (I.e.structuremulti 0.5turns 5 structures/layer to 2 structures, with a 50% chance of 3 structures)- Minor optimizations, I can't do much without a massive overhaul of the structure process. So I guess prebaked regex and better data structure will have to do for now :>
- QoL mod seeded support
- Update checker for new versions
v1.0.0
- Initial Release. Enjoy the mod!