Skip to content

KevinNovak/SimpleTauntMenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Simple Taunt Menu

Simple Taunt Menu is an easy way to add and organize taunts for ANY gamemode. It also ships with the default taunts that are normally included with the Prop Hunt gamemode, but no need to install.

Just press and hold your +menu_context button (which is the "C" key by default) to bring up the taunt menu and click a taunt to begin taunting.

Note: Players must be alive and not a spectator in order to taunt.

Inspired by Icedream's Minimal PropHunt Taunt Menu. If you have a Prop Hunt server, definitely consider using his addon.

Installation

This addon runs both server-side and client-side. Follow both sections below so that both server and client will have the necessary files.

Installing Server-side

  1. Subscribe to this addon with Garry's Mod open.
  2. Locate the Simple Taunt Menu gma file in your steam install directory, under steamapps\common\GarrysMod\garrysmod\addons.
  3. Extract the gma file using something like Gmad - Easy Addon Extractor by Freenex.
  4. Move the extracted folder into your servers garrysmod\addons folder.

Forcing clients to download this addon

  1. Locate your servers garrysmod\lua\autorun\server\workshop.lua file.
    • If it doesn't exist, create one.
  2. Add the following to the bottom of the file:
    • resource.AddWorkshop("1620980553") -- Simple Taunt Menu

Adding Taunt Packs

By default, Simple Taunt Menu comes with the taunts that are normally included with Prop Hunt. If you'd like to add additional taunt packs, follow the sections below.

Forcing clients to download the taunt pack

  1. Locate the taunt pack from the Steam Workshop that you wish to add.
  2. Determine the taunt packs ID, by looking at the page URL.
    • For example, if the taunt pack you want to download is at https://steamcommunity.com/sharedfiles/filedetails/?id=426548393 then the ID would be 426548393.
  3. Locate your servers garrysmod\lua\autorun\server\workshop.lua file.
  4. Add the following to the bottom of the file, replacing {TAUNT_PACK_ID} with the ID you found in the above step:
    • resource.AddWorkshop("{TAUNT_PACK_ID}")

Determining the paths of the taunt pack's sound files

In order to add sounds to Simple Taunt Menu, we'll need to determine where sounds are located in the taunt pack. The best way to do this is to download the taunt pack, and extract it's contents.

  1. Locate the taunt pack from the Steam Workshop that you wish to add.
  2. Subscribe to the taunt pack with Garry's Mod open.
  3. Locate the taunt pack gma file in your steam install directory, under steamapps\common\GarrysMod\garrysmod\addons.
  4. Extract the gma file using something like Gmad - Easy Addon Extractor by Freenex.
  5. Look in the extracted folder, in the sound directory, finding the paths to the sound files.

Adding the taunts to the menu

  1. After determining the sound paths for each sound file you'd like to add, open Simple Taunt Menu's sv_stm_taunts.lua on the server under garrysmod\addons\{Simple Taunt Menu Folder}\lua\autorun\server. This file stores a table of categories, sound paths, and taunt names that Simple Taunt Menu uses.
  2. Follow the existing table structure to add the taunts from the taunt pack.

References

Releases

No releases published

Packages

No packages published

Languages