My question is pretty straight forward, I would like to have a screenshot of my level shown when selecting it rather then the .img icon which displays when there is no screenshot.
I've done some searching and haven't found much so I'm coming here hoping to get directed to some documentation on the subject.
Thanks in advance,
Mike.
Replies
Somewhere in the section where this is defined (like line 606 abouts..) add this:
[YourMapName UTUIDataProvider_MapInfo]
MapName=YourMapName
PreviewImageMarkup=PackageName.FolderName.NameOfImage
This should work fine. For YourMapName, DO NOT add the .udk file extension.
First I wanted to make sure I clarify exactly what I'm doing. I'm am going to take my custom map and cook it to it's own installation file and will most likely be installed on PC's without UDK.
Now what I'm confused on.
You suggested I edit the existing .ini, but it suggests here...
http://udn.epicgames.com/Three/DevelopmentKitContentCreation.html
that I'll have to create my own .ini file specific to my level. Which should I do? Regardless of which .ini I have to use, how do I make sure the .ini is packed with the level when I cook it? Will it be automatic if the level file and .ini file have the same name?
I'm also confused by the last line that I have to add. I understand I'm adding the image and making a material from it, and that somehow I have to point to it. First it will point to the package, I understand that, but I'm not sure what FolderName exactly means. Is that basically just what type of asset it is, in this case Material? (As shown in the above link.) And then NameOfImage, is that really mean the name of the material.
If it is going to work the way I think it is, I'll put the info in for my Silo 19 level as such....
[Silo19 UTUIDataProvider_MapInfo]
MapName=Silo19
FriendlyName=Silo 19
NumPlayers=1 Author: Mike Jones
PreviewImageMarkup=<Images:SiloAssets.Materials.Silo19MenuImage_Mat>
Description=Single Player Level
I'm just about to the point of cooking this, so I'll be testing it myself soon, just hoping to get some info on it before I hit that stage.
Thanks in advance!
Secondly, as I said before I'm going to cook my level into a stand alone installer so that people can play the level without UDK. So far, my stand alone installer doesn't bring the information about the screenshot with it it seems as no screenshot appears when I'm playing on another system. Any ideas about this?
It could be a few reasons why, first would be that the package isn't in the correct place. Two, still didn't config the correct ini file, it's grabbing the default. I never did that since the default was fine... but I am sure I can figure it out.