Latest topics

» STA(Steel Tank Add-on) 3.2 (Steel Fury)
by lockie Yesterday at 1:42 pm

» The Sun Comes Up, the Sun Goes Down
by woofiedog Thu Nov 16, 2017 9:17 pm

» Variants of the "Sherman"
by mechanic Thu Nov 16, 2017 12:19 pm

» The Soviet Story
by Tanker Wed Nov 15, 2017 3:15 pm

» Легкий танк Т-50/Light tank T-50
by will73 Tue Nov 14, 2017 6:19 pm

» Campaign: Otto Carius (WIP)
by lockie Tue Nov 14, 2017 11:57 am

» Lieutenant Z. Kolobanova "To Stand to the Death!" Battle of Voiskovitsy
by frinik Tue Nov 14, 2017 1:08 am

» Ukraine fights against enemy.
by lockie Mon Nov 13, 2017 2:17 pm

» Video from SF
by geoweb35 Mon Nov 13, 2017 1:00 pm

November 2017

MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
27282930   

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 : 3720
    Join date : 2014-07-24
    Age : 50
    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 Sat Nov 18, 2017 9:40 am