Author Topic: Team Changing Tool  (Read 14186 times)

0 Members and 2 Guests are viewing this topic.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Team Changing Tool
« on: November 08, 2007, 10:18:15 PM »
First off.. just want to give credit to ::B!G-A:: who is a member of my community and he does a lot of LUA for our servers. He is the one who actually made this for us, but its okay for me to post it to you guys.

Anyways.. first off, this gun only works for people in the SUPER Admin group. Obviously because the command it does, only works for SUperadmins, unless you have modified your accesses, but the LUA for the tool shouldn't be too hard to modify to allow other levels to use.

What It Does?
When you select the tool from your menu, there are 2 text boxes. One for left click, one for right click. You input the names of the groups into those boxes that you want to use.
When you use the tool on a player, it will set them to that team via "ulx adduser" and then slay them automatically to get the desired change.

Why? What practical Use do you have for this?
Well.. on our server, we have a thing every sunday night where we play games, contests. and some of them are Deathmatch related. Team based CTF and such.. you understand Im sure. And I use this tool (in fact it is why I had him make it) to easily set people to red team.. or blue team. But there are lots of other uses for the tool.. maybe! =)


Nothing fancy.. just a ULX derived tool.. thought Id share it with you guys.

The download is attached.. so you'll have to log in (I think) to download it.

Offline Chironex

  • Full Member
  • ***
  • Posts: 197
  • Karma: 11
  • Formerly known as Kyzer
Re: Team Changing Tool
« Reply #1 on: November 09, 2007, 12:04:50 AM »
Good idea ;)

But i don't play gmod much these days..(back to sa-mp scripting)

Tell BIG that he should make it read the ulx team file, retrieve the team names, then make a listbox in the stools, with all teams in it ;)
« Last Edit: November 09, 2007, 12:08:40 AM by Kyzer »

Offline MulleDK13

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
Re: Team Changing Tool
« Reply #2 on: November 18, 2007, 02:44:48 AM »
I haven't downloaded this (yet), but how do you shoot yourself? -.-

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Team Changing Tool
« Reply #3 on: November 18, 2007, 04:08:21 AM »
hehe.. well.. you have to be superadmin to use it.. why would you need to shoot yourself?

But.. the answer is, you can't.

JC

  • Guest
Re: Team Changing Tool
« Reply #4 on: November 20, 2007, 02:31:44 PM »
Stool turret?

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Team Changing Tool
« Reply #5 on: November 20, 2007, 03:30:15 PM »
I'm afraid I don't understand =(

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Team Changing Tool
« Reply #6 on: November 20, 2007, 04:59:11 PM »
Stool turret?

Ha ha.
I'm pretty sure that was in answer to;
but how do you shoot yourself? -.-
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Team Changing Tool
« Reply #7 on: November 20, 2007, 05:34:35 PM »
ha, I honestly would have never made the connection...

Offline Tom

  • Newbie
  • *
  • Posts: 32
  • Karma: -1
Re: Team Changing Tool
« Reply #8 on: July 04, 2009, 11:28:28 AM »
I am sorry, I am confused.
Will this not just make people stay in a team called "Red Team"
for example if you use it to add someone to "Red Team" then the next time they come back they will still be in a group called "red team" or does it automatically change them back to "member" for example.
Thanks!
« Last Edit: July 06, 2009, 12:46:40 AM by Tom »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Team Changing Tool
« Reply #9 on: July 04, 2009, 04:23:20 PM »
Tom, groups are not the same as teams in Gmod.
I can play a gamemode on one of Team Ulysses servers and always be a superadmin group member, but be a totally different team of my or the gamemode's choice.

Groups usually control access to Gmod commands (Superadmin, Admin are the two standard in GMod)
Teams are totally controlled by whatever gamemode is being used, or in this release's case, whatever the superadmin wants you to be.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Tom

  • Newbie
  • *
  • Posts: 32
  • Karma: -1
Re: Team Changing Tool
« Reply #10 on: July 06, 2009, 12:05:04 AM »
So these are not linked to the actual access groups?
They are just extra teams?
Or is it that it just adds them to that group over the top of the group they are already in?
because if it is using "adduser" won't that change their access group?
If so...
I'm getting it  ;D
FORT WARS!
« Last Edit: July 06, 2009, 12:10:14 AM by Tom »

Offline lavacano201014

  • Jr. Member
  • **
  • Posts: 83
  • Karma: 9
  • Archbishop of Cristina Scabbia worship
Re: Team Changing Tool
« Reply #11 on: July 06, 2009, 11:29:46 AM »
I just add a couple of usergroups to ULX, and set them up in UTeam. *shrug*

However, some might want to keep their access rights. Nice.
Circle reasoning works because circle reasoning works because...

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Team Changing Tool
« Reply #12 on: July 06, 2009, 02:45:34 PM »
just extra teams?

Right. Nothing to do with group access in Gmod.
You could set all your admins to team "Beaty" and all your superadmins to team "Beast",
The groups would still be admin and superadmin.

I just add a couple of usergroups to ULX, and set them up in UTeam. *shrug*
However, some might want to keep their access rights. Nice.

Yep - allows you to quickly change a team you might also call Admins to something else, but still keep same group called admin.
« Last Edit: July 06, 2009, 02:47:32 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Andriko

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Team Changing Tool
« Reply #13 on: January 23, 2010, 08:05:05 PM »
umm wow, not enough details at all, is this an addon that lets superadmin change other peoples rp teams? or does it seperate people into 2 teams? like Red and Blue?

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: Team Changing Tool
« Reply #14 on: January 23, 2010, 09:09:14 PM »
Teams are teams no matter how you look at them. Red and Blue are some names you could use. You could also use this tool in RP, anywhere teams are used.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly