commit 039e965c478a0a8a24e38207753e46f652fbb962 Author: Ben Fisher Date: Mon Oct 19 21:57:13 2026 -0700 first commit diff --git a/Contents/mods/MyJoinMusicMod/42/media/lua/client/JoinMusic.lua b/Contents/mods/MyJoinMusicMod/42/media/lua/client/JoinMusic.lua new file mode 100644 index 0000000..fe93650 --- /dev/null +++ b/Contents/mods/MyJoinMusicMod/42/media/lua/client/JoinMusic.lua @@ -0,0 +1,7 @@ +local function playJoinMusic() + -- We call the sound ID "MyCustomJoinSong" that we defined in our text script. + -- The sound engine handles the volume and file path automatically now. + getSoundManager():PlaySound("MyCustomJoinSong", false, 0.0) +end + +Events.OnGameStart.Add(playJoinMusic) \ No newline at end of file diff --git a/Contents/mods/MyJoinMusicMod/42/media/scripts/JoinMusic_Sounds.txt b/Contents/mods/MyJoinMusicMod/42/media/scripts/JoinMusic_Sounds.txt new file mode 100644 index 0000000..e6e4ff3 --- /dev/null +++ b/Contents/mods/MyJoinMusicMod/42/media/scripts/JoinMusic_Sounds.txt @@ -0,0 +1,13 @@ +module Base +{ + sound MyCustomJoinSong + { + category = UI, + is3D = false, + clip + { + file = media/sound/MyCustomJoinSong.ogg, + volume = 0.8, + } + } +} diff --git a/Contents/mods/MyJoinMusicMod/42/media/sound/MyCustomJoinSong.ogg b/Contents/mods/MyJoinMusicMod/42/media/sound/MyCustomJoinSong.ogg new file mode 100644 index 0000000..b42f573 Binary files /dev/null and b/Contents/mods/MyJoinMusicMod/42/media/sound/MyCustomJoinSong.ogg differ diff --git a/Contents/mods/MyJoinMusicMod/42/mod.info b/Contents/mods/MyJoinMusicMod/42/mod.info new file mode 100644 index 0000000..ed19a9b --- /dev/null +++ b/Contents/mods/MyJoinMusicMod/42/mod.info @@ -0,0 +1,4 @@ +name=Server Performance Tweaks & Hotfixes +id=MyJoinMusicMod +description=Optimizes server-side map streaming and cell cleanup. +poster=poster.png \ No newline at end of file diff --git a/Contents/mods/MyJoinMusicMod/42/poster.png b/Contents/mods/MyJoinMusicMod/42/poster.png new file mode 100644 index 0000000..5a2f02c Binary files /dev/null and b/Contents/mods/MyJoinMusicMod/42/poster.png differ diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/preview.png b/preview.png new file mode 100644 index 0000000..5a2f02c Binary files /dev/null and b/preview.png differ diff --git a/workshop.txt b/workshop.txt new file mode 100644 index 0000000..ddb447d --- /dev/null +++ b/workshop.txt @@ -0,0 +1,6 @@ +version=1 +id=3823251030 +title=Server Performance Tweaks & Hotfixes +description=Optimizes server-side map streaming and cell cleanup. +tags=Build 42 +visibility=private