<MAIN> myscript |0|1</MAIN>

<KIMG> logo1 | data/logo1.iff </KIMG>
<KIMG> logo2 | data/logo2.iff </KIMG>
<KIMG> logo3 | data/logo3.iff </KIMG>
<KIMG> logo4 | data/logo4.iff </KIMG>
<KIMG> logo5 | data/logo5.iff </KIMG>
<KIMG> scene21 | data/scene2-clouds.iff </KIMG>
<KIMG> scene22 | data/scene2-desert.iff </KIMG>
<KIMG> scene41 | data/scene4-eyes.iff </KIMG>
<KIMG> scene42 | data/scene4-molnia1.iff </KIMG>
<KIMG> scene43 | data/scene4-molnia2.iff </KIMG>
<KIMG> scene44 | data/scene4-face.iff </KIMG>
<KIMG> scene51f | data/s51_kaddafi_face.iff </KIMG>
<KIMG> scene51t | data/s51_kaddafi_text.iff </KIMG>
<KIMG> scene51d | data/s51_kaddafi_date.iff </KIMG>
<KIMG> scene52f | data/s52_sadam_face.iff </KIMG>
<KIMG> scene52t | data/s52_sadam_text.iff </KIMG>
<KIMG> scene52d | data/s52_sadam_date.iff </KIMG>
<KIMG> scene53f | data/s53_yasir_face.iff </KIMG>
<KIMG> scene53t | data/s53_yasir_text.iff </KIMG>
<KIMG> scene53d | data/s53_yasir_date.iff </KIMG>
<KIMG> scene6gr | data/s6_greets.iff </KIMG>
<KIMG> mozaika1 | data/mozaika1.iff </KIMG>
<KIMG> mozaika2 | data/mozaika2.iff </KIMG>
<KIMG> mozaika3 | data/mozaika3.iff </KIMG>
<KIMG> mozaika4 | data/mozaika4.iff </KIMG>
<KIMG> mozaika5 | data/mozaika5.iff </KIMG>
<KIMG> mozaika7 | data/mozaika7.iff </KIMG>



<KTEXT> tscroll | .   .    .   .   .   Hi All on DIHALT 2024 !      Greets 2   ADAMSOFT, ART-TOP, BFOX, CRAZY BENDER, DIKIY, DIVER, EA, FATALSNIPE, FYREX, GRONGY, KAKOS NONOS, KOTSOFT, KUVO, LASOFT, LILKA, LVD, MAYHEM, MIHHRU, MMA, MMCM, MOROZ1999, NEDOPC, NIHIRASH, NIOL, NODEUS, NQ, NYUK, OISEE, ORGANIZM, PROF4D, PULSAR, PORNO-UZI, Q-MASTER, SAND, SHERHAN, SHIRU, SQ, THERY, TMK, TREFI, ZS, ZZZ AND YOU !</KTEXT>
<KIMG> image | data/arab_font.iff </kimg> картинка для объявления палитры
<BMFONT> bmft  | data/arab_font.iff | 24 | 24 | 8 | abcdefghijklmnopqrstuvwxyz0123456789    !?'[],-. </bmfont>
<KIMG>   imfont| data/arab_font.iff </KIMG>


<KRECT>    rec_all   |0|0|1|1|
                    |0|0|1|1|  </KRECT>

<KRECT>    quad1   |0|0|1|1| rec_all
                    |0|0|1|1| rec_all </KRECT>

<KDBM> DBMmusic | data/arab.dbm  </KDBM>

<KCAM> cam_1 |0|0|0|0|0|0|1  </KCAM> camera (x,y,z,o1,o2,o3,FOV)





