Which directory?

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Dexter13

The Coding Machine
Dec 18, 2001
111
0
0
Visit site
Basically, I want to set a players skin and I am using my own 'SetSkin' function in 'Function Restarting()'(should I be?).

My SetSkin function just has this:

Switch(Sol_PRI(P.PlayerReplicationInfo).CurrentClass)
{
case CL_soldier:
self.static.SetMultiSkin(self,
"CommandoSol.Sol1","CommandoSol.Sol2", 255);
break;
}

As you can see, I am using switches to define different player classes, this is just an example of one.

With this code, the players' skin is never set correctly, and it looks like a mess of two skins.

I was wondering, where does my .utx package have to be for this code to work(would it affect the code?)? At the moment it's in my textures folder.
Also, does anyone have any other ideas as to why this code may not work?
 

Papapishu

我是康
Jun 18, 2001
2,043
0
0
43
void
www.vovoid.com
What class is it subclassed from?
You know that some pawn classes have different multiskin numbers for the skins.
I think the skaarjwarrior have different settings than a tournamentplayer for instance...
The face skin might be nr 0 in one class and nr 3 in another...
Upen unrealed, make a room, place a bot or tournamentplayer in there and set the different multiskin properties to the different packages until you get the right mix, and then you'll know...
Then it might prove easier to set the multiskins properties manually in your code...