| Home Page | Recent Changes | Preferences

Variable Panning Textures

Ordinary scrolling textures are set with the panning Surface Flags (UT), and the speed is set over each entire zone in the ZoneInfo actors. Here's a way to work around this restriction, using the Screen component.

Ingredients

You will need the following elements:

ScriptedTexture

Use one of the ScriptedTexture (UT)s from the ScriptedScreen texture package. Apply this to the surface you want to scroll. Note that you can use this texture on as many surfaces as you wish, they'll all display the same thing.

ScreenSlidePage

Select the text below, copy, and paste into UnrealEd to get the settings.

Begin Map
Begin Actor Class=ScreenSlidePage Name=ScreenSlidePage0
    Text=""
    AlignHorz=SlideAlignHorz_Left
    AlignVert=SlideAlignVert_Top
    ClientWidth=256
    ClientHeight=256
    ClientPaddingTop=0
    ClientPaddingLeft=0
    ClientPaddingRight=0
    ClientPaddingBottom=0
    ScrollHorz=SlideScroll_None
    ScrollVert=SlideScroll_None
    EffectEntry=SlideEffect_SlideBottom
    EffectEntrySpeed=128.000000
    EffectExitSpeed=0.000000
    SlideNext=ScreenSlidePage'MyLevel.ScreenSlidePage0'
    Name=ScreenSlidePage0
End Actor
End Map

Set the following properties:

Category Property Value
ScreenSlide Background Desired texture.
ScreenSlide Palette Same as Background (to make the slide use the texture's actual palette rather than the default one).
ScreenSlide EffectEntrySpeed Desired speed in pixels per second.

Screen

Create a Screen actor and set the following properties:

Category Property Value
ClientScriptedTexture ScriptedTexture Set to the ScriptedTexture you selected in the first step.
Screen SlideCurrent Set to the name of the ScreenSlidePage actor. Note: You can't do this with the Use button, you need to find out its Object → Name property, remember it and type it into the Screen's property.

Category Mapping
Category Tutorial

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Image Uploads

Random Page

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

FAQs

Help Desk

Mapping Topics

Mapping Lessons

UnrealEd Interface

UnrealScript Topics

UnrealScript Lessons

Making Mods

Class Tree

Modeling Topics

Chongqing Page

Log In