Advertisement

Author Topic: How to add proper subtitles?  (Read 213 times)

0 Members and 1 Guest are viewing this topic.

Offline ahmed117

  • Members
  • *
  • The 3d!t0R -=I.S.I=-
How to add proper subtitles?
« on: 17 Dec 2011, 16:55:50 »
Hiya guys,
             I was wondering when I was making a face to face communication of two characters in a mission, that what is the most proper way to add subtitles in the cut scene or simple communication,Except the effect column of triggers or waypoints, the problem is that I am using a script.sqs file for the communication, so is there any code to write in the script for subtitles?

Regards:
Ahmed Azher (A.rogers)
The 3d!t0R            -=O.F.P.E.C=-                                                         -=I.S.I=-

Offline Aldo15

  • OFP-addict
  • Former Staff
  • ****
    • My OFP missions
Re: How to add proper subtitles?
« Reply #1 on: 17 Dec 2011, 18:08:48 »
The code is "titletext" for example:

We say the script has as name "subtitles", so  let's exec it. In soldier's init or some trigger, put this code

Code: [Select]
[] exec "subtitles.sqs"
Now in the script, you must add the following command or code.

Code: [Select]
titletext ["Text number one." , "plain down"]
;Add delay, If you want.
~2
;If you want, add another text
titletext ["Text number two" , "plain down"]


I hope it helps

« Last Edit: 17 Dec 2011, 18:16:33 by Aldo15 »
My OFP stuff
FMF Project by Aldo15. Coming soon.
If in the high school or university, Teachers add a new subject about how to make scripts, missions, for ofp. I'd be number one of my classroom

Offline ahmed117

  • Members
  • *
  • The 3d!t0R -=I.S.I=-
Re: How to add proper subtitles?
« Reply #2 on: 17 Dec 2011, 19:31:44 »
Yeah it has surely helped me, thanks Aldo15... :clap: The reason I was put these subtitles is that I have created my communication in game in Urdu language (National Language of Pakistan). while speaking of a character, I wanted subtitles translated in English, Now my problem is solved, thankXxX dude.
« Last Edit: 17 Dec 2011, 19:35:37 by ahmed117 »
The 3d!t0R            -=O.F.P.E.C=-                                                         -=I.S.I=-

Offline savedbygrace

  • Mission Depot
  • Administrator
  • *****
  • Be swift to hear...slow to speak...slow to wrath.
Re: How to add proper subtitles?
« Reply #3 on: 18 Dec 2011, 03:17:08 »
Check this tutorial out. Step 5 covers your question in detail.