Subtitles appear for only a fraction of a second -1 reply

Please wait...

xode

The Internet ends at GF

50 XP

16th August 2008

0 Uploads

136 Posts

0 Threads

#1 9 years ago

I've been scouring the forums on help on how to make subtitles work. It's *almost* a success, I've made a .bat file, I've made a string file, etc. But when I go in-game, the subtitles only appear for a fraction of a second then disappear. Then it waits the time I specified in the script until it flashes the new subtitle. I've constructed it in Behaved thusly: affect{cin_talker} sound{chan_voice_global, chars/ord/ord11.mp3} wait{300} affect{cin_talker} sound{chan_voice_global, etc etc} Any ideas?




UU_BobaFett

JKG Lead coder

50 XP

18th July 2006

0 Uploads

202 Posts

0 Threads

#2 9 years ago

Not 100% sure here, but the wait 300, suggest a wait of 300 milliseconds (so 0.3 seconds). Maybe that's the cause of your problem?




xode

The Internet ends at GF

50 XP

16th August 2008

0 Uploads

136 Posts

0 Threads

#3 9 years ago

Sorry that was supposed to be 3000




xode

The Internet ends at GF

50 XP

16th August 2008

0 Uploads

136 Posts

0 Threads

#4 9 years ago

By that I mean, I was supposed to write 3000, in BehavEd it is actually 3000, so that's not the problem




lassev

Degenerate scripter

50 XP

21st June 2004

0 Uploads

847 Posts

0 Threads

#5 9 years ago

Maybe there's something wrong with those sounds of yours. Do they play correctly? When the subtitles flash on the screen for that fraction of a second, do they look proper?




xode

The Internet ends at GF

50 XP

16th August 2008

0 Uploads

136 Posts

0 Threads

#6 9 years ago

Yes, the subtitles look proper, and I have haven't actually got any sounds since I haven't gone so far as to get voice actors and I don't have a microphone, but I still make a reference to ord/ord11.mp3 to get the subs to show. Is that the problem?




N-7

... and a nice big Cip-Quad

50 XP

21st September 2007

0 Uploads

579 Posts

0 Threads

#7 9 years ago

What's the actual length of the track you've used (how many seconds of silence)? I think the subtitle is shown just as long as the track takes to be played.




lassev

Degenerate scripter

50 XP

21st June 2004

0 Uploads

847 Posts

0 Threads

#8 9 years ago

Right... You know, the time the subtitle is shown on screen is directly proportional to the length of the sound file. If the sound file has zero length... Well, you can do the math yourself.

If you use mock sounds and still want to see the subtitles, at least have the mp3s have a length of silence.




xode

The Internet ends at GF

50 XP

16th August 2008

0 Uploads

136 Posts

0 Threads

#9 9 years ago

lassev;4935363Right... You know, the time the subtitle is shown on screen is directly proportional to the length of the sound file. If the sound file has zero length... Well, you can do the math yourself.

If you use mock sounds and still want to see the subtitles, at least have the mp3s have a length of silence.

I thought that might be the problem. Also, is there any specific type of .wav file, such as Mono 16000 (however the thing goes)




lassev

Degenerate scripter

50 XP

21st June 2004

0 Uploads

847 Posts

0 Threads

#10 9 years ago

Use 44.1kHz mono mp3 for voice files.