Hammerwatch Forum
Custom mapping and Mods => Editor Discussion => Topic started by: Pyrodioxide on April 28, 2015, 04:36:35 PM
-
I hope this is the right place to post this ;-) (First post)
(http://i.imgur.com/LjUyYSt.png?1)
So basicly: I made a hit detection script that adds 1 to a variable which is then checked and triggers the matching playmusic script
Example: hit object -> add 1 to variable --> Check variable; on true; equal to 3 --> playmusic
When equal to 5 it sets the value at 0, effectively resetting the jukebox.
The current number of songs the jukebox plays is 5, but theoretically you could make that any number.
TL;DR Jukebox script! (Have not seen it yet, so made it for all of you to use/edit)
Included the script below
Source http://we.tl/emN8V5ImfG (http://we.tl/emN8V5ImfG)
Post scriptum:
Ever since I played rpc190's Hexen: Beyond Hammerwatch campaign I have been lurking on this forum.
I really enjoyed Hexen back in the day and thought its execution was beyond awesome and shortly after decided to pick up the editor myself.(about 3 weeks ago)
I saw that many of the custom maps I have played through the workshop were made by the awesome people of this forum. (thank you)
-
I just did the lazy mans way of using player in area then starting music LMAO
-
I just did the lazy mans way of using player in area then starting music LMAO
Nice! I have been thinking of improving the script I have right now with a better selection method, but I'd need more than 10 songs for that to be viable. I have a friend who said he would make custom music for the custom map I am working on. So I thought adding a jukebox would keep it fresh in case people do not like the music and/or a particular song better.
-
Cool! ;D
everygame should have a jukebox wizard!