New version of RTD: 0.4.4!
- Fixed arena round logic and tweaked the IsInRound detection code. Added a cvar sm_rtd_setup to set whether you can roll during setup. Default is 1 (yes).
- Added two cvars: sm_rtd_dispenser_keep & sm_rtd_sentry_keep to set whether dispensers and sentries spawned during their respective perks will stay after the effect is over. By default the dispensers will stay, sentries will not. (1 and 0).
- Added two perks: big head and tiny player. You can set the size by sm_rtd_bighead_scale and sm_rtd_tinyplayer_scale. (Default 3.0 and 0.1 respectively).
- Added a cvar sm_rtd_respawn_stuck to set whether the plugin should respawn players if they appear to be stuck after the tiny player or noclip perks. Default is yes (1).
- Fixed a bug where deaths by non-player causes did not trigger the RTD effect termination.
- Fixed advert on round start showing when the rtd is disabled or when the round isn't ready. (Thanks Hinchy)
I looked into using Freeze Tag's freeze effect but it appears they use a custom model, which I do not want to include with this plugin. Still open to ideas about the freeze effect. I'd like to improve it. I considered the team glow perk but it's not possible to show the glow to one player. So the entire team would glow to the entire enemy team. I just thought this affected too many players. Let me know if I'm wrong on this.
I changed the part that detects whether the game is in a round or not for the purposes of allowing players to roll. Let me know if you get the 'Wait for the round to start.' message unexpectedly and tell me the map/when it happened. I tested mvm (works during waves), plr, arena, cp and they worked fine.
__________________