Subtitles are not showing

  • #1, z ke4Tuesday, 22. September 2015, 11:24 hodinky 9 years ago
    Hi,

    i'm using mkv file video with subtitles plus this comands.
    game:setValue(VGameVideoSubtitleLanguage, eng)
    game:setValue(VGameVideoSubtitleFont, getObject("Fonts[myfont]"))
    


    The subtitles are in ISO as eng but they are not still showing, is it some bug or i am doing something wrong? Thanks

    Zabiják klíčů

    810 Posts


  • #2, z ke4Friday, 25. September 2015, 11:35 hodinky 9 years ago
    Has anyone any experiences with this?

    Zabiják klíčů

    810 Posts

  • #3, z Simon_ASAFriday, 25. September 2015, 16:23 hodinky 9 years ago
    I have never been able to use the subtitles in VS with my videos (but I have not tried that much). I hope someone can help you. I think there were other threads about it.

    Čestný člen

    321 Posts

  • #4, z Simon_ASAMonday, 07. March 2016, 17:59 hodinky 9 years ago
    Hi Ke4, did you have any success at all with the video subtitles? Whatever I try, they never show up roll

    To begin with, where did you find the scripts from your first post above?

    Thanks!

    Čestný člen

    321 Posts

  • #5, z Simon_ASATuesday, 08. March 2016, 12:21 hodinky 9 years ago
    Ok, I have the answer, big thanks to SimonS!

    The correct syntax is:

    game:setValue(VGameVideoSubtitleLanguage, "eng")
    


    Now the subtitles should show.

    Čestný člen

    321 Posts

  • #6, z ke4Thursday, 10. March 2016, 16:50 hodinky 9 years ago
    Hi Simon, no i've been trying to get it work about a year, can't believe the solution is so simple.

    Thanks! That actually changes a lot for me now.

    Zabiják klíčů

    810 Posts

  • #7, z ke4Sunday, 03. April 2016, 16:53 hodinky 9 years ago
    Hi Simon, have you tried to set a font for the subtitles?
    With
    VGameVideoSubtitleFont
    


    I checked the syntax to avoid the same problem, but still nothing.
    It selected one of my fonts, but i don't know why it selected the one it selected.

    Zabiják klíčů

    810 Posts

  • #8, z afrlmeSunday, 03. April 2016, 18:35 hodinky 9 years ago
    I think it should be something along the lines of...
    game.VideoSubtitleFont = Fonts["name"]
    

    No idea if it's correct as I've never used it before. Do you know if the subtitle has to be image format, ttf format or either?

    Imperátor

    7285 Posts

  • #9, z ke4Sunday, 03. April 2016, 18:41 hodinky 9 years ago
    I've tried this and few more ways to write the syntax, but nothing.
    It uses my ttf font which i use for my character ( it shows in the video even if i change it for the character, so i don't understand why it uses this one )

    game.VideoSubtitleFont = Fonts["name"]
    game.GameVideoSubtitleFont = Fonts["name"]
    game.GameVideoSubtitleFont = game.GameFontLinks.name
    

    Zabiják klíčů

    810 Posts

  • #10, z afrlmeSunday, 03. April 2016, 21:04 hodinky 9 years ago
    I've no idea - video, image & audio related stuff is all down to David. I believe SimonS sorted out the font stuff, but David is the one that sorts out all the media related stuff.

    Imperátor

    7285 Posts

  • #11, z ke4Wednesday, 06. April 2016, 12:15 hodinky 9 years ago
    If anyone would have the same problem, in my case it is using the font with ID 0 even if i change it. So i changed the ID 0 font into the video subtitles font and for character i used different font.

    Zabiják klíčů

    810 Posts