Adding subtitles in SP Map -1 reply

  • 1
  • 2

Please wait...

Guest

I didn't make it!

0 XP

 
#1 10 years ago

Has anyone come across a decent tutorial on how to add subtitles to a single player map for either JO or JA?

Really struggling to find info (yes i know a lot of sites have dissapeared these days) on something that seems so simple and that many other peeps have managed.

Any help would be brilliant.

Cheers

Aaz




Sato

I just changed my sig 0.0

50 XP

17th December 2008

0 Uploads

389 Posts

0 Threads

#2 10 years ago

you edit the strings... But idk a tut for it




Pande

Sexeh like teh gizmo

50 XP

9th April 2008

0 Uploads

610 Posts

0 Threads

#3 10 years ago
jk3editor

Retard Hungarian Modder

50 XP

21st August 2008

0 Uploads

1,520 Posts

0 Threads

#4 10 years ago

[COLOR=Navy]Do you think the subtitles, when the NPCs speaking? You can do it with ICARUS script. Here is an example: You make a voice, named 'npcsay.mp3'. Then you must make it in a script:

Spoiler: Show
task ( "say" ) { sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/chars/yournpc/npcsay.mp3" ); print ( "Hi, I'm a noname NPC." ); } do ( "say" ); [/COLOR][COLOR=Navy]

[/COLOR] [COLOR=Navy] And that is in the print, that must be in the strings/english/mapname.str (certainly you should make an own), and write it in it: [/COLOR][COLOR=Navy]

Spoiler: Show
[/COLOR] [COLOR=Navy] REFERENCE NPCSAY NOTES "Here are the notes." LANG_ENGLISH "Hi, I'm a noname NPC." [/COLOR][COLOR=Navy]

[/COLOR] [COLOR=Navy] I'm not sure, the pros do the same too, but I've figured out this technique :) GoodLuck!:D[/COLOR]




xode

The Internet ends at GF

50 XP

16th August 2008

0 Uploads

136 Posts

0 Threads

#5 10 years ago

And remember that the length of the .mp3 is parallel to the time the subtitle is displayed on screen. If you want subtitles but no sound, you will need an actual file that has 3 or 4 seconds of silence rather than just referring to a fake .mp3. If you refer to a fake .mp3, its length is zero so the subtitle is displayed for a fraction of a second.




lassev

Degenerate scripter

50 XP

21st June 2004

0 Uploads

847 Posts

0 Threads

#6 10 years ago

The print command in jk3editor's example script is not needed for subtitles, though.




jk3editor

Retard Hungarian Modder

50 XP

21st August 2008

0 Uploads

1,520 Posts

0 Threads

#7 10 years ago

[COLOR="Navy"]Oh, really?:D Then sry, I just5 saw it in a base script. Then what does it do?[/COLOR]




Guest

I didn't make it!

0 XP

 
#8 10 years ago

Can't you just change the .str files with notepad?;)

And the text with ICARUS scripts, i thought that was text placed in the middle of the screen, licked 'Locked!' If you want to open a door, or "You need a security key"...




jk3editor

Retard Hungarian Modder

50 XP

21st August 2008

0 Uploads

1,520 Posts

0 Threads

#9 10 years ago

[COLOR=Navy]1) You can open with notepad, but never change it's extension! I'm sure JA searches the str extension. 2) Yeah, that can be. (then it's the same than the SET_CENTERTEXT?:eek:). And then why did the JA mappers put these there?:eek:[/COLOR]




lassev

Degenerate scripter

50 XP

21st June 2004

0 Uploads

847 Posts

0 Threads

#10 10 years ago

I speculate Raven had them there for two reasons: To remember when reading the script which line is which and to see something during the development of the game when they didn't yet have the voice acting lines. I further speculate the command actually worked like that in the beginning and to save some work they changed the game code to make the print command to require the exclamation mark at the beginning of the message. That way they rendered the commands in the scripts nonfunctional very easily for the finished game. And just to be sure they also disabled all text printing during cinematics but the automatic subtitles.




  • 1
  • 2