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

Feature too enable / disable player spawn points #2562

Open
Combine900 opened this issue Dec 16, 2024 · 4 comments
Open

Feature too enable / disable player spawn points #2562

Combine900 opened this issue Dec 16, 2024 · 4 comments

Comments

@Combine900
Copy link

Details

If its possible, could we add the startdisabled keyvalue too the players spawn point entities?

Could be useful if you make a map support multiple gamemodes like TTT uses info_player_deathmatch but they are also used on sandbox. So you could disable them on sandbox and use info_player_start somewhere else.

@robotboy655
Copy link
Contributor

What exactly is wrong with having Sandbox players spawning on TTT spawnpoints?

@robotboy655
Copy link
Contributor

robotboy655 commented Dec 16, 2024

I am just not sure how you expect it to work regarding what disables the spawnpoints. Existing gamemodes will not respect any features like that that we can add.

You could probably have the spawnpoints named, and have a lua_run Entity just remove specific ones by name depending on gamemode if it's really that important to you. I am not sure there's currently a way for the map to retrieve the gamemode name via other entities. Maybe something to be added to logic_auto or something? An output like on Map Spawn but one that also provides the gamemode name as a parameter?

@Combine900
Copy link
Author

What exactly is wrong with having Sandbox players spawning on TTT spawnpoints?

Its more that the TTT spawnpoints are also used on sandbox, if you want a specific place for the player too spawn on sandbox they also spawn on the info_player_deathmatch spawnpoints.

@Combine900
Copy link
Author

I am just not sure how you expect it to work regarding what disables the spawnpoints. Existing gamemodes will not respect any features like that that we can add.

You could probably have the spawnpoints named, and have a lua_run Entity just remove specific ones by name depending on gamemode if it's really that important to you. I am not sure there's currently a way for the map to retrieve the gamemode name via other entities. Maybe something to be added to logic_auto or something? An output like on Map Spawn but one that also provides the gamemode name as a parameter?

Well i keep trying things :) You can close that thread

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

No branches or pull requests

2 participants