A set of SourceMod plugins developed for LazyPurple's TDM Server.
Implements a custom recreation of Medieval Mode, and a voting system to toggle it on any map.
Allows players to toggle their ability to get random crits.
Configurable spawn protection.
LPTDM exposes the following console elements:
| Name | Description | Default | Notes |
|---|---|---|---|
sm_selfcrits/sm_togglecrits |
Toggle the calling players ability to get random crits. | N/A | None |
sm_medievalvote |
Initiate a vote to toggle Medieval Mode. | N/A | None |
sm_forcemedieval |
Forcefully toggle Medieval Mode. | N/A | Requires >= ADMFLAG_SLAY command privilege |
sv_lptdm_medieval_healthkit_enable |
Whether players should drop small healthkits upon death or not. | 1 | None |
sv_lptdm_medieval_vote_cooldown |
Time, in seconds, after a failed Medieval vote before another can be started. | 240 | None |
sv_lptdm_medieval_vote_duration |
Duration of votes to toggle Medieval mode. | 20 | None |
sv_lptdm_spawnprotection_cancel_on_attack |
Cancel spawn protection when a player fires their weapon. | 1 | None |
sv_lptdm_spawnprotection_fade_duration |
Duration of fading protection state. | 1.5 | None |
sv_lptdm_spawnprotection_disable_during_pregame |
Disable spawn protection during pre-game warmup. | 1 | None |
sv_lptdm_spawnprotection_duration |
Number of seconds players are protected after spawning. | 3.5 | None |
nativevotes-updated tf2attributes tf2utils (lptdm_spawnprotection only) tf_econ_data (lptdm_medieval only) morecolors (compilation only)
- Enabling actual Medieval Mode requires a mapchange, so a successful Medieval vote actually enables a sort of faux-Medieval Mode instead, which I've tried to make as functionally similar to real Medieval Mode as possible.
- As a result of the first note,
tf_medieval_autorpandtf_medieval_thirdpersondo not function.
- Due to a quirk in how random crits are calculated, attacks that otherwise would have been random crits will still play crit sounds/particles/anims on the clients of players that have them disabled.
- Add params to
sm_forcemedievalfor duration and filters. (map, until disabled, only RED, only BLU, etc.)
LPTDM is released under version 3 of the GNU Affero General Public License. For more info, see LICENSE.md.