Skip to content
  • 0 Unread 0
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse

Plutonium

  1. Home
  2. MW3 Modding Support & Discussion
  3. IW5 Script for waiting for more Players

IW5 Script for waiting for more Players

Scheduled Pinned Locked Moved MW3 Modding Support & Discussion
5 Posts 3 Posters 507 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Lobiixundefined Offline
    Lobiixundefined Offline
    Lobiix
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • Resxtundefined Online
      Resxtundefined Online
      Resxt
      Plutonium Staff
      wrote on last edited by Resxt
      #2

      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

      1 Reply Last reply
      0
      • Xerxesundefined Offline
        Xerxesundefined Offline
        Xerxes
        Plutonium Staff
        wrote on last edited by
        #3

        He could also touch the pre-game timer logic and replace it with an loop that waits for x players.

        Lobiixundefined 1 Reply Last reply
        0
        • Xerxesundefined Xerxes

          He could also touch the pre-game timer logic and replace it with an loop that waits for x players.

          Lobiixundefined Offline
          Lobiixundefined Offline
          Lobiix
          wrote on last edited by Lobiix
          #4

          Xerxes Hey, is this stored in "Plutonium\storage\iw5\maps\mp\gametypes\ _gamelogic.gsc"?

          1 Reply Last reply
          0
          • Xerxesundefined Offline
            Xerxesundefined Offline
            Xerxes
            Plutonium Staff
            wrote on last edited by
            #5

            No idea.

            1 Reply Last reply
            0

            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
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Unread 0
            • Recent
            • Tags
            • Popular
            • Users
            • Groups