Risk of Rain 2
Install with App

Details

Latest version
7.4.5
Last Updated
First Uploaded
Downloads
3.5K
Likes
0
Size
167KB
Dependants

TILER2nt

SUPPORT DISCLAIMER

Use of a mod manager is STRONGLY RECOMMENDED.

Reporting Bugs

You'll find me on the Ror2 modding discord as @wichisfun or just Blahaj, feel free to ping or dm me about bugs, ill try my best to fix 'em.

Description

TILER2 is a library mod. It won't do much on its own, but it may be required for some other mods.

User-Facing Features

TILER2 mostly contains features that are useful for mod developers, but it also adds some things that normal users can take advantage of.

DebugUtil

The DebugUtil module adds several console commands:

  • evo_setitem itemIndexOrName count: Sets the count of the target item in the Artifact of Evolution item pool. Marked as a cheat command.
  • goto_itemrender: Travels to the ingame item rendering scene. Can only be used from the main menu. Best paired with a runtime inspector mod.
  • ir_sim itemIndexOrName: Spawns an item model while in the ingame item rendering scene.
  • ir_sqm itemIndexOrName: Spawns an equipment model while in the ingame item rendering scene.

NetConfig

The NetConfig module automatically syncs important config settings from the server to any connecting clients, and kicks clients with critical config mismatches which can't be resolved (i.e. settings that can't be changed while the game is running, or client has different mods than server).

NetConfig also adds the console commands ncfg_get, ncfg_set, ncfg_settemp, and ncfg; and the convar ncfg_allowclientset.

  • ncfg_get "path1" "optional path2" "optional path3": Attempts to find a config entry. Path matches, in order: mod name, config section, config key. If you weren't specific enough, it will print all matching paths to console; otherwise, it will print detailed information about one specific config entry.
  • ncfg_set "path1" "optional path2" "optional path3" value: Attempts to permanently set a config entry (writes to config file AND changes the ingame value), following the same search rules as ncfg_get. Not usable by non-host players; will route to ncfg_settemp instead.
  • ncfg_settemp "path1" "optional path2" "optional path3" value: Attempts to temporarily set a config entry until the end of the current run, following the same search rules as ncfg_get. Can be blocked from use by non-host players via ncfg_allowclientset.
  • ncfg "cmd" ...: Routes to ncfg_get, ncfg_set, or ncfg_settemp (for when you forget the underscore).
  • ncfg_allowclientset (bool): If 1, any player on a server can use ncfg_settemp. If 0, only the host can use ncfg_settemp.

Issues/TODO

  • Items which players have but were disabled mid-run need a UI indicator for such.
  • If a client gets kicked by R2API mod mismatch, NetConfig will attempt to kick them again (to no effect) due to timeout.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.