Call of Duty 5: Adding Voiceovers: Difference between revisions

From COD Modding & Mapping Wiki
Jump to navigation Jump to search
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 9: Line 9:
The very first thing we need to do, is to make sure that you have a mp_yourmapsname.csc in raw/clientscripts/mp, if you do not have one then you need to create one, once you have created one copy and paste these lines into it, you may need to change the team nationalities as well.  
The very first thing we need to do, is to make sure that you have a mp_yourmapsname.csc in raw/clientscripts/mp, if you do not have one then you need to create one, once you have created one copy and paste these lines into it, you may need to change the team nationalities as well.  


<pre>
<syntaxhighlight>
#include clientscripts\mp\_utility;
#include clientscripts\mp\_utility;


Line 36: Line 36:


}
}
</pre>
</syntaxhighlight>


== zone file ==
== zone file ==


The next thing to check is you have these lines in your zone file, without these lines, especially the top one! Your sounds will not work.  
The next thing to check is you have these lines in your zone file, without these lines, especially the top one! Your sounds will not work.  
<pre>
<syntaxhighlight>
rawfile,clientscripts/mp/mp_yourmapsname.csc
rawfile,clientscripts/mp/mp_yourmapsname.csc


Line 49: Line 49:
sound,multiplayer,mp_yourmapsname,all_mp
sound,multiplayer,mp_yourmapsname,all_mp
sound,mp_yourmapsname,mp_yourmapsname,all_mp
sound,mp_yourmapsname,mp_yourmapsname,all_mp
</pre>
</syntaxhighlight>


== Adding the voiceovers ==
== Adding the voiceovers ==
Line 55: Line 55:
The first thing to do is open up your multiplayer.csv file in notepad, or wichever text editor you prefer, you will find this file in...
The first thing to do is open up your multiplayer.csv file in notepad, or wichever text editor you prefer, you will find this file in...


<pre>
<syntaxhighlight>
raw/soundalias
raw/soundalias
</pre>
</syntaxhighlight>


So for US/JAP scroll down till you find  
So for US/JAP scroll down till you find  
<pre>
<syntaxhighlight>
# Voiceover
# Voiceover
# US Announcer USED
# US Announcer USED
</pre>
</syntaxhighlight>
The next line down has a list of map names and the first one is mp_airfield, and thats the one  
The next line down has a list of map names and the first one is mp_airfield, and thats the one  
we want to change. it looks like this...
we want to change. it looks like this...
<pre>
<syntaxhighlight>
US_1mc_freeforall,1,voiceovers\mp\us\US_1mc_freeforall_00.wav,,0.9,0.9,,,360,600,,,,,,voice,2d,streamed,,,,mp_airfield  mp_beachhead mp_castle mp_courtyard mp_hangar mp_kneedeep mp_makin mp_shrine,,,,,,,,,,,0,,1,,,,,,,,,,,,
US_1mc_freeforall,1,voiceovers\mp\us\US_1mc_freeforall_00.wav,,0.9,0.9,,,360,600,,,,,,voice,2d,streamed,,,,mp_airfield  mp_beachhead mp_castle mp_courtyard mp_hangar mp_kneedeep mp_makin mp_shrine,,,,,,,,,,,0,,1,,,,,,,,,,,,
</pre>
</syntaxhighlight>
If you move the slider along a bit you will see mp_airfield is the first one, but we need it to look like this.
If you move the slider along a bit you will see mp_airfield is the first one, but we need it to look like this.
<pre>
<syntaxhighlight>
US_1mc_freeforall,1,voiceovers\mp\us\US_1mc_freeforall_00.wav,,0.9,0.9,,,360,600,,,,,,voice,2d,streamed,,,,mp_yourmapsname  mp_beachhead mp_castle mp_courtyard mp_hangar mp_kneedeep mp_makin mp_shrine,,,,,,,,,,,0,,1,,,,,,,,,,,,
US_1mc_freeforall,1,voiceovers\mp\us\US_1mc_freeforall_00.wav,,0.9,0.9,,,360,600,,,,,,voice,2d,streamed,,,,mp_yourmapsname  mp_beachhead mp_castle mp_courtyard mp_hangar mp_kneedeep mp_makin mp_shrine,,,,,,,,,,,0,,1,,,,,,,,,,,,
</pre>
</syntaxhighlight>
AND! Every other line that has mp_airfield in it, so now go to menu at the top and select edit/replace.
AND! Every other line that has mp_airfield in it, so now go to menu at the top and select edit/replace.
<pre>
<pre>
Line 83: Line 83:


