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

Adjust spawn protection dedicated server option to allow use of invuln powerup #295

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GooberRF
Copy link
Contributor

@GooberRF GooberRF commented Oct 22, 2024

This PR adjusts the implementation of spawn protection via the dedicated server config file in two ways:

  • It is now a boolean on/off toggle with a duration optional parameter. This is very minor, but I think it is more intuitive than the previous method and aligns better with other options with configurable parameters like hitsounds.
  • It now has a new $Use Powerup optional setting (defaults false). If true, instead of using the standard method of spawn protection, grant newly spawned players an invulnerability powerup for the specified duration. This probably would never be used in normal servers but it would be fantastic for run servers. It's effectively what Cyrus and many other mappers were intending with all the invulnerability powerups scattered around.

New syntax for the configuration is (with default values shown):

$DF Spawn Protection Enabled: true
    +Duration: 1500
    +Use Powerup: false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant