Forum rules - please read before posting.

NPC Subtitle Text Not Showing

edited August 2024 in Technical Q&A

Hi there,
I am having a particular unexpected issue with NPCs:

  1. "NPC A" in the "Scene A" walks and talks and the subtitles are visible tied to the placement child.
  2. "NPC A" in "Scene B" walks and talks but the subtitles ain't visible anymore. (but the npc runs the talk animation correctly)
  3. If i swap "NPC A" with another which is working in another scene "NPC B" also his subtitles ain't visible anymore.
  4. if I swap "NPC A" with the Player the subtitles are showing off correctly.

I am not sure the issue is the NPC because in different scenes works well and using a different one is manifesting the same issue.

At the same time the scene seems fine because if I swap the npc with the main player subtitles are visible.

Additional info:
Menu Manager Setting for Subtitles is:
Source: AC
Position: Above Speaking Character
Always fit within screen (checked)
Size: Automatic

NPCs setting:
Dialogue setting
Speech menu placement child: assigned

Console is error free without any warning regarding npcs or subtitles

Thanks in advance
Cheers
Flavio

Comments

  • *** Update on the subject

    I have been running several tests and I figured out that this could depend on the NavCam Switch triggered before the speech.

    The flow of the scene is the following:

    Intro > NPC speech is visible > click on Hotspot that triggers a Camera Switch between 2 new NavCams > NPC talks again but the new speech now is not visible.

    Is there anything that I am missing in the flow that causes this?

    Best,
    Flavio

  • *** Update

    I just found out that: the NPC's speech is visible only near the Player.

    (And that's why after the NavCam switch the NPC's speech wasn't visible anymore, because the camera was moving away from the Player).

    I'm still not sure if I am doing something in the wrong way or missing something important. However I hope this thread can be helpful also to others.

    Best,
    Flavio

  • Is the Subtitles menu's display set to be limited by proximity to the Player?

    Otherwise, what are your AC/Unity versions, and do subtitles show if you set its Position to Manual, so that its always positioned in e.g. the centre of the screen?

  • edited August 2024

    First of all, thanks for coming back with these questions and suggestions.

    If Position is set: Manual and position in the center of the screen - and the player is far away from the NPC - the subtitles are not appearing.

    I have checked through the Menu Manager the subtitles properties but there is no "proximity to the player" option. Not that I can find.

    Menu Name: Subtitles
    Source: AC
    Start game locked off (unchecked)
    Ignore input? (unchecked)
    Appeart type: When Speech Plays
    For speakers of type: All
    For speech of type: All
    Duplicate for each line? (unchecked)
    Ignore 'Subtitles' option? (unchecked)
    Also show when paused? (unchecked)
    Clickable in cutscenes?_ (unchecked)_
    Position: Above Speaking Char. x:50 - Y:50
    Always fit within screen? Checked
    Size: Auto
    Resize every frame? (unchecked)
    Element spacing: 0%
    Element Orientation: Horizontal
    Transition type: None

    Unity version 2022.3.32f1
    AC version 1.81.4

    (I am trying not to update those 2 to avoid that things could break in the middle of the project)

    Best,
    Flavio

  • Check Duplicate for each line? - does a field labelled Max distance from speaker then appear beneath?

  • Positive!!!

    I checked Duplicate for each line? and Limit by speaker proximty appeared - set on No Limit now the NPC speech works also far from the player.

    _Thank you!!! _

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.