for the lazy people, or if you think your version of the code is wrong: allowCountdown = false function onStartCountdown() if allowCountdown == false and isStoryMode then startVideo('YOURCUTSCENEFILENAMEHERE') allowCountdown = true return Function_Stop; end return Function_continue end function onTimerCompleted(tag, loops, loopsLeft) if tag == 'startDialogue' then -- Timer completed, play dialogue startDialogue('dialogue', 'breakfast'); end end
@S3TH15 Жыл бұрын
@thegeckoisgaming I just stole the .LUA from another mod, here's what I got and it works: local allowCountdown = false function onStartCountdown() - - Block the first countdown and start a timer of 0.8 seconds to play the dialogue if not allowCountdown and isStoryMode and not seenCutscene then setProperty('inCutscene' , true); runTimer(' startDialogue' , 0.8); allowCountdown = true return Function_Stop; end return Function_Continue; end function onTimerCompleted(tags, loops, loopsLeft) if tag == 'startDialogue' then - - Timer completed, play dialogue startDialogue('dialogue', 'breakfest'); end end - - (When a dialogue is finished, it calls startCountdown again) function onNextDialogue(count) - - triggered when the dialogue line starts, 'line' starts with 1 end function onSkipDialogue(count) - - triggered when you press Enter and skip a dialogue line that was still being typed, dialogue line starts with 1 That took me an extremely long time to type, I hope you found it helpful!
@Good_Tutorials7 ай бұрын
thank you good person
@pixelslolxx4 ай бұрын
thats not the code for dialogue lmfao
@WardenYouTubeMc Жыл бұрын
Extremely helpful! All of your tutorials helped me so far and none of 'em failed, continue man, also, you forgot to tell that you don't really need a programming thing, it's just easier using one, but it works aswell if you don't use a programming app and just write it in!
@joecraft90988 ай бұрын
yeah this is epic, nice job on this tutorial series! followed it so far, and it's amazing, so nice job!
@S3TH15 Жыл бұрын
THANK YOU SO MUCH! Your videos are super helpful and EXTREMELY easy to follow! I subbed earlier because you helped me create my first mod! I've already started on another one and this one needs dialogue! Thanks again!
@ElMasMej0rАй бұрын
i love you bro, thx
@goldenwolf_gaming11 ай бұрын
Yo nice tutorial it really helped!
@MrM0gus Жыл бұрын
Cool funko pops bro
@theboibugyes Жыл бұрын
hey bro, can you make a tutorial on how to make a cutscene play when you lose in fnf psych engine? i really need that tutorial
@Bombssivo11 ай бұрын
You probably need to search up a tutorial on how to make a custom death screen
@theboibugyes11 ай бұрын
a@@Bombssivo
@paoloplayoficial89034 ай бұрын
So helpful thank you so much i needed this
@SenorBreak Жыл бұрын
he be growing
@Plotchiee_Music Жыл бұрын
i donno dialogue doesn't show i follow every step i check like 5 times and still it doesn't show up
@JahwsomeJ Жыл бұрын
i'm having a problem with importing in different animations, because they just sequence into eachother wich should not be happening
@TheFourDoofuses Жыл бұрын
Heya so I have triple checked my code and it is the same as yours and I have done every single step but i keep having a problem were the dialogue plays while the music plays and when the dialogue is finished the song doesn't play. if you could help that would be awesome
@TracksideManiac Жыл бұрын
Having trouble with the dialogue part.. I'm using version v0.7.1h of Psych Engine, and the dialogue sequence isn't showing.
@TommoGT5 ай бұрын
same
@Керамбитыч5 ай бұрын
compile build with allowed this function
@trip-0333Ай бұрын
did u fix it?
@Nykzin207 Жыл бұрын
my song play during the cutscene :(
@hybridmonkevr3 ай бұрын
the fact you dont need visual code, you can use notepad
@ALK1988 Жыл бұрын
I need help, I did everything like in the video, but when I start the game and then start the week, the song starts straight away, otherwise... nothing just happens. no game crash, no dialogue, the song starts straight away, what should I do?
@TyongiLorin7 ай бұрын
Did you make sure you put both the dialogue's JSON file and the LUA script in the song's chart folder? Because If you haven't, the dialogue don't play
@thafoocarlos Жыл бұрын
Aye, can u make a tutorial about making an in-game cutscene like the Witty mod, and week 7? Great video tho keep up the great work
@polygon_animetz Жыл бұрын
for week 7 i think it's just an animation but for whitty... that is a mystery
@daverDaverd1207 Жыл бұрын
@@polygon_animetz actuallt both cutscenes use a series of coding and each animation sound or camera movement is happening at a certain moment. Idk how to explain better than this
@polygon_animetz Жыл бұрын
@@daverDaverd1207 so mass amounts of coding, got it
@S3TH15 Жыл бұрын
@davidplayzz1207 Well, the Happy Tree Funkers mod uses straight up animation. Yes, coding to actually insert the cutscene but no coding involved with the animation itself
@hybridmonkevr3 ай бұрын
whitty isn't mid game cutscenes, it's a cutscene put at the beginning of the song
@Spy6gagen_ytАй бұрын
bro looks like me 💀
@hirmdk5 ай бұрын
what if i dont have a loop snimation do i leave it blank? or just use the name of my idle
@CeatureFreepy Жыл бұрын
I really, REALLY need some help here. I followed every step to add dialogue, but I think I messed something up? I'm not a coder so I can't figure out what I did wrong. The dialogue shows up in game, but the countdown continues regardless and the song starts (the music starts specifically, no arrows appear). When I skip through the dialogue, the music stops and the dialogue loops. Sorry if I didn't articulate the question well, I'm just really at a loss here!
@TheFourDoofuses Жыл бұрын
bro SAME i have no idea what is happening
@ronaldofficial-g7q3 ай бұрын
12.5K view lets gooo
@OswaldHemair Жыл бұрын
for some eason my character doesnt show up in the portrait editor and bf just gets smaller when i press reload image...can someone help?
@ldsandthemisfitsquares8 ай бұрын
Are you on Android? I'm also on android and it could be difficult sometimes to press reload image. It takes a couple tries but you will get it!
@OswaldHemair8 ай бұрын
@@ldsandthemisfitsquares no I'm on a windows pc??
@TyongiLorin7 ай бұрын
@@OswaldHemair Do you have both the PNG and the XML files for the character? You must have these two files to make a character portrait
@OswaldHemair7 ай бұрын
@@TyongiLorin yes obviously
@TyongiLorin7 ай бұрын
@@OswaldHemair And did you put them in mods > images > dialogue?
@hirmdk5 ай бұрын
nvm
@hirmdk5 ай бұрын
do i have to do the code thing
@skydoesstuff71295 ай бұрын
I think so, but someone posted the script in comments
@Mahdi_NG8 ай бұрын
Is there some way for the dialogue to play after a song is over? nvm I found the video kzbin.info/www/bejne/nprFhYyQh7p9jq8