Creating a Keyframe Trick

From Red Faction Wiki
Revision as of 15:19, 12 January 2022 by Goober (talk | contribs) (Created page with "{{RF1Tutorial|Goober}} This tutorial will walk you through how to create what is commonly referred to as a "keyframe trick" Keyframe tricks are a requirement to use many R...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This tutorial will walk you through how to create what is commonly referred to as a "keyframe trick"

Keyframe tricks are a requirement to use many events in multiplayer. Keyframe tricks are not required when creating single player levels.

Steps:

  1. Create a Delay event to use for your moving group. Note that this doesn't have to be a Delay event - it could be pretty much anything else in the editor that can be put into a moving group, just normal convention is to use a delay event because it's invisible and doesn't do anything without being linked to something.
  2. Create a group containing the Delay event, and hit the keyframe button to turn that group into a moving group.
  3. Hit the "keyframe" button a second time for the same moving group, and move this second keyframe away from the first one.
  4. Go to the properties for each keyframe, and set the "Movement Type" to "Ping Pong Once", and "Departing Travel Time" and "Returning Travel Time" both to 0.00 seconds.
  5. Select whatever event you're activating with the keyframe trick, and note the object UID. To locate the object UID, look at the RED console in the bottom left hand corner with the event selected.
  6. Open the properties window of the silver keyframe in your trick, and insert your event's UID into the "Trigger Event with UID" field.

You can download an example keyframe trick here. This group contains the keyframe trick, a trigger door object to activate it, and an example event (shown in green) as a placeholder for any event you need to activate using the trick.