-
-
Notifications
You must be signed in to change notification settings - Fork 23
ConVars
Phil25 edited this page Feb 3, 2024
·
18 revisions
- RTD automatically generates the
/tf/cfg/sourcemod/plugin.rtd.cfg
file containing these ConVars and their documentation. - This file may safely be deleted and it will be regenerated with up-to-date values.
NAME = DEFAULT VALUE | TYPE | DESCRIPTION |
---|---|---|
⚙️ GENERAL | ||
sm_rtd2_version |
string | Current RTD version, do not change. |
sm_rtd2_enabled = 1
|
0 /1
|
Enable or disable RTD. |
sm_rtd2_autoupdate = 1
|
0 /1
|
Enable or disable automatic updating of RTD when Updater is installed. |
sm_rtd2_reloadupdate = 1
|
0 /1
|
Enable or disable automatic RTD reloading when a new version has been downloaded. |
sm_rtd2_custom_config = rtd2_perks.custom.cfg
|
string | Name of the custom config file for perk configuration. |
💬 MESSAGES | ||
sm_rtd2_log = 0
|
0 /1
|
Enable or disable RTD logging action to SourceMod logs. DEPRECATED Use sm_rtd2_logging instead. |
sm_rtd2_logging = 3
|
flags | Which actions and messages should be logged. [ usage ] |
sm_rtd2_chat = 63
|
flags | Which chat messages should be shown. [ usage ] |
sm_rtd2_showtriggers = 0
|
0 /1
|
Should the chat triggers be shown once they're typed? |
sm_rtd2_showtime = 0
|
0 /1
|
Should the duration the perk was applied for be displayed? |
sm_rtd2_show_description = 0
|
0 /1
|
Should the description of the perk be displayed? |
⚔️ PERK APPLICATION | ||
sm_rtd2_duration = 25
|
integer | Default time for the perk to last. This value can be overridden for any perk in rtd2_perks.custom.cfg
|
sm_rtd2_interval = 60
|
integer | Time in seconds a client has to wait to roll again after a perk has finished. |
sm_rtd2_disabled = ""
|
string | Enter the effects you'd like to disable, separated by commas. You can use IDs, tokens or tags which occur in a single perk (ex. 0, toxic, sandvich disables first 3). |
sm_rtd2_emit_sound = 1
|
0 /1
|
Emit custom perk sound when it's applied. |
⌨️ ACCESS & TRIGGERS | ||
sm_rtd2_accessflags = ""
|
string | Admin flags which are required to use RTD. If blank, all is assumed. |
sm_rtd2_insetup = 0
|
0 /1
|
Should players be able to roll in Setup? |
sm_rtd2_triggers = "rtd,roll"
|
string | Chat triggers which will initiate rolls, separated by comma. |
📜 MODES & RESTRICTIONS | ||
sm_rtd2_team = 0
|
0 /1 /2
|
Restrict teams, 0 — no team restriction, 1 — only BLU, 2 — only RED. |
sm_rtd2_mode = 0
|
0 /1 /2
|
No restrain except the interval, 1 — limit by rollers, 2 — limit by rollers in team. |
sm_rtd2_playerlimit = 2
|
integer | How many players could use RTD at once. Active only when RTD Mode is 1 . |
sm_rtd2_teamlimit = 2
|
integer | How many players in each team could use RTD at once. Active only when RTD Mode is 2 . |
sm_rtd2_respawnstuck = 1
|
0 /1
|
Should players who's been detected stuck be automatically respawed (e.g. after Tiny Mann)? |
sm_rtd2_repeat_player = 2
|
integer | How many perks are not allowed to repeat, per player. |
sm_rtd2_repeat_perk = 2
|
integer | How many perks are not allowed to repeat, globally. |
⚖️ RANDOMNESS | ||
sm_rtd2_chance = 0.5
|
0.0 -1.0
|
Chance of rolling a good perk. |
sm_rtd2_dchance = 0.75
|
0.0 -1.0
|
Chance of rolling a good perk if roller is a donator. Active only when sm_rtd2_donatorflag is specified. |
sm_rtd2_donatorflag = ""
|
string | Admin flag used by donators. |
🖥️ HUD | ||
sm_rtd2_timerpos_x = -1.0
|
0.0 -1.0
|
The X position of the perk HUD timer display. Use -1.0 to center. |
sm_rtd2_timerpos_y = 0.55
|
0.0 -1.0
|
The Y position of the perk HUD timer display. Use -1.0 to center. |
sm_rtd2_deathcam_perk = 0
|
0 /1
|
Show name of the killer's perk over their head during Deathcam. |
sm_rtd2_logging
^
You must add/subtract flag values to edit the functionality. For example:
-
15
— enable all logs (1 + 2 + 4 + 8), -
0
— disable all logs, -
3
— log internal RTD messages and admin command usage only (1 + 2).
-
1
— general RTD-internal messages, -
2
— command actions, -
4
— perk applications, -
8
— perk removals.
sm_rtd2_chat
^
You must add/subtract flag values to edit the functionality. For example:
-
63
— enable all messages (1 + 2 + 4 + 8 + 16 + 32), -
0
— disable all messages, -
46
— display perk applications to all, removals to the rollers and the reasons for being unable to roll (2 + 4 + 8 + 32).
-
1
— RTD ad at round start, -
2
— Perk applications for the roller, -
4
— Perk applications for others, -
8
— Perk removals for the roller, -
16
— Perk removals for others, -
32
— Reasons for being unable to roll.