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

Improvements to sm_forcertd command #76

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

Improvements to sm_forcertd command #76

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

  • Allows to specify time until death
  • Allows to specify unlimited, death-persistent time.
  • Allows to specify custom settings
  • Allows to specify silent mode (no sound and message).

Improved time specification

Currently, sm_forcertd is able to specify custom perk time (ex. sm_forcertd @me godmode 999). This system could be extended to specify more specific time, for example:

  • sm_forcertd <target> godmode life
    Gives Godmode until death,
  • sm_forcertd <target> godmode forever
    Gives Godmode which persists across deaths.

Settings provision

There could be an additional argument through which custom settings can be specified, for example:

  • sm_forcertd <target> fasthands "reload:1"
    Gives Fast Hands, but with unaltered reload time.
  • sm_forcertd <target> teamcriticals "range:2000; crits:0"
    Gives Team Criticals with hugely increased range, but mini-crits instead.
  • sm_forcertd <target> powerfulhits forever "multiplier:99"
    Gives Powerful Hits with 99x increased damage which also persists across death.

Distinguishing the 3rd parameter

  1. If it's an integer, life, or forever -> treat as time,
  2. otherwise, begin parsing for settings format,
  3. on failure, fail the command entirely.
@Phil25 Phil25 added this to the 3.0.0 milestone Dec 3, 2023
@Phil25 Phil25 added request :: api Requesting API functionality request :: general New feature or request and removed request :: api Requesting API functionality labels 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