How to Make a FREEZE GUN (Superpower) - Fortnite UEFN
Ойындар
In this tutorial, I go over how to create your own weapon that is able to freeze anyone you shoot with it. You can customize the amount of frozen time, and choose what weapon can freeze players! This is perfect for superhero maps in Fortnite UEFN / Creative 2.0 that give you custom powers for each player.
Chapters:
00:00 - Intro
00:06 - Setup Conditional Button / Weapon to Freeze
00:36 - Setup editables and freeze time
01:00 - Drawing out Freeze logic
02:19 - Creating the OnPlayerDamage function
02:45 - Getting Damage Instigator
04:02 - Checking Instigator Held Weapon
04:40 - Getting Damaged Target
05:19 - Creating Freeze Function
06:29 - Subscribing to DamagedEvent
07:33 - Final Result
08:07 - Disclaimer on Code
08:51 - Subscribing to Players who Joined Midgame
09:54 - What Weapons Can You Use?
Пікірлер: 139
This tutorial was amazing, I really loved the way you not only mapped out your thought process but also delved into the docs and showed where you got each part of your code! Very helpful for a dev trying to get into Verse ❤
Pi meets John Madden episode 1. Really liking the straight to the point useful tutorial series you have going right now. I miss the more complex content, but this is key for onboarding and community growth.
make an entire series of this 🙏
Thanks brother, u help me a lot!
is it possible to also paste a code in video description next time, because when i copy your code i make mistakes and it's so hard to find them
@dariansleigh9492
3 ай бұрын
Type the code out by hand. It’s easier to get it to behave properly and you get a better understanding of how the code works. If nothing else you’ll better understand visual studio.
Awesome tutorial! thx
Bro nice vid, but how did you get your other account to join your uefn map? i have privately published my map but cant join on any other accounts?
how do I check for shield damage?
more tutorial all superpowers! :,)
in verse would it be possible to make a sniper do 2x damage but you cant aim down sights
FLASHBANGGED OMG
Hey could you help us making it work on shield?
Can you make a tutorial how I can teleport an ice block to the player getting hit
But how can i put that for example that people/players can buy that superpower with coins and when they buy they get it. Do i need to change the code or how?
How do you get into the verse I just started in uefn
Could you maybe help me drop the players loot when they get hit by a gun? It would be very nice!
mine works perfectly, but not on shield. any fix for that?
how do i get to that freeze verse screen
How can I add my second account in order to try it out?
Does it work with damaged shield?
im stuck at 7:14 when i click build verse code nothing happens at all
Can some one post the code please it says I have these errors I don’t know how to fix
at 7:33 how do you get someone to test the gun i cant get anyone to be able to join my world
@DROX-_
5 ай бұрын
yeh same
how would you make a verse script that causes the player to take damage if you hit a non-player? im trying to learn verse right now because fortnite's self-damage feature doesn't work in my UEFN prop hunt project
@piequalsthree3
8 ай бұрын
Ir you shot a prop? The only way to get a damaged event on props is with a prop manipulator. So I guess covering the entire map with a prop manip and then you can damage whoever dealt damage to a prop
@zoogle1
8 ай бұрын
@@piequalsthree3 hey thanks for responding. yeah there doesn't seem to be a very scalable option for what i'm trying to accomplish. i've been scouring the documentation and youtube on how i could do this but it seems Self-Damage doesn't work in UEFN because they don't have the feature implemented yet or something? no one online seems to be talking about this particular problem.
@zoogle1
8 ай бұрын
the goal is to emulate something like Garry's Mod prop hunt that makes the Hunters take damage when they shoot something that isn't a player, to encourage the hunters to attack stuff they think could actually be a player.
@piequalsthree3
8 ай бұрын
@@zoogle1 For self damage you can just get whoever damaged a prop using the DamagedEvent, then just apply damage OnPropDamage(Agent : agent) : void = if (FortCharacter := Agent.GetFortCharacter[]): FortCharacter.Damage(50.0)
@zoogle1
8 ай бұрын
@@piequalsthree3 i'll give it a shot!
I am having difficulties navigating the file locations, can someone please tell me where the code should be located and how I can access the "CreativeDevices" Folder?
@DROX-_
5 ай бұрын
should be in content
I dont get structs for some reason, why is that?
is there a way to change the material of landscapes in sequencers?
@piequalsthree3
8 ай бұрын
I guess if you make your own landscape, but otherwise I'm not sure
@melian5648
8 ай бұрын
@@piequalsthree3 I tried to change it but it doesn‘t work ig like you said u have to make everything custom but that‘s a lot of work
Can you make a tutorial on how to unfreeze another player by shooting them?
Hey ur freeze gun only works when the enemy have no shield. Why is it like that and what do i need to change so its always and not just when the player is white. Tyy
@JohnStew-mp1yw
5 ай бұрын
Did you find a fix for this?
how do i make it when player get hit with shields because for me only works on whites
@nappid97
7 ай бұрын
Use DamagedShieldEvent instead of DamagedEvent
How to find key item 1 button
i copied everything but the freeze device doesnt show up when i drag in the script it just shows user options
@anikalopezleon1
6 ай бұрын
Did you ever find a fix for this?
@Jaahrs
5 ай бұрын
ever get a fix?
@DROX-_
5 ай бұрын
watch 07:14 press build verse code
yo bro it effects players only when they get white damage, can you do that with shield also?
@gabcote1384
5 ай бұрын
Did you find a fix ?
@Ronen79
5 ай бұрын
@@gabcote1384 no:(
@benjaminpalacios7894
4 ай бұрын
Use a weapon that make 100 damage
Does anyone know what I have to write to put the Freeze Time variable inside Sleep at 6:01
@PengiiiiGameDev
5 ай бұрын
Instead of 2.0 just Write FreezeTime, pretty simple! it should look something like this: Sleep(FreezeTime)
when i tried to bulid the verse code it says Unexpected "Subscribe" following expression edit: i forgot the dot + after i fixed it i got another problem and i fixed it... noice
this works when the player is white how can we make it to work when they have shield aswell ?
@anikalopezleon1
6 ай бұрын
Did you ever find a fix for this?
MAKE A FULL SUPERPOWER SERIES!!! ALSO MAKE An aimbot device
@LionUnchained
8 ай бұрын
That's what you're supposed to do after you learn all of these techniques XD
@JTXAstro
8 ай бұрын
@@LionUnchained ok but a series would be so fun and useful
can someone please paste a code to me
Sorry if this is a dumb question, how do you load 2 players into 1 session?
@piequalsthree3
4 ай бұрын
You need to invite them to your team that you create in the Fortnite portal. Also have the project transferred to that team, then you can just join the party and join the session
@RealAlim_
4 ай бұрын
@piequalsthree3 ah ok is there no way to have a test player join or something
i wrote this whole script twice and it still gets errors? what do you think im doing wrong?
@liamrussell08
5 ай бұрын
ever resolve the problem? verse keeps detecting an issue with "then:"
@LucasOliveira-hu2yk
5 ай бұрын
@@liamrussell08 I am facing the same problem. Managed to solve?
@LucasOliveira-hu2yk
5 ай бұрын
@@liamrussell08I have the same problem, did you manage to solve it?
is there a way to make a life leech effect(not in uefn)
@piequalsthree3
7 ай бұрын
Maybe, I made one with Verse if you want
@Verzour
6 ай бұрын
May you send me the life leech effect? Im making a map with super powers and would love to use that.. do you have any others?@@piequalsthree3
Hi, my Target is just underlined red for no reason..
@LucasOliveira-hu2yk
5 ай бұрын
Did you manage to solve it? I have the same problem, I spent hours modifying the code and I didn't find the solution.
@Pi Equals Three Can we pls make a map together?
@piequalsthree3
8 ай бұрын
Sounds fun but, I’m not able to atm haya
Can it also be done in Creative 1.0?
@BarbieFan431
5 ай бұрын
nope
can u give code
please send code
Hey, for some reason this code only works when the enemy has no shield. Is there any way to fix this? Anyways, great video bro!
@JohnStew-mp1yw
5 ай бұрын
Did you find a fix for this?
I hate to be one of 'those' commenters, but I'm struggling to make aimbot in verse. I'm using the FortCharacter and SpatialMath modules to get the information and execute the player rotation, but there's so much more math than I thought there would be in terms of turning a player's location into another player's rotation. If you have any idea how to do it, I'd greatly appreciate it, and I'm sure a video about making aimbot in UEFN would catch the attention of many people. Thanks a ton for all the tutorials, I wouldn't know anything about Verse without them!
When I have the item defined by the conditional button in hand and I receive damage from the storm, I freeze, how do I resolve it?
@piequalsthree3
5 ай бұрын
You would have to in the if statement just make sure that the Target and the Instigator are not the same, since storm damage is counted as self inflicted damage
@LucasOliveira-hu2yk
5 ай бұрын
@@piequalsthree3 Would it be that way? not (Agent = Target) or Agent Target
@LucasOliveira-hu2yk
5 ай бұрын
@@piequalsthree3 Also try this way. Instigator Target But I get error: This function parameter expects a value of type tuple(comparable,comparable), but this argument is an incompatible value of type tuple(game_action_instigator,fort_character) Can you help me?
@piequalsthree3
5 ай бұрын
@@LucasOliveira-hu2yk That's because you're comparing a game action instigator with a fort_character. You first need to cast the Instigator to a fort_character. Since you already have the Agent, you can just do FortInstigator := Agent.GetFortCharacter[] FortInstigator Target
@LucasOliveira-hu2yk
5 ай бұрын
@@piequalsthree3 WOW YOU ARE EVERYTHING! I don't know how to thank you, I've been suffering from this for hours.
For some reason on my map this doesn’t work for the first shot, it doesn’t freeze the enemy with the first shot but rather the enemy needs to be hit atleast twice for it to actually freeze them, any ideas on how to fix it
@zsomb1356
4 ай бұрын
same here, have you found a fix?
@benjaminpalacios7894
4 ай бұрын
Use a weapon that make 100 damage
@TheRealTerraPulsar
4 ай бұрын
@@benjaminpalacios7894 I mean most weapons don't do bodyshot 100 i would have to use a sniper, and i feel like using a sniper would be dumb for a freeze gun, especially cause my map is primary going to be close range fights. I'll still test it to see if u are right but it doesn't make sense why that would be the case
@GUN5CREATIVE
3 ай бұрын
did you find a fix? @@TheRealTerraPulsar
how do i even open the verse code lol
guy sstop asking for fgull tutorials on everything. learn and take your time and then amke good maps :D
Paste the Code Please
BRO HOW DO YOU GET INTO THE VERSE 0:36
@piequalsthree3
8 ай бұрын
You can press the Verse button in top
How do i make it so i can only freeze them once every few seconds like there should be a cooldown
@DROX-_
5 ай бұрын
choose a gun that needs long reload time one bullet per shot
is there a way to make multiple guns freeze players
@zululive
5 ай бұрын
just change the gun for the button
is anyone getting an issue where the first shot doesnt freeze the player but the second shot does
@Tommy-wu8uv
5 ай бұрын
yeah, somehow it needs one of type of damage to the player first
@Swea1z
5 ай бұрын
@@Tommy-wu8uv yeah I fixed it
@Tommy-wu8uv
5 ай бұрын
oh nice, how did you do it?@@Swea1z
@Swea1z
5 ай бұрын
@@Tommy-wu8uv ngl I went into a discord and asked someone to send their code
@Tommy-wu8uv
5 ай бұрын
Ah I see, would u mind sharing it?@@Swea1z
hey man, ive sent you an emailing regarding an issue ive come across. a reply would be awesome! thanks.
doesnt work
bro you couldve made a copy paste in the comments but no, you expect anyone to type this shit out manually? why even bother making videos on it?
@piequalsthree3
6 ай бұрын
It’s John Madden Episode 1
@Elutai
6 ай бұрын
@@piequalsthree3 huh
@piequalsthree3
6 ай бұрын
@@Elutai I met John Madden Episode 1
@CosmicDoesMagic
5 ай бұрын
haha@@piequalsthree3
@drbogii
3 ай бұрын
could u please help make it freeze on shield damage, because it doesnt and i do NOT know verse💯💀💀@@piequalsthree3
you have discord ?
you got twitter?
@VZ4EE
5 ай бұрын
jajaja