Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Subtitles are not showing

  • #1, by ke4 11 years ago Zitieren
    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
  • #2, by ke4 11 years ago Zitieren
    Has anyone any experiences with this?
  • #3, by Simon_ASA 11 years ago Zitieren
    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.
  • #4, by Simon_ASA 10 years ago Zitieren
    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!
  • #5, by Simon_ASA 10 years ago Zitieren
    Ok, I have the answer, big thanks to SimonS!

    The correct syntax is:

    game:setValue(VGameVideoSubtitleLanguage, "eng")
    


    Now the subtitles should show.
  • #6, by ke4 10 years ago Zitieren
    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.
  • #7, by ke4 10 years ago Zitieren
    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.
  • #8, by afrlme 10 years ago Zitieren
    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?
  • #9, by ke4 10 years ago Zitieren
    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
    
  • #10, by afrlme 10 years ago Zitieren
    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.
  • #11, by ke4 10 years ago Zitieren
    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.