Ulysses Stuff > Ulysses Release Archives

General Wrex's ULX Modules

(1/2) > >>

General Wrex:
I created a few modules. I'll add more to this post as I make them

Modules now stored on SVN!

http://web-addons.googlecode.com/svn/trunk/ULXModules/


ULX Arm


--- Code: ---
Usage "ulx arm player" "!arm player(s)


put the ulxarm folder in your addons folder, "garrysmod/garrysmod/addons"



Arm the player(s) with the garrysmod default loadout

--- End code ---
http://www.garrysmod.org/downloads/?a=view&id=132211


ULX Selective Strip V1

Version 2 will have a derma element tied into the XGUI for real time editing of the blacklisted weapons.


--- Code: ---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 =P

--- End code ---
http://www.garrysmod.org/downloads/?a=view&id=132205


ULX Enter/Exit Vehicle



--- Code: ---Usage:


To force a player into a Vehicle:

"ulx enter player" "!enter player


To remove player(s) from their Vehicle:

"ulx exit player(s)" "!exit player(s)



INSTALLATION

put the ulxenterexitvehicle folder in your addons folder, "garrysmod/garrysmod/addons"



--- End code ---
http://www.garrysmod.org/downloads/?a=view&id=132219

MrPresident:
I really like the selective strip one. That is a brilliant idea. I don't see the application of forcing a player to enter a vehicle though. How does that work? Do they need to be near one or looking at it for it to work?


Good Work either way!

General Wrex:
They have to look at the vehicle and say "!enter ^" to force a player into it.  It's good to put a player into a chair on a contraption you made, without giving him PP.

Munch:
I'm definitely going to use the selective strip addon.

Suggestion:
Usage "ulx rules player" "!rules player(s)



Forces the rule list onto the player.

For example: !rules munch - this will force a webpage to open for me displaying the rules. Maybe make it so the window can't be closed for ___ minutes or something of the sort. Would be much use to me.

General Wrex:
Sounds Interesting, I'll see what I can do. :)

Navigation

[0] Message Index

[#] Next page

Go to full version