Garry's Mod

Garry's Mod

187 ratings
The RNG Junk Gun
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun
File Size
Posted
Updated
83.329 KB
19 Apr, 2023 @ 6:09am
19 Apr, 2023 @ 7:34am
4 Change Notes ( view )

Subscribe to download
The RNG Junk Gun

Description
Want to randomly shoot the contents of your models folder around and at people haphazardly without any regards for safety ?

Then you might be interested in giving the RNG Junk Gun a shot.

Features :

- Randomly grabs models from various models folders inside your gmod

- Be it : - Half Life 2

- Counter-Strike Source

- Or if you have it installed, Team Fortress 2 or even some other Sources games like DOD:S,L4D2

- It also grabs models from random mods you have downloaded off the work shop, a lot of people tend to just put all their models into the generic models folder without a dedicated file for them ,so you might be surprised and find youself shooting out some random stuff you are subscribed to, perhaps you are subbed to a Halo mod then you might on occasion see a flying T-Posing Elite be shot out.

- Randomly applies various properties to objects such as :

- Random size scaling
- Random chance for the object to be set on fire
- Random lights or glow effects
- Random damage
- Random physics properties
- Random shot direction
- Random material texture overides
- Random colour overlays
- Random coloured trails
- Randomly attached sound files to objects
- Randomly shoots out a particle effect
- Possibly some other stuff i forgot

- Random 1% chance for it to spawn a surprise NPC

- Objects clean up them selves over time, about 45 seconds.

FAQ:
Where is the gun located ?
Inside the "other" section in your weapons menu

Why does it not have an icon on the spawn menu?
Because i am terrible and i can't seem to get the icon to work , also can't find any help online

Should i spam this gun in my server non-stop ?
Yes, if your goal is to utterly destroy the latency and potentially the P2P server you are hosting with friends, then this will do well in achieving said goal.


What is required to make this work ?

Just Half Life 2 and CSS.

TF2 is just an extra, i created a bunch of "if" statements that check if TF2 files exists and if they do they will be pulled, if not then it will just not use them and avoid any potential issues.

Other source games such as DOD:S and CS:GO might sometimes be pulled too but i did not make any dedicated code for them, it will happen due to some source games sharing the exact same folder paths for things so if you got some other source games installed, you might see random props or models being pulled out of them too


Note Since this can pull models from all kinds of random stuff you are subscribed to ,if said models or whatever are not a fan of becoming physics based props, it can potentially crash the game. I've done some testing and a friend of mine did too, it's not a frequent issues, sometimes it doesn't happen ever and it all depends on what stuff you are subbed to in the workshop so i can't guarantee this will be 100% stable if you have some really messy stuff in your models folder, granted that is half the fun with this, seeing what weird stuff the gun might pull out of your models folder, might be something you subbed to years ago and utterly forgot about.

Models were made using
Construction Kit Mod
23 Comments
demo the charger 23 Aug @ 7:09am 
yh pls no clean up command
fish 11 Jul @ 3:33pm 
Can you add an option or a console command to disable the automatic prop cleanup?
9 Jun @ 6:12pm 
somone on the front page copied your idea
squidiskool 15 Jan @ 7:15pm 
10/10 combine shot ponies at my face
goofy slugpup 5 Dec, 2023 @ 4:26pm 
i mean a version of it that doesnt give a lua error everytime you fire it
goofy slugpup 5 Dec, 2023 @ 4:20pm 
can you make a non-css requiring version of it
pumpkin boogeyman 25 Oct, 2023 @ 7:51am 
love this mod man i love to make a mess in the map
ewanzombie 10 May, 2023 @ 9:52am 
RedPie Its random, I don't think you can
RedPie 26 Apr, 2023 @ 8:02am 
Can I just choose one particular prop?
Jduke 25 Apr, 2023 @ 2:47pm 
@FuscusNight I think now that you mentioned it. If someone were to have a couple of nuke/bomb mods installed, the game would definitely have a chance to crash if a nuke was chosen.

Could that be a option though?