Trodi-BloodyEncounters icon

BloodyEncounters

A server side mod for V Rising which spawns a random NPC near a random online player at random intervals, and the player wins a random item reward if the NPC is killed within the given time limit.

Last updated 5 months ago
Total downloads 4425
Total rating 4 
Categories Client Server Mods Gloomrot Update 1.0 Update
Dependency string Trodi-BloodyEncounters-3.0.0
Dependants 3 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack_V_Rising-1.668.5 icon
BepInEx-BepInExPack_V_Rising

BepInEx pack for V Rising. Preconfigured and includes Unity Base DLLs.

Preferred version: 1.668.5
deca-Bloodstone-0.2.2 icon
deca-Bloodstone

Plugin framework and general utilities for V Rising mods.

Preferred version: 0.2.2
deca-VampireCommandFramework-0.9.0 icon
deca-VampireCommandFramework

Command framework for developers to easily create universal commands for their plugins.

Preferred version: 0.9.0
Trodi-BloodyCore-1.2.4 icon
Trodi-BloodyCore

Bloody.Core a help library for mod development. It must be installed if any mod uses it.

Preferred version: 1.2.4

README

BloodyEncounters

BloodyEncounters represents an enhanced iteration of the RandonmEncounters mod by @adainrivers, functioning as a server-side mod that introduces a thrilling dynamic to gameplay. It randomly spawns NPCs near online players at unpredictable intervals, challenging players to defeat these NPCs within a set time limit to earn random item rewards.

IMPORTANT NOTE

You must have version 1.2.4 of Bloody.Core installed to be able to use version 2.0.5 or higher of this mod

NEW IN 3.0.0

  • Complete refactoring of the mod.
  • Added the functionality that if an NPC has the group value filled, it spawns all the NPCs in that group.
  • Added the ability to modify npc statistics.
[
 {
    "name": "Rifle Man",
    "PrefabGUID": 1148936156,
    "AssetName": "CHAR_ChurchOfLight_Rifleman",
    "levelAbove": 10,
    "items": [
      {
        "name": "Blood Rose Potion",
        "ItemID": 429052660,
        "Stack": 25,
        "Chance": 1,
        "Color": "#daa520"
      },
      {
        "name": "Blood Token",
        "ItemID": -77477508,
        "Stack": 10,
        "Chance": 1,
        "Color": "#daa520"
      }
    ],
    "Lifetime": 300,
    "Group": "Uno",
    "unitStats": {
      "PhysicalCriticalStrikeChance": 0,
      "PhysicalCriticalStrikeDamage": 2,
      "SpellCriticalStrikeChance": 0,
      "SpellCriticalStrikeDamage": 2,
      "PhysicalPower": 45.550457,
      "SpellPower": 45.550457,
      "ResourcePower": 28.449999,
      "SiegePower": 17,
      "ResourceYieldModifier": 1,
      "ReducedResourceDurabilityLoss": 1,
      "PhysicalResistance": 0,
      "SpellResistance": 0,
      "SunResistance": 0,
      "FireResistance": 0,
      "HolyResistance": 0,
      "SilverResistance": 0,
      "SilverCoinResistance": 0,
      "GarlicResistance": 0,
      "PassiveHealthRegen": 1,
      "CCReduction": 0,
      "HealthRecovery": 1,
      "DamageReduction": 0,
      "HealingReceived": 0,
      "ShieldAbsorbModifier": 1,
      "BloodEfficiency": 1
    }
  }
]
Changelog

3.0.0

  • Complete refactoring of the mod
  • Added an optional extar parameter called "group" to the NPC add command
  • Added option in the mod configuration for the default message of the groups
  • Added the functionality that if an NPC has the group value filled, it spawns all the NPCs in that group.
  • Added the ability to modify npc statistics.

2.0.8

  • Fixed reload command

2.0.5

  • Updated the timer system through Coroutine that brings the new version of Bloody.Core
  • Removed the original Drop Table from every NPC you set up.
  • Removed the ability to unlock Trophies by killing a VBlood that you set up for encounters.
  • Eliminate the possibility of tracking VBlood in case they are configured for meetings

2.0.4

  • Update Timer Systems

2.0.4

  • Bloody.Core dependency removed as dll and added as frameworkrk

