📝 このMODの解説記事
まだ解説記事はありません。読みたい方はリクエストできます(運営が記事化を検討します)。
🔑 Nexus連携(高評価・追跡)
自分のNexusアカウントで 高評価(Endorse) や 追跡(Track) ができます。認証情報はあなたのブラウザにのみ保持され、当サイトのサーバーには保存しません。
🏷 タグ
📂 ファイル・バージョン
ダウンロードは Nexus Mods 上で行われます(当サイトではファイルを配布しません)。対応バージョンは各ファイルの記載をご確認ください。
メイン Custom Ham Radio Player Mod V3.9 (V2.6) v3.9
更新履歴(changelog)
Most latest changelog:
V3.9 (V2.6)
thanks to googles antigravity agentic ide and gemini 3.1 pro ai model
Here is a clear breakdown of the exact differences between your original code and the optimized code, highlighting why these changes matter for the performance of a 7 Days to Die mod.
1. The Block Scanning Lag Spike (CheckForRadioPlacement)
Before: When the player placed a radio (detected by their inventory count dropping), your code ran a triple-nested for loop. It checked an 11x7x11 grid around the player, calling GameManager.Instance.World.GetBlock() over 1,180 times in a single frame. This causes massive CPU lag spikes.
After: The game already tells us when a block is placed via your BlockAddedPatch, which populates the PlacedRadios dictionary. Instead of scanning 1,180 blocks, the optimized code just does a simple distance calculation (Vector3.Distance) against the few radios known to exist in PlacedRadios.
2. The String Allocation Memory Leak (UpdateInteractionPrompt)
Before: Every single frame (60+ times a second) that the player looked at a radio, your code fetched the player's keybinding, chopped the file extension off the track name (LastIndexOf('.')), and created a brand new string ($"Press {keyMarkup}..."). This creates heavy "Garbage Collection" (GC) pressure, which causes micro-stutters as Unity cleans up the discarded strings.
After: I added caching variables (lastFocusedPos, lastIsRadioActive, etc.). The prompt string is now built exactly once when you look at the radio, and only updates if the track changes or the radio is paused. The track name without the .mp3 extension is also permanently cached on load.
3. The Dictionary Lookup Bottleneck (GamePrefs.GetFloat)
Before: In UpdateProximityAudio and UpdateInventoryRadio, the code called GamePrefs.GetFloat(EnumGamePrefs.OptionsMusicVolumeLevel) every single frame to check the music slider. GamePrefs is a dictionary lookup under the hood, making it surprisingly slow to call continuously.
After: I c…メイン TechFreqsCustomHamRadioPlayerV4.0(V3.0)BETA v4.0
更新履歴(changelog)
V4.0(V3.0) - Updated for v3.0 of 7d2d - fixed many issues for patchng radal icon aswell as playback and block placement due to new game api changes - missing shuffle icon for radial - non anticheat safe, client ham radio player - same as previous version just updated :)
旧バージョン(5件)を表示
旧バージョン Custom Ham Radio Player Mod V3.3 BETA v3.3
更新履歴(changelog)
Updated ReadMe! & links
旧バージョン Custom Ham Radio Player Mod V3.4 BETA v3.4
更新履歴(changelog)
Updated ReadMe! & links
旧バージョン Custom Ham Radio Player Mod V3.6 (V2.0) BETA v3.6
更新履歴(changelog)
Updated ReadMe! & links
旧バージョン Custom Ham Radio Player Mod V3.7 (V2.5) BETA v3.7
更新履歴(changelog)
Updated Readme!
旧バージョン Custom Ham Radio Player Mod V3.8 (V2.5) BETA v3.8
更新履歴(changelog)
Updated Readme!
MOD 解説
「CustomHamRadioPlayer」MODは、『7 Days to Die』に、ほぼ完全に機能するアマチュア無線システムを追加することでゲーム体験を強化するものです。このシステムにより、プレイヤーはゲーム内でカスタム楽曲を再生できるようになり、ラジオを設置して(近接型オーディオ)で再生するオプションと、
原文(英語)を表示
The CustomHamRadioPlayer mod, enhances 7 Days to Die by adding a semi fully functional ham radio system that allows players to play custom music tracks in-game, with support for both options, placing down radio for a (proximity-based audio)
導入前チェック(前提 / 競合 MOD)
情報はまだありません。導入済みの方はコメントで情報をお寄せください。
