Forum

ASSIST, AMERICA'S ARMY COMMUNITY - RELIVE THE GLORY DAYS OF AMERICA'S ARMY 2.5

Author Topic: New admin command ASS  (Read 5249 times)

0 Members and 1 Guest are viewing this topic.

Offline ELiZ

New admin command ASS
« on: Thursday, January 29, 2015, 13:25:39 PM »
Nothing extra need to be loaded in the ini, all an admin has to do is to type
Code: [Select]
assin the console, and all players will swap teams.

Code: [Select]
final exec function ass()
{
local PlayerReplicationInfo PRI;
if (ViewportOwner !=None)
{
if (myLevel !=None)
{
ForEach myLevel.AllActors(Class'PlayerReplicationInfo',PRI)
{
if (! PRI.bIsSpectator || PRI.bWaitingPlayer)
{
log(ViewportOwner.Actor.ConsoleCommand("admin A_SwitchTeam" @ PRI.PlayerName));
}
}
}
}
}

Function will be available tomorrows file update I have planned.


I found inspiration for the new function here:
http://aao25.com/forum/games-programming/team-swap/
« Last Edit: Thursday, January 29, 2015, 13:39:24 PM by ELiZ »

Offline Spanky

  • <?php echo $opinion .' is better.'; ?>
  • Administrator
  • Posts like a Spanky!
  • *
  • Posts: 10,893
    • View Profile
    • NatesComp.com
  • AA: tigobitties
Re: New admin command ASS
« Reply #1 on: Thursday, January 29, 2015, 13:27:59 PM »
Dat ass. Good job, I know a lot of people wanted this.
It's like shaving your pubes to make your junk look bigger.
Might look bigger, but it aint.....

Offline Ganja

Re: New admin command ASS
« Reply #2 on: Thursday, January 29, 2015, 13:35:50 PM »
Well done, I really hope it will work out well with the players. Will they be able to refuse ? What if reconnect ? Will there be a warning about the swap?

Offline ELiZ

Re: New admin command ASS
« Reply #3 on: Thursday, January 29, 2015, 13:40:38 PM »
Well done, I really hope it will work out well with the players. Will they be able to refuse ? What if reconnect ? Will there be a warning about the swap?
Will they be able to refuse ?
Yes(They can try to swap)
What if reconnect ?
Same as above
Will there be a warning about the swap?
Yes

Offline bollie

  • Dedicated Poster
  • *****
  • Posts: 1,120
    • View Profile
Re: New admin command ASS
« Reply #4 on: Thursday, January 29, 2015, 13:46:51 PM »
Ok check. i need to type it second before the round ends

Offline Vanoke

  • Epic Poster
  • ******
  • Posts: 1,760
  • Real war is to a GAME!!
    • View Profile
  • AA: =PUF=Vanoke
Re: New admin command ASS
« Reply #5 on: Thursday, January 29, 2015, 14:22:53 PM »

I am happy i got you guy`s inspired


I already work on a new idear  Pssssst its a secret.
>> 
The Ladder  Soldier

Offline Ganja

Re: New admin command ASS
« Reply #6 on: Thursday, January 29, 2015, 14:55:08 PM »
Will they be able to refuse ?
Yes(They can try to swap)
What if reconnect ?
Same as above
Will there be a warning about the swap?
Yes


Ok. And so if some decide to ignore the swap, others won't be able to swap side either? So if 1 asshole is scared to change side, another will be fucked too?

Offline teddy_grizzly_bear

  • Used to be known as nobody
  • Administrator
  • Epic Poster
  • *
  • Posts: 5,707
  • what are you looking at?
    • View Profile
  • AA: teddy_grizzIy_bear
Re: New admin command ASS
« Reply #7 on: Thursday, January 29, 2015, 15:07:43 PM »
Like I said in the other thread, you can "hide" the warning by admin messaging  something right after swapping them. You can admin message "Welcome to our server!" or whatever else, it will discontinue the swap notice and just show that.
<image removed due to imgur stuff - probably for the best>

"Mathematics may be defined as the subject in which we never know what we are talking about, nor whether what we are saying is true." Bertrand Russell

Offline bollie

  • Dedicated Poster
  • *****
  • Posts: 1,120
    • View Profile
Re: New admin command ASS
« Reply #8 on: Thursday, January 29, 2015, 15:12:52 PM »
Smart thinking teddybear :)

Offline [SWISS]Merlin

Re: New admin command ASS
« Reply #9 on: Friday, January 30, 2015, 03:18:23 AM »
yes he is ;)

thank you ELiZ, great job again!!

Offline ELiZ

Re: New admin command ASS
« Reply #10 on: Friday, January 30, 2015, 03:37:13 AM »
Update is released, and the ASS command should now work for admins

Offline ~=W!CK!D=~

  • Epic Poster
  • ******
  • Posts: 1,614
    • View Profile
Re: New admin command ASS
« Reply #11 on: Friday, January 30, 2015, 03:55:50 AM »
Good job eliz

Offline Vanoke

  • Epic Poster
  • ******
  • Posts: 1,760
  • Real war is to a GAME!!
    • View Profile
  • AA: =PUF=Vanoke
Re: New admin command ASS
« Reply #12 on: Friday, January 30, 2015, 10:05:17 AM »
Hey guy's  my brain stil hurts

Offline [SWISS]Merlin

Re: New admin command ASS
« Reply #13 on: Friday, January 30, 2015, 10:26:12 AM »
sure, i can see it on the picture above :D

Offline -[unR]BENDAWICH

Re: New admin command ASS
« Reply #14 on: Friday, January 30, 2015, 12:48:07 PM »
Nice command name =p

 

Download Assist

×

Download Game Client

Important: Battletracker no longer exists. However, old Battletracker accounts may still work. You can create a new 25Assist account here

Download Server Manager