Updated the map script to include music that can be played in the lobby
Forum
I tried to change the music + leave it unmodified, doesn't work.
The time was set to 15 by default but it's always 30 ingame.
Fixed in latest download
-Issue: dynamic_mapvote.as was in the wrong dir- was located in scripts/ not scripts/maps
The script couldn't be executed for the settings in the config file to be set
Music is now playing, however, when i change the music, it always keeps playing the dynamic_mapvote.mp3 so it doesnt change.
I tried both a mp3 file and a wav file.
I also changed the voting time but it's still in 30 seconds.
Edit: Music worked this time.
The what i said about that i cant change the music, i managed to change it somehow.
However, i still left the time in 15 and time is still 30.
Time appears to not be setting correctly because probably because conflicts with custom music setting in the mapvote txt file and scripts.
The mappack has been updated with a fix that removes all that stuff out and hardcoded music in the bsp so it works fine now. The music is now no longer set in the mapvote_map txt file, you must now edit the gsr file in sound/dynamic_mapvote folder to customize the music (instructions are provided in the page). You must also have to add a res entry for the sound file so that players can download it, unlike before where the script precached the sound automatically.
A small update was added to the map: the map has been updated using subdivision 528, reducing the number of wpolys on the map. This will greatly increase performance for server owners using a very large amount of slots.
The buggy music/votetime settings have been fixed: the vote times should now be set correctly. The lobby music must now be changed by editing the gsr file in the sound/dynamic_mapvote directory (read the page for detailed instructions).
Special thanks to AlexCorruptor for making the optimizations.
Updated script: the decal tiling bug (where if a person used a spray it would repeat across the whole map) has been fixed
During halloween your lobby will use a special mapvote selection featuring spooky maps (preset ones, or maps of your choosing)
Currently featured maps are:
- They Hunger Lobby http://scmapdb.wikidot.com/map:they-hunger-lobby
- Afraid of Monsters http://scmapdb.wikidot.com/map:afraid-of-monsters:director-s-cut
- Hellmouth http://scmapdb.wikidot.com/map:hellmouth
- Fright Manor http://scmapdb.wikidot.com/map:frightmanor
- Evilmansion http://scmapdb.wikidot.com/map:evilmansion
- Castlevania http://scmapdb.wikidot.com/map:castlevania
- Swiss Cheese Halloween http://scmapdb.wikidot.com/map:swiss-cheese-halloween
- Keen Halloween http://scmapdb.wikidot.com/map:keen-halloween
You can of course edit the file mapvote_maps_halloween.txt to customise your special halloween lobby and change what maps you want available to be voted on.
If you don't want to use the special mapvote file, just simply remove it and the lobby will use the normal mapvote_maps file.
Happy Halloween!