Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. Force out of Afterlife?

Force out of Afterlife?

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
3 Posts 2 Posters 223 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • techboy04gamingundefined Offline
    techboy04gamingundefined Offline
    techboy04gaming
    wrote on last edited by
    #1

    Hello, sorry for the spam in forums threads lol Anyways lets get down to business. I want to make it so on Mob of the Dead, players spawn in not in after life. I have some code that modifies points, weapons, etc and I dont want it to be given to the player while they are in Afterlife at the start. (Since if given they would not appear when revived). Again sorry for the amount of threads ive been making lol

    JezuzLizardundefined 1 Reply Last reply
    0
    • JezuzLizardundefined Offline
      JezuzLizardundefined Offline
      JezuzLizard Plutonium Staff
      replied to techboy04gaming on last edited by
      #2

      techboy04gaming This is a bit harder to do since I assume you don't want to completely disable the afterlife system. The script you will need to edit is this one: https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer/blob/master/zm_prison_patch/maps/mp/zm_alcatraz_classic.gsc

      I think you would need to modify the give_afterlife function as its what puts players in afterlife at the beginning.

      Alternatively, instead of disabling the afterlife start you could delay your code giving weapons and points until all players have revived themselves. I would recommend looking thru that script to see if there is a notify you could use to check if all players are out of afterlife. Either that or check if the round has started level waittill( "start_of_round" );.

      1 Reply Last reply
      1
      • techboy04gamingundefined Offline
        techboy04gamingundefined Offline
        techboy04gaming
        wrote on last edited by
        #3

        JezuzLizard said in Force out of Afterlife?:

        level waittill( "start_of_round" );

        The start of round is actually alot better, thank you so much!

        1 Reply Last reply
        0

        • Login

        • Don't have an account? Register

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