Subtitles are not showing

  • #1, by ke4Tuesday, 22. September 2015, 11:24 10 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

    Key Killer

    810 Posts


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

    Key Killer

    810 Posts

  • #3, by Simon_ASAFriday, 25. September 2015, 16:23 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.

    Great Poster

    321 Posts

  • #4, by Simon_ASAMonday, 07. March 2016, 17:59 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!

    Great Poster

    321 Posts

  • #5, by Simon_ASATuesday, 08. March 2016, 12:21 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.

    Great Poster

    321 Posts

  • #6, by ke4Thursday, 10. March 2016, 16:50 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.

    Key Killer

    810 Posts

  • #7, by ke4Sunday, 03. April 2016, 16:53 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.

    Key Killer

    810 Posts

  • #8, by afrlmeSunday, 03. April 2016, 18:35 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?

    Imperator

    7285 Posts

  • #9, by ke4Sunday, 03. April 2016, 18:41 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
    

    Key Killer

    810 Posts

  • #10, by afrlmeSunday, 03. April 2016, 21:04 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.

    Imperator

    7285 Posts

  • #11, by ke4Wednesday, 06. April 2016, 12:15 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.

    Key Killer

    810 Posts