OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Colonel_Klink on 10 Sep 2002, 13:58:05
-
In the config.cpp for Resistance, and for OFP there is a class called cfgVoice.
In the config.cpp there is a section for each vehicle type called namesound. For example if namesound="tank"; is used with an armored vehicle when the enemy sees that vehicle they will say (example) "Target tank"
Now the question is: has anybody experimented with this to get custom sounds such as (example) namesound= radar; where the new sound would be a voice saying "radar"?
Ofp becomes a bit weird when you build an addon such as a radar and the leader says "Two, get in tank"
-
Have you tired putting the path to your sound in the namesound bit?
eg namesound = "\yourpboname\yoursound.wav";
or something like that...
Was just a thought, havent tested it myself.
SelectThis
-
I remember my men shouting: "12 o clock enemy Charly"
I think it was Ebud who did this (not sure if it was the same
technique).
Maybe it was different, because "charly" was already in the game before.
~S~ CD
-
Hmm I'll try that tonight SelectThis. I shall report back on due course.
Thanks
-
All I did was, in the "namesound", rather than use "soldier", "officer" etc, I just used the phonetic alphabet "charlie".
-
My solution for it is to set either the namesound to "" (which means there is nothing heard) or to use the thing that comes nearest.
I don't think putting a actual namesound file in the pbo will work since the standard bis ones are available in versions for multiple different voices. And even if it works it will sound weird if the voice changes the moment the new object is mentioned.
Browse voice.pbo to see what is already there and comes closest to what u need.
-
KKB
Yeah changing voice would be a problem.. I think changing namesound to target would probably work except it would come out as "gunner target target" it would sound weird but at least the radar wouldn't be called tank.
-
Col. Klink: Why don't you use 'House' or 'Building'?
-
Col. Klink: Why don't you use 'House' or 'Building'?
True, very true. That was just an example. But what do I call a Hawk Missile launcher?