RimWorld

RimWorld

Suicide Vest
Randolph Cherrypepper  [developer] Jul 18, 2021 @ 10:51pm
v1.3 update notes
## Raider Spawns

In testing, I had some issues with spawning vests on raiders.

It looks like the old "Military" tag is now "IndustrialMilitaryArmor", so that's been fixed. I suspect that wrong tag was preventing spawns.

Additionally, I had to uncheck, save options, then recheck, save options, for this to work. Not sure why that was the case.

## Recipe

While I was at it, I reviewed the mortar and flak vest defs and compared them to suicide vest. Originally suicide vest was 1 mortar and 1 flak vest, and I combined craft requirements and damage and so forth. Somehow that required 120 chemfuel and no cloth? I don't know.

The new recipe is 2 mortar and 1 flak vest; all the bits and bobs, all the damage, protection, etc. So we need far far far less chemfuel, a little bit more of other things. Damage value is down, damage radius is up.

## Variant Recipes

People had suggested making a couple variant recipes. For example, antigrain vest.

Any XML modder should be able to grab the XML for suicide vest def and modify it in their own mod; they'd probably need this mod for it to work though.

Back when I first made this mod in a17, there weren't much for armor or mortars. Putting this together was pretty straight forward.

Copy/pasting XML isn't my style. If I were to make variants myself, I would try to make recipes which require 1 vest, 1 mortar; 1 vest, 1 antigrain warhead; etc. I'd try to come up with a way to make it dynamic, so you could combine any armor with any boomboom and get a result.

There's already quite a bit of dynamic def stuff going on in this code, so I imagine I could take it a little further and start ganking all the bomb-type defs and all the torso armor-type defs to build a full cross product of combination recipes. Then it'd work with mods, too.
< >
Showing 1-1 of 1 comments
Randolph Cherrypepper  [developer] Aug 11, 2021 @ 11:52pm 
Had to pull the projectile tag out of the base def and into a custom mod tag.
< >
Showing 1-1 of 1 comments
Per page: 1530 50