Jump to content
R3vo

RELEASE: Simple Conversation Script (APEX Edition)

Recommended Posts

On 10/28/2022 at 9:45 AM, Bezzen said:

Thanks, but it was just the .sqf file. Need the HTML for the tool 🙂

 oh well then i cant help you.. 🙂

Share this post


Link to post
Share on other sites
On 10/28/2022 at 9:45 AM, Bezzen said:

Thanks, but it was just the .sqf file. Need the HTML for the tool 🙂

Have you tried to download the tool from the link on GitHub??

//PLay3r

Share this post


Link to post
Share on other sites
On 12/5/2022 at 2:28 AM, interectic said:

How would you add actual voices to this?

 

Even 1 year later, i think it's a really good question, so this is the way I add voice with this script :

 

1.  Create your voice file -> .ogg (I use Audacity to create them with the good format)

This part is the harder, you can rec your voice but it's not easy, i prefer use generated voice by AI, but hard to find a good one 😄

 

2. Insert your voice file in your mission

 

Create class in description.ext

 

Spoiler

class CfgSounds
{
        sounds[] = {"intro1"}; // use array to set multiples sound using the name you use for your sound {"intro1","intro2","intro3"...}
       

class intro1
        {
                name = "intro1";
                sound[] = {"sound\intro1.ogg", db+55, 1.0}; //where to find the file, his volume and his speech
                titles[] = {};
        };

 

3. Create a specific script to your mission : intro1.sqf

 

Spoiler

playSound ["intro1", true];


line1 = [name player, "your text"];
line2 = [name player, "your text"];
[[line1,line2],"DIRECT",0.06,false] execVM "fn_simpleConv.sqf";


sleep 10; //using this sleep to run until playsound has finish

 

4. Compil your script in the init.sqf

Spoiler

intro1 = compile (preprocessFileLineNumbers "Sound\intro1.sqf");

 

5. Use a trigger to call your script

Spoiler

Condition : what you want

On act : call{ execVm "Sound\intro1.sqf";}

On desact :

 

This method seem fine on SP and MP, and I use it a few time. Keep in mind that your voice file need to be similar with the duration of the Fn-SimpleConv script, so you will need a few test before having a good one 🙂  

  • Like 2

Share this post


Link to post
Share on other sites

Hey R3vo!

I wanted to ask if it is fine to use your Simple Conversation Script and perhaps even edit it for our custom uses.
It would be used in the upcoming Hunter-One scenario and later in the work in progress SoA scenario with of course credits given on the steam workshop page and very likely on the end of the mission.
 

- 29

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

×