<KSCRIPT>
    <ID> myscript </ID>
	<PLAY> blankpart | 270 | 0 | 1 </PLAY> 270
	<PLAY> logo1 | 270 | 0 | 1 </PLAY> 270
	<PLAY> logo2 | 270 | 0 | 1 </PLAY> 270
	<PLAY> logo3 | 270 | 0 | 1 </PLAY> 270
	<PLAY> blankpart | 20 | 0 | 1 </PLAY>
	<PLAY> scene2 | 510 | 0 | 1 </PLAY> 510
	<PLAY> blankpart | 20 | 0 | 1 </PLAY>
	<PLAY> scene3 | 510 | 0 | 1 </PLAY> 510
	<PLAY> blankpart | 20 | 0 | 1 </PLAY>
	<PLAY> scene41 | 200 | 0 | 1 </PLAY>200
	<PLAY> scene42 | 10 | 0 | 1 </PLAY>
	<PLAY> scene43 | 10 | 0 | 1 </PLAY>
	<PLAY> scene41 | 200 | 0 | 1 </PLAY>200
	<PLAY> scene43 | 10 | 0 | 1 </PLAY>
	<PLAY> scene42 | 10 | 0 | 1 </PLAY>
	<PLAY> scene41 | 150 | 0 | 1 </PLAY>150
	<PLAY> scene42 | 10 | 0 | 1 </PLAY>
	<PLAY> scene43 | 10 | 0 | 1 </PLAY>
	<PLAY> scene41 | 100 | 0 | 1 </PLAY>100
	<PLAY> scene44 | 500 | 0 | 1 </PLAY>500
	<PLAY> blankpart | 20 | 0 | 1 </PLAY>
	<PLAY> scene51 | 200 | 0 | 1 </PLAY>
	<PLAY> blankpart | 20 | 0 | 1 </PLAY>
	<PLAY> scene52 | 600 | 0 | 1 </PLAY>
	<PLAY> blankpart | 20 | 0 | 1 </PLAY>
	<PLAY> scene53 | 200 | 0 | 1 </PLAY>
	<PLAY> blankpart | 20 | 0 | 1 </PLAY>
	<PLAY> scene54 | 600 | 0 | 1 </PLAY>
	<PLAY> blankpart | 20 | 0 | 1 </PLAY>
	<PLAY> scene55 | 200 | 0 | 1 </PLAY>
	<PLAY> blankpart | 20 | 0 | 1 </PLAY>
	<PLAY> scene56 | 600 | 0 | 1 </PLAY>
	<PLAY> blankpart | 20 | 0 | 1 </PLAY>
	<PLAY> scene6 | 3000 | 0 | 1 </PLAY>
	<PLAY> blankpart | 20 | 0 | 1 </PLAY>


</KSCRIPT>


<KPART>

    <Fx><Pa> PlayDBM</Pa>
        <Pa> DBMmusic   </Pa>
    </Fx>


    <ID> blankpart  </ID>
    <Fx><Pa> FillRc </Pa><Pa></Pa><Pa>cte| 0 </Pa></Fx>
</KPART>

----------------------------------------------------------------------------------------------------------------

<KPART>
<ID> logo1 </ID>

    <Fx>
        <Pa>setpalette</Pa>
        <Pa> logo1 </Pa>
    </Fx>


    <Fx>
        <Pa> SpritePlain </Pa>
        <Pa> </Pa>
        <Pa> logo1 </Pa>    
        <Pa> cte |0 </Pa> 
        <Pa> cte |0 </Pa> 
        <Pa> cte |1 </Pa> 
        <Pa> cte |0.5 </Pa> 
    </Fx>

</KPART>

----------------------------------------------------------------------------------------------------------------

<KPART>
<ID> logo2 </ID>

    <Fx>
        <Pa> SpritePlain </Pa>
        <Pa> </Pa>
        <Pa> logo2 </Pa>    
        <Pa> cte |0 </Pa> 
        <Pa> cte |0.5 </Pa> 
        <Pa> cte |1 </Pa> 
        <Pa> cte |1 </Pa> 
    </Fx>

</KPART>

----------------------------------------------------------------------------------------------------------------

<KPART>
<ID> logo3 </ID>

    <Fx>
        <Pa>setpalette</Pa>
        <Pa> logo3 </Pa>
    </Fx>

    <Fx>
        <Pa> SpritePlain </Pa>
        <Pa> </Pa>
        <Pa> logo3 </Pa>    
        <Pa> cte |0 </Pa> 
        <Pa> cte |0 </Pa> 
        <Pa> cte |1 </Pa> 
        <Pa> cte |1 </Pa> 
    </Fx>

</KPART>

----------------------------------------------------------------------------------------------------------------

