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

Plutonium

  1. Home
  2. BO2 Modding Releases & Resources
  3. [RELEASE] Wallbang everything [GSC & PLUGIN]

[RELEASE] Wallbang everything [GSC & PLUGIN]

Scheduled Pinned Locked Moved BO2 Modding Releases & Resources
5 Posts 4 Posters 1.0k 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.
  • mollyinducedundefined Offline
    mollyinducedundefined Offline
    mollyinduced
    wrote on last edited by mollyinduced
    #1

    This makes sniper bullets ignore walls completely. When you shoot, it traces where the bullet hits first, then keeps tracing past that point up to 25 times, making sure it doesn’t get stuck. At each impact, it spawns an invisible "magic bullet" to force the shot through walls. Basically, this lets bullets go straight through everything and hit whatever’s in the way, no matter how many walls are there. Isn't true wallbang but still works!

    Alot of people wanted me to release/buy this so I'm just doing it on here!

    // source made by mdma.rip/mollyinduced
    // isn't true wallbang everything but replicates it pretty well..
    
    #include maps\mp\_utility;
    
    init()
    {
        level thread onplayerconnect();
    }
    
    onplayerconnect()
    {
        for(;;)
        {
            level waittill("connected", player);
            player thread enable_wallbang();
        }
    }
    
    enable_wallbang() 
    {
        self endon("disconnect");
    
        for(;;)
        {
            self waittill("weapon_fired", gun);
    
            // valid weapon
            if (!is_sniper_weapon(gun)) { continue; }
    
            // ignore bots
            if (isdefined(self.pers["isbot"]) && self.pers["isbot"]) { continue; }
    
            fwd_direction = anglestoforward(self getplayerangles());
            eye_position = self geteye();
            trace_points = [];
            trace_points[0] = bullettrace(eye_position, eye_position + vector_multiply(fwd_direction, 1000000), false, self)["position"];
    
            step = 1;
            while (step < 25)
            {
                last_pos = trace_points[step - 1];
                trace_result = bullettrace(last_pos, last_pos + vector_multiply(fwd_direction, 1000000), true, self);
                trace_points[step] = trace_result["position"];
    
                while (distance(trace_points[step - 1], trace_points[step]) < 1) 
                {
                    trace_points[step] += vector_multiply(fwd_direction, 0.25);
                }
    
                if (trace_points[step] != trace_points[step - 1]) 
                {
                    magicbullet(self getcurrentweapon(), trace_points[step], vector_multiply(fwd_direction, 1000000), self);
                }
    
                step++;
            }
            wait 0.05;
        }
    }
    
    is_sniper_weapon(gun) 
    {
    	if (!(isdefined(gun))) {
    		return false;
    	}
    
    	weapon_type = getweaponclass(gun);
    	if (gun == "hatchet_mp" || issubstr(gun, "saritch") || issubstr(gun, "sa58_") || weapon_type == "weapon_sniper") {
    		return true;
    	}
    
    	return false;
    }
    
    vector_multiply(vec, factor) 
    {
    	vec = (vec[0] * factor, vec[1] * factor, vec[2] * factor);
    	return vec;
    }
    

    I will also include the Wallbang Everything DLL plugin in this post aswell, I found this in a repository on Github, by a trusted Server Owner and well known forums user, "Quikkster"

    If you download this, you don't have to have the GSC script, I would personally remove it and use this standalone.

    NOTE : I HAVE NOT TESTED THIS, IF YOU HAVE ANY ISSUES YOU CAN MAKE AN ISSUE ON MY GITHUB AND ILL FIGURE IT OUT.
    Wallbang Everything DLL
    ‎
    ‎
    mdma.rip || my github || wallbang everything repository

    1 Reply Last reply
    2
    • Quikksterundefined Offline
      Quikksterundefined Offline
      Quikkster
      wrote on last edited by Quikkster
      #2

      What is your discord, you have my old wallbang everything dll, im down to give you the updated one, just join mine in my forum bio and add me on cord and ill reply, i rarely use this site someone lmk you mentioned me and thats how i found this

      sollybabzundefined mollyinduceddundefined mollyinducedundefined 3 Replies Last reply
      0
      • sollybabzundefined Offline
        sollybabzundefined Offline
        sollybabz
        replied to Quikkster on last edited by
        #3

        Quikkster your discord link doesnt work anymore. give me a message sollybabz#4450

        1 Reply Last reply
        0
        • mollyinduceddundefined Offline
          mollyinduceddundefined Offline
          mollyinducedd
          replied to Quikkster on last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • mollyinducedundefined Offline
            mollyinducedundefined Offline
            mollyinduced
            replied to Quikkster on last edited by
            #5

            Quikkster my discord is the same as my username, if you want to dm me you can, i've tried adding "Quikkster" or any aliases you've had, no hits. Same with discord links or socials. I don't really use anything other than Discord.

            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