This is the full and (hopefully) final version of my former Clusterbomb Cannon SWEP.
It's a handheld launcher for shooting clusterbombs. You can either use primary fire for a high-powered shot, or secondary for a low-powered shot. Secondary is best for if you are hovering over your target with noclip.
It creates 64 bomblets per shot, through a series of separations: the main bomb separates into 8 canisters, which then split into two smaller canisters, which each release 4 bomblets.
Unlike the Beta version, you can shoot this while moving forward, even while running. However, don't fire at an angle below horizontal, or you will get hit by the bomb as it comes out.
It's an addon.
It now includes the models for the bomb, bomblet, and the sounds used.
One of the midair separations
Comparing new grouping(left) to old grouping, when bomb is shot straight upwards.
Probably HL2 for the fuel canister models and the primary fire sound
Additional features/related things I'm working on:
Tightening the impact grouping
making the main bomb spawnable
making a cannon to launch it from
making something that can to on an airplane that spawns these bombs.
Facepunch thread for bug reporting and/or suggestions:http://www.facepunch.com/showthread.php?p=16554530#post16554530
Stiggy for his cluster gun, and the coding to make the bombs to split into bomblets
jjm4 for his poisonnade, from which I got the code for the bomblets to explode on ground contact
jjm4 again for his scatterbomb, for more of the bomblet code
Elite for his thrower weapon, which I modified to be my bomb launcher.
Included Materials and models
Stopped it from causing suicide as often
Gave it new sounds
Tightened the explosion grouping.