FF Logo
Hello Guest | Login | Register
Latest reviews
· Nemesislords (Beta 1) 
Reviewed by liq

· Halloween Warlords  
Reviewed by Mike

· Sword of War and Peace (Bet... 
Reviewed by Mike

· Halloween Warlords  
Reviewed by Goober

· Halloween Warlords  
Reviewed by VideoJames

· [SP] Toxic Agenda 
Reviewed by Intharth

· [SP] Nano-Theft 
Reviewed by VideoJames

· [SP] Toxic Agenda 
Reviewed by VideoJames

· [SP] Nano-Theft 
Reviewed by ReaperAA

· [SP] Toxic Agenda 
Reviewed by ReaperAA

· [SP] Nano-Theft 
Reviewed by MysticaL-AceR

· Malachi 
Reviewed by Goober

· Volcanic Foundries 
Reviewed by Goober

· Fourlords 
Reviewed by nick

· Mayan Run (Fixed) 
Reviewed by Goober

Who's online?
0 users and 61 guests
The Faction Files forums are archived. Please join the community on our Discord for all Red Faction discussions.
Pages: [1]
Users Avatar
Mitzi
Posts: 400
Joined: September 11, 2009, 17:01

0
(Y)

Posted: June 2, 2014, 8:40 Post #1
A mapper working on an upcoming map had some neat effects that ran at the start of the map. Unfortunately they played at the very start so if you didn't spawn immediately you never saw them. I made a test level to show how to get around this by making them play only once you actually spawn, and figured it was worth making a tutorial.

"Why can't I just do it like we used to do join-late doors for run maps?" Because then it would only work for the first person to spawn.

Prerequisite knowledge: how RF's event system works, how to make a keyframe trick

The steps are simple. I'm just going to list them, give a picture, and then the test RFL download.


1) Create a solo trigger that covers the entire spawn area. "resets after * times" and "resets after * seconds" don't matter. Just remember to tick the solo checkbox in the bottom right. If you don't have a solo checkbox then you need to start using REDPF
2) Make a keyframe trick and link the solo trigger to the first keyframe of said trick.
3) Place a Slay_Object and some random clutter object. I use the "phone" object because seriously fuck phones
4) Link the "output" of the keyframe trick to the Slay_Object, and the Slay_Object itself to the phone, or whatever clutter you've chosen.
5) Place a When_Dead and link it to the clutter. Don't touch the settings.
6) Link the When_Dead to whatever effect you want to run upon the player spawning. Keyframes, music, particle stuff, whatever
7) Test and enjoy
8) There is no step 8

Here's a picture of the events in case you have some trouble understanding how they're linked:
Posted Image

And here's a working RFL that demonstrates the technique. The sound and mover will not run until you spawn. Try testing in a dedicated server, rejoin, ask your friends to try it, they will all work as they should.
[Download RFL]

If you use this technique, stick a link to factionfiles.com in your map's readme. Other than that, do as you wish and have fun!

The Faction Files forums are archived. Please join the community on our Discord for all Red Faction discussions.
Pages: [1]

© 2009-2022 Faction Files

Page generated in 0.028 seconds