Adding Dialogue and Cutscenes | The Full FNF Modding Course P4

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ต.ค. 2024
  • Join my discord! - / discord
    Follow my twitter! - / catbrotherevery
    Play my mod NAFN! - gamejolt.com/g...

ความคิดเห็น • 54

  • @thegeckoisgaming
    @thegeckoisgaming ปีที่แล้ว +21

    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
      @S3TH15 ปีที่แล้ว +3

      @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_Tutorials
      @Good_Tutorials 6 หลายเดือนก่อน +1

      thank you good person

    • @pixelslolxx
      @pixelslolxx 3 หลายเดือนก่อน +1

      thats not the code for dialogue lmfao

  • @WardenYouTubeMc
    @WardenYouTubeMc ปีที่แล้ว +6

    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!

  • @S3TH15
    @S3TH15 ปีที่แล้ว +2

    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!

  • @joecraft9098
    @joecraft9098 7 หลายเดือนก่อน +1

    yeah this is epic, nice job on this tutorial series! followed it so far, and it's amazing, so nice job!

  • @TracksideManiac
    @TracksideManiac 11 หลายเดือนก่อน +3

    Having trouble with the dialogue part.. I'm using version v0.7.1h of Psych Engine, and the dialogue sequence isn't showing.

    • @TommoGT
      @TommoGT 4 หลายเดือนก่อน

      same

    • @Керамбитыч
      @Керамбитыч 4 หลายเดือนก่อน +1

      compile build with allowed this function

    • @trip-0333
      @trip-0333 หลายเดือนก่อน

      did u fix it?

  • @ElMasMej0r
    @ElMasMej0r หลายเดือนก่อน +2

    i love you bro, thx

  • @goldenwolf_gaming
    @goldenwolf_gaming 10 หลายเดือนก่อน +1

    Yo nice tutorial it really helped!

  • @theboibugyes
    @theboibugyes ปีที่แล้ว +8

    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

    • @Bombssivo
      @Bombssivo 10 หลายเดือนก่อน +1

      You probably need to search up a tutorial on how to make a custom death screen

    • @theboibugyes
      @theboibugyes 10 หลายเดือนก่อน

      a@@Bombssivo

  • @paoloplayoficial8903
    @paoloplayoficial8903 3 หลายเดือนก่อน

    So helpful thank you so much i needed this

  • @CeatureFreepy
    @CeatureFreepy ปีที่แล้ว +1

    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
      @TheFourDoofuses ปีที่แล้ว +1

      bro SAME i have no idea what is happening

  • @MrM0gus
    @MrM0gus ปีที่แล้ว +2

    Cool funko pops bro

  • @TheFourDoofuses
    @TheFourDoofuses ปีที่แล้ว +2

    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

  • @thafoocarlos
    @thafoocarlos ปีที่แล้ว +3

    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
      @polygon_animetz ปีที่แล้ว +1

      for week 7 i think it's just an animation
      but for whitty... that is a mystery

    • @daverDaverd1207
      @daverDaverd1207 ปีที่แล้ว +1

      @@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
      @polygon_animetz ปีที่แล้ว +1

      @@daverDaverd1207 so mass amounts of coding, got it

    • @S3TH15
      @S3TH15 ปีที่แล้ว +2

      @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

    • @hybridmonkevr
      @hybridmonkevr 2 หลายเดือนก่อน

      whitty isn't mid game cutscenes, it's a cutscene put at the beginning of the song

  • @Jah0479
    @Jah0479 ปีที่แล้ว +1

    i'm having a problem with importing in different animations, because they just sequence into eachother wich should not be happening

  • @SenorBreak
    @SenorBreak ปีที่แล้ว +2

    he be growing

  • @ALK1988
    @ALK1988 ปีที่แล้ว +1

    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?

    • @TyongiLorin
      @TyongiLorin 6 หลายเดือนก่อน

      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

  • @Plotchiee_Music
    @Plotchiee_Music ปีที่แล้ว +1

    i donno dialogue doesn't show i follow every step i check like 5 times and still it doesn't show up

  • @hirmdk
    @hirmdk 4 หลายเดือนก่อน

    what if i dont have a loop snimation do i leave it blank? or just use the name of my idle

  • @Nykzin207
    @Nykzin207 ปีที่แล้ว +1

    my song play during the cutscene :(

  • @OswaldHemair
    @OswaldHemair ปีที่แล้ว +1

    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?

    • @ldsandthemisfitsquares
      @ldsandthemisfitsquares 7 หลายเดือนก่อน

      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!

    • @OswaldHemair
      @OswaldHemair 7 หลายเดือนก่อน

      @@ldsandthemisfitsquares no I'm on a windows pc??

    • @TyongiLorin
      @TyongiLorin 6 หลายเดือนก่อน

      ​@@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

    • @OswaldHemair
      @OswaldHemair 6 หลายเดือนก่อน

      @@TyongiLorin yes obviously

    • @TyongiLorin
      @TyongiLorin 6 หลายเดือนก่อน

      @@OswaldHemair And did you put them in mods > images > dialogue?

  • @hybridmonkevr
    @hybridmonkevr 2 หลายเดือนก่อน

    the fact you dont need visual code, you can use notepad

  • @Spy6gagen_yt
    @Spy6gagen_yt 22 วันที่ผ่านมา

    bro looks like me 💀

  • @ronaldofficial-g7q
    @ronaldofficial-g7q 2 หลายเดือนก่อน

    12.5K view lets gooo

  • @Mahdi_NG
    @Mahdi_NG 7 หลายเดือนก่อน +1

    Is there some way for the dialogue to play after a song is over?
    nvm I found the video
    th-cam.com/video/hibTYZRUJXM/w-d-xo.html

  • @hirmdk
    @hirmdk 4 หลายเดือนก่อน

    nvm

  • @hirmdk
    @hirmdk 4 หลายเดือนก่อน

    do i have to do the code thing

    • @skydoesstuff7129
      @skydoesstuff7129 4 หลายเดือนก่อน

      I think so, but someone posted the script in comments

  • @FortCraftreal
    @FortCraftreal หลายเดือนก่อน

    It did not work for me

    • @trip-0333
      @trip-0333 หลายเดือนก่อน

      did u fix it?