FF Logo
Hello Guest | Login | Register
Latest reviews
· DM - HOLY SHIT final 
Reviewed by BATEMAN

· DM - Cyrus Cio Park 2 - No ... 
Reviewed by shark5678

· SP - Spaceport 
Reviewed by BATEMAN

· DM - Cryptic 
Reviewed by Oddball

· DM - Abrupt Decay (RC1) 
Reviewed by Cupid

· DM - Wulf Hunt 
Reviewed by Oddball

· DM - Nuketown2050 
Reviewed by Oddball

· Mod Manager Re-Mars-tered 
Reviewed by nme

· DM - Blunder's Villa 
Reviewed by shark5678

· DM - Blunder's Villa 
Reviewed by Oddball

· DM - How Fast Can You Run? 
Reviewed by Goober

· Play Faction 
Reviewed by nick

· DM - Chapel 
Reviewed by shark5678

· DM - Rail Depot 
Reviewed by Oddball

· DM - Waterlogged (ps2) 
Reviewed by shark5678

Who's online?
0 users and 45 guests
Pages: [1]
Users Avatar
Posts: 400
Joined: September 11, 2009, 17:01


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!

Pages: [1]

© 2009-2019 Faction Files

Page generated in 0.021 seconds