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

Weapon Holsters

Originally uploaded by RikohZX on 23rd September 2011 01:41 am

Like a little immersion? This addon script shows all weapons you're carrying on yourself in thirdperson. (I did NOT originally code this, only edited it.)
I have no clue if this allows you to see what other players carry clientside, as I have not been able to play any non-ScriptEnforcer servers that use standard player models instead of NPC models.
Was made primarily for HL2 weapons, there's something about tables and such for other weapons but they don't show; I leave that to ye downloaders to figure out if you want all/specific weapons to show on your servers or the like. Do tell if you succeed at getting more than just HL2 weapons to work, though.
Also should show the weapons in firstperson if you're using Blackops' Legs addon or the like.
And finally, any custom world models for weapons -will- fuck up the model placement, unless you recode the thing to work with said custom world model.
(Originally coded by JVC for a LUA Request on Facepunch. With some very poor tweaking, I essentially made the Physgun, Gravity Gun, and Gmod Tool not appear. First two screenshots are from the front because I had a custom SMG1 world model bugged in my back; third screenshot was on TTT_Rooftops using SharpeYe and a placed camera to show the holstered weapons.)

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
            • WeaponHolsters <-- 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.

  • WeaponHolsters/
    • info.txt
    • lua/
      • autorun/
        • holster.lua

BBCode:

HTML:

Social: