Jump to content
Sign in to follow this  
Captain Kickass

How do you?

Recommended Posts

#1:How do you make a soldier wait a certain time before moving onto the next waypoint?

#2:How do you get subtitles to appear at the bottom of the screen as if to say someone is speaking?

#3:How do you get the radio messages off the original campaign onto your mission?

#4:How do you get a camera to swich to another after a selected period of time?

#5:How do you get a helicopter to keep its engine running but stay on the ground to let people get in?

(Edited by Captain Kickass at 12:04 am on Jan. 4, 2002)

Share this post


Link to post
Share on other sites

#4: with this "~"

Example:

_cam camsettarget soldier 1

_cam camsetrelpos [10,10,10]

~3

_cam camsettarget soldier 2

_cam camsetrelpos [10,10,10]

_cam camcommit 0

now it will wait for 3 sec before going to another scene.

Share this post


Link to post
Share on other sites

#1 is the easy one. The Waypoint dialogue box has a timeout section. Just enter the delay time.

Share this post


Link to post
Share on other sites

#3

Get Depbo program, and depbo the C:\Program Files\Codemasters\OperationFlashpoint\Campaigns\1985.pbo file.

This will extract all the campaign missions, but the mission.sqm file will be encrypted, however the ogg files can be used.

Select the sound files you want to use in your mission, this file will help in finding out what messages you want.

Extract the ogg files into a folder called sound within your user/mission/yourmissionname folder. In the yourmissionname folder make a file called descrition.ext, and type this:

********Description.ext*******

class CfgRadio

{

sounds[] = {radio1, radio2};

class radio1

{

name = "radio1";

sound[] = {"radio1.ogg", db-40, 1.0};

title = $STRM_radio1;

};

class radio2

{

name = "radio2";

sound[] = {"radio2.ogg", db-40, 1.0};

title = $STRM_radio2;

};

};

*********************

Make another file with notepad in the same place called stringtable.csv, type this

******stringtable.csv********

LANGUAGE,English,Comment,

STRM_radio1, "THIS IS EAGLE-EYE FOUR. WE'VE GOT UNKNOWN AERIAL CONTACTS INBOUND FOR THE SOUTHERN SECTOR. FROM THEIR SPEED THEY LOOK LIKE CHOPPERS.", HQ

STRM_radio2, "Blah Blah Blah", man2

****************************

Now all you need to do is use the correct commands to use them in the mission

unitname SideRadio "radio1"

unitname SideRadio "radio2"

If you need more advice on adding radio sounds, check this tutorial out

(Edited by Intruder at 1:07 pm on Jan. 4, 2002)

Share this post


Link to post
Share on other sites

#2 and #4

This involves a camer script. To make one, open up notepad, and rename it to something like cam1.sqs. Type the following into it: (ignore stars)

*****************

_cam = "camera" camcreate [0,0,0]

_cam cameraeffect ["Internal", "front"]

_cam camsettarget man_1

_cam camsetrelpos [-1,3,2]

_cam camcommit 0

TitleText ["But I want you to check in with Delta base first","PLAIN DOWN"]

_cam camsetrelpos [-1,3,2]

_cam camcommit 6

@camcommitted _cam

~0

_cam = "camera" camcreate [0,0,0]

_cam cameraeffect ["Internal", "front"]

_cam camsettarget man_2

_cam camsetrelpos [-1,3,2]

_cam camcommit 0

TitleText ["Yes Sir","PLAIN DOWN"]

_cam camsetrelpos [3,3,2]

_cam camcommit 4

@camcommitted _cam

~0

; end cutscene

_cam cameraeffect ["terminate", "back"]

camdestroy _cam

; exit the script

exit

****END****

The first part makes a camera and targets man_1,

camcommit gives a duration in seconds,

and titletext places subtitles on the screen during the camera scene.

Then the camera switches to man_2 etc...

To call up the camera script at the start of a mission, simply type:

[] exec "cam1.sqs"

in the init field of a unit or and activation field (to activate it later). You can change the relative co-ordinates of the camera by changing the [x,y,z] values.

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">Quote: from Intruder on 2:06 pm on Jan. 4, 2002

#3

Get Depbo program, and depbo the C:\Program Files\Codemasters\OperationFlashpoint\Campaigns\1985.pbo file.

This will extract all the campaign missions, but the mission.sqm file will be encrypted, however the ogg files can be used.

Select the sound files you want to use in your mission, this file will help in finding out what messages you want.

Extract the ogg files into a folder called sound within your user/mission/yourmissionname folder. In the yourmissionname folder make a file called descrition.ext, and type this:

********Description.ext*******

class CfgRadio

{

sounds[] = {radio1, radio2};

class radio1

{

name = "radio1";

sound[] = {"radio1.ogg", db-40, 1.0};

title = $STRM_radio1;

};

class radio2

{

name = "radio2";

sound[] = {"radio2.ogg", db-40, 1.0};

title = $STRM_radio2;

};

};

*********************

Make another file with notepad in the same place called stringtable.csv, type this

******stringtable.csv********

LANGUAGE,English,Comment,

STRM_radio1, "THIS IS EAGLE-EYE FOUR. WE'VE GOT UNKNOWN AERIAL CONTACTS INBOUND FOR THE SOUTHERN SECTOR. FROM THEIR SPEED THEY LOOK LIKE CHOPPERS.", HQ

STRM_radio2, "Blah Blah Blah", man2

****************************

Now all you need to do is use the correct commands to use them in the mission

unitname SideRadio "radio1"

unitname SideRadio "radio2"

If you need more advice on adding radio sounds, check this tutorial out

(Edited by Intruder at 1:07 pm on Jan. 4, 2002)

<span id='postcolor'>

Where are the Ogg files located?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×