<KPART>
<ID> scene2 </ID>

    <Fx>
        <Pa>setpalette</Pa>
        <Pa> scene22 </Pa>
    </Fx>

    <Fx>
        <Pa> SpritePlain </Pa>
        <Pa> </Pa>
        <Pa> scene22 </Pa>    
        <Pa> cte |0.0 </Pa> 
        <Pa> cte |0.0 </Pa> 
        <Pa> cte |0.999 </Pa> 
        <Pa> cte |0.999 </Pa> 
    </Fx>


   <Fx>
        <Pa>Sprite</Pa>
        <Pa></Pa>
        <Pa> scene21 </Pa>
        <Pa> sin | 0.0 | 0.03 | -1.0</pa>
        <Pa> cte | 0.0 </pa>
        <Pa> sin | 1.999 | 0.03 | -1.0</pa>
        <Pa> cte | 0.333 </pa>
    </Fx>





 <Fx><Pa>SetCamCoord</Pa><Pa>cam_1</Pa>
            <Pa> sin |-0.5 | 0.45 | 0.10 </Pa>    x
            <Pa> cos | 0.25 | 1.2 | 0.25 </Pa>    y
            <Pa> cte | 0 </Pa>                    z
            <Pa> 4cte |0|-0.05|0|1</Pa>
            </Fx>
   <Fx><Pa>Sprite</Pa><Pa></Pa><Pa> logo4 </Pa><Pa> 4cam| cam_1 |0.75|0.5|0|0|2 </Pa>
    </Fx>






</KPART>


----------------------------------------------------------------------------------------------------------------
<KPART>

    <ID> scene3 </ID>

    <Fx>
        <Pa> setpalette </Pa>
        <Pa> mozaika2 </Pa>
    </Fx>

   <Fx><Pa> setcamcoord  </Pa>
        <PA> cam_1 </Pa>
        <PA> 2cte|0|0</Pa>
        <PA> aff|0|4 </Pa>

        <PA> aff|0|0.001 </Pa>
        <PA> aff|0|0.003 </Pa>
        <PA> aff|0|0.002 </Pa>
        <PA> cte|0.3 </Pa>
    </Fx>

<Fx><Pa> Tunnel </Pa>
            <Pa>  </Pa>
            <Pa> mozaika2  </Pa>
            <Pa> cam_1</Pa>

            <Pa>CTE|2</Pa>
            <Pa>CTE|0.25</Pa>

            <Pa>CTE|0</Pa>
            <Pa>CTE|0</Pa>
            <Pa>CTE|0</Pa>
            </Fx>

    <Fx><Pa> Sprite </Pa>
        <Pa></Pa>
        <Pa> logo5 </Pa>
        <Pa> 4cte|0|0.07|1|0.925 </Pa>
    </Fx>


</KPART>

----------------------------------------------------------------------------------------------------------------

<KPART>
<ID> scene41 </ID>

    <Fx>
        <Pa>setpalette</Pa>
        <Pa> scene41 </Pa>
    </Fx>


    <Fx>
        <Pa> SpritePlain </Pa>
        <Pa> </Pa>
        <Pa> scene41 </Pa>    
        <Pa> cte |0 </Pa> 
        <Pa> cte |0 </Pa> 
        <Pa> cte |1 </Pa> 
        <Pa> cte |1 </Pa> 
    </Fx>

</KPART>

----------------------------------------------------------------------------------------------------------------

<KPART>
<ID> scene42 </ID>

    <Fx>
        <Pa> SpritePlain </Pa>
        <Pa> </Pa>
        <Pa> scene42 </Pa>    
        <Pa> cte |0 </Pa> 
        <Pa> cte |0 </Pa> 
        <Pa> cte |1 </Pa> 
        <Pa> cte |1 </Pa> 
    </Fx>

</KPART>

----------------------------------------------------------------------------------------------------------------

<KPART>
<ID> scene43 </ID>

    <Fx>
        <Pa> SpritePlain </Pa>
        <Pa> </Pa>
        <Pa> scene43 </Pa>    
        <Pa> cte |0 </Pa> 
        <Pa> cte |0 </Pa> 
        <Pa> cte |1 </Pa> 
        <Pa> cte |1 </Pa> 
    </Fx>

</KPART>

----------------------------------------------------------------------------------------------------------------

<KPART>
<ID> scene44 </ID>

    <Fx>
        <Pa> Twirl </Pa>
        <Pa></Pa>
        <Pa> mozaika1 </Pa>

        <Pa>SIN|0|1|0.25</Pa> ofsx
        <Pa>COS|0|1|0.25</Pa> ofsY

        <Pa>SIN|0|0.1|1</Pa> start angle
        <Pa>CTE|0</Pa>    amp. angle
        <Pa>CTE|0</Pa>    freq angle

        <Pa>CTE|0</Pa>         start dist.
        <Pa>SIN|0|0.6|0.5</Pa> amp.dist
        <Pa>COS|0|0.2|32</Pa> freq dist

        <Pa>CTE|0</Pa> mapping type
    </Fx>


    <Fx>
        <Pa> Sprite </Pa>
        <Pa> </Pa>
        <Pa> scene44 </Pa>    
        <Pa> cte |0 </Pa> 
        <Pa> cte |0 </Pa> 
        <Pa> cte |1 </Pa> 
        <Pa> cte |1 </Pa> 
    </Fx>

</KPART>

----------------------------------------------------------------------------------------------------------------

<KPART>

    <ID> scene51  </ID>

    <Fx>
        <Pa>setpalette</Pa>
        <Pa> scene51f </Pa>
    </Fx>


   <Fx><Pa> Warper </Pa>
            <Pa> </Pa>
            <Pa> mozaika3 </Pa>

            <Pa>CTE|0.1</Pa>        a zoomx rate
            <Pa>CTE|0.8</Pa>        a zoomy rate
            <Pa> aff |0|0.04 </Pa> texture offset x
            <Pa>COS|0|0.5|0.3</Pa> texture offset Y

            <Pa>CTE|1.2</Pa>        amplitude of deformation
            <Pa>CTE|0.5</Pa>        frequency of deformation
            <Pa>SIN|0|0.4|0</Pa>    X offset of the deformation
            <Pa>aff|0|0.00</Pa>    Y...

            <Pa>CTE|0</Pa> mapping type
    </Fx>

    <Fx>
        <Pa> Sprite </Pa>
        <Pa> </Pa>
        <Pa> scene51f </Pa>    
        <Pa> cte |0.01 </Pa> 
        <Pa> cte |0 </Pa> 
        <Pa> cte |0.51 </Pa> 
        <Pa> cte |1 </Pa> 
    </Fx>


    <Fx>
        <Pa> Sprite </Pa>
        <Pa> </Pa>
        <Pa> scene51d </Pa>    
        <Pa> cte |0.5 </Pa> 
        <Pa> cte |0.25 </Pa> 
        <Pa> cte |1 </Pa> 
        <Pa> cte |0.75 </Pa> 
    </Fx>


</KPART>

----------------------------------------------------------------------------------------------------------------

<KPART>

    <ID> scene52  </ID>

    <Fx>
        <Pa>setpalette</Pa>
        <Pa> scene51f </Pa>
    </Fx>


   <Fx><Pa> Warper </Pa>
            <Pa> </Pa>
            <Pa> mozaika3 </Pa>

            <Pa>CTE|0.1</Pa>        a zoomx rate
            <Pa>CTE|0.8</Pa>        a zoomy rate
            <Pa> aff |0|0.04 </Pa> texture offset x
            <Pa>COS|0|0.5|0.3</Pa> texture offset Y

            <Pa>CTE|1.2</Pa>        amplitude of deformation
            <Pa>CTE|0.5</Pa>        frequency of deformation
            <Pa>SIN|0|0.4|0</Pa>    X offset of the deformation
            <Pa>aff|0|0.00</Pa>    Y...

            <Pa>CTE|0</Pa> mapping type
    </Fx>

    <Fx>
        <Pa> Sprite </Pa>
        <Pa> </Pa>
        <Pa> scene51t </Pa>    
        <Pa> cte |0 </Pa> 
        <Pa> cte |0 </Pa> 
        <Pa> cte |1 </Pa> 
        <Pa> cte |1 </Pa> 
    </Fx>


</KPART>

----------------------------------------------------------------------------------------------------------------

<KPART>

    <ID> scene53  </ID>

    <Fx>
        <Pa>setpalette</Pa>
        <Pa> scene52f </Pa>
    </Fx>


    <Fx><Pa> SetCamCoord </Pa>
            <Pa> cam_1 </Pa>

            <Pa>sin|0|0.12|2</Pa>    x
            <Pa>sin|0|0.1|0.75</Pa>        y
            <Pa>sin|0|0.08|2</Pa>    z

            <Pa>sin|0|0.08|0.15</Pa>    o1
            <Pa>sin|0|0.05|0.1</Pa>    o2
            <Pa>sin|0|0.03|0.5</Pa>    o3

            <Pa>CTE|0.6</Pa>       fov
            </Fx>

    <Fx><Pa> Ground </Pa>
            <Pa> </Pa>          rectangle where to draw.
            <Pa> mozaika4 </Pa>      256x256 image to deform.
            <Pa> cam_1 </Pa>     camera

            <Pa>cte|1</Pa>          ceiling dist.
            <Pa>CTE|1</Pa>          floor dist

            <Pa>CTE|0</Pa>          ?
            <Pa>CTE|0</Pa>          ?
            <Pa>CTE|0</Pa>          mapping type: 0= normal
            </Fx>


    <Fx>
        <Pa> Sprite </Pa>
        <Pa> </Pa>
        <Pa> scene52f </Pa>    
        <Pa> cte |0.49 </Pa> 
        <Pa> cte |0 </Pa> 
        <Pa> cte |0.99 </Pa> 
        <Pa> cte |1 </Pa> 
    </Fx>


    <Fx>
        <Pa> Sprite </Pa>
        <Pa> </Pa>
        <Pa> scene52d </Pa>    
        <Pa> cte |0 </Pa> 
        <Pa> cte |0.25 </Pa> 
        <Pa> cte |0.5 </Pa> 
        <Pa> cte |0.75 </Pa> 
    </Fx>


</KPART>

----------------------------------------------------------------------------------------------------------------

<KPART>

    <ID> scene54  </ID>

    <Fx>
        <Pa>setpalette</Pa>
        <Pa> scene52f </Pa>
    </Fx>


    <Fx><Pa> SetCamCoord </Pa>
            <Pa> cam_1 </Pa>

            <Pa>sin|0|0.12|2</Pa>    x
            <Pa>sin|0|0.1|0.75</Pa>        y
            <Pa>sin|0|0.08|2</Pa>    z

            <Pa>sin|0|0.08|0.15</Pa>    o1
            <Pa>sin|0|0.05|0.1</Pa>    o2
            <Pa>sin|0|0.03|0.5</Pa>    o3

            <Pa>CTE|0.6</Pa>       fov
            </Fx>

    <Fx><Pa> Ground </Pa>
            <Pa> </Pa>          rectangle where to draw.
            <Pa> mozaika4 </Pa>      256x256 image to deform.
            <Pa> cam_1 </Pa>     camera

            <Pa>cte|1</Pa>          ceiling dist.
            <Pa>CTE|1</Pa>          floor dist

            <Pa>CTE|0</Pa>          ?
            <Pa>CTE|0</Pa>          ?
            <Pa>CTE|0</Pa>          mapping type: 0= normal
            </Fx>



    <Fx>
        <Pa> Sprite </Pa>
        <Pa> </Pa>
        <Pa> scene52t </Pa>    
        <Pa> cte |0.01 </Pa> 
        <Pa> cte |0.01 </Pa> 
        <Pa> cte |0.99 </Pa> 
        <Pa> cte |0.99 </Pa> 
    </Fx>


</KPART>

----------------------------------------------------------------------------------------------------------------


<KPART>

    <ID> scene55  </ID>

    <Fx>
        <Pa>setpalette</Pa>
        <Pa> scene53f </Pa>
    </Fx>


    <Fx>
        <Pa> Twirl </Pa>
        <Pa></Pa>
        <Pa> mozaika5 </Pa>

        <Pa>SIN|0|1|0.25</Pa> ofsx
        <Pa>COS|0|1|0.25</Pa> ofsY

        <Pa>SIN|0|0.1|1</Pa> start angle
        <Pa>CTE|0</Pa>    amp. angle
        <Pa>CTE|0</Pa>    freq angle

        <Pa>CTE|0</Pa>         start dist.
        <Pa>SIN|0|0.6|0.5</Pa> amp.dist
        <Pa>COS|0|0.2|32</Pa> freq dist

        <Pa>CTE|0</Pa> mapping type
    </Fx>


    <Fx>
        <Pa> Sprite </Pa>
        <Pa> </Pa>
        <Pa> scene53f </Pa>    
        <Pa> cte |0.01 </Pa> 
        <Pa> cte |0 </Pa> 
        <Pa> cte |0.51 </Pa> 
        <Pa> cte |1 </Pa> 
    </Fx>


    <Fx>
        <Pa> Sprite </Pa>
        <Pa> </Pa>
        <Pa> scene53d </Pa>    
        <Pa> cte |0.5 </Pa> 
        <Pa> cte |0.25 </Pa> 
        <Pa> cte |1 </Pa> 
        <Pa> cte |0.75 </Pa> 
    </Fx>


</KPART>

----------------------------------------------------------------------------------------------------------------

<KPART>

    <ID> scene56  </ID>

    <Fx>
        <Pa>setpalette</Pa>
        <Pa> scene53f </Pa>
    </Fx>


    <Fx>
        <Pa> Twirl </Pa>
        <Pa></Pa>
        <Pa> mozaika5 </Pa>

        <Pa>SIN|0|1|0.25</Pa> ofsx
        <Pa>COS|0|1|0.25</Pa> ofsY

        <Pa>SIN|0|0.1|1</Pa> start angle
        <Pa>CTE|0</Pa>    amp. angle
        <Pa>CTE|0</Pa>    freq angle

        <Pa>CTE|0</Pa>         start dist.
        <Pa>SIN|0|0.6|0.5</Pa> amp.dist
        <Pa>COS|0|0.2|32</Pa> freq dist

        <Pa>CTE|0</Pa> mapping type
    </Fx>


    <Fx>
        <Pa> Sprite </Pa>
        <Pa> </Pa>
        <Pa> scene53t </Pa>    
        <Pa> cte |0 </Pa> 
        <Pa> cte |0 </Pa> 
        <Pa> cte |1 </Pa> 
        <Pa> cte |1 </Pa> 
    </Fx>


</KPART>

----------------------------------------------------------------------------------------------------------------





<KPART>

    <ID> scene6  </ID>

    <Fx>
        <Pa>setpalette</Pa>
        <Pa> scene6gr </Pa>
    </Fx>


   <Fx><Pa> setcamcoord  </Pa>
        <PA> cam_1 </Pa>
        <PA> 2cte|0|0</Pa>
        <PA> aff|0|4 </Pa>

        <PA> aff|0|0.001 </Pa>
        <PA> aff|0|0.003 </Pa>
        <PA> aff|0|0.002 </Pa>
        <PA> cte|0.3 </Pa>
    </Fx>

<Fx><Pa> Tunnel </Pa>
            <Pa>  </Pa>
            <Pa> mozaika7  </Pa>
            <Pa> cam_1</Pa>

            <Pa>CTE|2</Pa>
            <Pa>CTE|0.25</Pa>

            <Pa>CTE|0</Pa>
            <Pa>CTE|0</Pa>
            <Pa>CTE|0</Pa>
            </Fx>



    <Fx>
        <Pa> Sprite </Pa>
        <Pa> </Pa>
        <Pa> scene6gr </Pa>    
        <Pa> cte |0.18 </Pa> 
        <Pa> cte |0.11 </Pa> 
        <Pa> cte |0.805 </Pa> 
        <Pa> cte |0.61 </Pa> 
    </Fx>


	<Fx>
        <Pa> DisplayText </Pa> скрол синусный
        <Pa></Pa>               
        <Pa> bmft </Pa>        
        <Pa> tscroll </Pa>     

        <Pa> cte | 1000 </Pa> 
        <Pa> cte | 1000 </Pa> 
        <Pa> cte | 0 </Pa> 

        <Pa> aff |1    |-0.01</Pa>          
        <Pa> sin |0.7 |1.6|0.1 </Pa>
        <Pa> aff |1.0625 |-0.01 </Pa>
        <Pa> sin |0.8|1.6|0.1 </Pa>
	</Fx>




</KPART>

