OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: The-Architect on 28 Sep 2003, 09:05:41

Title: Gastovski's voice
Post by: The-Architect on 28 Sep 2003, 09:05:41
Hello, this has probably been covered but i can't find it.
How do i get gastovki's voice for my unit?
Here is my description.exe

class CfgIdentities
{
   class you1
   {
      name = "you1";
      face = "Face24";
      glasses="None";
      speaker = "Adam";
      pitch = 1.10;
   };
   
};





class CfgSounds
{
sounds[] = { locate };
class locate
{
name = "bobsound1";
sound[] = {"locate.ogg", db+80, 1.0};
titles[] =
{
0, $STRM_locate
};
};

you1 is the name of my unit in the name field.

as always  ??? ??? ??? ???
Title: Re:Gastovski's voice
Post by: rhysduk on 03 Oct 2003, 00:04:03
First of all - your description file should .ext and not .exe - Dont know if you noticed that  - thought i should point it out anyhows...

Right so u want Gastovski's voice in your mission ? Unless you know what the file name is that contains the voice u may/might have to dePBO the PBO Files in your Operation Flashpoint directory....

Do you understand.. if u do not have a dePBO tool head to the Editors Depot here :-

http://www.ofpec.com/editors/index.php
Title: Re:Gastovski's voice
Post by: The-Architect on 03 Oct 2003, 09:52:40
I de-pbo'd the campaign and found the bit with gastovski's voice but there were other voices as well. I am having trouble with the start and finish. how it links to the next bit in my description .ext
ie, from cfgsounds to cfg identities etc.
Title: Re:Gastovski's voice
Post by: KyleSarnik on 03 Oct 2003, 22:25:59
Architect, the "name" part for CfgIdentities is for the characters accual name, for example: "David Armstrong". It will be the name that apears in radio messages and in the gear and group sections of the breifing notepad. The "class" part is just like any other classname, ex: "DaveA".

So in his init:
this setidentity "DaveA"

Just thought I would point that out.  ;)
Title: Re:Gastovski's voice
Post by: The-Architect on 05 Oct 2003, 21:43:17
Cheers guys that's fixed it. ;D