[B19] Gas traps and gas shells for mortars

Started by Distman, July 04, 2017, 02:40:48 PM

Previous topic - Next topic

Distman

Adds gas traps and gas shells for mortars.
Mortar gas clouds are slightly larger.

Gas trap releases a cloud of gas when any pawn hostile to your faction walks too close. Severity builds up as long as a pawn is in the gas.

Gases types available:
Toxic
Sleep
Fear
Rage
Tear gas
Corrosive

Requires IEDBomb research to build.

Non-steam download: https://www.dropbox.com/s/beqc32u3kypcwsw/GasTrap_v09.zip

V0.9
Updated for Beta 19. Also introducing my most horrible creation yet: the corrosive gas trap/shell... Let's barbeque!

V0.8
Gas shells for mortars. Fart at a distance, why not!? Insect traps removed.

V0.726
Updated for beta 18. Slight buff to gas severity and duration.

V0.725
Fear gas trap added, buffed toxic gain speed, chance to gain Dementia and Carcinoma from toxic gas halved, Gas Trap renamed to Gas Trap (Toxic). Don't Panic!

V0.7
Can trigger traps remotely, with switch for Manual/Proximity detonation. Traps no longer trigger by pawn walking on other side of walls. Balancing (buffed effects).

V0.65
Allies, neutrals and colonists never trigger the traps. No more explode in your face when constructing one!
Also requires IEDBomb research to build.

V0.6
Let's sleep and fight in our own vomit!
-Added Rage gas.
-Added Sleep gas.
-Added Tear gas.

V0.5
Gas is dangerous, Mkay.

Steam:
http://steamcommunity.com/sharedfiles/filedetails/?id=964388988

Non-Steam download:
https://www.dropbox.com/s/beqc32u3kypcwsw/GasTrap_v09.zip

/Distman

Distman

Trap def uses these tags:
<GasDef>ToxicGas</GasDef> - What Gas Thing to spawn on trigger
<damDef>Smoke</damDef> - What kind of damage the trigger explosion should have.
<triggerChance>1</triggerChance> - Chance to trigger trap per rare tick.
<range>4.9</range> - Radius of gas cloud and range in which a pawn triggers the trap.
<onlyTriggerByInsects>false</onlyTriggerByInsects> - Selfexplanatory

The custom Gas class uses these tags:
<addHediff>ToxicBuildup</addHediff> - What hediff to add when pawn are in the gas. Try changing it to Pregnancy if you want to see something weird... ;)
<hediffAddChance>1.0</hediffAddChance> - Chance to add hediff (or make an already existing hediff more severe) per Rare tick.
<hediffSeverity>0.07</hediffSeverity> - Initial severity and severity modification per Rare tick.
<onlyAffectLungs>true</onlyAffectLungs> - Hediff only adds to Lung bodyparts. Pretty realistic for most kinds of gas, innit?

kaptain_kavern

Joywire ? Dementia ? FoodPoisoning ?  Any added parts or Hediff_MissingPart ?  came to mind for fun gas effect ^^

Congratz on your first release

Distman

Coming up, maybe later:
Sleep Gas - Knocks out pawns.
Tear Gas - Blinds pawns and makes them vomit.
Rage Gas - Drives pawns to a indescribable fury.

Over-the-top suggestions:
Happy And Nude Gas - Strips the pawns and puts them in a state of complete happiness.
Bunny Gas - Transforms any pawns into cute, cuddly bunny rabbits.

Maybe, maybe, maybe:
Acid Gas - Detoriate apparel and weapons. Give pawns burns.

harpo99999

I would like to download the mod, BUT my computers do NOT do water/ice/sublimated ice, will there be a non-ice location to download it?

tommiethegun

Awesome! Eager to try this mod out :)

What about having powered conduit trigger the trap? That way it could be hooked up to a switch for a pawn to flick once friedlies are out of the newly infested bug room?

Distman

This just in:
Sleep Gas - Knocks out pawns.
Tear Gas - Blinds pawns and makes them vomit.
Rage Gas - Drives pawns to a indescribable fury.

Also some balancing to toxic gas (less deadly buildup, more side effects)

Updated on steam.

Distman

Isn't your computer waterproof? Loser... ;)

If you're talking about a DRM-free release. Yeah, probably at some point.

Quote from: harpo99999 on July 04, 2017, 05:53:17 PM
I would like to download the mod, BUT my computers do NOT do water/ice/sublimated ice, will there be a non-ice location to download it?

Distman

Thanks for showing interest!

Haven't checked out how power and stuff works, but might be an idea for future release.

Quote from: tommiethegun on July 04, 2017, 06:02:30 PM
Awesome! Eager to try this mod out :)

What about having powered conduit trigger the trap? That way it could be hooked up to a switch for a pawn to flick once friedlies are out of the newly infested bug room?

Distman

Small update:

V0.65
Allies, neutrals and colonists never trigger the traps. No more explode in your face when constructing one!
Also requires IEDBomb research to build.

Yukino

How about spraying liquid nitrogen at pawn and freeze them? maybe use it to preserved perishable item too lol.

Cherna

Amazing mod for my nazi peaceful colony, thanks!
Any chance of grenades with same effects?

SAZZF

maybe a gas that can make your colony stronger (melee) for limited amount of time?

frustratedbuffalo

How about a download for those of us who aren't on steam and don't want to be?

stigma

Great to finally see some new interesting traps that aren't just reskins of existing ones with different stats.

Ditto on a non-steam download though.

-Stigma