Author Topic: General Wrex's ULX Modules  (Read 6025 times)

0 Members and 1 Guest are viewing this topic.

Offline General Wrex

  • Newbie
  • *
  • Posts: 8
  • Karma: 2
General Wrex's ULX Modules
« 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/


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


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


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
« Last Edit: August 27, 2012, 09:03:02 PM by General Wrex »

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2677
  • Karma: 417
    • |G4P| Gman4President
Re: General Wrex's ULX Modules
« Reply #1 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!

Offline General Wrex

  • Newbie
  • *
  • Posts: 8
  • Karma: 2
Re: General Wrex's ULX Modules
« Reply #2 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.
« Last Edit: August 25, 2012, 02:34:48 AM by General Wrex »

Offline Munch

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
Re: General Wrex's ULX Modules
« Reply #3 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.

Offline General Wrex

  • Newbie
  • *
  • Posts: 8
  • Karma: 2
Re: General Wrex's ULX Modules
« Reply #4 on: August 25, 2012, 10:07:40 PM »
Sounds Interesting, I'll see what I can do. :)

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: General Wrex's ULX Modules
« Reply #5 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.
I cry every time I see that I am not a respected member of this community.

Offline Munch

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
Re: General Wrex's ULX Modules
« Reply #6 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?

Offline General Wrex

  • Newbie
  • *
  • Posts: 8
  • Karma: 2
Re: General Wrex's ULX Modules
« Reply #7 on: August 26, 2012, 08:39:22 PM »
I didn't think of that, There is a ULX release for 13?

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: General Wrex's ULX Modules
« Reply #8 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
I cry every time I see that I am not a respected member of this community.

Offline General Wrex

  • Newbie
  • *
  • Posts: 8
  • Karma: 2
Re: General Wrex's ULX Modules
« Reply #9 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.