Welcome, Guest Friday 25th April 2014, 03:36:56
   Home   Help Search Login Register  

OFPEC Forum

Author Topic: How to add proper subtitles?  (Read 199 times)
0 Members and 1 Guest are viewing this topic.
ahmed117
*
Offline Offline


The 3d!t0R -=I.S.I=-


« 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)
Logged

The 3d!t0R            -=O.F.P.E.C=-                                                         -=I.S.I=-
Aldo15
OFP-addict
Missions Depot Staff
*****
Offline Offline



WWW
« 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:
[] exec "subtitles.sqs"

Now in the script, you must add the following command or code.

Code:
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 » Logged

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
ahmed117
*
Offline Offline


The 3d!t0R -=I.S.I=-


« Reply #2 on: 17 Dec 2011, 19:31:44 »

Yeah it has surely helped me, thanks Aldo15... Clapping 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 » Logged

The 3d!t0R            -=O.F.P.E.C=-                                                         -=I.S.I=-
savedbygrace
Intel Depot
Administrator
*****
Offline Offline


Be swift to hear...slow to speak...slow to wrath.


« Reply #3 on: 18 Dec 2011, 03:17:08 »

Check this tutorial out. Step 5 covers your question in detail.
Logged
Pages: [1]   Go Up
  Send this topicPrint  
 
Jump to: