View Single Post
  #24  
Unread 19th July, 2003, 11:55 AM
TNSe
 
Posts: n/a
Default

This is constructive criticism pizzaboy

First of all, you should try to avoid using ForEach ... in a tick...

You should use the Level.PawnList.
instead of
Code:
ForEach AllActorcs(Class'Pawn',p)
use
Code:
for (P = Level.PawnList; P != None; P = P.NextPawn)
You could also probably use the Mutator.ModifyPlayer instead of Tick (ModifyPlayer is called right after spawning the player).
It is possible that you could stop it as early as in ModifyLogin. (Look at the passed options), didn't check this atm tho.

I will probably change the entire skin system in close future, to not allow any custom mixing at all unless server allows.
Reply With Quote