I don't need to test my programs. I have an error-correcting modem.

UE3:UTMutator_MotionBlurPC (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search

Introduction

Adds motion blur to the PC version of UT3 just like the PS3 version has.

Functions

PostBeginPlay() 
Delays the setting of the motion blur until after its been turned off.
EffectTimer() 
Sets the motion blur ingame back to true.

Code

UT3 Actor >> Info >> Mutator >> UTMutator >> UTMutator_MotionBlurPC (custom)

Contents

No known subclasses.
//===================================================
//    Class: UTMutator_MotionBlurPC
//    Creation date: 13/02/2008 21:13
//    Contributors: OlympusMons(/d!b\)
//===================================================
class UTMutator_MotionBlurPC extends UTMutator;
 
function PostBeginPlay()
{
        SetTimer(1.0, false, 'EffectTimer');
}
 
function EffectTimer()
{
        local UTPlayerController       PC;
        local LocalPlayer                      LocPlayer;
        local PostProcessEffect                MB;
 
        ForEach LocalPlayerControllers(class'UTPlayerController', PC)
        {
                LocPlayer=LocalPlayer(PC.Player);
                if(LocPlayer!=None)
                {
                        MB = LocPlayer.PlayerPostProcess.FindPostProcessEffect('MotionBlur');
                        if(MB!=None)
                        {
                                MB.bShowInGame = true;
                        }
                }
        }
}
Personal tools