Skip to content

Sourcecode for the in-game audio webpage. Allows users to upload audio so they can play it back to others in game. Due to changes to the in-game Chromium browser this will no longer work

Notifications You must be signed in to change notification settings

CrimsonTautology/in-game-audio

Repository files navigation

DEPRECATED

This will no longer work due to changes to the in-game Chromium web browser.

In Game Audio

Build Status

The back website for the In Game Audio sourcemod plugin. Allows a person to upload songs which can then be played back in game through the HTML5 MOTD browser.

Requirements

Instalation

  • Make sure you have the requirements
  • Add your steam API key to your system's environment: STEAM_API_KEY=[your api key]
  • Add your Google storage directory, access key id and secret access key to your system's environment: GOOGLE_STORAGE_DIRECTORY=[your key] GOOGLE_STORAGE_ACCESS_KEY_ID=[your key] GOOGLE_STORAGE_SECRET_ACCESS_KEY=[your key]
  • Add the steam ID 64 for the head admin in to your system's environment: STEAM_HEAD_ADMIN_ID=[your steamid 64]
  • Setup your database config in config/database.yml
  • Install bundler and all required gems: gem install bundler && bundle
  • Initialize your database with: rake db:setup
  • Start the webserver: thin start

Usage

Go here to find a song you want to play.

Every song on that site can be played with the !p chat command.  Calling !p by itself will play a random song to yourself. You can also call !p with a category to play a random song in that category: !p r will play a random song in the rock category. This works with subdirectories of a category as well.  To play a specific song, give the category it is in followed by a forward slash '/' and then the name.  For example to play "takefive" in the "j" category you would type !p j/takefive into the in-game chat-box.

Example

About

Sourcecode for the in-game audio webpage. Allows users to upload audio so they can play it back to others in game. Due to changes to the in-game Chromium browser this will no longer work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published