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

Plutonium

  1. Home
  2. BO1 Modding Releases & Resources
  3. (ZM) wonder weapon spawn for all maps

(ZM) wonder weapon spawn for all maps

Scheduled Pinned Locked Moved BO1 Modding Releases & Resources
5 Posts 2 Posters 796 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.
  • ak.comundefined Offline
    ak.comundefined Offline
    ak.com
    wrote last edited by ak.com
    #1
    #include maps\_utility;
    
    init()
    {
        level thread on_player_connect();
    }
    
    on_player_connect()
    {
        for (;;)
        {
            level waittill("connected", player);
            player thread on_player_spawned();
        }
    }
    
    on_player_spawned()
    {
        self endon("disconnect");
    
        for (;;)
        {
            self waittill("spawned_player");
            wait 0.2;
    
            self give_map_wonderweapon();
        }
    }
    
    give_map_wonderweapon()
    {
        map = getDvar("mapname");
    
        // Kino Der Toten
        if (map == "zombie_theater")
        {
            self giveWeapon("thundergun_zm");
            self giveMaxAmmo("thundergun_zm");
            return;
        }
    
        // Five
        if (map == "zombie_pentagon")
        {
            self giveWeapon("freezegun_zm");
            self giveMaxAmmo("freezegun_zm");
            return;
        }
    
        // Call of the Dead
        if (map == "zombie_coast")
        {
            self giveWeapon("sniper_explosive_zm");
            self giveMaxAmmo("sniper_explosive_zm");
            return;
        }
    
        // Shangri-La
        if (map == "zombie_temple")
        {
            self giveWeapon("shrink_ray_zm");
            self giveMaxAmmo("shrink_ray_zm");
            return;
        }
    
        // Ascension
        if (map == "zombie_cosmodrome")
        {
            self giveWeapon("thundergun_zm");
            self giveMaxAmmo("thundergun_zm");
            return;
        }
    
        // Moon
        if (map == "zombie_moon")
        {
            self giveWeapon("microwavegun_zm");
            self giveMaxAmmo("microwavegun_zm");
            return;
        }
    
        // Nacht der Untoten
        if (map == "zombie_cod5_prototype")
        {
            self giveWeapon("thundergun_zm");
            self giveMaxAmmo("thundergun_zm");
            return;
        }
    
        // Verrückt
        if (map == "zombie_cod5_asylum")
        {
            self giveWeapon("freezegun_zm");
            self giveMaxAmmo("freezegun_zm");
            return;
        }
    
        // Shi no Numa
        if (map == "zombie_cod5_sumpf")
        {
            self giveWeapon("tesla_gun_zm");
            self giveMaxAmmo("tesla_gun_zm");
            return;
        }
    
        // Der Riese
        if (map == "zombie_cod5_factory")
        {
            self giveWeapon("tesla_gun_zm");
            self giveMaxAmmo("tesla_gun_zm");
            return;
        }
    }
    
    1 Reply Last reply
    0
    • ak.comundefined Offline
      ak.comundefined Offline
      ak.com
      wrote last edited by
      #2

      (UPDATE) i fixed the weapon spawn and for the correct maps

      1 Reply Last reply
      0
      • XmXd7undefined Offline
        XmXd7undefined Offline
        XmXd7
        wrote last edited by
        #3

        Is there a way to move every wonder weapon in the box for every map?

        also for anyone else:
        Go to C:\Users\YOURNAME\AppData\Local\Plutonium\storage\t5\scripts
        place a new .txt file
        paste the code there
        change the file extension to .gsc

        ak.comundefined 1 Reply Last reply
        0
        • XmXd7undefined XmXd7

          Is there a way to move every wonder weapon in the box for every map?

          also for anyone else:
          Go to C:\Users\YOURNAME\AppData\Local\Plutonium\storage\t5\scripts
          place a new .txt file
          paste the code there
          change the file extension to .gsc

          ak.comundefined Offline
          ak.comundefined Offline
          ak.com
          wrote last edited by
          #4

          XmXd7 yeah, it’s not a full wonder weapon mod. It’s just a GSC script that gives you the wonder weapon for whichever map you’re playing.

          1 Reply Last reply
          0
          • XmXd7undefined Offline
            XmXd7undefined Offline
            XmXd7
            wrote last edited by
            #5

            it does work

            i then tried to merge two modpacks together and now plutonium bricks my bo1

            not ypur fault

            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