October 2017

MonTueWedThuFriSatSun
      1
2345678
9101112131415
16171819202122
23242526272829
3031     

Calendar Calendar


    Sounds config in SF

    Share
    avatar
    lockie
    TSF Member
    TSF Member

    Posts : 3679
    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 Wed Oct 18, 2017 10:11 am