前置要求 / Requirements
- MDL3(3.0.0-dev.33 或更新版本)
MDL3 下载 / Download - HD2 Data Hub(0.3.0 或更新版本)
如果使用包含 HD2 Data Hub 的 MDL3 整合包,则无需单独安装。
If you're using an MDL3 package that already includes HD2 Data Hub, you don't need to install it separately.
巨爽巨解压版 / TL;DR Version
首次通过 Mod Manager 加载 Mod 时,会自动创建音乐目录及配置文件。
Game modding tutorials
The first time you load the mod through Mod Manager, it automatically creates the music folder and configuration file.
Code:
%LOCALAPPDATA%\MDL\Helldivers2\StimMusic
将音乐文件(
.wav)放入此目录即可。Simply place your music files (
.wav) in this folder.注意:请勿使用体积过大的音频文件,以免占用过多内存并影响游戏性能。
Note: Avoid excessively large audio files, as they may consume too much memory and affect game performance.
游戏内设置 / In-game Settings
按下 ESC 打开设置菜单,进入:
Press ESC to open the settings menu, then navigate to:
Code:
MDL Settings > Stim Music
| 选项 / Option | 类型 / Type | 默认值 / Default | 说明 / Description |
|---|---|---|---|
| Enabled | 开关 / Toggle | On | 开启或关闭打针音乐 / Enable or disable stim music |
| Music Track | 选择 / Choice | Auto | 选择音乐目录中的歌曲 / Select a song from the music folder |
| Volume % | 滑块 / Slider | 100% | 播放音量 / Playback volume |
| Stim Length ms | 滑块 / Slider | 6000ms | 每次打针的音乐持续时间(毫秒)/ Music duration per stim (ms) |
| Fade In ms | 滑块 / Slider | 500ms | 音量淡入时间(毫秒)/ Volume fade-in duration (ms) |
| Fade Out ms | 滑块 / Slider | 1500ms | 音量淡出时间(毫秒)/ Volume fade-out duration (ms) |
| Min Heal | 滑块 / Slider | 1 | 触发音乐所需的最低治疗量 / Minimum healing amount required to trigger music |
| Hot Reload | 开关 / Toggle | On | 每 2 秒自动检测文件变化,无需重启游戏 / Automatically detects file changes every 2 seconds without restarting the game |
音乐文件 / Music Setup
音乐目录 / Music Directory
Code:
%LOCALAPPDATA%\MDL\Helldivers2\StimMusic
将
.wav 音频文件放入该目录即可。首次加载 Mod 时会自动创建目录和脚本。Place your
.wav audio files in this folder. The directory and script are automatically created when the mod is loaded for the first time.音频格式要求 / Audio Format Requirements
[]格式 / Format:16-bit PCM WAV
[]采样率 / Sample Rate:推荐 22050Hz 或 44100Hz / Recommended: 22050Hz or 44100Hz- 声道 / Channels:单声道或立体声 / Mono or Stereo
音频转换 / Audio Conversion
你可以使用随 Mod 附带的
convert_track.cmd,也可以使用 Audacity 或 FFmpeg 转换音频。You can use the included
convert_track.cmd, or convert your audio using Audacity or FFmpeg.将 MP3、FLAC、OGG 或 M4S 文件拖放到
convert_track.cmd 上,即可转换为同名 WAV 文件。Drag and drop MP3, FLAC, OGG, or M4S files onto
convert_track.cmd to convert them into WAV files with the same filename.请尽量控制 WAV 文件大小。几十 MB 甚至更大的音频文件可能会占用过多内存,影响游戏性能。
Keep WAV files reasonably small. Audio files tens of MB or larger may consume excessive memory and affect game performance.
安装方法 / Installation
方法一:Arsenal Mod Manager
- 将
StimMusic-x.x.x.zip拖入 Mod Manager。 - 启用 Mod。
- 点击 Deploy 完成安装。
- Drag
StimMusic-x.x.x.zipinto Mod Manager. - Enable the mod.
- Click Deploy to install.
将压缩包中的以下文件解压到:
Extract the following files from the archive into:
Code:
Helldivers 2\data
需要复制:
Required files:
[]Addon/9ba626afa44a3aa2.patch_0
[]对应的.gpu_resources文件- 对应的
.stream文件
如果目标目录中已经存在相同编号的 Patch,请使用下一个可用编号,例如
patch_1、patch_2 等。If a patch with the same index already exists, use the next available index, such as
patch_1, patch_2, and so on.
常见问题 / FAQ
Q1:打针没有播放音乐?
[]确认已经安装 MDL3 和 HD2 Data Hub。
[]在游戏内 ESC 菜单中确认 Stim Music 已启用。
[]确认音乐目录中存在有效的 WAV 文件。
[]不要直接将 MP3 文件重命名为 WAV,必须使用音频转换工具。- 检查
STIM_MUSIC_STATUS.txt获取状态信息。
Q1: No music plays when using a stim?
[]Make sure MDL3 and HD2 Data Hub are installed.
[]Make sure Stim Music is enabled in the in-game ESC menu.
[]Check that valid WAV files exist in the music folder.
[]Do not simply rename MP3 files to WAV. Use an audio converter.- Check
STIM_MUSIC_STATUS.txtfor status information.
Q2:为什么连续打针时音乐不会重新开始?
这是预期行为。音乐会在多次打针之间持续播放,直到整首歌曲播放完毕,然后循环播放。
Q2: Why doesn't the music restart when using multiple stims?
This is intended behavior. Music continues across multiple stims until the entire song finishes, then it loops.
Q3:配置文件在哪里?
Code:
%LOCALAPPDATA%\MDL\Helldivers2\StimMusic\STIM_MUSIC_CONFIG.ini
语言设置支持以下选项:
The language setting supports the following values:
[]auto:自动 / Automatic
[]en:英文 / Englishzh:中文 / Chinese
Enjoy your music while spreading Managed Democracy!