Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel
Difference between revisions of "UPKG File"
From Unreal Wiki, The Unreal Engine Documentation Site
m (moved Legacy:UPKG File to UPKG File: removed legacy, about to update article) |
(Rewrote the article.) |
||
Line 1: | Line 1: | ||
− | + | A .UPKG file is a simple text file that the [[UnrealScript]] compiler will look for to know what initial PackageFlags to use for the compiling package, the file must be placed within the ''Classes'' folder. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | The content of a .UPKG looks like | ||
<uscript> | <uscript> | ||
[Flags] | [Flags] | ||
Line 10: | Line 7: | ||
ClientOptional=False | ClientOptional=False | ||
ServerSideOnly=True | ServerSideOnly=True | ||
− | |||
</uscript> | </uscript> | ||
− | == | + | this would flag the package as don't send the package to any clients that request it from the server and flag the package as ''ServerSideOnly'' which means only the server may load this package. |
+ | |||
+ | The default flag values are | ||
+ | <uscript> | ||
+ | [Flags] | ||
+ | AllowDownload=True | ||
+ | ClientOptional=False | ||
+ | ServerSideOnly=False | ||
+ | </uscript> | ||
− | + | {{navbox unrealscript}} | |
− | + | ||
− | + |
Latest revision as of 22:20, 21 April 2010
A .UPKG file is a simple text file that the UnrealScript compiler will look for to know what initial PackageFlags to use for the compiling package, the file must be placed within the Classes folder.
The content of a .UPKG looks like
[Flags] AllowDownload=False ClientOptional=False ServerSideOnly=True
this would flag the package as don't send the package to any clients that request it from the server and flag the package as ServerSideOnly which means only the server may load this package.
The default flag values are
[Flags] AllowDownload=True ClientOptional=False ServerSideOnly=False
Declarations | Preprocessor • Classes • Interfaces • Cpptext • Constants • Enums • Structs • Variables (Metadata) • Replication block • Operators • Delegates • Functions • States • Defaultproperties (Subobjects) |
---|---|
Types | bool • byte • float • int • name • string • Object • Class • Enums • Structs (Vector ⋅ Rotator ⋅ Quat ⋅ Color) • Static arrays • Dynamic arrays • Delegates • Typecasting |
Literals | Boolean • Float • Integer • Names • Objects (None ⋅ Self) • Vectors • Rotators • Strings |
Flow | GoTo • If • Assert • Return • Stop • Switch • While • Do...Until • For • ForEach • Break • Continue |
Specifiers | Super • Global • Static • Default • Const |
UnrealScript | Syntax • .UC • .UCI • .UPKG • Comments • #directives • Native |