Project Zomboid
248 คะแนน
Prisonner
   
รางวัล
ชื่นชอบ
ชื่นชอบแล้ว
เลิกชื่นชอบ
ขนาดไฟล์
โพสต์
อัปเดต
185.794 KB
22 ธ.ค. 2021 @ 4: 48pm
1 ส.ค. @ 6: 09pm
8 หมายเหตุการเปลี่ยนแปลง ( ดู )
คำอธิบาย
Allows players to Restrain and Free actions from another player who surrenders.

Add the Surrender action
  • Can be activated anytime from the vanilla Surrender emote.
  • Can be activated anytime from a configurable key (F1 by default).
  • Can be deactivated from a configurable key (F1 by default) as long as you are not restrained.
  • Trade is inhibited.
  • Main OPTIONS menu is inhibited.
  • Sit is inhibited.
  • Most timed actions are inhibited.

Add the Restrain action
  • Can be activated by contextual menu.
    Restrain Tchernobill
  • The target must Surrender.
  • The target must be closeby. (same distance as trade)
  • You can walk and enter/exit vehicles.
  • Most other actions are inhibited. (*) please report unexpected available/inhibited actions.
  • Without restraining item mod: An icon appears above the head of someone that is restrained (thanks nater for an example of how to do it)
  • With restraining item mod (see Restraining items part below) dedicated animations occur.

Add the Free action
  • Can be activated by contextual menu on a Restrained player.
    Free Tchernobill
  • The target must be closeby. (same distance as trade)
  • The target goes back to Surrender state.

Add the Inspect action
  • Can be activated by contextual menu on a Restrained player.
    Inspect Tchernobill
  • The target must be closeby. (same distance as trade)
  • The target's inventory is listed.
  • Inspect action can be deactivated from sandbox options.

Restraining items
This feature can be given by external mods adding dedicated items (like handcuffs or ropes) with very specific features.
This feature is not active until a complying mod is used.
If the feature is not active, the placeholder picture of handcuffs above player's head from previous versions is used instead.
A restraining item definition must include the following parameters:
  • RequiresEquippedBothHands = true,
  • Tags = CanRestrain, /*note that there can be other tags, like HasMetal or whatever.*/
A restraining item should probably include
  • 2D (inventory) texture.
  • 3D (world) texture and asociated definitions.
  • According player animations.
Here I will try to keep updated a list of complying mods:

Technical details
  • Based on ModOptions for key setting.
  • It is always possible to exit the game (but you may need to unpause).

Planned Features
  • Take items off a restrained player.
  • An UI for Inspect action.
  • Automatick stick from restrained player.

Credits
  • Thanx to Sego for multiplayer testing.
  • Thanx to KONIJIMA for multiplayer testing and client/server communication.
  • Thanx to nater for an example of icon through text.
  • Thanx to Birget for the HandCuffs mod.
  • Thanx to Arendameth for the multiplayer surrender animation correction.

Ask for permission[theindiestone.com]
This mod can only be added to and extended with the express permission from the original creator. Having received permission, credit must be given to the original creator, both within the files of the mod and wherever the mod roams online.

If no permission is received you may not alter the mod.

Workshop ID: 2690460338
Mod ID: Prisonner
กระดานสนทนายอดนิยม ดูทั้งหมด (10)
4
19 เม.ย. 2023 @ 1: 13pm
Bugreport
smaller | Hentai Lover
2
1 มี.ค. @ 10: 35am
bugreport
Toto420
3
21 ส.ค. 2022 @ 11: 08am
how to free yourself
SEBUSCAGAMES\TTV
104 ความเห็น
Corvus 18 ต.ค. @ 8: 16pm 
Hello, I would like to know if there are translations of this mod into other languages, and if so, could you indicate which languages ​​the translation is in?
igel 7 ต.ค. @ 10: 34am 
Im Also woundering if it works with bandid mod
Play_all_day 1 ต.ค. @ 4: 43pm 
would this work with Bandits mod?
$KARA 1 ก.ย. @ 6: 56am 
I added the mods, there is a clamp but I can't interact with it...
JayRonin_XIII 27 ส.ค. @ 7: 09pm 
Players that die with handcuffs on zombify, still handcuffed?? Would be a cool feature
berry 1 ส.ค. @ 6: 53pm 
REALLY???????? DUDE THIs Is THE BEsT DAY OF MY LIFE (sorry for writing the "s" like that)
Tchernobill  [ผู้สร้าง] 1 ส.ค. @ 6: 11pm 
@berry Arendameth made a correction for that exact problem.
Updating to current version (1.7) should correct the problem.
berry 11 เม.ย. @ 10: 26am 
I have the same problem as other guy, when I surrender everything works good in my screen but for other players im not doing anything unless they hit me or shove me.
DookieDungeons 30 มี.ค. @ 9: 17pm 
Question : Can this be used with superb survivors that be pretty cool I'm thinking about trying it out and will edit this!
Abyss 28 มี.ค. @ 2: 17pm 
The surrender animation is successfully activated from F1, BUT it is not being reversed with the shortcut... the arms do not lower after pressing F1, it is necessary to press Esc.