GithubHelp home page GithubHelp logo

earu / neo-chatsounds Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 2.0 236 KB

Memes in the Garry's Mod chat.

Home Page: https://github.com/Earu/neo-chatsounds

License: GNU Affero General Public License v3.0

Lua 100.00%
addon chat garrys-mod garrysmod jukebox manipulation meme memes sound sounds

neo-chatsounds's Introduction

neo-chatsounds

Memes in the Garry's Mod chat.

What is this?

This repository is a Garry's Mod addon that adds chat sounds in your game. It suggests a list of sounds you can play when typing. There are thousands of sounds available.

It also comes with a twist: you can modify each sounds with modifiers.

How do I know what sounds exist?

You have multiple options here:

  1. Check the various repositories used to build the sound list
  2. Type various things in the chat and scroll through the suggestions made.

How do I add sounds?

Typically you can either add sounds in this repo or in this one. Each of them are maintained by different people but the rules for adding a sound are the same.

  • Note 1: Do check their readme.md!
  • Note 2: These need to be added to repo_config.json they are not included by default!

How do I add more sound sources/repos?

If you go in garrysmod/data/chatsounds you should find a file called repo_config.json. Open it and add the repositories you want to the config following the existing format. In most cases you should keep UseMsgPack to false, unless you do actually use .msgpack files. For now the only repos/sources supported are GitHub repositories.

Disclaimer: By default the config only loads the valve sound repos.

Example for this repo:

{
	"Repo": " PAC3-Server/chatsounds",
	"Branch": "master",
	"BasePath": "sounds/chatsounds",
	"UseMsgPack": false,
}

Modifiers ?

Modifiers are a big part of chatsounds, they allow you to transform sounds and make them into something else. Some people even made songs with them!.

Here's an example:

  • Normal unmodified sounds:

     standing here i realize
    
  • With a pitch modifier:

     standing here:pitch(0.5) i realize
    

    This will in turn pitch down the first sound. You can also group sounds together:

     (standing here i realize):pitch(0.8)
    
  • Legacy modifiers:

     standing here%50 i realize
    

    Wait a minute what is this?

    Because chatsounds has a lot of legacy some syntax was also kept in as back-compatbility so that people's favorite ways of messing with chatsounds don't just disappear!

    The above is a legacy pitch modifier, instead of working from -5 to 5 like the current pitch modifier does it works from 1 to 255

Where can I find a list of modifiers?

Right now there has never been a documentation made for the chatsounds syntax, or what modifiers exist, I do plan on making one though!

What is this useful for?

Absolutely nothing, this is only for fun and it is very possible that you may not see any added value to it. If you wish to see it in action you can always join these servers:

  • Meta Construct EU #1 - steam://connect/g1.metastruct.net
  • Meta Construct EU #2 - steam://connect/g2.metastruct.net
  • Meta Construct US #3 - steam://connect/g3.metastruct.net

Contributing

Any contribution is welcome so long as it TESTED before. Please do respect the existing coding conventions (naming, etc...) and make sure your code is optimized, performances matter especially in this project.

neo-chatsounds's People

Contributors

be195 avatar earu avatar python1320 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

be195 python1320

neo-chatsounds's Issues

Play Chatsounds if the source (player) is near the local player

Neo Chatsounds seemingly doesn't have a check if the player is nearby or not.
This results in creating a lot of WebAudio streams, which can possibly affect performance not in a good way:

webaudio

Suggestions

  • Have a ConVar for distance
  • Have the distance as a constant

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.