This file was automatically imported from the old site. You can see other imported files on the reuploads page.

Pain Pills Gun (L4D)

Originally uploaded by darkmessenger on 7th October 2009 19:04 pm

IMPORTANT NOTICE: Left 4 Dead and its models are a absolute minimum requirement! If the VPK extractor doesn't work for you, your best bet is to download the following model package.
I took the earliest version of the Dr. Hax gun and modded its lua script so it fired pain pills from L4D and used the "Pillz here!" sound clip instead. Unzip contents into "X:\Program Files\Steam\steamapps\\garrysmod\garrysmod\addons" folder.
Video Example:
PS:- Firing too many pill bottles may bog down your frame rate. If you need to switch automatic fire off, open shared.lua in the package and change the following on line 36:
SWEP.Primary.Automatic = false;
My Steam ID:

This download looks like an addon. You need to extract the downloaded zip and put the addon folder in your Garry's Mod addons folder. You should end up with a directory structure similar to below:

  • steamapps
    • common
      • garrysmod
        • garrysmod
          • addons
            • weapon_PILLZ <-- Addon folder!
              • e.g.
              • lua
              • maps
              • materials
              • models
              • etc

Don't know where the Garry's Mod folder is or how to extract zip files? See more useful installation tips.

  • weapon_PILLZ/
    • info.txt
    • lua/
      • weapons/
        • weapon_pillzgun/
          • shared.lua
    • sound/
      • weapons/
        • SpotPills01.wav