Ulysses

Ulysses Stuff => Releases => Ulysses Release Archives => Topic started by: General Wrex on August 24, 2012, 06:18:14 PM

Title: General Wrex's ULX Modules
Post by: General Wrex on August 24, 2012, 06:18:14 PM
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/ (http://web-addons.googlecode.com/svn/trunk/ULXModules/)


ULX Arm

Code: [Select]

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
http://www.garrysmod.org/downloads/?a=view&id=132211 (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: [Select]
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
http://www.garrysmod.org/downloads/?a=view&id=132205 (http://www.garrysmod.org/downloads/?a=view&id=132205)


ULX Enter/Exit Vehicle


Code: [Select]
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"


http://www.garrysmod.org/downloads/?a=view&id=132219 (http://www.garrysmod.org/downloads/?a=view&id=132219)
Title: Re: General Wrex's ULX Modules
Post by: MrPresident on August 24, 2012, 11:47:37 PM
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!
Title: Re: General Wrex's ULX Modules
Post by: General Wrex on August 25, 2012, 02:29:41 AM
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.
Title: Re: General Wrex's ULX Modules
Post by: Munch on August 25, 2012, 09:34:38 PM
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.
Title: Re: General Wrex's ULX Modules
Post by: General Wrex on August 25, 2012, 10:07:40 PM
Sounds Interesting, I'll see what I can do. :)
Title: Re: General Wrex's ULX Modules
Post by: LuaTenshi on August 26, 2012, 02:44:18 PM
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.

While General Wrex is working on that you can use ulx cexec "say !motd" instead.
Title: Re: General Wrex's ULX Modules
Post by: Munch on August 26, 2012, 04:34:30 PM
While General Wrex is working on that you can use ulx cexec "say !motd" instead.

Ah, good idea.

Btw, are your addons working with GM13?
Title: Re: General Wrex's ULX Modules
Post by: General Wrex on August 26, 2012, 08:39:22 PM
I didn't think of that, There is a ULX release for 13?
Title: Re: General Wrex's ULX Modules
Post by: LuaTenshi on August 26, 2012, 09:11:39 PM
I didn't think of that, There is a ULX release for 13?

Yes there is (or will be). Find out more here http://forums.ulyssesmod.net/index.php/topic,5484.0.html
Title: Re: General Wrex's ULX Modules
Post by: General Wrex on August 27, 2012, 09:11:11 PM
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.

Im working on this now.

Ill make a custom Derma window that will read a file called rules.txt, and add in a console command to set the time till they're allowed to close the window.