2.0.3

  • Fixed the bug that the encounter spawn had. A new spawn system has been generated to avoid incompatibilities with other mods
  • Fixed bug that caused the BloodyEncounter reward system and death message to also affect the game's default NPC if the NPC Prefab was configured as BloodyEncounter.

2.0.0

  • World boss functionality has been removed to create a standalone mod called BloodyBoss
  • Updated to a VRising 1.0

1.5.0

  • Added World Boss

1.0.0

  • Initial public release of the mod

Support this project

ko-fi

Mod Features

BloodyEncounters elevates gameplay by injecting an element of unpredictability and formidable challenges. As players venture outside their castles, there's a chance a random NPC will spawn nearby. You can customize the NPC level difference, ensuring balanced encounters for all players. This mod is highly configurable, offering an array of options to tailor the experience to your preferences.

Requirements:

For the correct functioning of this mod you must have the following dependencies installed on your server:

  1. BepInEx
  2. Bloodstone
  3. VampireCommandFramework
  4. Bloody.Core

Installation

  1. Copy BloodyEncounters.dll to your BepInEx/Plugins directory.
  2. Launch the server once to generate the config file; configurations will be located in the BepInEx/Config directory.

Commands

It's crucial to note that for any command containing a name argument such as <NameOfNPC>, <ItemName> or <GroupName>, if your name consists of more than one word, include it inside "" to ensure proper functionality (e.g., "Rifle Man" or "Blood Rose Potion").

.be npc create <NameOfNPC> <PrefabGUIDOfNPC> <LevelsAbovePlayer> <LifeTime> <GroupName>
  • Create your desired NPCs to include in the encounter randomized pool.
    • NameOfNPC: The NPC name that will appear in the chat when the player triggers an encounter event.
    • PrefabGUIDOfNPC: The GUID of the NPC you prefer to use.
    • LevelsAbovePlayer: Specify how many levels you want the NPC to be above the player level. For example, if a player is level 10 and the value is 10, the NPC will spawn at level 20.
    • LifeTime: The duration the player has to kill the NPC encounters in seconds.
    • Group ( Optional ): If you give it a group value, when this NPC touches it it spawns all the NPCS in that group..
    • Example: .be npc create "Rifle Man" 1148936156 10 300 "Group One"
.be npc remove <NameOfNPC>
  • Removes an NPC from the encounter randomized pool.
    • NameOfNPC: The NPC name you want to remove.
    • Example: .be npc remove "Rifle Man"
.be items add <NameOfNPC> <ItemName> <ItemPrefabID> <Stack>
  • Adds items/rewards to the randomized pool that the player will receive from killing a particular NPC encounter.
    • NameOfNPC: The NPC name to which you want to add items.
    • ItemName: The name of the item/reward appearing in the chat once the player wins the encounter.
    • ItemPrefabID: The GUID for the item you want to add.
    • Stack: The quantity of items the player will gain upon winning the encounter (e.g., x25 Blood Potions).
    • Example: .be items add "Rifle Man" "Blood Rose Potion" 429052660 25
.be items list (NPCName)
  • Displays the list of items included within a particular NPC.
    • Example: .be items list "Rifle Man"
.be enable
  • Enables the BloodyEncounter mod.
    • Example: .be enable
.be disable
  • Disables the BloodyEncounter mod.
    • Example: .be disable
.be reload
  • Reloads the mod configuration in real-time.
    • Example: .be reload
.be start
  • Triggers an encounter for a random online player.
    • Example: .be start
.be me
  • Triggers an encounter for yourself.
    • Example: .be me
.be player <PlayerName>
  • Triggers an encounter for a specific player.
    • Example: .be player Vex

Resources

Complete items list of prefabs/GUID

Credits

This mod was originally developed by @adainrivers and was ported/updated to be compatible with the Gloomrot update.

V Rising Mod Community is the premier community of mods for V Rising.

@Deca, thank you for the exceptional frameworks VampireCommandFramework and BloodStone, based on WetStone by @Molenzwiebel.

@Backxtar, owner & founder of Bloody Mary server, and @LecherousCthulhu & @Willis for being amazing community modders and part of the BloodyTeam.

Special thanks to the testers and supporters of the project:

  • @Vex, owner & founder of Vexor RPG server, a tester and great supporter who provided his server as a test platform and took care of all the graphics and documentation.