PissyEnemies

版本 v1.1.0·更新於 2024-09-07

A customizable mod to give enemies more personality by playing custom audio when enraged

模組介紹 作者原文

Pissy Enemies

A customizable mod to give enemies more personality

Plays custom audio whenever an enemy is enraged

How to customize your audios

a video version of this tutorial is available here

  • First things first, take all the default audio files and the JSON and move them to a new folder named "PissyEnemies".
  • (this step is optional) After that, copy the "PissyEnemies" folder you just created to your config folder. Or if you want, you can cut it and paste it (or create it from scratch).
  • Add your audios to the folder (supported formats are wav, mp3 and ogg but ogg is reccomended for small file sizes and because it doesn't give the audio clips pauses like mp3 does).
  • Open "PissyEnemies.json" and edit it to include your files.
  • If you want, you can change the volume of an enemy's audios independently from the config's volume value.

Now if you're creating your audio pack from scratch:

How to create your own JSON file

  • The JSON is an array (so all the data is inside of square brackets instead of braces) and inside are objects (defined by braces).
  • Every object has 5 properties, and these are:
  • "component": The name of the enemy's script component. You can find it with UnityExplorer.
  • "enemy": The key name of the enemy in ULTRAKILL's "EnemyType" enum. Can be found with dnSpy/ILSpy.
  • "clips": This array stores the file names of the audios to be played for that specific enemy. It doesn't matter in which folder they are, as long as those folders are inside the PissyEnemies folder.
  • "volume": A value between 0 and 1 that gets assigned to the enemy's rage audio volume. if the value can't be converted to float (e.g. the value is not a number or a mix of numbers and letters), the value will default to the config file's volume value.
  • "tauntcount": The number of times an enemy will "taunt" for every time they enrage. Assigning a negative number (such as -1) will make the enemy always taunt until they unenrage.
  • All the values inside an object must be assigned. If you want the volume to default, assign it a simple word such as "default".

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

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

BepInEx-BepInExPack

檔案與校驗

檔案名稱
PissyEnemies-1.1.0.zip
檔案大小
3.8 MiB