You are viewing a potentially older version of this package. View all versions.
nemoricmr-Console-1.1.0 icon

Console

A Source-style developer console for Straftat. Does cool things and configures any mod you have!

Date uploaded 9 hours ago
Version 1.1.0
Download link nemoricmr-Console-1.1.0.zip
Downloads 5
Dependency string nemoricmr-Console-1.1.0

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

Console

A developer console for Straftat

Built for aesthetic purposes, looks and behaves like the Source console

Open it with the ~ key

It configures your other mods

This is the part worth installing it for. The console reads the settings of every BepInEx mod you have, and turns each one into a command:

] cvar minimalviewmodelsreborn
  minimalviewmodelsreborn_viewmodel_fov     = 90     ( def. "90" )   [Viewmodels.Visibility]
       Field of view of the held weapon.
  minimalviewmodelsreborn_viewmodel_x_offset = 0.24  ( def. "0" )    [Viewmodels.Offset]
       Negative values shift your weapon left, positive shift it right.

] minimalviewmodelsreborn_viewmodel_fov 75
  minimalviewmodelsreborn_viewmodel_fov = 75

If the mod stores its settings the normal BepInEx way, they show up

Commands

Command What it does
cvar [prefix] list every setting, or one mod's, with current values and defaults
find <text> search settings by name and description
help built-in commands, then a per-mod tally of settings
help <name> what a single command or setting does, with its type, default and accepted range
cchelp [name] chat commands, by category (only with Chat Commands installed)
clear, history, echo, scene the usual

Tab completes commands

Arrow keys walk the suggestion list and the command history

Booleans accept 1/0, on/off and yes/no

Works alongside Chat Commands

If you have Chat Commands, all of its commands work here too, with tab completion, descriptions and their output in the console instead of the chat

Works alongside Mod Menu

If you have Mod Menu, the two stay in step: both read and write the same BepInEx config, so a change in one is immediately true in the other.

Vanilla compatible

The console is marked vanilla compatible. It never patches game code and grants no advantage

Note that the console can edit settings belonging to mods that are not vanilla compatible - those mods carry their own marking

CHANGELOG

CHANGELOG

Version 1.1.0

  • Chat Commands support (all of its commands work in the console)
  • Fixed the console disabling the EventSystem, which spammed errors

Version 1.0.0

  • Initial release