Screen : Creating a screen in a map


by Mychaeel

Mychaeel

http://www.planetunreal.com/screen

 

 

Creating a screen in a map

1 Open ScriptedScreen.utx in the texture browser and apply any of the textures called Screen1 to Screen8 to the surface in your map that is supposed to display the screen. Make the surface unlit.

2 Create a Screen actor somewhere in your map.

3 In the new Screen actor's properties, set the ScriptedTexture property (located under ClientScriptedTexture in the property sheet) to the name of the scripted texture you had used in the first step.

4 Set the Width and Height properties to the desired pixel size of the screen area on the scripted texture. (That's not to be confused with the size of the scripted texture on your surface in world units; if you want to change how large the screen appears in your map, simply scale the texture.) If necessary, adjust the Left and Top properties to shift the content displayed on the screen.

5 Create a ScreenSlide actor of your choice somewhere in your map (near your Screen actor, for instance). Set the new actor's properties as it suits you.

6 In the previously created Screen actor's properties, set the SlideCurrent property in the Screen section to the name of the slide actor you created.
 

You can look up any object's name in the Name property in the Object section of its property sheet. Object names are created automatically and usually consist of the object's class name and a sequential number, like ScreenSlideMap23. Unfortunately there's no way to copy-and-paste an object name, so take a piece of paper and note the object name down.

That's it for a simple screen with a single slide. To add more slides, create more ScreenSlide actors and link them by setting their SlideNext properties to their respective successors.