ULX

Author Topic: Guess It!  (Read 3430 times)

0 Members and 1 Guest are viewing this topic.

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Guess It!
« on: May 27, 2007, 01:04:46 AM »
Ever played the 'Music Quiz' game on an iPod? This was inspired by it. You place songs in a folder, and then start a game on your server. You and others compete by trying to guess which song is playing out of 4 randomly chosen songs.

Installation:
Just extract to Garrysmod's addon folder and it will run on startup. Add any songs you want to addons/Guess_it/sound/GuessIt.


Playing:
Say   !guessit start   to start a game.
Say   !guessit stop    to end a game early.

Each game runs for (by default) 30 seconds per round, for 5 rounds. You can change the settings inside the Lua files. I've included a few random songs for you to mess around with.

Notes:
The game requires 5 songs minimum to play, any less and it won't run.
Settings can be changed inside the Lua files.
Clients on your server must have downloaded the songs to hear them.
It's best to trim the songs to the default round time (30, or whatever you set) so the file size is low.
The songs I've included are all 30 seconds long.


Version 2.0
[Add] More/Different song samples
[Change] Scores are now given by a special equation, instead of just number of songs correctly guessed. The equation is:
(Number of correct guesses) * (Time remaining after each correct guess)
[Fix] Sounds now stop without cheats
[Fix] Game now properly stops when !guessit stop is used.
[Fix] Other small changes that could be potential problems.
[Change] Now in addon format.
And other small things :)

Version 1.6
[Fix] Problem with changed filenames. If v1 doesn't work for you, please download this version.
[Fix] Fixed game stopping too early.

Latest Version:


Enjoy!


Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: Guess It!
« Reply #1 on: May 27, 2007, 01:05:22 AM »
I reposted this, because I just updated it to work tons better, with a lot of fixes. I abandoned it a while ago when it still needed a lot of work, so it should be working fine now :)


Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Guess It!
« Reply #2 on: May 27, 2007, 10:31:15 AM »
Awesome work GD. :)
Experiencing God's grace one day at a time.