Phil25 / RTD

Roll The Dice SourceMod plugin for Team Fortress 2
GNU General Public License v3.0
55 stars 20 forks source link

Perk drops #75

Open Phil25 opened 10 months ago

Phil25 commented 10 months ago

Whole new feature which allows good perks to be dropped on the ground and shared with other players.

Summary

Overview

Encourage teamwork even more by giving people a chance to drop their current perk via dropitem command (default L).

This will be a very obscure feature by itself and people won't know about it since there really isn't a good way of informing without a message, which RTD is not going to show. I think that's fine.

This feature could be also used to steal good perks from enemies.

Visuals & Audio

ConVars

Perk Eligibility

Since perks do have conditions on what players can use them (soon to have a dedicated method of calculating such eligibility), some perks cannot be picked up by some players. This can be indicated by a negative beep noise when they approach it plus a chat message (ex. [RTD] You are not eligible for Infinite Cloak.). This message is on a cooldown of 3s per dropped perk, one reason is not to flood the player's chat, but also because the eligibility calculation is potentially expensive.