A legfrissebb verzió: 3.0.8 (Verzió info) |
\"\"/ | aao.hu | Freeze Fix | PB frissítés | SG.HU AA3 SteamGroup | AA3 Hungary SteamGroup





A 3.0.7-el nem tűntek el az eddig gyűjtött pontok, csak a trainingeket kell újra végigcsinálni!
  • Dexa
    #16834
    Ármi 2.0.0.0.0.0.1
    :DDD


    // program name: ofp2 engine
    // release date: 20xx
    // megjegyzes: meg nincsen egészen kész, de azt mar tudja amit az elso
    engine, es a gamer sracok
    // majd ugy is írnak hozza addonokat meg szigeteket meg másik
    playermodelleket stb...
    // készült by Marék Srapnel (két aranyfácán és 21 kiskonyak mellett)


    func foprogram
    processzor.eroforras_lefoglal=100% // biztos úgyis kell majd mert a lama
    user mindig kisebb gépet vesz mint ami kéne
    initilaize random_generate_desktop_crash
    3Dengine()
    AI()
    player_controls()
    netcode()
    end func foprogram

    goto foprogram()


    // **************************************
    // * 3D engine *
    // **************************************
    func 3Dengine
    // detecting processor
    if processzor_frekvencia < 4000 MHz then goto exit

    // detecting 3Dgraphics card
    if 3Dgraphics_card=true
    {
    if videocard texture memory < 256 then print "3D card memory to small,
    plese menny a bótba és vegyél nagyobb kártyát"
    elseif videocard texture memory > 256 and videocard texture memory > 512
    then graph_setup=low
    elseif videocard texture memory > 512 and videocard texture memory > 1024
    then graph_setup=normal
    }
    elseif 3Dgraphics_card=false
    {
    windoz_hatter_villogtat
    vinyo_tekerget
    kekhalal
    print "Cannot initialize 3d device, please contact for program
    distributor!!!"
    }
    system_RAM_lefoglalva=1024 MB
    pagefile_RAM_lefoglalva=2048 MB

    print "Counting..."
    load_DVD_disk(1)_to_all_textures
    load_DVD_disk(2)_to_all_islands
    load_DVD_disk(3)_to_all_3d_models // humán és nem humán karakterek
    csehszolvák népitáncosokról mósün kepcsörölve

    create 3D_polygon_scene
    {
    for n=0 to 3000000000
    create polygons
    küld_video_card=1000L
    if video_card.nembirja_az_iramot=true then szaggatás.enabled=true
    print "please wait, loading menu..."
    next n
    }
    if garaph_setup=low then
    {
    tárgy_kirajzol=128 // (darab)
    köd_kezdodik=50m
    // várható fps=50
    }

    if garaph_setup=normal then
    {
    tárgy_kirajzol=256 // (darab)
    köd_kezdodik=100m
    // várható fps=25
    }
    initialize 3D EAX sound
    if soundcard=SBLive then loading.recsegés_sound_bank
    end func 3Dengine



    // **************************************
    // * AI *
    // **************************************
    func AI
    // valtozatos onalloan viselkedo AI
    if katona.lat_ellent=true then katona.AI=ralo_arra_akit_lat
    if katona.lat_ellent=true then
    katona.AI=lemészároltatja_magat_azzal_akit_lat

    // valtozatosan onallo AI mozgas
    if katona.mondjak_szallj_be_jarmube1=true then
    katona.AI=megkeruli_fel_varost
    if katona.mondjak_szallj_be_jarmube2=true then
    katona.AI=megkeruli_fel_erdot
    if katona.mondjak_szallj_be_jarmube3=true then
    katona.AI=megkeruli_fel_sivatagot
    if civil.mondjak_ulj_le=true then civil.AI=nemletezo_fegyver_vallratesz

    // valtozatosan közlekeny AI
    if katona.tarsa_meghal=true then
    {
    for n=0 to vegtelen
    katona.AI.speak="Oh no 2 is down..."
    or
    katona.AI.speak="Oh no 3 is down..."
    or
    katona.AI.speak="Oh no 4 is down..."
    or
    katona.AI.speak="Oh no 5 is down..."
    or
    katona.AI.speak="Oh no 6 is down..."
    or
    katona.AI.speak="Oh no 7 is down..."
    or
    katona.AI.speak="Oh no 8 is down..."
    or
    katona.AI.speak="Oh no 9 is down..."
    or
    katona.AI.speak="Oh no 10 is down..."
    or
    katona.AI.speak="Oh no 11 is down..."
    or
    katona.AI.speak="Oh no 12 is down..."
    next n
    }
    end func AI



    // **************************************
    // * player controls *
    // **************************************
    func player_controls
    if player.binocularba_sasol=true then player.mozgas=false

    if player.utkozik_kivolrol_haznak=true then player.pozicio=haz.belseje
    if player.utkozik_belulrol_haznak=true then player.pozicio=haz.kulseje

    if player.bemegy_haz_ajtajan=true then player.pozicio=haz.kulseje
    if player.kimegy_haz_ajtajan=true then player.pozicio=haz.belseje

    if player.utkozik_jarmunek=true then player.elüt_jarmü=true
    if player.kiszall_jarmubol_haz_kozeleben=true then
    player.pozicio=haz_teteje
    end func player_controls



    // **************************************
    // * netcode *
    // **************************************
    func netcode
    if server.protocol=directplay then deleting partition
    if client.player.shooting=true then
    {
    server.gondolkodik=true
    create.lag=true
    if lag.end=true then szamol.shooting=true

    if client.player.target.shooting=true then
    {
    client.player.killed=true
    wait 10 sec
    clent.player.target.killed=true
    }
    print "player killed by player target"
    print "player target killed by player"
    print "Petiqe frinendly fire all squad, the Petiqe banned to 2 hétre:))"
    }

    if client.player.jarmuvet_vezet=true then
    client.tobbiek.szöcskeuzemmod=true
    if client.player.modem=true then client.player.lag.enabled=true
    end func netcode