
Bloodshed
Bloodshed: A vanilla combat enhancement mod adding defense blocking and stamina

Description
<h2>⚔️Bloodshed Combat Enhancement⚔️</h2> <hr /> <p>Bloodshed is a comparatively simple combat enhancement system designed to accent vanilla combat with additional features like weapon defense system, a simple stamina system, and extensible support for adding new weapons or patching existing ones.</p> <h5>Notes:</h5> <p>This is a very early alpha/beta release for this mod I've been working on. I've done some basic testing but would love to get some more folks looking at it for more feedback, ideas, etc. This is nowhere near as complex as CO but rather is meant to be a fairly light and simple extension to vanilla combat. If you really want a complete overhaul of combat check out <span class="channelMention wrapper_f61d60 interactive" tabindex="0" role="link"><span class="channelWithIcon"><span class="nowrap__5db79"></span><a title="Combat Overhaul" href="https://mods.vintagestory.at/combatoverhaul"><span class="name_b75563">Combat Overhaul</span></a></span></span> instead.</p> <h3><span style="text-decoration: underline;">Weapon Defense Attributes</span></h3> <p>Bloodshed's weapon defense system is controlled by attributes assigned to items in their json files. The overall structure is very similar to the way vanilla shields are designed with protection chance values for both passive (not actively blocking) and active (defense posture enabled, more later) as well as damage absorption numbers, vertical and horizontal protection ranges (in degrees), and the ability to assign custom sounds for light and heavy blocks.</p> <p> </p> <p>By controlling these properties through itemtype json attributes we can easily patch any existing item to provide defensive options with this mod system. Bloodshed patches vanilla blades and knives with basic defense stats for each variant and the same can be done for any other item if desired.</p> <h4>Attributes Example</h4> <pre class="language-javascript"><code>"attributes": { "bloodshed-defense": { "blockSoundLight": "game:arrow-impact", "blockSoundHeavy": "game:thud", "protectionChance": { "passive": 0.1, "active": 1 }, "damageAbsorptionByType": { "*-copper": 3, "*-tinbronze": 4, "*-bismuthbronze": 4.5, "*-blackbronze": 5, "*-iron": 5.5, "*-meteoriciron": 6, "*-steel": 6.5, "*-gold": 6.5, "*-silver": 6.5 }, "vertProtectionRange": 120, "horizProtectionRange": 30 }, }</code></pre> <h3><span style="text-decoration: underline;">Defensive Posture (Blocking)</span></h3> <p>Defensive posture is activated by <strong>holding right mouse click</strong> while using an item that has defense attributes defined. We recommend assigning a custom animation to <em>"heldTpUseAnimation"</em> in the item's json file that accurately reflects the weapon's defensive positioning.</p> <h3><a href="https://mods.vintagestory.at/bloodshedweapons">Bloodshed Weapon Pack</a></h3> <p>In addition we've created a separate content mod specifically adding a few weapons that have bloodshed defense attributes defined and custom animations assigned to demonstrate the process. We also just think they are genuinely cool weapons to add to the game regardless and they can be used with or without this mod.</p> <p><a href="https://mods.vintagestory.at/bloodshedweapons">Check them out here</a></p> <h3><span style="text-decoration: underline;">Stamina System</span></h3> <p>In order to balance the added defense properties of the weapons we've also introduced a simple stamina tracking system. Stamina is regenerated over time consuming saturation on each tick to replenish, and is drained by performing various "fatiguing" actions. As stamina is consumed a radial progress ring appears around the player's crosshairs, as it empties the ring retracts counter-clockwise. When it is empty the ring will pulse red to notify the player they no longer have any stamina available for defense actions.</p> <h4>Current Fatiguing Actions:</h4> <ul> <li>Sprinting</li> <li>Swimming</li> <li>Blocking</li> <li>Receiving damage</li> </ul> <p> </p> <p>All fatiguing actions can be scaled via the mod config file. Maximum stamina, and stamina ring properties, regen speed, and saturation cost can all be configured in the config file as well.</p> <h3><span style="text-decoration: underline;">Default Config</span></h3> <pre class="language-javascript"><code>{ "EnableStamina": true, "MaxStamina": 100.0, "StaminaRegenSpeed": 1, "SaturationCostPerStamina": 0.5, "HideStaminaOnFull": true, "StaminaCircleInnerRadius": 0.6, "StaminaCircleOuterRadius": 0.8, "StaminaCircleScale": 1.0 }</code></pre>
Ratings & reviews
Sign in to leave a rating or comment.

