HexesAndSanguineSteel
Server-side custom weapon framework for V Rising with custom abilities, stats, weapon type bonuses, and school on-hit effects.
模組介紹 作者原文
Hexes and Sanguine Steel
Server-side custom weapon and abilities mod for V Rising.
Create named weapons, replace weapon and spells ability slots, customize their cooldowns, add stat bonuses, and apply school on-hit effects.
This mod bases itself on admin commands, but the players can access to the weapon through the upgrade system.
If the weapon type bonuses are enabled, every weapon of that type will recieve the benefit of it. With this admins/server owners can change how some weapons behave regarding stats and balance them out in case a weapon is being overshadowed by the other-
Aside from the weapons, this mod allows to replace weapons/spells to the Q|E|Dash|R|C|T keys and manually set their cooldowns as the user pleases.
Credits
This mod is mainly inspired for its systems and ideas by the following amazing mods and people:
- Bloodcraft by zfolmt — inspiration/reference for the boss style weapons
- CustomAbilities by Fryke — inspiration/reference for custom spells and abilities workflow.
Table of Contents
- Feature Overview
- Install
- Configuration
- Creating Custom Weapons
- Using Commands
- Compatibility Notes
- Development
Feature Overview
Custom Weapons
- Define custom weapons in weapons.json.
- Override Attack, Q, E, Dash, R, C, and Ultimate-style slots.
- Set cooldowns per configured ability.
- Bind weapons to a specific item instance with.csw wepgive or.csw upgrade.
- Upgrade held Shadow Matter weapons into configured custom weapons.
Stats and Weapon Type Bonuses
- Apply weapon stats through runtime stat carriers instead of global prefab mutation.
- Add per-weapon Stats entries.
- Add WeaponTypeBuffs for weapon-type-wide stat rules.
- Supports stat aliases such as AttackSpeed → PrimaryAttackSpeed.
School On-Hit Effects
- Add school effects through OnHitEffects.
- Supported proven school effects include Leech, Static, Chill, Ignite, Weaken, and Condemn.
- Effects can be restricted to players, non-players, or both.
Runtime Safety
- Suppresses custom ability injection during shapeshift forms.
- Suppresses custom ability injection during feed and V Blood extraction states.
- Guards replacement slots against temporary ability bars with fewer slots.
- Normal logging is quiet; detailed logs require DebugLogging: true.
Install
- Install BepInEx IL2CPP for your V Rising dedicated server.
- Install VampireCommandFramework.
- Build or download HexesAndSanguineSteel.dll.
- Place the DLL in:
BepInEx/plugins/HexesAndSanguineSteel/
- Start the server once to generate config files.
Configuration
Generated config files live in:
BepInEx/config/HexesAndSanguineSteel/
Main files:
weapons.json Custom weapons, stats, weapon type buffs, and on-hit effects
player-spells.json Saved per-player weapon-scoped spell overrides
weapon-instances.json Saved item-instance custom weapon bindings
A minimal starter config is included at:
Resources/weapons.example.json
Legacy configs from BepInEx/config/CustomWeaponMod/ are copied into the new folder on first run when needed.
Creating Custom Weapons
Custom weapons are configured in weapons.json.
The safest workflow is:
- Start the server once so the config folder is generated.
- Open BepInEx/config/HexesAndSanguineSteel/weapons.json.
- Copy an existing weapon entry in the Weapons array.
- Change Name, ItemWeapon, abilities, cooldowns, stats, and optional on-hit effects.
- Save the file.
- Run.csw reload in-game.
- Run.csw validate.
- Give or bind the weapon with.csw wepgive or.csw upgrade.
Minimal weapon entry
{
"Enabled": true,
"Name": "Crimson Thorns",
"ItemWeapon": 1307774440,
"EquipBuff": 673013659,
"CarrierBuff": 0,
"StatCarrierBuff": 0,
"WeaponLevel": 100,
"PhysicalPower": 0,
"SpellPower": 0,
"Stats": [
{
"StatType": "PhysicalPower",
"ModificationType": "AddToBase",
"AttributeCapType": "SoftCapped",
"Value": 35
},
{
"StatType": "SpellPower",
"ModificationType": "AddToBase",
"AttributeCapType": "SoftCapped",
"Value": 10
}
]
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: