Some new features for TTT in gmod
Pressing 'i' ingame opens up an inventory that allows the player to spawn in any weapon they want that the game can detect, replacing the current weapon in that slot if one exists.
You can close by pressing 'i' again or clicking the close button.
Based on https://github.com/moatato/moat-texteffects
An example video of the effects can be found here.
- Dollars bouncing around over text
- Bubble effect over text
- Colored smoke around text
- Rainstorm under text
- Realistic fire under text
You can also type in console "m_textexamples" to display of the effects in game.
- intensity = number above 0, how many dollar signs to draw
DrawSwagText(intensity, text, font, x, y, color, color2, _obj_)
- intensity = number between 0 and 1. Higher means faster movement
- bubble_color = Color of the bubbles (Default is light blue)
DrawBubbleText(intensity, text, font, x, y, color, bubble_color, _obj_)
- intensity = number between 0 and 1. Higher means more smoke
- smoke_color = Color of the smoke (Default is grey)
DrawSmokeText(intensity, text, font, x, y, color, smoke_color, _obj_)
DrawRainText(text, font, x, y, color, _obj_)
- intensity = number between 0 and 1 (0.5 is half of the text height)
DrawBonfireText(intensity, text, font, x, y, color, _obj_)