UE2 - UT2kX I need an alternative to UPL files

  • 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.

ROSoldier

New Member
Feb 1, 2015
29
0
1
Hello. In a game which has tens of character meshes, and hundreds of BodySkins and various face skins, the UPL system for specifying characters is not good to use at all.
I tried various alternatives but in the end everything was to no avail.

What I need is to be able to store all the information for all the characters the game has, in a Class,
similar to PlayerRecord, and then use this information to build various SetupRecords for the Pawns.
If someone has an alternative to the vanilla system, or has any ideas, please share them with me.
I also tried setting up the player record from within the Pawn itself in the moment the pawn spawns, but this needs additional replication so I gave up on this.
 

gopostal

Active Member
Jan 19, 2006
848
47
28
Not really sure if this helps but I made this for my Unreal server:

I added a 'Costume' room to my hub map and players can hotswap models and skins as often as they want. This does NOT alter the player's ini file or make any changes to the client, it's all done via a pickup that can be turned on/off by the client as they want. You are welcome to the source code if you want to make the necessary changes to use it in the later engines.

BTW the costume declarations are handled via an ini file on the server so you only need to place the pickup into the map and any subsequent changes to the desired model/skin is done by changing the ini.
 

ROSoldier

New Member
Feb 1, 2015
29
0
1
Thanx to gopostal, but unfortunately what he sent me will not help me achieve what I am trying to do.
Currently I have a working system, similar to the original one.
Still I need to see how the UT 2k4 handles *upl's.
Can anyone post an actual code snippet for:
native(564) final simulated static function PlayerRecord FindUPLPlayerRecord(string charName);
Thank you very much in advance.
Another question I have is, are the variables inside xUtil and PlayerRecord replicated inside native replication, or they are not replicated at all?