Console

版本 v1.2.0·更新於 2026-08-07

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

模組介紹 作者原文

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 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 | search settings by name and description |

| help | built-in commands, then a per-mod tally of settings |

| help | what a single command or setting does, with its type, default and accepted range |

| cc_help [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

They are typed with a cc_ prefix - cc_prop, cc_teleport, cc_tp

] cc_prop chair; cc_weapon ak

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

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack

檔案與校驗

檔案名稱
Console-1.2.0.zip
檔案大小
33.9 KiB