tEmotes shows emoticons above a players head. Triggered by chat messages.
The pluginidea and models are based on
this Eventscript by SuperDave.
The models are made by Venjax.
So, thank them, not me - i basically just ported their work to sourcemod.
L4D:
as long as it's not able to upload custom content to clients, l4d is not compatible with this plugin.
Configuration:
You can easily add your own emoticons. Two steps are needed:
a) create the model
Code:
// Each icon requires:
// ./materials/models/extras/<name>/speech_info.vmt
// ./materials/models/extras/<name>/speech_info.vtf
// ./models/extras/<name>/info_speech.dx80.vtx
// ./models/extras/<name>/info_speech.dx90.vtx
// ./models/extras/<name>/info_speech.mdl
// ./models/extras/<name>/info_speech.phy
// ./models/extras/<name>/info_speech.sw.vtx
// ./models/extras/<name>/info_speech.vvd
b) upload it to you server and edit the tEmotes.cfg to include your emoticon.
to make the model with <name> angry be recognized by the chattrigger "cheater" (or "cHeAtEr") you would have this in your tEmotes.cfg:
Code:
"tEmotes"
{
"angry"
{
"code" "cheater"
}
}
CVars:
Code:
// Enable/Disable tEmotes
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_temotes_enable "1"
// Time (in seconds) an emote is visible
// -
// Default: "4.0"
// Minimum: "0.000000"
sm_temotes_duration "4.0"
Important:
Set the proper whitelist entries if you're going to use the emotes on a pure server!
Changelog:
1.004:
- fixed precaching problems (hopefully)
1.003:
- fixed dead and spectating players showing emotes
1.002:
- added version cvar
sm_temotes_version
1.001:
- The emoticons now rotate correctly
1.000
- Initial Release (in this
thread)