Addon Entry

Now supporting the newest garrysmods.org

New : UserScript to add a search button to any garrysmod.org download page Script Page Install It!

Mirrors

There are no mirrors, request one in the comment section below.
File: Roleplay chat for Radbox
Version: 0
Garrysmod.org URL: http://www.garrysmod.org/downloads/?a=view&id=98998
Description: this is pretty straightfoward and adds the following roleplay elements to Radioactive Sandbox SVN rev.84

You can use this resource to easily add those functions to another gamemode, it shouldn't require much tweaking.

-no team chat
-normal chat is restricted to 390 units (10 meters)
-voice chat is restricted to 390 units (10 meters)
-dead peoples can only talk with other dead peoples (in voice and text)
-/ooc allow you to talk in ooc (server wide)
-/me display your text in emote style


/!\INSTALLATION/!\

1.copy chatsystem.lua and cl_chatsystem.lua in your radbox\gamemode\ folder (where init.lua and the rest is)

2.add the following lines at the begining of 'init.lua'

include( 'chatsystem.lua' )
AddCSLuaFile( 'cl_chatsystem.lua' )

3. add the following line to 'cl_init.lua'

include( 'cl_chatsystem.lua' )

4. add the following lines to 'moddable.lua'

GM.LocalChatDistance = 10*39 -- Maximum distance local chat is seen
GM.VoiceChatDistance = 10*39 -- Maximum distance voice chat is heard

5. done, it should work fine!


NOTE: you can adjust the values in LocalChatDistance and VoiceChatDistance to your liking (in inches).

This mod respect the sv_alltalk setting and will let everyone talk to everyone if sv_alltalk = 1

Image: Roleplay