Back to NxLabs

NxLabs / Vintage Story

D

DonningTime

SBy SiiMeR

Adds a configurable delay to the donning of armor (and optionally clothes)

Description

Adds a realistic equipping delay when donning Combat Overhaul armor. Instead of instantly swapping armor on right-click, you hold RMB to equip the armor. 

 

image

image

Features:

  • Hold right-click on armor in your hand to equip it with a configurable delay
  • Dropping armor into slots no longer possible
  • Equip time scales with the armor's layer (Skin / Middle / Outer) and body zones covered (Head, Torso, Arms, etc.). Each of them is independently configurable.
  • 50% movespeed penalty (configurable) while donning to discourage equipping mid-combat
  • Right-click, hold targeting another player while sneaking to don armor on them
  • Players must opt in to being armed by others via /donningtime other on
  • Cancels automatically if either party moves out of range during this process (2.5 units range)
  • Optionally you can make this logic apply to clothes as well by enabling the configuration option

 

Commands:

/donningtime other on - Opt in to having other players don armor on you
/donningtime other off - Opt out

 

 

Configuration can be found at ModConfig/donningtime.json:

{
  "SkinTimeSec": 0.5,
  "MiddleTimeSec": 1.0,
  "OuterTimeSec": 1.5,
  "HeadTimeSec": 0.5,
  "FaceTimeSec": 0.5,
  "NeckTimeSec": 0.5,
  "TorsoTimeSec": 0.5,
  "ArmsTimeSec": 1.0,
  "HandsTimeSec": 1.0,
  "LegsTimeSec": 1.0,
  "FeetTimeSec": 1.0,
  "SoundIntervalSec": 1.0,
  "WalkSpeedPenalty": 0.5,
  "ApplyToClothes": false,
  "ClothesTimeSec": 1.0
}

Equip time is the sum of all matching layer and zone values. Donning on another player takes half the normal time.

For example, under this configuration, a Steel Plate Helmet would take 3 seconds to equip (1.5 for Outer layer + 0.5 Head + 0.5 Face + 0.5 Neck)

Default time it would take to don a full set:

Skin layer + all zones: 0.5 + 6.5 = 7.0s
Middle layer + all zones: 1.0 + 6.5 = 7.5s
Outer layer + all zones: 1.5 + 6.5 = 8.0s
Full set: 22.5s (~11s with a helper)

 

 

Requirements

Download

No download link is available for this entry right now.

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.