You are viewing a potentially older version of this package. View all versions.
ChaseCraig-Artifact_Modifact-1.8.0 icon

Artifact Modifact

Modifies bits of the game so that way you can have a lot of control how it functions!

Date uploaded 5 years ago
Version 1.8.0
Download link ChaseCraig-Artifact_Modifact-1.8.0.zip
Downloads 675
Dependency string ChaseCraig-Artifact_Modifact-1.8.0

This mod requires the following mods to function

bbepis-BepInExPack-3.2.0 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 3.2.0
tristanmcpherson-R2API-2.4.10 icon
tristanmcpherson-R2API

A modding API for Risk of Rain 2

Preferred version: 2.4.10

README

ArtifactModifact

By Mylifefighter aka CMC-Theories aka ChaseCraig

New update. Who this?

A mod that allows for customizing your risk of rain experience.

  • Did you want to change what could drop from an enemy when using the Sacrifice Artifact? Well now you can change the drop rates of the various tiers of items.

  • Did you want to change how often things drop from enemies when using the Sacrifice Artifact? Well now you can!

  • Did you not want to have a boring old function for a drop rate? Well now you can spice it up with your very own custom drop function! (Limited to the processing capability of your system)

  • Did you ever feel that only having 1 Aurelionite was just too boring? Well now you can change how many spawn on the teleporter event!

  • Did you ever feel that the queen guard and the aurelionite are boring without items? Well now you can have it add random items to them to spice things up! (Planned: copy items, copy some items)

  • Did you ever... (I'm kidding, this hurts you and me, see below for "full" details, even I forgot what I added into this overhaul (config-haul?) modpack )

Please contact Mylifefighter#8823 on Discord if you find any issues besides known bugs.

Installation

  1. Install BepInEx Mod Pack
  2. Install R2API
  3. Download the latest RoROverhaul.dll here (Or, you know, use the direct download button on the Thunderstore...)
  4. Move the RoROverhaul.dll, Microsoft.CSharp.dll and MiniRpcLib.dll to your \BepInEx\plugins folder.

Configuration

  1. Launch the game once with the mod installed then close it down to generate the configuration files.
  2. Go to \BepInEx\config\RoROverhaul and open mylifefighter.sacrificeart.xxxx.cfg, where xxxx is the part of the mod you wish to edit.

Available Customization

  • Aurelionite and Beetle Guard Allies can spawn with x random items, y hp boosts and z damage boosts.

  • Beetle Guards can spawn with x% of the items from their masters.

  • Customizable drop chance for enemies for the Sacrifice Artifact, including customizability on what drops (including all of the tiers (including boss :)!)

  • Command artifact now has an armor parameter. So when you are in the menu you get some temporary armor (if you change it!).

  • Swarm artifact can influence how many enemies spawn for every 1 original spawn, what is the exp/gold/hp/damage cut/multiplier.

  • Vengence artifact (Doppelganger!!! :O ) can now be modified to control anything from % of items to percentage randomized to damage,hp,exp,gold cuts (Oh and you can control how many, it is fun to see 20 of them coming at you with like 6 hp :P)

  • Spite artifact (BOMBS) can now be modified to control blast range, amount, etc.

  • Want an interactable to spawn in a level? Well you can force them to spawn as well! (Note not everything is implemented because I think having Gold spires in regular levels might make things...interesting).

  • Make the artifact of evolution even more devistating by increasing the amount of items spawned, what types, and possibly even letting them get boss/lunar items per round!!!

  • Make yourself wanting to use the shrine of order with blacklisting items, making items more likely to be choosen, making it so item ratios don't matter in selection, and even transmutting a tier entirely to lunar coins!

  • Ya like your chests in sacrifice? Well add them back in with the blacklist configuration mod! (You can also blacklist even more interactables if you want to).

  • New helper file to store all the information about using the custom functions!!

Custom function guide (For those who want even more flavor)

This mod features usage of my custom function generator, this allows for you to take various parameters and combine them to a single float value. It is effectively like typing in an equation into a calculator.

A typical function looks like this: 0 - 5 * x / LOG((10.5 + t) / cd)(2)

The only unique things are as follows: You must be explicit when writing negative numbers (so -x is written as 0 - x), and comma's don't exist, so to do multi-parameter functions you use 2 parenthesis statements, oh and be explicit with multiplication.

Available functions are:

  • Round(x), Floor(x), Ceil(x), Log(x)(base), Abs(x), Min(x)(y), Max(x)(y), Rand(low)(high), Neg(x)

  • +, -, *, /, ^

FAQ

Q: I am getting a mod mismatch error!

A: While this may be an actual issue and please let me know if it is, but I have opted into having my mod checked against the server and the version must also match!

Q: I am force spawning >500 items and it..

A: You are pushing the spawner to its limits (since it needs to find a node to SPAWN things, be careful as this can cause lag, trash and make the game just look cluttered.

Q: Why aren't my beetle guards inheriting my beetle glands?

A: Ya want recursion? 'Cuz that is how you will get recursion. Your beetle guards will get beetle guards, and those guards would get guards.... (you crash approximately 100 layers in)

Q: I am getting a -0.5 is not supported.

A: Due to the interpretter for your functions is severly limited, you must do explicit subtractions (so 0 - 0.5 to get the negative of 0.5).

Q: There is a LOT OF LAG at the start of a game!

A: That is because I am currently loading my config files upon starting the game, sadly this leads to about 3-5 seconds of startup lag. Ping me if you have a better hook that is after items have been loaded.

Q: I am somehow trying to understand your code.

A: Trust me, this is a hobby and mostly just hacky solutions.

Q: Can I ping ya on discord?

A: Sure! Just know that I am often busy so I might not get back to ya immediately.

Known Bugs

  • I use HarmonyAPI, I use prefix, and I do return false.

  • One of the boss types (the ghost or the annoying green thing?) won't tint the screen according to some users, I haven't seen this myself but I will be testing it and seeing if it is indeed the case.

  • If you blacklist everything in a tier, it will error out if it tries to give something. In fact, I made it burn cycles forever just to spite you for trying such a thing (jk the escape function works. It looks at you sternly with red text/errors.).

  • MINIRPCLIB AND MICROSOFTCSHARP ARE ESSENTIAL AND SHOULD NOW BE INCLUDED! @ME IF I SOMEHOW FORGET THEM IN THE (current) RELEASE.

  • AllItemsAreX will not properly work with other entities besides you (so if every item is speed, your NPC allies will still get items from the normal item pool).

Changelog

v1.8.0

  • 1.0 Release! WOOHOO! Great game Hopoo Games!
  • Updated code, patched some stuff, cleaned up the readme.