Barotrauma

Barotrauma

Barotrauma Workshop
You can build your own submarines and monsters with in-game editors and share your creations with other players. Imagine and experiment.
how to make a poster pack
Is there some sort of youtube tutorial i can follow? my friend and i want to make our own poster packs, but we arent sure where to start, or how we should start. Any advice?
< >
Showing 1-3 of 3 comments
Buggy Boy 10 14 Jul, 2023 @ 2:02pm 
Do you mean posters that you can apply to walls in the sub editor, as part of a mod?

I don't know about YouTube guides, many will likely be out of date by now anyway, but it sounds like you should just need a generic guide on how to make a mod which I believe should be in the Guides section here on Steam for this game, or on the Wiki page.

I've never made posters so can't be more specific, you should look through the game files for the posters, probably somewhere like \steamapps\common\Barotrauma\Content\Items (where ever your Steam Library is) and try to find the graphics files for posters and the xml files that go with them.

You could also investigate the sub editor, if you Shift+RMB on a poster it opens up the possibility to edit / import your own images. Just had a quick play now, didn't know it existed before!
Last edited by Buggy Boy; 14 Jul, 2023 @ 2:21pm
DuckieMcduck 5 14 Jul, 2023 @ 4:20pm 
You can look at current mods to see how they do it.
This one for instance is an Override mod:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2966707188&searchtext=propaganda

After you subscribe and download it ingame, the modfiles will be in this folder:

C:\Users\<user>\AppData\Local\Daedalic Entertainment GmbH\Barotrauma\WorkshopMods\Installed\2966707188

If you open the file "catpropagandabanner_structures.xml" you'll be met with the following structure:

<?xml version="1.0" encoding="utf-8"?> <prefabs> <!--from OutpostStructurePrefabs.xml--> <Override> <OpDeco name="" nameidentifier="opdeco_propagandaposter" identifier="opdeco_propagandaposter4" width="160" height="224" texturescale="1.0,1.0" scale="0.5" category="Decorative" allowattachitems="true"> <sprite texture="%ModDir%/catpropagandabanner_spritesheet-c.png" sourcerect="0,0,160,224" depth="0.97" premultiplyalpha="false" origin="0.5,0.5" /> </OpDeco> <OpDeco name="" nameidentifier="opdeco_propagandaposter" identifier="opdeco_propagandaposter5" width="160" height="224" texturescale="1.0,1.0" scale="0.5" category="Decorative"> <sprite texture="%ModDir%/catpropagandabanner_spritesheet-c.png" sourcerect="0,226,160,224" depth="0.965" premultiplyalpha="false" origin="0.5,0.5" /> </OpDeco> <OpDeco name="" nameidentifier="opdeco_propagandaposter" identifier="opdeco_propagandaposter6" width="160" height="224" texturescale="1.0,1.0" scale="0.5" category="Decorative"> <sprite texture="%ModDir%/catpropagandabanner_spritesheet-c.png" sourcerect="162,226,160,224" depth="0.965" premultiplyalpha="false" origin="0.5,0.5" /> </OpDeco> <OpDeco name="" nameidentifier="opdeco_propagandaposter" identifier="opdeco_propagandaposter7" width="160" height="224" texturescale="1.0,1.0" scale="0.5" category="Decorative"> <sprite texture="%ModDir%/catpropagandabanner_spritesheet-c.png" sourcerect="324,226,160,224" depth="0.965" premultiplyalpha="false" origin="0.5,0.5" /> </OpDeco> <OpDeco name="" nameidentifier="opdeco_propagandaposter" identifier="opdeco_propagandaposter8" width="160" height="224" texturescale="1.0,1.0" scale="0.5" category="Decorative"> <sprite texture="%ModDir%/catpropagandabanner_spritesheet-c.png" sourcerect="324,0,160,224" depth="0.965" premultiplyalpha="false" origin="0.5,0.5" /> </OpDeco> <OpDeco name="" nameidentifier="opdeco_propagandaposter" identifier="opdeco_propagandaposter9" width="160" height="224" texturescale="1.0,1.0" scale="0.5" category="Decorative"> <sprite texture="%ModDir%/catpropagandabanner_spritesheet-c.png" sourcerect="162,0,160,224" depth="0.965" premultiplyalpha="false" origin="0.5,0.5" /> </OpDeco> </Override> </prefabs>
This code, written by Dan and company, overrides existing banners, which are identified ingame as "Propaganda Banners", with the "catpropagandabanner_spritesheet-c.png" file within the modfiles. Which contains funny cat images.

If you want to make your own, you may go to:
C:\Program Files (x86)\Steam\steamapps\common\Barotrauma
And then create a "LocalMods" folder. You may copy and paste the entire cat propaganda mod folder there.

Afterwards you'll modify the filelist.xml file, which is responsible for describing the mod, to have a different mod name, and then change the image of "catpropagandabanner_spritesheet-c.png" in an image editor to see if you can load it.

After you get the gist of modding, you may remove the Override parameters and change the identifiers to make new posters instead of replacing current ones, which should be also discoverable within the sub editor.
Last edited by DuckieMcduck; 14 Jul, 2023 @ 4:25pm
Taste Of Pancakes 14 Jul, 2023 @ 8:30pm 
Originally posted by UnluckyDuckie:
You can look at current mods to see how they do it.
This one for instance is an Override mod:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2966707188&searchtext=propaganda

After you subscribe and download it ingame, the modfiles will be in this folder:

C:\Users\<user>\AppData\Local\Daedalic Entertainment GmbH\Barotrauma\WorkshopMods\Installed\2966707188

If you open the file "catpropagandabanner_structures.xml" you'll be met with the following structure:

<?xml version="1.0" encoding="utf-8"?> <prefabs> <!--from OutpostStructurePrefabs.xml--> <Override> <OpDeco name="" nameidentifier="opdeco_propagandaposter" identifier="opdeco_propagandaposter4" width="160" height="224" texturescale="1.0,1.0" scale="0.5" category="Decorative" allowattachitems="true"> <sprite texture="%ModDir%/catpropagandabanner_spritesheet-c.png" sourcerect="0,0,160,224" depth="0.97" premultiplyalpha="false" origin="0.5,0.5" /> </OpDeco> <OpDeco name="" nameidentifier="opdeco_propagandaposter" identifier="opdeco_propagandaposter5" width="160" height="224" texturescale="1.0,1.0" scale="0.5" category="Decorative"> <sprite texture="%ModDir%/catpropagandabanner_spritesheet-c.png" sourcerect="0,226,160,224" depth="0.965" premultiplyalpha="false" origin="0.5,0.5" /> </OpDeco> <OpDeco name="" nameidentifier="opdeco_propagandaposter" identifier="opdeco_propagandaposter6" width="160" height="224" texturescale="1.0,1.0" scale="0.5" category="Decorative"> <sprite texture="%ModDir%/catpropagandabanner_spritesheet-c.png" sourcerect="162,226,160,224" depth="0.965" premultiplyalpha="false" origin="0.5,0.5" /> </OpDeco> <OpDeco name="" nameidentifier="opdeco_propagandaposter" identifier="opdeco_propagandaposter7" width="160" height="224" texturescale="1.0,1.0" scale="0.5" category="Decorative"> <sprite texture="%ModDir%/catpropagandabanner_spritesheet-c.png" sourcerect="324,226,160,224" depth="0.965" premultiplyalpha="false" origin="0.5,0.5" /> </OpDeco> <OpDeco name="" nameidentifier="opdeco_propagandaposter" identifier="opdeco_propagandaposter8" width="160" height="224" texturescale="1.0,1.0" scale="0.5" category="Decorative"> <sprite texture="%ModDir%/catpropagandabanner_spritesheet-c.png" sourcerect="324,0,160,224" depth="0.965" premultiplyalpha="false" origin="0.5,0.5" /> </OpDeco> <OpDeco name="" nameidentifier="opdeco_propagandaposter" identifier="opdeco_propagandaposter9" width="160" height="224" texturescale="1.0,1.0" scale="0.5" category="Decorative"> <sprite texture="%ModDir%/catpropagandabanner_spritesheet-c.png" sourcerect="162,0,160,224" depth="0.965" premultiplyalpha="false" origin="0.5,0.5" /> </OpDeco> </Override> </prefabs>
This code, written by Dan and company, overrides existing banners, which are identified ingame as "Propaganda Banners", with the "catpropagandabanner_spritesheet-c.png" file within the modfiles. Which contains funny cat images.

If you want to make your own, you may go to:
C:\Program Files (x86)\Steam\steamapps\common\Barotrauma
And then create a "LocalMods" folder. You may copy and paste the entire cat propaganda mod folder there.

Afterwards you'll modify the filelist.xml file, which is responsible for describing the mod, to have a different mod name, and then change the image of "catpropagandabanner_spritesheet-c.png" in an image editor to see if you can load it.

After you get the gist of modding, you may remove the Override parameters and change the identifiers to make new posters instead of replacing current ones, which should be also discoverable within the sub editor.

♥♥♥♥♥♥♥♥♥ thank you, ilysm!
< >
Showing 1-3 of 3 comments
Per page: 1530 50