1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. 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.

UE2 - UT2kX I need an alternative to UPL files

Discussion in 'Programming' started by ROSoldier, Feb 20, 2016.

  1. ROSoldier

    ROSoldier New Member

    Joined:
    Feb 1, 2015
    Messages:
    28
    Likes Received:
    0
    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.
     
  2. gopostal

    gopostal Active Member

    Joined:
    Jan 19, 2006
    Messages:
    835
    Likes Received:
    47
    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.
     
  3. ROSoldier

    ROSoldier New Member

    Joined:
    Feb 1, 2015
    Messages:
    28
    Likes Received:
    0
    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?
     

Share This Page