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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. Multiple questions - Scripting help

Multiple questions - Scripting help

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
5 Posts 5 Posters 261 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 techboy04gaming
    #1

    Heya, its been a bit since I did some modding
    But I am planning on making my own minigame and I have a few questions/help on this. I decided to make this one post since I dont want to spam the forums again lmao.

    1. Is it possible to stop zombies from spawning (and later on, allow em)

    2. Is it possible to prevent doors from being opened? (Being bought, opened by afterlife, etc)

    3. If I teleport a player in an area where there is no doors opened, will zombies spawn in it?

    4. Is it possible to prevent people from going into Afterlife if I were to use Mob of the Dead?

    If these are possible, what do I put in as the code for it?

    Obv im not looking for someone to answer ALL of these lmao. Just answer whatever you can that best helps me make the mode I have planned. Thanks!

    Ultimatemanundefined Meat Missileundefined 2 Replies Last reply
    0
    • Sorexundefined Offline
      Sorexundefined Offline
      Sorex Contributor
      wrote on last edited by
      #2

      techboy04gaming Everything is possibile

      1 Reply Last reply
      0
      • Ultimatemanundefined Offline
        Ultimatemanundefined Offline
        Ultimateman
        replied to techboy04gaming on last edited by
        #3

        techboy04gaming Answer for 3rd question. If you teleport a player in an area where players have not gone yet and doors to that location are closed they will die because playable area zones are not connected to that location (doors must be opened). You can bypass this by disabling the "volume death barrier a.k.a" player_outside_of_playable_area by changing it's value to false;

        Cahzundefined 1 Reply Last reply
        0
        • Cahzundefined Offline
          Cahzundefined Offline
          Cahz VIP
          replied to Ultimateman on last edited by
          #4

          techboy04gaming
          @Dev-Ultimateman said in Multiple questions - Scripting help:

          techboy04gaming Answer for 3rd question. If you teleport a player in an area where players have not gone yet and doors to that location are closed they will die because playable area zones are not connected to that location (doors must be opened). You can bypass this by disabling the "volume death barrier a.k.a" player_outside_of_playable_area by changing it's value to false;

          While changing that variable to false does allow for players to enter that area without dying, it doesn't activate the zone (depending on the map) and to get around this you can activate specific zones by modifying _zm_zonemgr.gsc

          JezuzLizard's recompileable scripts help out with anything you're wanting to do in the game.

          1 Reply Last reply
          0
          • Meat Missileundefined Offline
            Meat Missileundefined Offline
            Meat Missile
            replied to techboy04gaming on last edited by
            #5

            techboy04gaming the afterlife door part is easy, just check if player is in after life the call for the function afterlife_doors_close you want to add this in the base code, if you just call the function via maps\mp\zombies blah blah ::function it will cause issues on every other map

            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