Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perk drops #75

Open
Phil25 opened this issue Dec 3, 2023 · 0 comments
Open

Perk drops #75

Phil25 opened this issue Dec 3, 2023 · 0 comments
Labels
request :: general New feature or request
Milestone

Comments

@Phil25
Copy link
Owner

Phil25 commented Dec 3, 2023

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

Summary

  • Only good and timed perks are droppable.
  • Perks are dropped on death.
  • Perks can be dropped with dropitem command (intel prioritized first).
  • Dropped perks disappear after 10 seconds.
  • Dropped perks save their remaining time and resume once picked up.
  • Dropped perks show annotation to nearby players telling them the perk's name and remaining time.
  • Picking up a perk requires a player to stand in its pickup range for a few seconds.

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

  • Dropped perks are indicated by some particle effect.
  • Upon getting close, a notification appears showing the perk's name and remaining time (ex. PowerPlay (8s)).
  • Upon standing in pickup range, picking up starts indicated by a PASS time beam linking the player and the effect. Some loading/charging-sounding audio FX starts playing.
  • After a few seconds of standing in pickup range, some equip sound plays and perk is applied for the remaining time.

ConVars

  • sm_rtd2_perk_drop_max 5 -- max perks dropped at a time (limit 5).
  • sm_rtd2_perk_drop_death 1 -- should good perks be dropped on death.
  • sm_rtd2_perk_drop_self 1 -- should good perks be droppable manually by player.
  • sm_rtd2_perk_drop_time 10 -- time after which dropped perks disappear.
  • sm_rtd2_perk_pickup_time 2.5 -- time needed to pick up a dropped perk.

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.

@Phil25 Phil25 added this to the 3.0.0 milestone Dec 3, 2023
@Phil25 Phil25 added the request :: general New feature or request label Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request :: general New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant