Latest topics

» Kurt Knispel' mission (King Tiger), campaign Mein Panzerkampf
by frinik Today at 12:14 am

» SU-152 Gunsight
by lockie Yesterday at 10:20 am

» Romania Bucharest anti-govt protest august 2018
by geoweb35 Wed Aug 15, 2018 9:26 am

» Ersatz-cockpit for the tanks/spg's
by frinik Wed Aug 15, 2018 12:01 am

» Campaign "Steel Beast" (Pz.V "Panther") WIP
by lockie Tue Aug 14, 2018 6:25 pm

» Sasha Vertinsky
by lockie Mon Aug 13, 2018 12:19 am

» New & Updated Models(Нові Моделі)
by will73 Sun Aug 12, 2018 2:52 pm

» Woofie the Dog's Skin Shop
by woofiedog Wed Aug 08, 2018 1:29 pm

» Video from SF
by KurtTank Tue Aug 07, 2018 1:51 pm

August 2018

MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
2728293031  

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 : 3924
    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 Aug 17, 2018 2:10 am