 
        TideOfWar
A MOD for VRising to have war-like battle.
| Last updated | 3 months ago | 
| Total downloads | 215 | 
| Total rating | 1 | 
| Categories | Oakveil Update | 
| Dependency string | adayoegi-TideOfWar-0.1.1 | 
| Dependants | 0 other packages depend on this package | 
This mod requires the following mods to function
 
                        BepInEx-BepInExPack_V_Rising
BepInEx pack for V Rising. Preconfigured and includes Unity Base DLLs.
Preferred version: 1.733.2 
                        deca-VampireCommandFramework
Command framework for developers to easily create universal commands for their plugins.
Preferred version: 0.10.4 
                        
                    README
Tide Of War (Beta)
A MOD for VRising to have war-like battle
WARNING!!
This is my first VRising MOD. I am not familiar with C# nor Unity. I make the MOD mainly for my own fun on my local server. Highly suggest to backup your save before you start to use the MOD.
Features
- Setup 5 battlefields as in the image.
- Human force and vampire force fight each other.
- Any party can be disabled so player can fight against the other on his own.
- Each battlefield can be setup individually.
- All mobs spawned by this MOD will be killed after 2 minutes (VBloods are 5 minutes).
- All mobs have aggro range 300, and will chase you around in such range.
Suggest to use EventScheduler to have soliders automatically join the war

Install
Dependency: BepInEx, VampireCommandFramework and VAMP
Put TideOfWar.dll to BepInEx/plugins and you are good to go
Commands
- All commands require admin
- All commands are with format <command> <battlefield> [args if any].
For example,
.warstart all starts war at all battlefields.
.warsupply dmm adds supply force only in battlefield between Dunley farmland and Mortium
- <battlefield>can be- allto apply command on all battlefields
- dunleymortiummiddleor- dmmfor battlefield between Dunley farmland and Mortium (location 1)
- draculacourtyardsouthwestor- dcswfor battlefield at south west gate of Dracula courtyard (location 2)
- draculacourtyardnorthwestor- dcnwfor battlefield at north west gate of Dracula courtyard (location 3)
- draculacourtyardnorthor- dcnfor battlefield at north gate of Dracula courtyard (location 4)
- draculagardenwestor- dgwfor battlefield at west gate of Dracula garden (location 5)
 
Major Commands
- .warstart- Generate forces to start a war at specified battlefield. The quantity is much more than .warsupply
 
- Generate forces to start a war at specified battlefield. The quantity is much more than 
- .warsupplyor- wars- Generate forces to have more soliders join specified battlefied. There is chance that VBlood may join the war
- Recommand to set this command in EventScheduler . I personally set .warsupply allwith 30 seconds frequency
 
Configurations
- .warstop- Stop both side of force to spawn at specified battlefield.
 
- .warresumeor- .warre- Resume force to spawn at specified battlefield. Please note that only forces that are enabled will spawn (i.e. not disabled by .warhumanor.warvampire)
 
- Resume force to spawn at specified battlefield. Please note that only forces that are enabled will spawn (i.e. not disabled by 
- .warhumanor- .warh- Enable/disable human force to spawn at specified battlefield.
 
- .warvampireor- .warv- Enable/disable human force to spawn at specified battlefield.
 
- ..warmuteor- .warm- Mute/Unmute message of .warsupply. By default the message is muted
 
- Mute/Unmute message of 
Future Plans and Feature Details
Due to my limited knowledge in C# and VRising libraries, current status is an early draft with some workarounds
Below are my plans but I have no idea how to make them happen for now
- Set patrol route for mobs
- If this is achieved, there is no need to set 300 aggro range. Currently all mobs are set 300 aggro range to make sure they fight each other. A side effect is that they will also fight nearby native mobs on the map in such range
- Calculate spawn and death count
- If this is achieved, there is no need to set 2/5 minute lifetime for mobs, and the battle would be more fun. The lifetime is set to avoid explosive amount of mobs over time (when EventScheduler is used). VBlood spawn can also be arranged better (ex: 1 VBlood only join 1 battlefield at a time)
License
GPL due to VAMP used as dependency