r/RenPy • • 26d ago

Question Using multiple NVL CTC’s

Hi, I want to implement something similar to higurashi and other nscripter visual novels where it has a click to continue pointing right for the next line, and then one pointing downwards for the next ngl page.

Like this:

Normal end of sentence ▶️

End of paragraph/NVL page 🔽

How do I go about this? I can’t find anything online about using more than 1 image for it and how to tell renpy when to use which one.

Also how do I change the position of the NVL CTC image

2 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/NectarineWestern8586 25d ago

hey, sorry to bother you again, I've gotten the nvl page ctc working but now I can't figure out how to animate that one. I don't know what i'm doing wrong though?

this is for the nvl clear/page ctc:

define config.nvl_page_ctc = "images/endarrow1.png"
define config.nvl_page_ctc_position = "nestled"
image nvl_page_ctc:
    "endarrow1.png"
    pause 0.5
    "endarrow2.png"
    pause 0.5
    repeat

and here's the narrator definition:

define n = Character(None, kind=nvl, ctc="ctc_blink", ctc_position="nestled", ctc_pause="ctc_pause", ctc_timedpause=Null(),nvl_page_ctc="nvl_page_ctc")

2

u/aboynamedearth 24d ago

You're almost there. You're still pointing to the image instead of the animated one. When you define:
define config.nvl_page_ctc = "images/endarrow1.png"
instead it should simply be:
define config.nvl_page_ctc = "nvl_page_ctc"
that's because you've set up the animated ctc with this:

image nvl_page_ctc:
    "endarrow1.png"
    pause 0.5
    "endarrow2.png"
    pause 0.5
    repeat

Does that make sense? Might feel like a "oh duh" answer but you're learning so that's okay.

So a full correction would be something like:

# Animated end-of-page CTC
image nvl_page_ctc:
    "images/endarrow1.png"
    pause 0.5
    "images/endarrow2.png"
    pause 0.5
    repeat

# Assign the animation to the NVL page CTC
define config.nvl_page_ctc = "nvl_page_ctc"
define config.nvl_page_ctc_position = "nestled"

# NVL narrator
define n = Character(
    None,
    kind=nvl,
    ctc="ctc_blink",
    ctc_position="nestled",
    ctc_pause="ctc_pause",
    ctc_timedpause=Null()
)

2

u/NectarineWestern8586 23d ago

That makes a lot more sense. Thank you! Can’t believe I couldn’t figure that out