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

Plutonium

  1. Home
  2. BO1 Modding Releases & Resources
  3. [ZM] Custom Wallguns

[ZM] Custom Wallguns

Scheduled Pinned Locked Moved BO1 Modding Releases & Resources
15 Posts 10 Posters 4.5k 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.
  • undefined Offline
    undefined Offline
    Odysseus2048 Contributor
    wrote on Jan 20, 2023, 9:26 PM last edited by Odysseus2048 Jan 21, 2023, 8:54 PM
    #1

    I noticed that a few servers have custom wallguns and apparently there is no public scripts for T5 to allow server owners to do this. I went and made one myself, and am now releasing it to the public.

    Features
    • Customizable wallguns
    • Ammo and Upgraded Ammo costs are automatically calculated
    • Automatically handles ballistic knife/ bowie ballistic logic
    • Easy to make your own wallguns, go read the comments in the GSC file
    • Gun models are automatically set based on what gun you set

    Issues
    • Kino is the only map with preset wallguns, the rest of the maps will be added in an update. Feel free to add custom ones yourself.

    Installation : Windows

    1. Open file explorer and in the file path, type %appdata% and hit enter.
    2. From there go to Local\Plutonium\storage\t5\scripts\sp\zom
    3. Download the GSC file that is provided and drop it it into that folder.
    4. Create a folder called "zombie_theater" in "sp" and copy the GSC file into it.

    Repeat step 4 for all maps you want to play private games/solo games with.

    Download Here

    Screenshot from 2023-01-20 16-22-34.png

    Screenshot from 2023-01-20 16-22-12.png

    Screenshot from 2023-01-20 16-21-20.png

    undefined 1 Reply Last reply Jun 19, 2023, 9:51 PM
    2
    • undefined Offline
      undefined Offline
      Angry Cat
      wrote on Jan 20, 2023, 10:06 PM last edited by
      #2

      nice, if I were you I would make the upgraded ammo 4500 though

      undefined 1 Reply Last reply Jan 20, 2023, 11:00 PM
      0
      • undefined Offline
        undefined Offline
        Odysseus2048 Contributor
        replied to Angry Cat on Jan 20, 2023, 11:00 PM last edited by
        #3

        Angry Cat 4500 is so expensive that people just end up using the box a few times to get another good gun to PaP. I feel like 2500 is expensive enough while not being super cheap.

        undefined undefined 2 Replies Last reply Jan 21, 2023, 4:27 AM
        1
        • undefined Away
          undefined Away
          GhostRider0125
          replied to Odysseus2048 on Jan 21, 2023, 4:27 AM last edited by GhostRider0125 May 14, 2023, 11:18 PM
          #4

          @Hercules2048 make galil 2.5k that boi is to good to be one fifty and paped it 4k for all guns except 1911😆

          1 Reply Last reply
          0
          • undefined Offline
            undefined Offline
            smilesmile1234
            wrote on Jan 21, 2023, 2:30 PM last edited by
            #5

            @Hercules2048 said in [ZM] Custom Wallguns:

            vers have custom wallguns and apparently there is no public sc

            installation please

            undefined 1 Reply Last reply Jan 21, 2023, 6:54 PM
            0
            • undefined Offline
              undefined Offline
              Odysseus2048 Contributor
              replied to smilesmile1234 on Jan 21, 2023, 6:54 PM last edited by
              #6

              smilesmile1234 I updated the post to include installation instructions.

              undefined 1 Reply Last reply Jan 21, 2023, 7:44 PM
              0
              • undefined Offline
                undefined Offline
                smilesmile1234
                replied to Odysseus2048 on Jan 21, 2023, 7:44 PM last edited by smilesmile1234 Jan 21, 2023, 9:44 PM
                #7

                @Hercules2048 👍

                1 Reply Last reply
                0
                • undefined Offline
                  undefined Offline
                  ElDarkNight
                  wrote on Apr 28, 2023, 5:02 AM last edited by
                  #8

                  i trying to install the mod but i cant buy the gun, those guns appears but i cant buy it

                  1 Reply Last reply
                  1
                  • undefined Offline
                    undefined Offline
                    CptPew
                    replied to Odysseus2048 on May 14, 2023, 9:15 AM last edited by
                    #9

                    @Hercules2048 i don't know when i train a full spawn of zombies up i can make 3 or 4 thousand just off 24 i found myself quickly overpowered when buying upgraded galil ammo and mustang and sally than buying a new weapon from the box then packa punching it i think certain guns that are more op should have challenges completed like 300 headshots before the wall gun is buyable ya know some sort of challenge not like the rounds get hard until past 30

                    1 Reply Last reply
                    0
                    • undefined Offline
                      undefined Offline
                      IceHogg
                      wrote on May 27, 2023, 7:34 PM last edited by IceHogg May 27, 2023, 10:42 PM
                      #10

                      so, when creating custom wall buys for the other maps, they don’t allow players to purchase the ammo/ weapon. is there a fix for that im missing in the code?
                      appreciate the reply if i get one.

                      undefined 1 Reply Last reply Jul 24, 2023, 10:12 PM
                      0
                      • undefined Offline
                        undefined Offline
                        Skippi
                        replied to Odysseus2048 on Jun 19, 2023, 9:51 PM last edited by
                        #11

                        @Hercules2048 can I make a request to make a topic to showcase my presets in your custom wallguns? I will credit you along with my preset creations.

                        1 Reply Last reply
                        0
                        • undefined Away
                          undefined Away
                          GhostRider0125
                          wrote on Jun 19, 2023, 10:18 PM last edited by GhostRider0125 Jun 20, 2023, 10:23 PM
                          #12

                          hey man can you make two for moon put dual wield czs 1500 points near power area or in biodome
                          and specter 1000 points in right side power above the stairs
                          and hs 10 1100 points somewhere idk
                          and L96A1 1800 points in spawn room😂
                          and famas 1600 or 2000 points behind pap or in biodome somewhere risky😆
                          and put them somewhere in shangri la if its not to much to ask😁

                          1 Reply Last reply
                          0
                          • undefined Offline
                            undefined Offline
                            WildinW
                            replied to IceHogg on Jul 24, 2023, 10:12 PM last edited by
                            #13
                            This post is deleted!
                            1 Reply Last reply
                            0
                            • undefined Offline
                              undefined Offline
                              WildinW
                              wrote on Jul 27, 2023, 3:43 AM last edited by WildinW Jul 27, 2023, 6:47 AM
                              #14

                              Every map with custom guns except for moon/shang
                              You can also download here Custom Wallguns.GSC Download
                              Once you have the gsc put it in Local\Plutonium\storage\t5\scripts\sp\zom if you're running a server
                              if solo put the script in the folder to the corresponding map.

                              #include maps\_utility;
                              #include common_scripts\utility;
                              #include maps\_zombiemode_utility;
                              //////
                              ////// CUSTOM WALLGUNS BY HERCULES#8024
                              //////
                              ////// "Five"/Ascension/COTD Presets by IceHot#3232 (but not a supporter of HERCULES#8024 though)
                              ////// Check out the original mod if you haven't yet (or downloaded it on my forum): https://forum.plutonium.pw/topic/27796/zm-custom-wallguns?_=1687210456052
                              //////
                              ////// SPECIAL THANKS TO Pistakilla#5053 AND shippuden1592#9641 FOR POINTERS AND EXPLANATIONS
                              //////
                              ////// THIS IS MY FIRST PUBLIC SCRIPT AND I HAVE TESTED IT EXTENSIVELY, IT SHOULD JUST WORK.
                              //////
                              ////// Ammo cost is calculated by doing gun_cost*0.5 . Upgraded ammo cost is calculated by doing 5000*0.5 (5000 is a placeholder and might be replaced with a better solution)
                              ////// These calculations are done automatically by using the base price which is set by whoever edits this file.
                              ////// To get coordinates to set your own custom wallguns, just go into a single player game and do notarget and then noclip to the exact spot and do viewpos in console.
                              ////// Doing this will give you the X Y Z cords along with pitch and yaw in the console window.
                              ////// You can find more weapon names here : https://steamcommunity.com/sharedfiles/filedetails/?id=1863755475 //
                              
                              ////// To find out where IceHot#3232 placed the guns at... do "setviewpos x, y, z" - next to the "custom_wallgun(" 
                              
                              init()
                              {
                                 
                                 //Base Maps
                                 if(level.script == "zombie_theater") //Kino Der Toten
                                 {
                                 level thread custom_wallgun( (113, 1895, 44),(0, 180, 0), "Galil", 1800 , "galil_zm" ); // Galil
                                     level thread custom_wallgun( (-288, -520, 308),(0, 0, 0), "Ballistic Knife", 1200 , "knife_ballistic_zm" ); // ballistic knife
                                     level thread custom_wallgun( (-1750, 666, 59),(0, 90, 0), "HK-21", 7500 , "hk21_zm" ); // A sniper rifle in alleyway
                                     level thread custom_wallgun( (0, 932, -40),(0, 180, 0), "Thundergun", 25000 , "thundergun_zm" ); // below podium in cinema, replicates the PS version.
                                     level thread custom_wallgun( (180, -470, 380),(0, -90, 0), "Raygun", 15000 , "ray_gun_zm" ); // raygun in pap room
                                     level thread custom_wallgun( (1694, -131, 296),(0, 90, 0), "SPAS-12", 2250 , "spas_zm" ); // raygun in pap room	
                                 }
                                 else if(level.script == "zombie_pentagon") //"Five"
                                 {
                                     level thread custom_wallgun( (-225, 2057, 76),(0, 90, 0), "Raygun", 17500 , "ray_gun_zm" ); // Galil
                                     level thread custom_wallgun( (-1080, 3065, 76),(0, 90, 0), "Ballistic Knife", 1500 , "knife_ballistic_zm" ); // Galil
                                     level thread custom_wallgun( (-1450, 1668, -452),(0, 271, 0), "Spectre", 1100 , "spectre_zm" ); // Galil
                                     level thread custom_wallgun( (-1972, 1868, -452),(0, 0, 0), "Winter's Howl", 12500 , "freezegun_zm" ); // Galil
                                     level thread custom_wallgun( (-1060, 2599, -244),(0, 199, 0), "FAMAS", 1500 , "famas_zm" ); // Galil
                                     level thread custom_wallgun( (-1386, 3464, -653),(0, 263, 0), "L96A1", 3250 , "l96a1_zm" ); // Galil
                                     level thread custom_wallgun( (-1187, 5044, -653),(0, 90, 0), "SPAS-12", 1700 , "spas_zm" ); // Galil
                                     level thread custom_wallgun( (-87, 4776, -653),(0, 90, 0), "G11", 1200 , "g11_lps_zm" ); // Galil
                                 }
                                 //WaW Maps
                                 else if(level.script == "zombie_cod5_prototype") //Nacht Der Untoten
                                 {
                                 level thread custom_wallgun( (-204, 172, 200),(0, 90, 0), "Raygun", 12500 , "ray_gun_zm" ); // Galil 
                                 }
                                 else if(level.script == "zombie_cod5_asylum") //Verruckt
                                 {
                                 level thread custom_wallgun( (-764, -14, 276),(0, 180, 0), "Winter's Howl", 12500 , "freezegun_zm" ); // Galil 
                                 level thread custom_wallgun( (847, 378, 302),(0, 90, 0), "Raygun", 12500 , "ray_gun_zm" ); // Galil 
                                 level thread custom_wallgun( (-770, -107, 134),(0, 90, 0), "Galil", 2250 , "galil_zm" ); // Galil
                                 
                                 
                                 }
                                 else if(level.script == "zombie_cod5_sumpf") //Shi No Numa
                                 {
                                 level thread custom_wallgun( (9107, 2480, -647),(0, 90, 0), "Wunderwaffe", 30000 , "tesla_gun_zm" ); // Tesla
                                 level thread custom_wallgun( (7878, 21, -658),(0, 101, 0), "Commando", 1800 , "commando_zm" ); // Galil
                                 level thread custom_wallgun( (11054, 3405, -606),(0, 30, 0), "HK-21", 3750 , "hk21_zm" ); // A sniper rifle in alleyway
                                 }
                                 else if(level.script == "zombie_cod5_factory") //Der Riese
                                 {
                                     level thread custom_wallgun( (1369, 355, 110),(0, 0, 0), "Wunderwaffe", 35000 , "tesla_gun_zm" ); // Tesla
                                 	level thread custom_wallgun( (636, -1463, 124),(0, 101, 0), "Commando", 1800 , "commando_zm" ); // Galil
                                 	level thread custom_wallgun( (-264, -2346, 205),(0, 180, 0), "Raygun", 12500 , "ray_gun_zm" ); // Galil
                              
                                 }
                                 //DlC
                                 else if(level.script == "zombie_cosmodrome") //Ascension (-24/-15)
                                 {
                                     level thread custom_wallgun( (-694, 984, -62),(0, 360, 0), "CZ-75", 900 , "cz75_zm" ); // Galil
                                     level thread custom_wallgun( (-1713, 1493, 65),(-30, 0, 0), "MP40", 1500 , "mp40_zm" ); // MP40 near lander
                                     level thread custom_wallgun( (-1036, 516, -148),(0, 270, 0), "Thundergun", 27500 , "thundergun_zm" ); // MP40 near door
                                     level thread custom_wallgun( (345, 321, -244),(0, 270, 0), "Raygun", 15000 , "ray_gun_zm" ); // Galil
                                     level thread custom_wallgun( (-484, -24, -244),(0, 140, 0), "Ballistic Knife", 800 , "knife_ballistic_zm" ); // Galil
                                     level thread custom_wallgun( (-1486, 864, -72),(0, 360, 0), "Dragunov", 3550 , "dragunov_zm" ); // Galil		
                                     level thread custom_wallgun( (-200, 1191, 82),(0, 270, 0), "FAMAS", 1500 , "famas_zm" ); // Galil -1686, 923, 428
                                     level thread custom_wallgun( (180, -1904, -72),(0, -119, 0), "AUG ACOG", 1675 , "aug_acog_zm" ); // easily accessible, but a 1-way trip to 
                                 }
                                 else if(level.script == "zombie_coast") //Call of The Dead
                                 {
                                     level thread custom_wallgun( (-707, 780, 469),(0, -180, 0), "L96A1", 2550 , "l96a1_zm" ); // Galil
                                     level thread custom_wallgun( (-2536, -1380, 421),(0, 101, 0), "Commando", 1800 , "commando_zm" ); // Galil
                                     level thread custom_wallgun( (-930, -962, 675),(0, 101, 0), "Scavenger", 15000 , "sniper_explosive_zm" ); // Galil
                                     level thread custom_wallgun( (-383, 1904, 317),(0, 272, 0), "AUG ACOG", 1800 , "aug_acog_zm" ); // Galil
                                     level thread custom_wallgun( (166, -1653, 149),(0, 287, 0), "Wunderwaffe", 35000 , "tesla_gun_zm" ); // Galil
                                     level thread custom_wallgun( (-2683, 599, 82),(0, 282, 0), "Crossbow", 10000 , "crossbow_explosive_zm" ); // Galil
                                     level thread custom_wallgun( (-967, 1519, 428),(0, 101, 30), "FN FAL", 1500 , "fnfal_zm" ); // Galil
                                 }
                                 else if(level.script == "zombie_temple") //Shangri La
                                 {
                              
                                 }
                                 else if(level.script == "zombie_moon") //Moon
                                 {
                              
                                 }
                              }
                              
                              // custom wallgun
                              custom_wallgun( origin, angles, gun_name, cost, gun) 
                              {
                                 gun_model = GetWeaponModel(gun);
                                 ammo_cost = int(cost * .8);
                                 upgraded_ammo_cost = int(cost * 2.25);
                                 wallgun = spawn( "script_model", origin );
                                 wallgun setModel( gun_model );
                                 wallgun useweaponhidetags(gun);
                                 wallgun rotateTo(angles, .1);
                                 trig = spawn("trigger_radius", origin, 1, 25, 25);
                                 if (level.script == "zombie_cod5_prototype" || level.script == "zombie_cod5_sumpf"){
                                 //wallgun thread maps\_zombiemode_perks::perk_fx( "revive_light" );
                                 trig SetCursorHint( "HINT_NOICON" );
                                 trig setHintString("Hold ^3&&1^7 to Buy  "+ gun_name +" [Cost: "+ cost +"], Ammo : ["+ammo_cost+"], Upgraded Ammo : ["+upgraded_ammo_cost+"]");
                                 }
                                 else{
                                // wallgun thread maps\_zombiemode_perks::perk_fx( "revive_light" );
                                 trig SetCursorHint( "HINT_NOICON" );
                                 trig setHintString("Hold ^3&&1^7 to Buy "+ gun_name +" [Cost: "+ cost +"], Ammo : ["+ammo_cost+"], Upgraded Ammo : ["+upgraded_ammo_cost+"]"); 
                                 }
                                 level waittill("notifier_1");
                                 trig thread gun_think(gun, gun_name, cost);
                              }
                              
                              // Custom wallgun logic
                              gun_think(gun, gun_name, cost){	
                                 for(;;) {
                                     self waittill( "trigger", who );
                                     weapon = who GetCurrentWeapon();
                                   	ammocount = who getammocount(weapon);
                                   	clipcount = who getweaponammoclip(weapon);
                                   	maxammo = weaponmaxammo(weapon);
                                     ammo_cost = int(cost * 0.5);
                                     upgraded_ammo_cost = int(cost * 5.25 * 0.5);
                                     upgraded_gun = level.zombie_weapons[gun].upgrade_name;
                                     has_full_ammo = (maxammo <= ammocount - clipcount);
                                 	if(gun == "knife_ballistic_zm" && who hasweapon("bowie_knife_zm")) { gun = "knife_ballistic_bowie_zm"; }
                              
                                     if( who UseButtonPressed() && who.score >= upgraded_ammo_cost && who hasweapon(upgraded_gun) && !has_full_ammo) {
                                     while(who UseButtonPressed() )
                                     wait 0.05;
                                     who maps\_zombiemode_score::minus_to_player_score( upgraded_ammo_cost );
                                     who givemaxammo( upgraded_gun );
                                     self playSound("zmb_cha_ching");
                                 	}
                                 		else if ( who UseButtonPressed() && who hasWeapon(gun) && !has_full_ammo && who.score >= ammo_cost ) {
                                 			while( who UseButtonPressed() )
                                             wait 0.05;
                                             who maps\_zombiemode_score::minus_to_player_score( ammo_cost );
                                             who givemaxammo( gun );
                                             self playSound("zmb_cha_ching");              
                                 	}
                                 		else if( who UseButtonPressed() && who.score >= cost && weapon != gun && !who hasweapon(gun)) {
                                         	while( who UseButtonPressed() )
                                             wait 0.05;
                                             who maps\_zombiemode_score::minus_to_player_score( cost );
                                             who thread do_give_weapon(gun);
                                             wait 2.5;
                                 	}
                                         else if( who UseButtonPressed() && !( who.score >= cost ) ) {
                                             while( who UseButtonPressed() )
                                                 wait 0.05;
                                             play_sound_on_ent( "no_purchase" );
                                             who maps\_zombiemode_audio::create_and_play_dialog( "general", "no_money", undefined, 1 );    
                                 	} 		
                                         wait 0.05;
                                 } 
                              }
                              
                              // wallgun logic after purchase
                              do_give_weapon(gun){
                                 primaryWeapons = self GetWeaponsListPrimaries();
                                 on_hand = primaryWeapons.size;
                                 wait(0.5);
                                 if(on_hand == 1){
                                 self GiveWeapon( gun );
                                 self SwitchToWeapon( gun );
                                 self playSound("zmb_cha_ching");
                                 }
                                 else if(on_hand == 2 && self HasPerk( "specialty_additionalprimaryweapon" )){
                                 self GiveWeapon( gun );
                                 self SwitchToWeapon( gun );
                                 self playSound("zmb_cha_ching");
                                 }
                                 else {
                                 inhand = self getCurrentWeapon();
                                 self TakeWeapon( inhand );
                                 self GiveWeapon( gun );
                                 self SwitchToWeapon( gun );
                                 self playSound("zmb_cha_ching");
                                 }	
                              }
                              
                              
                              1 Reply Last reply
                              0
                              • undefined WildinW referenced this topic on Jul 27, 2023, 3:43 AM
                              • undefined WildinW referenced this topic on Jul 27, 2023, 4:57 AM
                              • bhfffundefined bhfff referenced this topic on Feb 2, 2024, 8:06 PM
                              • Yoitstoxicundefined Offline
                                Yoitstoxicundefined Offline
                                Yoitstoxic
                                wrote on Jul 18, 2024, 1:25 AM last edited by
                                #15

                                Hey Im not sure if Im missing anything but I cant buy a custom weapon off the wall. Do I need to change something in code or is my game bugged out or?

                                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