Results 1 to 3 of 3
  1. #1
    Iron Guard
    Join Date
    Oct 2007
    Location
    Netherlands
    Posts
    673

    Default How exactly does SetPackageFlags work?

    I have created a UPK file (containing some UI Scenes) and I want to change it's flags so people autodownload it when they connect to a server which has this UPK file.

    This is the help for the SetPackageFlags commandlet:
    Code:
    Name:           Editor.SetPackageFlags
    Description:    Sets certain allowed package flags on the specified package(s)
    Usage:          gamename.exe SetPackageFlags <package/wildcard> <flag1=value> <flag2=value>...
    Options:
            package/wildcard     - The package(s) to modify flags for
            flagX=value          - List of flags to modify and the desired value (true or false). Supported flags: ServerSideOnly, ClientOptional, AllowDownload
    What is unclear to me is where the UPK file has to be for this commandlet to work. And how exactly I specify which UPK file it has to change. When I call it from the directory where the UPK file is and use the name of the file (with or without UPK extension) it does not seem to work.

    I was also wondering if there is some way to extract the flags from a UPK so I can check if the settings are ok.

  2. #2

    Default

    Packages by default are autodownloaded, so you don't need to do anything unless you want to turn that off.

    To answer your question, you might have to give it the full path to the package in order for it to be found; the commandlet wasn't really tested with the user path stuff.

  3. #3
    MSgt. Shooter Person
    Join Date
    Jan 2008
    Posts
    63

    Default

    Mr Mysterial hooked us up over here too!

    http://utforums.epicgames.com/showth...etPackageFlags


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.