Results 1 to 7 of 7
  1. #1

    Default Using a PostProcessEffect asset

    How can I use a PPE asset in kismet? The only place I found usage of a PPE (stored and read from a package) is in the UTRemoteRedeemer class. Unfortunately I have no idea how I to make a Kismet node out of it.

  2. #2

    Default

    Hmm very tricky... when one makes a new PostProcessEffect kind of asset in UEd, the thing that gets created in the package is actually PostProcessChain class. The PostProcessEffect class is the parent of DOF, MotionBlur, etc nodes in the PPEditor.

  3. #3

    Default

    Here is a kismet node which allows the LD to assign a PostProcessEffect asset (aka PostProcessChain) to the player.

    Code:
    class utseqact_setpostprocess extends sequenceaction;
    
    var ()	postprocesschain	ppe_asset;
    var 		LocalPlayer		LocPlayer;
    
    event activated()
    {	
    	LocPlayer = LocalPlayer(PlayerController(Targets[0]).Player);
    	LocPlayer.RemoveAllPostProcessingChains();
    	LocPlayer.InsertPostProcessingChain(ppe_asset, INDEX_NONE, true);
    }
    
    defaultproperties
    {
       ObjName="Set Post Process"
       ObjCategory="Camera"
       Name="Default__UTSeqAct_SetPostProcess"
       ObjectArchetype=SequenceAction'Engine.Default__SequenceAction'
    }

    One problem is that a player variable needs to be linked to the node's target slot. Is there a way to avoid that? (I'm not a coder, so please be verbose in tips and explanations.

  4. #4
    MSgt. Shooter Person
    Join Date
    Dec 2007
    Location
    Los Angeles
    Posts
    35

    Default

    Zoltan,

    Sweet! Thanks for this, I just got it to work with material effects.
    I've got to work out the nuances, but so far it seems to be very usable.

    ~M

  5. #5
    MSgt. Shooter Person
    Join Date
    Dec 2007
    Location
    Los Angeles
    Posts
    35

    Default

    Now I can do that fishtank level!

    Last edited by frogspasm; 12-20-2007 at 03:37 AM.

  6. #6
    MSgt. Shooter Person
    Join Date
    Oct 2007
    Posts
    193
    Gamer IDs

    Gamertag: Pfhoenix0

    Default

    I think I'm going to be sick.
    Fleet Wars
    Jetpack for UT3
    Raggy Weapons
    SpeedBump
    Mod Exemplar Project
    Official Proelium Site
    Official UnrealScript IRC Channel - #unrealscript on irc.enterthegame.com

  7. #7
    MSgt. Shooter Person
    Join Date
    Oct 2007
    Location
    UK
    Posts
    100

    Default

    Quote Originally Posted by Pfhoenix View Post
    I think I'm going to be sick.
    Think thats bad i was putting a mover on a Star Dome for my map, went into game to test roll speed of the stars and felt motion sickness, a little too fast for my liking
    OS: Win95 | CPU: 10 Giga Quads | Graphics Card: Voodoo 3 | RAM: 128MB | Monitor: 64" Barbie Princess TV


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.