Add Build 42 World Atmosphere Pack mod
This commit is contained in:
commit
4a2c21594c
21 files changed
+218
No files matched your search
@@ -0,0 +1,45 @@
|
||||
Build 42 World Atmosphere Pack setup
|
||||
|
||||
1. The 15 tracks from MusicOGGFolder are included as track1.ogg through
|
||||
track15.ogg under:
|
||||
Contents/mods/WorldAtmospherePack/42/media/sound/WorldAtmospherePack/
|
||||
Do not publish music unless you have permission to redistribute it on
|
||||
Steam Workshop, even if the Workshop item is friends-only.
|
||||
|
||||
2. To add more songs, duplicate a clip { ... } block in
|
||||
Contents/mods/WorldAtmospherePack/42/media/scripts/WorldAtmosphereSounds.txt,
|
||||
changing its file path to each new .ogg. The game randomly selects a clip.
|
||||
All songs should be normalized to a similar loudness. Keep paths and casing exact.
|
||||
|
||||
3. Change MIN_WAIT_MINUTES and MAX_WAIT_MINUTES near the top of
|
||||
Contents/mods/WorldAtmospherePack/42/media/lua/client/WorldAtmospherePack.lua
|
||||
to adjust the real-time gap after each song finishes. A currently playing
|
||||
song is never interrupted by this mod. Each connected player has an
|
||||
independent random schedule.
|
||||
|
||||
4. The installed upload copy is at
|
||||
%UserProfile%/Zomboid/Workshop/WorldAtmospherePack (not the game's Workshop
|
||||
install directory). The Desktop source folder retains its old folder name;
|
||||
its mod ID and all packaged content use WorldAtmospherePack. Keep only ONE
|
||||
installed copy enabled. Test the native
|
||||
Options > Audio > Music slider at zero and while changing it mid-song on
|
||||
your exact Build 42 version. The mod applies this slider to its playing
|
||||
track through the UI emitter once per second. Native game music is muted
|
||||
while a custom track plays and restored to the slider setting afterward.
|
||||
|
||||
5. The 256x256 preview.png was resized from the image in your Pictures folder.
|
||||
Only publish artwork if you have permission to redistribute it. Use the
|
||||
game's main-menu Workshop > Create and update items uploader. Choose visibility
|
||||
(the template starts friends-only) and note the numeric Workshop ID.
|
||||
If you move the project out of this folder, work on just ONE copy.
|
||||
|
||||
6. In the dedicated server's Zomboid/Server/<servername>.ini set:
|
||||
WorkshopItems=<numeric Workshop ID>
|
||||
Mods=WorldAtmospherePack
|
||||
Append with semicolons if other mods are configured, then restart the server.
|
||||
Clients joining the server will be prompted to download Workshop content.
|
||||
|
||||
References:
|
||||
https://pzwiki.net/wiki/Mod_structure
|
||||
https://pzwiki.net/wiki/Uploading_mods
|
||||
https://pz-wiki-modding.github.io/PZ-API-Docs/scripts/sound.html
|
||||
Reference in new issue
Block a user