FF Logo
Hello Guest | Login | Register
Join us on Discord!
Latest reviews
· Harley Quinn Masako 
Reviewed by Willson

· space9h0st Elite Guard 
Reviewed by Goober

· Imperial (beta 2) 
Reviewed by nick

· space9h0st Elite Guard 
Reviewed by liq

· Imperial (beta 2) 
Reviewed by dvl_iac

· Spider-Man 
Reviewed by MysticaL-AceR

· Imperial (beta 1) 
Reviewed by MysticaL-AceR

· Imperial (beta 1) 
Reviewed by BATEMAN

· Star Wars Character Pack 
Reviewed by BATEMAN

· Pixel Art Weapon Select UI 
Reviewed by WolfFactionAVP

· Arena Island B2 
Reviewed by ED BUNGHOLE

· Salt Box 3 
Reviewed by Goober

· Salt Box 3 
Reviewed by blinded2

· The Baron's Keep 
Reviewed by Goober

· Rise of Parker (Demo2) 
Reviewed by Agathorn1

Who's online?
1 user and 216 guests
The FactionFiles 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

likes this
(Y)

Posted: September 28, 2010, 19:18 Post #1
I've seen talk of holstering weapons in run maps, and I heard someone made a thing with an event loop that just calls Holster_Player_Weapon. That works but the weapon flickers on-screen and is ugly. Here's the proper way to do it in an RFL...

Note that this will cause the crosshair to disappear

1) Create a trigger that covers the entire spawn area (just the spawn area, not the entire map!). Resets -1 times, resets after 0.10 seconds, Is Clientside.
2) Create a delay. Add it to a group and add two keyframes.
3) Create a Holster_Player_Weapon event, and write down the UID
3.5) If you have trouble selecting the gold keyframe, select the delay and press H to hide it
4) Gold keyframe: Movement type Ping-Pong Once, Departing time 0.01sec, Returning time 0.01sec
5) Silver keyframe: Movement type Ping-Pong Once, Departing time 0.01sec, Returning time 0.01sec, and for Trigger Event With UID put in the UID of the Holster_Player_Weapon
6) Link the Trigger to the gold keyframe
7) Test and enjoy!

Posted Image

Test RFL: http://dl.dropbox.com/u/8362718/HolsterMe.rfl

If you use this, I'd appreciate if you put my name and a link to Faction Files in the readme.
Edited by Mitzi at October 19, 2014, 0:33

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

© 2009-2026 FactionFiles