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

ULX Module Selective Strip

Originally uploaded by Admiral Wrex on 24th August 2012 19:36 pm

ULX Selective Strip
A module for ULX.
put the selectivestrip folder in your addons folder, "garrysmod/garrysmod/addons"
It's currently set to remove all weapons (including c:ss ones) but not including;
Remote Control,
Physgun,
Gravgun,
Laser Pointer,
Camera,
and Tool Gun
You can edit the WeaponsTable to put custom weapons in, just add a new line inside the table with a comma like so
Just go into the "\lua\ulx\modules\sh" folder and edit "sstrip.lua".
WeaponsTable = {
{"weapon_pumpshotgun"},
{"manhack_welder"},
{"weapon_cs_base"},
{"weapon_base"},
{"weapon_fiveseven"},
{"weapon_mp5"},
{"weapon_ak47"},
{"weapon_para"},
{"weapon_tablet"},
{"weapon_stinger"},
{"weapon_mac10"},
{"weapon_tmp"},
{"weapon_glock"},
{"weapon_scarkeys"},
{"weapon_m4"},
{"weapon_deagle"},
{"weapon_357"},
{"weapon_annabelle"},
{"weapon_ar2"},
{"weapon_brickbat"},
{"weapon_crossbow"},
{"weapon_crowbar"},
{"weapon_frag"},
{"weapon_pistol"},
{"weapon_rpg"},
{"weapon_shotgun"},
{"weapon_smg1"},
{"weapon_striderbuster"},
{"weapon_stunstick"}, -- comma here
{"weapon_something"} -- no comma here since its the last
}
and thats how you add a new one, remember you need the class name! You should know it if you created the weapon =Phttp://forums.ulyssesmod.net/index.php/topic,5746.0.html

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

  • selectivestrip/
    • coded by General Wrex
    • info.txt
    • lua/
      • ulx/
        • modules/
          • sh/
            • sstrip.lua
    • readme.txt

BBCode:

HTML:

Social: