Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

Legacy:Screenshot (UT)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 12:56, 28 January 2015 by SeriousBarbie (Talk | contribs) (+link)

Jump to: navigation, search

See also Level Screenshot.

To add a screenshot to a UT map:

  1. Take a Screenshot of your map
  2. At some point in the gamma-correcting and cropping fandango, resize it to a square image and then shrink it to a dimension of 256x256 pixels
  3. convert the color palette to a 256 color palette. Once that's done, save your manipulated screenshot as PCX.
  1. Import the screenshot into UnrealEd. This procedure is described fully in Texture Import And Export. Briefly, use the following settings in the Import dialog box:
    • Package: MyLevel
    • Subgroup: (leave it blank)
    • Name: Screenshot
    • Uncheck the "Generate MipMaps" option.
  2. You should see the "MyLevel" package displayed in the browser with your preview screenshot shown in the texture browser.
  3. Do not save the MyLevel Texture package! MyLevel" is a special package name which tells UnrealEd to embed the files when the entire map file is saved.
  4. Do UnrealEd Main Menu -> View -> Level Properties. In this new property box, set the resource property LevelInfo -> Screenshot to the new texture.
  5. Save your map. It's advisable to save it under a new filename, as mistakes in using the MyLevel pseudopackage can fatally damage a map.

Ironblayde: If you save your screenshot as a bitmap, do not use RLE compression or UnrealEd won't import it properly. Use regular RGB encoding.

Problems? check the troubleshooting section on Texture Import And Export if the texture doesn't actually import into the browser. Then check:

  • The texture name is 'Screenshot' and it is not in a group
  • The texture is referenced in some way in the map: usually in the Level Properties.

Technical

The LevelInfo -> Screenshot property in fact doesn't work as you might intuitively think it does. Unreal Tournament's map browser uses DynamicLoadObject to get a texture called "Screenshot" from the map package. Basically,

  • LevelInfo.Screenshot is simply a way of ensuring the texture is referenced in the map, so UnrealEd embeds it in the map file when saving. Applying the texture to a surface somewhere or as an actor's skin would work just as well.
  • the real factor that tells UT to display the texture in the Practice Game window is simply that is is called MyLevel.Screenshot. Call the texture something else, or put it in a texture group and it will not display.

Related Topics