0 of 0

File information

Last updated

Original upload

Created by

rphii

Uploaded by

rphii

Virus scan

Safe to use

About this mod

This is my take on an enemy randomizer for Nioh 2! Works in main missions, underworld, dojo stuff, etc.

Configure your own enemy set, allow bosses as enemies and decide how many human/yokai you want to fight.

Permissions and credits
Changelogs
Nioh 2 Enemy Randomizer

How To Use
  • To Enable Multiplication of Enemy Spawns and making Experimental Stable, install the following Mod: Nioh 2 Memory Patch
  • Start the mod using CheatEngine, open Nioh 2
  • Click the Version number (e.g. v 0.1.0) to read the changelog (optional, duh)
  • Either in title screen or map selection, but NOT in mission, you can hit "randomize" to enable or "disable" to disable
  • While loading into a mission the enemies will be replaced
  • This means that it doesn't work on consoles (at least to my knowledge)
If it doesn't work
  • Ensure that you click on "yes" when you open the table where it asks to "Execute this lua script?"
  • When you press "Randomize" and the text is green, it found the game which is great; check the following steps. If the text is red, it didn't even find the game in the first place.
  • Enable "Use the user interface [...]". Are all scripts except "replacer" enabled? (that one should get enabled when you press the "Randomize" button)
  • Right click on the "replacer" script that shows what the error is and try to resolve it.
  • If all of that didn't help, maybe try disabling any other mods and see if it fixes it (that's very unlikely to actually fix it, but you never know)
  • If all hope is lost, you can ask/pm me on Discord, same username as here

Co-Op
  • All players involved have to have the randomizer enabled
  • Before entering a mission, all players want to have the same seed (for simplicity you can for example set it to 1 or something like that; make sure to confirm the seed with enter, because windows UI is crap)
  • And also, all players ideally have the same configuration. Regardless of whether or not you altered the default, I recommend one of you to create a config via "Enemy Configuration" -> "Save". All others can then either "Load" it with the button right above it, or, just drag and drop the config over any window. This has the added benefit of your randomizers being synched, so when you exit a mission (and have "Auto Regenerate Seed" activated) it will create the same next sequence of seeds for all of you, the moment you had the same seed

General Description
  • Hover over stuff to get a hint as to what it does
  • The text next to the version informs about the most recent action
  • The "seed" determines which enemies spawn into a map
  • If you share a config and you both enter the same seed, all next seeds will be the same
  • Click the version text for a changelog

Randomize Enemies: Disable to not randomize enemies
Randomize Bosses: Disable to not randomize bosses
Human / YokaiThis slider determines the chance for the enemy being human or yokai.
Allow Bosses as Enemies: Check this if you want to fight bosses as normal enemies on the map. Slider determines the ratio.
Auto Regenerate Seed: If checked, a new seed will be randomly generated every time you're done with a mission.
Experimental: Check this to randomize equal types of enemies to different ones, requires: Nioh 2 Memory Patch

Enemy Configurator

  • With version 0.1.0 the Configurator got a massive overhaul. For now, because I have no time, but wanted to update the mod, you can try to figure it out by yourself... In the coming weeks I'd like to make a video, or, alternatively, link to an existing one that may show everything that I thought of (which will be difficult, so it will probably be up to me XD)


Known Issues
  • The functionality is certainly not bug-free. It does crash the game from time to time (when it does, regenerate the seed and try again).
  • Mezuki in the first mission isn't replaced because he would soft lock the player
  • Yokai bosses on the map struggle to enter dark realm under special circumstances (stuck in infinite animation loop)
  • If the final boss is a human that requires you to talk to but instead is a yokai, you're softlocked
  • The game doesn't like to spawn in some enemies on some maps. Most notable are named human enemes (not bosses - but they're mostly already filtered out, so no worries).
  • Hellish Hag (and maybe other DLC enemies) can get replaced, but under circumstances don't load any actual enemy
  • Every 2nd time I open the table the game hangs when I try to randomize enemies -> dirty solution: disable randomizer, close, re-open and re-enable the randomizer (game can stay opened, just have to leave re-enter mission)  

Known Issues: Fixed / Improvements made

  • V 0.0.7 / 0.0.8:
- Yokai bosses on the map now struggle less to enter dark realm (stuck in infinite animation loop). Under special circumstances they still can't enter the dark realm.
  • V 0.0.9
- Seed now is the same across different devices
  • V 0.0.10:
- Some enemies (of which I was aware of) are now in the correct enemy category
- Improved experimental mode (still buggy, but improved)
- Recorded more enemy variations
  • V 0.0.13:
- get rid of the "unknown enemies" (I might have all; just not added yet)
  • V 0.1.0:
    - Fix experimental and Multiplication to Enemy Spawns with the help of Nioh 2 Memory Patch
    - Fix wave-like missions (including Against All Comers)
    - Fix enemies not spawning with clothes
    - Add multiplication to enemy spawns with the help



What's Next?

I'm getting tired of programming in Lua. It is a really nice, small and a powerful language, but I had to stretch my mental limits and motivation using it. And I'm losing overview over the config and random modules--tehe. So, going forward I'll rewrite the core logic behind the mod in a compiled language (probably C or something similar).

The more I'm motivated, the better the product. Trust me when I say that: I love C, and that would massively improve my motivation and therefore the product of the randomizer. Stay safe and see you in the comments or until I update the mod again.


I'm currently busy IRL, hence the slow development. :)

~rphii