BattleMode
11-27-2007, 08:44 AM
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:
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.
This is the help for the SetPackageFlags commandlet:
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.