RimWorld

RimWorld

BetterSandbags
64 Comments
Goalie  [author] Aug 2 @ 9:58pm 
OK, everything is updated, sorry for the wait. Have fun out there!
Avokant Jul 25 @ 11:05pm 
Okay!
Goalie  [author] Jul 13 @ 8:16pm 
Looks like after all these years there is a change to the XML format I will need to look at. I'll try to get to it in the next day or so, sorry.
Avokant Apr 18, 2024 @ 7:48pm 
Damn its been 7 years since you posted this mod and you've been keeping it up to date since 0.18. Good on ya!
Taemaly Feb 4, 2023 @ 6:30pm 
Thank you :)
Goalie  [author] Feb 4, 2023 @ 5:51pm 
I just confirmed it, I'm making the proper update package now, but it works as-is
Thundercraft Feb 4, 2023 @ 5:42pm 
Can any confirm that this works okay in RimWorld 1.4? :lunar2020sweatrat:
Taemaly Dec 13, 2022 @ 2:00pm 
oh nice thank you , I will check incase it doe work anyway
Goalie  [author] Dec 13, 2022 @ 1:49pm 
@Teamaly
its almost certain to work as is, due to its simplicity but I'll try to get some time this weekend.
Taemaly Dec 13, 2022 @ 12:55pm 
Please consider updating this
Taemaly Nov 21, 2021 @ 11:44am 
Thank you so much for updating this!
Goalie  [author] Jul 20, 2021 @ 10:23am 
now with 1.3 goodness.
Goalie  [author] Mar 31, 2020 @ 2:27pm 
Updated for 1.1, sorry for the delay.
DSD Mar 28, 2020 @ 9:56am 
Does this work in 1.1?
Shavrak Chay Jan 8, 2019 @ 11:48pm 
I came here for the pizza rolls in the picture
Mewfuz Nov 1, 2018 @ 1:51pm 
Finally! Thank you! One of the most infuriating quirks I had with vanilla is solved! So many cookies for you!
Veyn Wingsong Oct 20, 2018 @ 12:51pm 
Thank you! Looking forward to putting it to use.
Fell-x27 Oct 20, 2018 @ 6:58am 
Awesome! Thanks!
Goalie  [author] Oct 19, 2018 @ 5:35pm 
ok, all updated, it was easier than I thought.
Goalie  [author] Oct 19, 2018 @ 4:54pm 
yes, I'm hoping to get a chance this weekend
Fell-x27 Oct 19, 2018 @ 1:09pm 
1.0?
Veyn Wingsong May 22, 2018 @ 7:54pm 
Thank you SO much! A mod that makes sense! I don't know of ANY real-world sandbag that's made with steel.
Depleted Feb 22, 2018 @ 5:06am 
Yo, just wanted to say that i had been using the mod without issue b4 the new update, however thanks for updating it :)
Goalie  [author] Feb 21, 2018 @ 6:06pm 
Ok, sorry for the delay, I'm back to Rimworld now. Everything is updated for v18 as well as a fix for the broken raids (see update above)
Nylem Feb 21, 2018 @ 4:40pm 
Please update. Thanks!
Depleted Jan 12, 2018 @ 5:42am 
update the mod please <3
Graywolf Nov 21, 2017 @ 8:04am 
Works with B18
Saxon Nov 13, 2017 @ 12:30pm 
I really liked this mod but it broke pirate sieges. It felt too much like cheating because the pirates would leave free mortar rounds without buildig their own artillery.
5katz Oct 20, 2017 @ 10:14am 
ay boii theres a small startup warning that looks easy AF to fix:

