RimWorld
Pas assez d'évaluations
[A17] Non-Lethal Tranquilizer Gun
   
Récompenser
Ajouter aux favoris
Favoris
Retirer des favoris
Taille du fichier
Publié le
Mis à jour le
71.938 KB
3 mai 2017 à 8h49
26 mai 2017 à 23h41
3 notes de changement ( voir )

S'abonner pour télécharger
[A17] Non-Lethal Tranquilizer Gun

Description
TL;DR

A tranquilizer rifle that can put a non-Mechanoid Pawn to sleep after 4 consecutive hits. Can be crafted on Machining Table for 100 Steel / 8 Component.

Can be customized by editing the XML files at [Steamapps]\workshop\content\294100\918386239 (eg: C:\Program Files (x86)\Steam\steamapps\workshop\content\294100\918386239)

====================================================================
DOWNLOAD FOR NON-KEWL KIDZzz

A17: link[www.gameindustry.ph]
A16: link[www.gameindustry.ph]

Manual install, extract to [Steamapps]\common\RimWorld\Mods (eg: C:\Program Files (x86)\Steam\steamapps\common\RimWorld\Mods) or to wherever your non-Gaben-blessed Rimworld mod folder is located.

====================================================================

RimWorld currently has a system that randomly kills non-player Pawns that have been incapacitated (67% chance if normal Pawn, 47% chance if animal as of A17), presumably as a means to prevent your colony from becoming the next China.

This is a real™ non-lethal weapon which bypasses that system, unlike other mods that claim to feature non-lethality.

This weapon will fire debuffs that will slowly reduce a Pawn's Consciousness until it is knocked out. It takes 4 shots to put a Pawn to sleep. You can add or remove steps by modifying "Hediff_TranquilizerEffect.xml" (under "stages") .

This is less of a mod and more of a guide for other modders create non-lethal weapons. The source is in the mod folder. This is to show how bonkers easy it is to create a non-lethals.

C# sources are located at the mod's folder at [Steamapps]\workshop\content\294100\918386239\.

====================================================================

General F.A.Q.
*** Is this really a REAL non-lethal weapon?
Okay, you got me. It's semi-real™. The weapon can still kill in the some conditions.

1) The weapon still deals 1 damage to incite aggro to the Pawn. If set to 0, the target will just wander around like a retard while being shot at.

1a) Because it deals damage, it will kill a Pawn if it somehow manages to land a lethal shot.

1b) The damage is calculated before the tranquilizer debuff (and bypass) is pushed. If the shot manages to incapacitate the Pawn through damage (eg: shoot a leg off), the game will still roll the randomized chance of kiling the Pawn.

2) By default, there is an overdose kill stage that is reached when you shoot a Pawn 6 times.

3) If you create a stage with very low Conciousness (but not zero), it has a chance to kill.

*** How is the tranquilizer effect removed?
It has a countdown timer, as defined in Hediff_TranquilizerEffect.xml. Each subsequent hit resets the timer.

*** How good is the mod compatiblity?
No BS detours, injections or whatever. Just a custom bullet and a custom hediff, and a weapon based off the sniper rifle.

*** Is it balanced?
Nope. There's a reason why non-lethals are not implemented in RimWorld.

As for actual weapon balance, I just copy-pasted the sniper rifle's stat from vanilla and tweaked it a bit.


====================================================================

XML Editing - Rifle shots (Hediff_TranquilizerEffect.xml)
* I want to increase/reduce the number of shots needed before a Pawn goes to sleep!
You can add or remove as many stages as you want, as long as there is at least one stage.

* I want to prevent overdosing a Pawn!
Remove the stage labeled "overdosed".

* I want to create a one-shot, sleep-shot rifle!
Remove all stages except the one labeled "asleep".
16 commentaires
Solstice Initiative 26 avr. à 13h17 
FUCK YEAH. Millions must capture instead of killing.
brimstone1x 15 févr. 2018 à 4h43 
B18!!!
Novus_ 20 janv. 2018 à 14h12 
Did anyone try this in B18? OP are you going to update this mod? <3
Rambo 21 nov. 2017 à 18h02 
@Fereal Will you be updating this for B18?
Naked Troll 9 aout 2017 à 7h27 
Non-steam link, please?
Hellsmaster 22 juil. 2017 à 13h19 
Used this for a while now, it is great for captures or for animal tames.
Jagroy 2 juil. 2017 à 8h50 
@ the science guy you go to that folder and open the defs folder and "thing" folder is the actual item and the "hediff" is the tranq effect itself
Jagroy 2 juil. 2017 à 8h49 
would it be possible to make a turret version of this? i know i know... its so over powered it will break all of the world, but you know what? if i didnt want something op i wouldnt be looking in this section of the workshop :D also, i have never tried modding before, but could i just borrow the hediff tranq xml to try making my own mod? it would just be for personal use, or i could link you if i ever did want to post it
Person012345 26 juin 2017 à 2h42 
@gretino Jesus christ that comment was so stupid it gave me brain cancer 3 times.
Byter 17 juin 2017 à 8h09 
Have you thought about integrating a mod settings page somewhere? Maybe even use HugsLib?

Anyway, great mod! :)