Skip to content

ConVars

Phil25 edited this page Dec 28, 2023 · 18 revisions

Overview

NAME = DEFAULT | VALUES | 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 = 1 | 0/1 | Should the plugin's actions be logged. sm_rtd2_chat = 1 | flags | Which chat messages should be shown. [ usage ] sm_rtd2_showtriggers = 1 | 0/1 | Should the chat triggers be shown once they're typed? sm_rtd2_showtime = 1 | 0/1 | Should the duration the perk was applied for be displayed? sm_rtd2_show_description = 1 | 0/1 | Should the description of the perk be displayed? || 💬 PERK APPLICATION sm_rtd2_duration = 1 | integer | Default time for the perk to last. This value can be overridden for any perk in rtd2_perks.custom.cfg sm_rtd2_interval = 1 | integer | Time in seconds a client has to wait to roll again after a perk has finished. sm_rtd2_disabled = 1 | 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). || 💬 ACCESS & TRIGGERS sm_rtd2_accessflags = 1 | string | Admin flags which are required to use RTD. If blank, all is assumed. sm_rtd2_insetup = 1 | 0/1 | Should players be able to roll in Setup? sm_rtd2_triggers = 1 | string | Chat triggers which will initiate rolls, seperated by comma. || 💬 MODES & RESTRICTIONS sm_rtd2_team = 1 | 0/1/2 | Restrict teams, 0 - No team restriction, 1 - Only BLU, 2 - Only RED. sm_rtd2_mode = 1 | 0/1/2 | No restrain except the interval, 1 - Limit by rollers, 2 - Limit by rollers in team. sm_rtd2_playerlimit = 1 | number | How many players could use RTD at once. Active only when RTD Mode is 1 sm_rtd2_teamlimit = 1 | number | 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 = 1 | number | How many perks are not allowed to repeat, per player. sm_rtd2_repeat_perk = 1 | number | How many perks are not allowed to repeat, globally. || 💬 RANDOMNESS sm_rtd2_chance = 1 | 0.0-1.0 | Chance of rolling a good perk. sm_rtd2_dchance = 1 | 0.0-1.0 | Chance of rolling a good perk if roller is a donator. sm_rtd2_donatorflag = 1 | flag | Admin flag required for donators. || 💬 HUD sm_rtd2_timerpos_x = 1 | 0.0-1.0 | The X position of the perk HUD timer display. -1.0 to center. sm_rtd2_timerpos_y = 1 | 0.0-1.0 | The Y position of the perk HUD timer display. -1.0 to center.

sm_rtd2_chat ^

Usage

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).

Available flags

  • 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.