Latest topics

» Ersatz-cockpit for the tanks/spg's
by lockie Today at 5:56 pm

» Updated units name
by dwain7 Yesterday at 6:30 pm

» Silencing Voice Sounds
by dwain7 Yesterday at 6:26 pm

» Video from SF
by KurtTank Wed Oct 17, 2018 9:03 pm

» The Big Chill
by lockie Sat Oct 13, 2018 4:44 pm

» can't find link to download sta 3.2
by frinik Sat Oct 13, 2018 3:02 am

» The magic voice of Ukraine - Kvitka Cisyk
by lockie Fri Oct 12, 2018 11:17 pm

» Terminated russian occupants in Ukraine
by lockie Thu Oct 11, 2018 7:31 pm

» STA(Steel Tank Add-on) 3.3 (Steel Fury)
by lockie Thu Oct 11, 2018 9:02 am

October 2018

MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
293031    

Calendar Calendar


    How to voice the phrases?

    Share
    avatar
    slavic99

    Posts : 9
    Join date : 2016-04-21

    How to voice the phrases?

    Post by slavic99 on Thu May 05, 2016 11:28 am

    Hello SF Community,

    i want to know how to put your own voice over or other sounds into the game?

    Could you help me, please?
    avatar
    lockie
    TSF Member
    TSF Member

    Posts : 3988
    Join date : 2014-07-24
    Age : 51
    Location : Ukraine, Kyiv

    Re: How to voice the phrases?

    Post by lockie on Fri May 06, 2016 9:15 am

    It's not easy, but possible.
    Let's take mission GMP1.x, T-38 tank-scout
    1. add the next entries to the file:
    data\k42\loc_rus\levels\LEVELS\SCRIPTS\cm_pack_mission10\T-38_general_scripts.engscr

    block triggers() {}
    01_chest2_kld, 0x2000f, sov_tnk_01:BA, 3.000;
    01_chest2_kld, 0x2000d, msg_chest2_kld, 0xffffffff, 8.000;
    01_chest2_kld, 0x2000b, wing2_kld, 0.000, 0;

    01_chest3_kld, 0x2000f, sov_tnk_01:CA, 3.000;
    01_chest3_kld, 0x2000d,  wing3_kld, 0xffffffff, 8.000;
    01_chest3_kld, 0x2000b, wing3_kld, 0.000, 0;

    where
    01_chest2_kld - trigger name

    0x2000f - trigger code (unit efficiency decreased)
    sov_tnk_01:BA - code wingman No2
    AA - user tank, first group
    BA - wingman No2, first group
    CA - wingman No3, first group

    3.000 - unit efficiency decreased 3x times

    0x2000d - trigger code (text message)
    msg_chest2_kld - message text
    0xffffffff - text color (always 0xffffffff)
    8.000 - time of the message displaying

    0x2000d - trigger code (music/speech)
    wing2_kld - name music/speech fragment in format ogg, 128kBit, mono
    0.000 - time of fade out (usually for music)
    0 - cycle (1/0)

    2. add the next entries to the file:
    data\k42\loc_rus\levels\LEVELS\SCRIPTS\cm_pack_mission10\T-38_general_loc_data.text

    block loc_rus() {}
    msg_chest2_kld() {= Radiomessage =\nThis is CHESTNUT TWO. I got hit! Bail out!\n;}//wingman2
    msg_chest3_kld() {= Radiomessage =\nThis is CHESTNUT THREE. My vehicle destroyed! Get outta here!\n;}//wingman3

    4. Save and play


    Last edited by lockie on Fri May 06, 2016 10:51 am; edited 2 times in total
    avatar
    slavic99

    Posts : 9
    Join date : 2016-04-21

    Re: How to voice the phrases?

    Post by slavic99 on Fri May 06, 2016 10:39 am

    All right, thank you, i´ll try it out

    Sponsored content

    Re: How to voice the phrases?

    Post by Sponsored content


      Current date/time is Fri Oct 19, 2018 7:14 pm