https://github.com/pingbird/ror2-infinity-mod
A collection of utilities and hacks for risk of rain 2
https://github.com/pingbird/ror2-infinity-mod
Last synced: 9 months ago
JSON representation
A collection of utilities and hacks for risk of rain 2
- Host: GitHub
- URL: https://github.com/pingbird/ror2-infinity-mod
- Owner: pingbird
- License: mit
- Created: 2019-04-24T11:08:27.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-24T18:08:08.000Z (about 7 years ago)
- Last Synced: 2025-02-14T16:55:02.027Z (over 1 year ago)
- Language: C#
- Size: 160 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Infinity
#### A collection of utilities and hacks
## Installing
- Install Meepen's Mod Loader ([thunderstore.io](https://thunderstore.io/package/meepen/Meepens_Mod_Loader/) [github](https://github.com/meepen/ror2-modloader))
- Download latest release.zip from https://github.com/PixelToast/ror2-infinity-mod/releases
- Unizp into RoR2 install directory
## Building from source
- Install Meepen's RoR2 modloader ([thunderstore.io](https://thunderstore.io/package/meepen/Meepens_Mod_Loader/) [github](https://github.com/meepen/ror2-modloader))
- Download [premake5](https://github.com/premake/premake-core/releases)
- Run `premake5 vs2017` (for vs2017)
- Open the solution in the `project` folder
- Build the project
- Copy `bin\mods\infinity.dll` to your game's mods folder
- Alternatively, automatically copy it by adding the following to your .csproj:
```
```
## Commands
Misc:
- **modded** [_value_] - Whether or not the game is considered modded, modded games are put in a seperate quickplay queue
Player:
- **stat_maxhealth** [_value_] - Your local players maximum health (Host only)
- **stat_regen** [_value_] - Your local players base health regen (Host only)
- **stat_maxshield** [_value_] - Your local players base shield (Host only)
- **stat_movespeed** [_value_] - Your local players base movement speed
- **stat_acceleration** [_value_] - Your local players base movement acceleration
- **stat_jumppower** [_value_] - Your local players base jump power
- **stat_damage** [_value_] - Your local players base damage multiplier (Host only)
- **stat_attackspeed** [_value_] - Your local players base attack speed
- **stat_crit** [_value_] - Your local players base crit chance
- **stat_armor** [_value_] - Your local players base armor points (Host only)
- **stat_jumpcount** [_value_] - Your local players base jump count
_note: base stats reset every level_
- **lunar** [_value_] - How many lunar coins you have
- **money** [_value_] - How much money you have
- **team_money** num - Reward money to the entire team (Host only)
Chests:
- **chest_unlock** [_value_] - Prevent interactables from being locked while teleporter is active (Host only)
- **chest_stacks** [_value_] - How many duplicate items chests will drop (Host only)
Teleporter:
- **tele_speed** [_value_] - Speed multiplier for teleporter charging (Host only)
- **tele_boss_stacks** [_value_] - Boss credit multiplier from mountain shrines (Host only)
- **tele_reward_stacks** [_value_] - Boss item reward multiplier (Host only)
- **tele_shop_portal** [_value_] - If a blue portal should spawn (Host only)
- **tele_gold_portal** [_value_] - If a gold portal should spawn (Host only)
- **tele_ms_portal** [_value_] - If a celestial portal should spawn (Host only)
- **tele_ping** - Reveals position of teleporter
- **tele_exit** - Teleport to next level immediately (Host only)
Level:
- **level_intr_stacks** [_value_] - Interactable credit multiplier, spawns more stuff around the map (Host only)
- **level_monster_stacks** [_value_] - Monster credit multiplier, spawns harder enemies (Host only)
Lobby:
- **lobby_join_delay** [_value_] - Delay before your quickplay lobby is open to join
- **lobby_start_delay** [_value_] - Delay before your quickplay lobby starts when someone joins
- **lobby_host_min** [_value_] - Minimum players in your lobby before you won't join someone else's lobby, set to 1 if you always want to be the host
## Configs
- **Risk of Rain 2_Data\Config\infinity_start.cfg** - executed after infinity loads
- **Risk of Rain 2_Data\Config\infinity_pod.cfg** - executed after your launch pod opens
## Hooks
* **RoR2.Console.Awake** (Postfix) - Passive hook to register commands
* **EntityStates.SurvivorPod.Release.OnEnter** (Postfix) - Passive hook to run `infinity_pod.cfg`
* **RoR2.ChestBehavior.ItemDrop** (Prefix) - Full override for **chest_stacks**
* **RoR2.TeleporterInteraction.OnStateChanged** (Prefix) - Full override for **chest_unlock**
* **RoR2.TeleporterInteraction.StateFixedUpdate** (Prefix) - Full override for **tele_speed**
* **RoR2.BossGroup.OnCharacterDeathCallback** (Prefix) - Full override for **tele_reward_stacks**
* **RoR2.SceneDirector.Start** (Prefix) - Full override for **level_intr_stacks** and **evel_monster_stacks**
* **RoR2.Networking.SteamLobbyFinder.Awake** (Postfix) - Passive hook for **lobby_join_delay** and **lobby_start_delay**