Forum

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

Author Topic: New Admin Forceclass..  (Read 9151 times)

0 Members and 1 Guest are viewing this topic.

Offline teddy_grizzly_bear

  • Used to be known as nobody
  • Administrator
  • Epic Poster
  • *
  • Posts: 5,709
  • what are you looking at?
    • View Profile
  • AA: teddy_grizzIy_bear
Re: New Admin Forceclass..
« Reply #15 on: Tuesday, October 14, 2014, 12:29:45 PM »
I've added the new command to the next version(8.15)

As a admin you only have to do this:

Code: [Select]
AFC S24
To give all users on the servers a M24.


To avoid any problems all I really do is take the players that are alive and run them though the regular ADMIN FORCECLASS X Weapon. But since I'm doing it on a limited number of players it should behave much better than the exec scripts.
Code: [Select]
final exec function afc(string WhichClass)
{
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 FORCECLASS" @ PRI.PlayerName @ WhichClass));
}
}
}
}
}
The only problem I see is the fact that if you mistype the string, I would imagine your screen lights up with all the 'only x and y guns available', but I don't really see that as a huge problem. People can still do the same command as a bind and then never mistype it :)
<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 teddy_grizzly_bear

  • Used to be known as nobody
  • Administrator
  • Epic Poster
  • *
  • Posts: 5,709
  • what are you looking at?
    • View Profile
  • AA: teddy_grizzIy_bear
Re: New Admin Forceclass..
« Reply #16 on: Thursday, November 13, 2014, 11:53:47 AM »
Wind-Dancer and Vanoke said that it's not working properly. It looks as if they're saying only admins are forceclassed the weapon. I don't know, I have not tested this out myself.
Has anyone else had this kind of problems with it?
<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 Alex

Re: New Admin Forceclass..
« Reply #17 on: Thursday, November 13, 2014, 12:49:41 PM »
Spanky and I used it a lot last weekend and it never failed.

Offline Spanky

  • <?php echo $opinion .' is better.'; ?>
  • Administrator
  • Posts like a Spanky!
  • *
  • Posts: 10,893
    • View Profile
    • NatesComp.com
  • AA: tigobitties
Re: New Admin Forceclass..
« Reply #18 on: Thursday, November 13, 2014, 13:53:00 PM »
Yea, we used it and it worked great. My only complaints would be that "b" (shotgun) doesn't work but that has to be forced with a mod and that if you mis-type, the console gets spammed with the regular forceclass message for all players.
It's like shaving your pubes to make your junk look bigger.
Might look bigger, but it aint.....

Offline teddy_grizzly_bear

  • Used to be known as nobody
  • Administrator
  • Epic Poster
  • *
  • Posts: 5,709
  • what are you looking at?
    • View Profile
  • AA: teddy_grizzIy_bear
Re: New Admin Forceclass..
« Reply #19 on: Thursday, November 13, 2014, 14:29:12 PM »
Yea, we used it and it worked great. My only complaints would be that "b" (shotgun) doesn't work but that has to be forced with a mod and that if you mis-type, the console gets spammed with the regular forceclass message for all players.
Haha, I predicted the fact about the spam when mistyped ;)

And B doesn't work, because it's not an official class or w/e. It doesn't work with regular forceclass either.

In any case, then I'm not sure what hey were talking about on the other thread.
<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

 

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