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

game: Enable instant respawn on devmap #2591

Closed

Conversation

Vorschreibung
Copy link
Contributor

Assists in smoother/faster devmap cycles.

Assists in smoother/faster devmap cycles.
Copy link

sonarcloud bot commented Jun 5, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@Vorschreibung Vorschreibung marked this pull request as draft June 7, 2024 12:01
@ryzyk-krzysiek
Copy link
Contributor

ryzyk-krzysiek commented Jun 29, 2024

You could use configs instead for various mod/server or even client settings. For fast respawns:

g_customConfig test (can set it on startup with +set)
File test.config

configname "^1This is test config"

init
{
	setl g_useraxisrespawntime "1"
	setl g_useralliedrespawntime "1"
}

Hardcoding instant respawns doesn't sound right when it already happens when warmup is on and is customizable outside of warmup.

EDIT: changed the cvars because the limbo cvars might not work on some maps (overwritten by mapscripts)

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.

None yet

2 participants