Config error in Sandbags: Sandbags is madeFromStuff but has a defined constructEffect (which will always be overridden by stuff's construct animation).
Verse.Log:Warning(String)
Verse.DefDatabase`1:ErrorCheckAllDefs()
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
Verse.GenGeneric:InvokeStaticMethodOnGenericType(Type, Type, String)
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.Root:<Start>m__84C()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__84A()
DonnieLove Aug 21, 2017 @ 12:24am 
I'd like to point out that different HP based on material does make more sense than universal HP. From experience: sandbags that have gotten wet and dried several times over become hard, sometimes like concrete, and they're a lot harder to punch through than freshly filled bags with dry dirt. Are they moveable, and if not will they ever be?
BinkyDragonlord Aug 4, 2017 @ 12:36pm 
Found a bug that I'm pretty sure is caused by this, it sounds related to the error you mention in the description. After adding to an existing save with vanilla sandbags, choosing an old sandbag and 'build a copy' vanishes my entire UI menu system. Architect, Work, Research, Menu, all the tabs are gone. No way out but quitting to desktop and reloading. I assume it's because it can't find the object it's meant to copy since vanilla bags don't really exist anymore. No idea why it makes all the menu tabs vanish though.
Mad Derp Packer Jul 26, 2017 @ 5:42pm 
Can the recipe inculde textiles? Bcoz sandbags need Bag to hold them.
Anvil Pants Jul 22, 2017 @ 6:42am 
@Goalie; it's probably the categorized "stuff" breaking sieges. Vanilla siege is already coded to read <costList> on recipes; maybe it just doesn't understand <stuffCategories>.

I know that sieges are correctly reading recipe costList, because a siege with the following patch works (the stuff thingdefs were from Fertile Fields Concrete): https://pastebin.com/raw/TXZ4QvhQ
Harry Kane Jul 18, 2017 @ 3:30pm 
Thanks for the explanation Goalie, but this is a huge error and a missplan in the mod. It causes bugs to the AI probably because they are written to use only certain ammount of Steel for sandbags and also the mortars, thats a comfusing part...
Goalie  [author] Jul 18, 2017 @ 1:57pm 
Sadly this isn't a code based mod, it's an XML mod. It just changes 2-3 lines of XML and thats it. The only real way around it without writing a bunch of code is to make a new sandbag (i.e. NewSandbags) that uses these settings and leave the old sandbags for the AI. the real question is why cant the AI use this?
Greystar Jul 18, 2017 @ 1:30pm 
I get the same bug with Sieges with this mod installed.
Harry Kane Jul 18, 2017 @ 6:22am 
Goalie, I would like to talk about this mod and the bugs it gives to the player. Whenever you get sieged pwns don't know how to build the sandbags and sieges are bugges therefore fthey don't build mortars and such. I would like to ask if you could re-write the code for the mod because this mod is really helpful. Thank you ^^
ambi Jul 14, 2017 @ 3:08am 
Does this mod bug out sieges? I got this error popping out on an AI-built sandbag, and the besiegers aren't doing anything besides walking around. There's no blueprint to build more sandbags or mortars.

http://steamcommunity.com/sharedfiles/filedetails/?id=975544412
Planewalker Jul 4, 2017 @ 5:49am 
Makes no sense to make sandbags from steel.
There. Is. Gravel & Rocks. In. The. Game. FFS.
-here is hoping you get your mod in vanilla.

Nice work, thank you.
ambi Jun 30, 2017 @ 8:15pm 
nice. downloaded last night, works great for my desert colony (lots of stone, not so much steel).
Araxiel Jun 29, 2017 @ 10:31am 
This has nothing to do with this mod directly; but is Steam censoring the word steel? As in the material? Why the hell? :conwayfacepalm:
Anvil Pants Jun 24, 2017 @ 9:22am 
Also note that now, in A17b, we have effectively the same sand being made in [RF] Fertile FIelds - Concrete, but no sandbags yet made from that sand.

http://steamcommunity.com/sharedfiles/filedetails/?id=945717482&searchtext=concrete
Anvil Pants Jun 24, 2017 @ 9:20am 
@Goalie, In Alpha 12 we had sand stuff made from chunks and sandbags made of sand stuff. You can still find it as it was left (link below). It just got lost in the alpha-release schedule speed up that happened right before RimWorld came to Steam.

A12d Mod Variety Pack has that sandbag def in its Buildings_Security.xml

https://github.com/simon-82/ModVarietyPack/blob/master/Mods/ModVarietyPack/Defs/ThingDefs/Buildings_Security.xml

As I remember, sand was made on stone cutter's table and the like, and the bags were vanilla with sand replacing steel. In Mod Variety Pack the same sand stuff was used for glass things.
Oddworld86 Jun 17, 2017 @ 8:52am 
I Agree with KarateKite. And why not adding textile (for the bag)?
Pancakes Jun 15, 2017 @ 11:05pm 
I think that chunks should be added as a sandbag material, 1 chunk per sandbag. It makes sense because Hescos are basically big reinforced bags full of sand and rocks and stuff.
Spiders Everywhere Jun 12, 2017 @ 6:33pm 
This seems to mess up sieger's ability to build sandbags. They put down one blueprint and it's throwing tons of errors. It seemed to throw off their whole script.

Cannot get AdjustedCostList for Sandbags with null Stuff.
Verse.Log:Error(String)
RimWorld.CostListCalculator:CostListAdjusted(BuildableDef, ThingDef, Boolean)
RimWorld.Blueprint_Build:MaterialsNeeded()
RimWorld.LordToil_Siege:Init()
Verse.AI.Group.Lord:GotoToil(LordToil)
Verse.AI.Group.Transition:Execute(Lord)
Verse.AI.Group.Transition:CheckSignal(Lord, TriggerSignal)
Verse.AI.Group.Lord:CheckTransitionOnSignal(TriggerSignal)
Verse.AI.Group.Lord:ReceiveMemo(String)
Verse.AI.Group.LordToil_Travel:LordToilTick()
Verse.AI.Group.Lord:LordTick()
Verse.AI.Group.LordManager:LordManagerTick()
Verse.Map:MapPostTick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()
Dr. Quackers M.D. Jun 12, 2017 @ 10:04am 
Sandbags are not an amazing defensive tool they are ok and dont add to much to a tribal play. They should have stayed colth. The fact there are made out of a stupid material like steel made me scrap sand bags forever and get mods with barbed wire, shields and real defensive structures.
Martin Harris Jun 9, 2017 @ 1:20pm 
I think sand bags are made out of steel netting and cloth It will have a inner layer of 2 "Lines" Of thick clothe and then steel netting (Like a fire guard) Around all of it and filled with sand for extra protection from sand, Mostly used due to its mobilty and ease without sand, Can be filled with sand when soldier have reached an outpost or other place that might need protection from enemy fire. One of these with "Bricks" for the outside, Makes it a wall not a sand bag. Also the vannila one does not include "cloth" Because of early game balancing due to sand bags made for more early game sulotions to defence.
Goalie  [author] Jun 9, 2017 @ 1:16pm 
@ThePatchworkHoax, the same could have always been said of the steel ones, at least now you dont have to waste steel.
Martin Harris Jun 9, 2017 @ 1:15pm 
When you make a SANDBAG out of MARBLE what is the point? The sand doesn't matter anymore its just a small wall