IW5 Script for waiting for more Players
-
Hey guys,
is there a script out there that when only 1 Player joins the Lobby, he wouldn't be able to Spawn until more than 1 Player is connected?
So that the game puts him in Viewer mode until someone joins, then both spawn and the game timer starts.Is this possible with gsc?
Thanks -
One way or another it is possible yes
For example you could replace the function that tells the game if players can select a team by adding a check if level.players.size > 1 return true else return false. Some other things might be required.
https://github.com/Resxt/Plutonium-IW5-Scripts/blob/main/gamemodes/chaos.gsc#L29
https://github.com/Resxt/Plutonium-IW5-Scripts/blob/main/gamemodes/chaos.gsc#L291 -
He could also touch the pre-game timer logic and replace it with an loop that waits for x players.
-
He could also touch the pre-game timer logic and replace it with an loop that waits for x players.
Xerxes Hey, is this stored in "Plutonium\storage\iw5\maps\mp\gametypes\ _gamelogic.gsc"?
-
No idea.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login