Now scroll down till you find...  
Now scroll down till you find...  
<pre>
<syntaxhighlight>
#RU Announcer USED
#RU Announcer USED
</pre>
</syntaxhighlight>
Repeat the above steps with mp_asylum.
Repeat the above steps with mp_asylum.


Line 92: Line 92:
Thats it! You now have voiceovers in your map.
Thats it! You now have voiceovers in your map.


arachnofang
 
[[User:Arachnofang|arachnofang]] 00:06, 5 July 2010 (UTC)
 
[[Category:Call of Duty 5]]
[[Category:Audio]]
[[Category:Sounds]]
[[Category:Advanced Editing]]

Latest revision as of 17:37, 7 February 2012

Adding voiceovers to your map

Adding voiceovers to your map is probably the easiest sounds to add as there is very little involved in the way of editing.

Make sure you replace any reference to mp_yourmapsname with the name of your map, also! When editing files always make sure you make backup copies first.

csc file

The very first thing we need to do, is to make sure that you have a mp_yourmapsname.csc in raw/clientscripts/mp, if you do not have one then you need to create one, once you have created one copy and paste these lines into it, you may need to change the team nationalities as well.

#include clientscripts\mp\_utility;

main()
{

	// If the team nationalites change in this level's gsc file,
	// you must update the team nationality here!
	level.allies_team = "marines";
	level.axis_team   = "german";

	// _load!
	clientscripts\mp\_load::main();

        // clientscripts\mp\mp_yourmapsname_fx::main();

	thread clientscripts\mp\_fx::fx_init(0);
	thread clientscripts\mp\_audio::audio_init(0);

	// thread clientscripts\mp\mp_yourmapsname_amb::main();

	// This needs to be called after all systems have been registered.
	thread waitforclient(0);

	println("*** Client : mp_yourmapsname running...");

}

zone file

The next thing to check is you have these lines in your zone file, without these lines, especially the top one! Your sounds will not work.

rawfile,clientscripts/mp/mp_yourmapsname.csc

sound,common,mp_yourmapsname,all_mp
sound,generic,mp_yourmapsname,all_mp
sound,voiceovers,mp_yourmapsname,all_mp
sound,multiplayer,mp_yourmapsname,all_mp
sound,mp_yourmapsname,mp_yourmapsname,all_mp

Adding the voiceovers

The first thing to do is open up your multiplayer.csv file in notepad, or wichever text editor you prefer, you will find this file in...

raw/soundalias

So for US/JAP scroll down till you find

# Voiceover
# US Announcer USED

The next line down has a list of map names and the first one is mp_airfield, and thats the one we want to change. it looks like this...

US_1mc_freeforall,1,voiceovers\mp\us\US_1mc_freeforall_00.wav,,0.9,0.9,,,360,600,,,,,,voice,2d,streamed,,,,mp_airfield  mp_beachhead mp_castle mp_courtyard mp_hangar mp_kneedeep mp_makin mp_shrine,,,,,,,,,,,0,,1,,,,,,,,,,,,

If you move the slider along a bit you will see mp_airfield is the first one, but we need it to look like this.

US_1mc_freeforall,1,voiceovers\mp\us\US_1mc_freeforall_00.wav,,0.9,0.9,,,360,600,,,,,,voice,2d,streamed,,,,mp_yourmapsname  mp_beachhead mp_castle mp_courtyard mp_hangar mp_kneedeep mp_makin mp_shrine,,,,,,,,,,,0,,1,,,,,,,,,,,,

AND! Every other line that has mp_airfield in it, so now go to menu at the top and select edit/replace.

First box = mp_airfield
second box = mp_yourmapsname

Select "replace all"

Thats the first half done.

Now scroll down till you find...

#RU Announcer USED

Repeat the above steps with mp_asylum.

now save and copy it to raw/soundaliases replacing the old one with your new one.

Thats it! You now have voiceovers in your map.


arachnofang 00:06, 5 July 2010 (UTC)