Latest topics

» New & Updated Models(Нові Моделі)
by will73 Today at 7:06 am

» Місії на заказ/Mission request
by johnf Yesterday at 7:07 am

» We all at sometime or another...
by lockie Mon Jun 19, 2017 9:09 pm

» Ukraine fights against enemy.
by lockie Sun Jun 18, 2017 10:45 am

» Tank Pz.Kpfw.I ausf.A
by Kibihiyo Sun Jun 18, 2017 7:44 am

» Game Missions Pack #01 (GMP 1.4)
by alexander9822 Wed Jun 14, 2017 10:23 pm

» STA 3.1 Bugs and crashed. HELP
by alexander9822 Wed Jun 14, 2017 4:34 pm

» STA3.1 testing
by dwain7 Wed Jun 14, 2017 1:53 am

» Campaign "The Nazi power" (Pz.VI "Tiger")
by lockie Sat Jun 10, 2017 5:51 pm

June 2017

MonTueWedThuFriSatSun
   1234
567891011
12131415161718
19202122232425
2627282930  

Calendar Calendar


    Sounds config in SF

    Share
    avatar
    lockie
    TSF Member
    TSF Member

    Posts : 3512
    Join date : 2014-07-24
    Age : 50
    Location : Ukraine, Kyiv

    Sounds config in SF

    Post by lockie on Sun Nov 30, 2014 2:14 pm

    Thanks to will73 I've found a very interesting file:
    Steel Fury - Kharkov 1942\root\programs\k42game.program
    It has the next entries.
    FLAGS
    //DSBCAPS_LOCHARDWARE 0x004
    //DSBCAPS_LOCSOFTWARE 0x008
    //DSBCAPS_CTRL3D 0x010
    //DSBCAPS_STATIC 0x002
    //DSBCAPS_CTRLPAN 0x040
    //DSBCAPS_CTRLFREQUENCY 0x020
    //DSBCAPS_CTRLVOLUME 0x080
    //name, flags, algorithm, channels, frequency, bits, distance min, distance max, volume,
    //volume control, 3D mode, autoload, min. number of sounds, max. number of sounds, weight group
    default2d, 0x80, 0, 2,   0, 0,     0.0,   0.0,   0.6, _sfx, 0, true, 1, 1, 0.0;
    default3d, 0xb0, 1, 2,   0, 0,    10.0,  500.0,   0.8, _sfx, 0, true, 1, 0, 0.2;
    inner3d, 0x90, 2, 2,   0, 0,     5.0,   25.0,   0.8, _sfx, 0, true, 1, 1, 0.1;
    inner2d, 0x80, 0, 2,   0, 0,     0.0,   0.0,    0.8, _sfx, 0, true, 1, 1, 0.0;
    shot3d, 0x90, 1, 2,   0, 0,   50.0, 3000.0,   1.0, _sfx, 0, true, 2, 0, 0.4;
    scream3d, 0x90, 1, 2,   0, 0,    20.0,  150.0,   0.8,_speech,0, true, 1, 0, 0.2;
    expl3d, 0x90, 1, 2,   0, 0,   50.0, 3000.0,   1.0, _sfx, 0, true, 2, 0, 0.4;

    crew3d, 0x90, 2, 2,   0, 0,    5.0,     25.0,   0.8, _speech,0, true, 1, 0, 0.3;

    map2d, 0x80, 0, 2,   0, 0,    0.0,   0.0,   0.5, _sfx, 0, true, 1, 1, 0.0;
    menu2d, 0x80, 0, 2,   0, 0,    0.0,   0.0,   0.5, _sfx, 0, true, 1, 1, 0.0;
    sfx2d, 0x80, 0, 2,   0, 0,    0.0,   0.0,   0.5, _sfx, 0, true, 1, 1, 0.0;
    colsounds, 0x90, 1, 2,   0, 0,   10.0,   100.0,   0.7, _sfx, 0, true, 1, 0, 0.3;
    ambient, 0x80, 0, 2,   0, 0,    0.0,   0.0,   0.7, _sfx, 0, true, 2, 2, 0.0;
    console, 0x80, 0, 2,   0, 0,    0.0,   0.0,   0.8, _speech,0, true, 2, 2, 0.0;
    airplane, 0xb0, 1, 2,   0, 0,   500.0, 3000.0,  1.0,_sfx, 0, true, 3, 0, 0.2;
    engine, 0xb0, 1, 2,   0, 0,   70.0,  500.0,   0.75,_sfx, 0, true, 2, 0, 0.2;

    Suppose, if change the values wich are responsible for the infantry speech(scream3d)or hit sounds(colsounds), then user won't hear them at defined distance.

      Current date/time is Thu Jun 22, 2017 1:04 pm