Everytime I search up something for psych engine this man goes: " oh hey did you want this "
@blust.fla12 жыл бұрын
function onCreate() setPropertyFromClass('GameOverSubstate', 'characterName', 'bf'); --Character json file for the death animation setPropertyFromClass('GameOverSubstate', 'deathSoundName', 'fnf_loss_sfx'); --put in mods/sounds/ setPropertyFromClass('GameOverSubstate', 'loopSoundName', 'gameOver'); --put in mods/music/ setPropertyFromClass('GameOverSubstate', 'endSoundName', 'gameOverEnd'); --put in mods/music/ end
@AWESOMEDRACK2 жыл бұрын
Thank you.
@samthestupido2 жыл бұрын
gigachad
@supercoolgacha2 жыл бұрын
Thank you you legend
@JesuFactorial2 жыл бұрын
respect
@orangespikeanimates44802 жыл бұрын
What is gameoversubstate
@RDn_t2 жыл бұрын
fun fact: if you dont want it to be a global death sound put it in the folder with the charts of your song also thanks for this tutorial i am struggling mentally to make a mod without source because i dont want to go through the pain of engine errors
@Mastodonte3452 жыл бұрын
BROOOOOOOOOO LIKE THANK YOU SO MUCH I WAS THINKING WHY THAT WAS HAPPENING 👏👏👏👏👏👏👏
@ezry122102 жыл бұрын
thank you!
@greshimi Жыл бұрын
TY BRO!!!
@plusardx3 жыл бұрын
Such a good tutorial to who are learning lua, keep it on my man!
@inserbee3 жыл бұрын
True
@Darko恒松3 жыл бұрын
Ayo youre here-
@ZVairzALT2 жыл бұрын
@DabFunni AYO DAB
@brg5532 жыл бұрын
@@ZVairzALT AYO ZACKVAIR?
@tinkywinky79473 жыл бұрын
THE TUTORIAL I ALWAYS WANTED THANK YOU FOR UPLOADING IT
@tsminecart2 жыл бұрын
The script if anyone needs it: function onCreate() setPropertyFromClass('GameOverSubstate', 'bf'); --Character json file for the death animation setPropertyFromClass('GameOverSubstate', 'fnf_loss_sfx'); --put in mods/sounds/ setPropertyFromClass('GameOverSubstate', 'gameOver'); --put in mods/music/ setPropertyFromClass('GameOverSubstate', 'gameOverEnd'); --put in mods/music/ end
@slimeblockvstnt14282 жыл бұрын
thanks buddy
@JustMusya2 жыл бұрын
thank you dude!
@RyanSeasunk2 жыл бұрын
4:17 thanks for the help with the game over voice lines! is there anyway to make it where it randomly picks a voicelines for a list of them? kinda like how Fleetway & Tankman have different ones when you die?
@mochi_va28472 жыл бұрын
what's the code for game over voice lines exactly
@SixteenJ2 жыл бұрын
try separating the sounds in commas.
@HarleyKimon2 жыл бұрын
@@SixteenJ wouldnt that play them both at the same time?
@SixteenJ2 жыл бұрын
@@HarleyKimon idk but try It anyways
@smarties_kaedeyYT2 жыл бұрын
The 3 names you gotta put for your sprite. "FirstDeath" "deathLoop" "deathConfirm"
@azzygmd22 жыл бұрын
firstDeath*
@smg9383 жыл бұрын
I'VE BEEN WAITING FOR THIS, TYSM
@InkBlob_Man093 жыл бұрын
this is literally the tutorial iv been waiting
@blackbeanielonny26353 жыл бұрын
God i was searching this for days you are the best
@NicStyleIsFound2 жыл бұрын
Thank you so much!! This works!! Like everything!!
@staslk28192 жыл бұрын
Thank you! I needed that.
@AlizaBunn2 жыл бұрын
Is there a way to get this to work on a specific song? I want to have a death animation that only plays on a song, but the others be the normal BF death screen
@impostor58752 жыл бұрын
just put the script.lua in the song's data folder and then it only plays on that specific song
@kkronnier2 жыл бұрын
@@impostor5875 THANKS!!
@makyuni-español3 жыл бұрын
Could you please make a tutorial on how to make a Spirit-like animation? Y'know, that sort of "ghost" animation that leaves traces of other animations behind (also seen in "Godeater" from shaggy mod, Mid-Fight-Masses, etc) People told me the effect is called "crossfade", but I haven't found any tutorials about it yet... Anyways, very nice video! I'm making a big part of my mod thanks to them, so thank you for the help 👍
@trolledguy18223 жыл бұрын
You mean wave chacater animation you need to find shcoolevil stage just copy this code var evilTrail = new FlxTrail(dad, null, 4, 24, 0.3, 0.069); //nice insert(members.indexOf(dadGroup) - 1, evilTrail); then add it to your stage (it's for source)
@trolledguy18223 жыл бұрын
And change eviltrail to your var you want to name it
@matface67033 жыл бұрын
and through .lua in any way?
@trolledguy18223 жыл бұрын
@@matface6703 idk
@badjuicefish3 жыл бұрын
Here's a video kzbin.info/www/bejne/l3O9qISfqd6hhZo
@simonJeez2 жыл бұрын
good, now i can make bruh`s death on bruhtastic.
@funnymanisfunny3 жыл бұрын
i was just about to do this and this video pops up. keep it goin with these tutorials man, youre doing gods work here. also, is there a way to do this with pixel sprites? Ive tried to follow this and it doesnt seem to work with them, and I think it might be because the pixel bf death is a different character. is there any way to change this?
@Anemunt2 жыл бұрын
Yea. You need to change the txt file for arranging the death screen to that size
@tg-storyunfold30312 жыл бұрын
Nice vid, but I'm wondering if it's now possible to make it so that the game over only triggers if you're playing as that specific character after the change character event... Can you specify if that code is written yet?
@Thegamer2008real3 жыл бұрын
Really helpful tutorial, but can you make a tutorial on how to make transitions? (Like in sonic.exe triple trouble)
@happypersoninthsilife26332 жыл бұрын
Probally Image Flash
@darkboi123 жыл бұрын
ah yes, this is definitely fnaf thank you youtube
@ValZ2 жыл бұрын
Thanks man!
@TinkaPon2 жыл бұрын
Question: If I put the script into a songs data folder then will the custom death animation play in that song only?
@david253_2 жыл бұрын
YES, i already tried it and it works!
@TinkaPon2 жыл бұрын
@@david253_ yay! thanks for the info have a fantastic day
@TinkaPon2 жыл бұрын
btw the github wont let me download the script and i dont know why
@david253_2 жыл бұрын
@@TinkaPon i don't know either, but i took the script from *Ski Sings For You!* and it worked. The only difference is that it doesn't have the music and restart sound code lines so i just added them manually
@TinkaPon2 жыл бұрын
@@david253_ alrighty I took it from hazy river
@errorsans-iv8ng3 жыл бұрын
Thank you man
@emeraldwas9k3 жыл бұрын
LEGEND
@jad4693 Жыл бұрын
is there maybe a way to have character-specific death screens? cuz my mod has multipe characters you play as and itd be weird seeing bf's skeleton over all of them
@g1ayz3d Жыл бұрын
you make function onCreate() setPropertyFromClass('GameOverSubstate', 'characterName', 'bf-chaotix-death'); --Character json file for the death animation setPropertyFromClass('GameOverSubstate', 'deathSoundName', 'fnf_loss_sfx'); --put in mods/sounds/ setPropertyFromClass('GameOverSubstate', 'loopSoundName', 'gameOver'); --put in mods/music/ setPropertyFromClass('GameOverSubstate', 'endSoundName', 'gameOverEnd'); --put in mods/music/ end this into a lua but put it in the data folder of a song rather than in scripts, and you alter it for each song.
@xenoytguy Жыл бұрын
@@g1ayz3d omg thank you
@Topicmolfe2 жыл бұрын
how do i make a custom death screen from a custom hurt note, when i die from the hurt so it plays the new death screen please respond
@Corpitell3 жыл бұрын
Man, Lua is an awesome thing to have with fnf engines!
@whitty985playz2 жыл бұрын
Can you make a new tutorial with the custom events because i have the new version of psych
@papermariofnf970710 ай бұрын
why is bf wearing a backpack and holding a dagger
@Diduilitm Жыл бұрын
life saviour 🙏
@doratofficial283 жыл бұрын
How to make dialogue bg
@emeraldwas9k3 жыл бұрын
can you make a video of how to make a dodge mechanic like in The song Termination
@kevmanstreetkids2766 Жыл бұрын
not working
@CoolsterTheLame13 жыл бұрын
OMG THANK YOUUU!!
@aselmao2 жыл бұрын
The audio doesn't work **Cries** (It's in ogg format and with the correct name in the lua)
@SHL6YT6 ай бұрын
cath is the best
@4nthonyYT2 жыл бұрын
I did everything you said in the video but everytime i die the camera automatically focus on the character's feet, idk why. I tried to change the camera X/Y but it didn't do anything at all
@fixedl2 жыл бұрын
Same here did you fix it?
@4nthonyYT2 жыл бұрын
@@fixedl Nope, unfortunately I couldn't find the reason why it does that :/
@JoyisForTheHeavens2 жыл бұрын
The download aint working anymore
@Tehheadnurse4372 жыл бұрын
Is there a way to do a game over screen like the one from snake eyes from indie cross?
@gummywormee412 жыл бұрын
Hey so, how do you get the custom death sounds to work? I can get the sprites going just fine, but when I try to get the custom song to play it's silent (I put them in the mods/sound and music folder
@pixelmon52352 жыл бұрын
I got a quick question. Is there a way I could have custom death sprites for specific difficulties? Because for the mod I'm making, I'm having difficulties act like a character select and it'd seem stupid to see a different character have BF's death screen.
@azzygmd22 жыл бұрын
make lots of scripts in the data/songname folder and all of them have unique character variables
@nineohtwo26 ай бұрын
the music doesnt play for some reason, even if i havent changed anything making it the default one, all the sfx plays like normal tho any solutions?
@argonautagames Жыл бұрын
heya! can you make a custom game over for a specific character pls? that would be great for a mod that im working on
@javieralanis5032 Жыл бұрын
There's a possible way to make a death animation for another character that its not BF?
@ProPants373 жыл бұрын
Is there a way to do it without source code in the old version of psych engine?
@HarleyKimon Жыл бұрын
how do you do the voiceline thing, like tankman where it plays a random one
@PlayerAdante1 Жыл бұрын
It didn't work on the data or on scripts
@FormerlyGamerXD11 ай бұрын
Theres no download for me so what do i do if theres no link to download it
@anicronyx2313 Жыл бұрын
When I click the link to download the LUA, it doesn't download, but takes me to a seperate window and shows me the code. What should I do?
@gripoufromdiscord8 ай бұрын
just copy the text and put it in a seperate lua file
@BobBobBruh2 жыл бұрын
Ah yes, i remember this is fnaf
@springglitch33563 жыл бұрын
could you please make a tutorial on cross fade like spirits last poes or like godeater
@booleybTheClown Жыл бұрын
what do i do if i dont have scripts when i go into mods
@OMGOPHEEBOPISAGAMER Жыл бұрын
how do you edit the bg on death?
@UkeyMusicLEAKS2 жыл бұрын
I like that the game is fnaf
@mochi_va28472 жыл бұрын
You say we can put in our own death voicelines, but how…how do you do that exactly? Also If I have multiple voicelines (specifically 13), then how do I make one play randomly
@R3d_St4t1c7 ай бұрын
it doesnt let me download the file, do i have to install something else?
@FOXLIELIEFOX2 жыл бұрын
when my character dies, the camera moves down, what should I do? :(
@Frazcaideadlol__ Жыл бұрын
Just adjest your characters camera
@greenstickman.13423 жыл бұрын
can you teach us how to add our own menu theme?
@1igmamale4202 жыл бұрын
just replace the old one
@thaiyubali21812 жыл бұрын
I dunno if this would work but rename the ogg audio you want as menu theme as freakyMenu and save it in the music folder of your mod.
@mellowcide532 жыл бұрын
how do i make this apply to only 1 character? edit: nvm, i figured out how
@SupernoobCv2 жыл бұрын
How?
@mellowcide532 жыл бұрын
@@SupernoobCv follow along with this tutorial normally, but instead of putting the script in the scripts folder, put it in the data folder of the song that you wanna change the death anim of
@SupernoobCv2 жыл бұрын
@@mellowcide53 oh i see Thanks man you saved me
@Sonic_073 жыл бұрын
I made my mod in psych engine with source code, but anyway, how do I put my mod in gamebanana and for me to access the psych engine app I need to go to the windows prompt, and it's not in the "Psych Engine" folder Main"
@coolmisha20102 жыл бұрын
uhhh... click on bar where is "This PC\whatev\whatev2" or "D:\whatev\whatev2" and etc. After you clicked on it, type cmd. After typing cmd, windows prompt appear and you can compile your mod. If you wanna upload it, watch tutorial on how to upload mod to gamebanana.
@gloogunner16302 жыл бұрын
the death ani will always play is there a way to fix it?
@theepicshifter12512 жыл бұрын
Is there a way to add a background into the death screen?
@SpeedyGamerTV2 жыл бұрын
how do you make it for a specific character?
@mellowcide532 жыл бұрын
instead of putting the script in the scripts folder, put it in the data folder of the song where you wanna change the death anim this will apply that death anim to only that song
@stephaniehill92882 ай бұрын
Does this work for version 1.0
@SodaPop77202 жыл бұрын
The lua is not downloading?
@Ochidyx6 ай бұрын
Do you know how to do it but in version v0.7.3 of the psych engine?
@JonnyPopTart4 ай бұрын
There is a way to do it in 0.7.3, I did it myself. Basically, find any lua script, rename it to just "script", open it up. Delete all of the code in it, and paste this. function onCreate() -- CHARACTER setPropertyFromClass('substates.GameOverSubstate', 'characterName', 'bf-dead'); -- SOUNDS/MUSICS setPropertyFromClass('substates.GameOverSubstate', 'deathSoundName', 'fnf_loss_sfx'); --file goes inside sounds/ folder setPropertyFromClass('substates.GameOverSubstate', 'loopSoundName', 'gameOver'); --file goes inside music/ folder setPropertyFromClass('substates.GameOverSubstate', 'endSoundName', 'gameOverEnd'); --file goes inside music/ folder end Make sure your character's name is the name on the JSON, NOT the XML (So replace 'bf-dead' to your characters name) , and SAVE it PLEASE REMEMBER TO SAVE IT
@Glitch-Malware4 ай бұрын
@@JonnyPopTart your a life saviour bro thank you so much!!!
@JonnyPopTart4 ай бұрын
@@Glitch-Malware Yw!
@Glitch-Malware4 ай бұрын
@@JonnyPopTart :D
@JonnyPopTart4 ай бұрын
@@Glitch-Malware Happy modding! I actually am very bad with code, art and charting is my area
@theworstgamerintheworld6762 жыл бұрын
could you pls copy all the text from the file and reply it to me. the script isnt working on the web anymore:(
@WardenYouTubeMc2 жыл бұрын
2:39 bro why tf does it sends me to a discord link that it says that it's not even a site and it just doesn't download, please fix this, plus when I try to download it, it doesn't let me and says that it's a fucking virus
@catbrotherdoeseverything2 жыл бұрын
I can't fix shadow marios mistakes lmao
@CyberNeon1234 ай бұрын
why wont it work
@the_unofficial_aditzla2 жыл бұрын
we need a new link
@WallEWill2 жыл бұрын
yeah!
@БонБоныч2 жыл бұрын
It's not working T-T
@emesoup3 жыл бұрын
What about source
@catbrotherdoeseverything3 жыл бұрын
just do the exact same thing but instead do it in examplemods/scripts
@Aston-EGG2 жыл бұрын
dude I can't download it anymore, can you do it in mediafire for me please 😐
@yemq3 жыл бұрын
Cool
@joe25163 жыл бұрын
3:27 but how?
@joe25163 жыл бұрын
also what did you do at 4:59?
@evas740002 жыл бұрын
for what versions does it work ?? cuz... if my psych engine is OVER 4.2... my pc lags too much
@coolmisha20102 жыл бұрын
for 0.5.1 ver
@Pranksterbloky3 жыл бұрын
Is There a Way To do It In the Source Code
@jtisgaming9712 жыл бұрын
I cannot download the file :(
@WallEWill2 жыл бұрын
same
@Dxgamer74053 жыл бұрын
hey man, can you do a complete tutorial on how to create stages (using lua)?
@akkuyo13 жыл бұрын
Oh, hey bro! :)
@trxckys2 жыл бұрын
Can you make a tutorial when bf dies a mp4 will play????????????? 😐😐😐😐😐🤔🤔🤔🤔
@the18bit533 жыл бұрын
Question: My fnf camera has been kinda weird as whenever it's the opponent's turn it looks at what is basically their feet which is weird because it looks at bf fine. How do you make it actually look at the opponent and not just their feet?
@coolmisha20102 жыл бұрын
adjust camera x/y to the part of opponent you want camera to look (head, hand, whatever)