Author Topic: Jukebox script  (Read 6381 times)

Pyrodioxide

  • Posts: 7
  • It is dangerous to go alone!
    • View Profile
Jukebox script
« on: April 28, 2015, 04:36:35 PM »
I hope this is the right place to post this ;-) (First post)



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

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)
« Last Edit: April 29, 2015, 10:54:32 AM by Pyrodioxide »
Feel free to use the jukebox script: http://hammerwatch.com/forum/index.php?topic=2304.0

Dai Tou Zai

  • Posts: 99
  • Definitely Not Blitzcrank
    • View Profile
Re: Jukebox script
« Reply #1 on: April 28, 2015, 10:33:47 PM »
I just did the lazy mans way of using player in area then starting music LMAO
No i'm not blitzcrank, stop asking me.

Pyrodioxide

  • Posts: 7
  • It is dangerous to go alone!
    • View Profile
Re: Jukebox script
« Reply #2 on: April 29, 2015, 12:48:03 AM »
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.
Feel free to use the jukebox script: http://hammerwatch.com/forum/index.php?topic=2304.0

ChrisN

  • Posts: 44
  • Crackshell Game artist
    • View Profile
    • Portfolio
Re: Jukebox script
« Reply #3 on: April 29, 2015, 08:15:53 AM »
Cool!  ;D

everygame should have a jukebox wizard!