Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel
UE3:UTMutator MotionBlurPC (UT3)
From Unreal Wiki, The Unreal Engine Documentation Site
This page has been proposed for deletion. If you think this page should be kept, please state a reason on its talk page. |
Introduction[edit]
Adds motion blur to the PC version of UT3 just like the PS3 version has.
Functions[edit]
- PostBeginPlay()
- Delays the setting of the motion blur until after its been turned off.
- EffectTimer()
- Sets the motion blur ingame back to true.
Code[edit]
Contents
//=================================================== // 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; } } } }