Main Pic Edit


(SadGasm) #1

How can i change this picture and put the pics here ?

So it looks like this ? in whitch folder is it in (pak0.pk3 ) ?


(Miki) #2

I’d look in the pk3’s of those 2 clans in your etmain folder, see what they change ? :slight_smile:


(acQu) #3

could be ui/assets…


(acQu) #4

is in ui/assets most…


(acQu) #5

is in ui/assets most…


(Scennative) #6

Also the mainpic are lots of pirctures.

Look at ui/main.menu

menuDef {
    name        "main_opener"
    visible        0
    fullscreen    0
    rect        WINDOW_X WINDOW_Y WINDOW_WIDTH WINDOW_HEIGHT
    
    onOpen {
        open fadebox_black ;
        [B]open background_1 ;[/B]
        setmenuitemcolor fadebox_black fadebox backcolor 0 0 0 1 ;
        fadeoutmenu fadebox_black ;
        open main ;
        clearcvar ui_profile_create_error ;
        close main_opener    
    }
}

background_1 is the clouds, the tree…

look now at global.menu.

You found now these:

menuDef {
    [B]name        "background_1"[/B]
    fullScreen    0
    rect        0 0 640 480
    visible        0
                        
    itemDef {
        name        "colour"
        rect        0 0 640 480
        style        WINDOW_STYLE_FILLED
        backcolor    .70 .63 .49 1
        visible        1
        decoration
    }
    
    itemDef {
        name        "clouds"
        rect        0 0 640 480
        style        WINDOW_STYLE_SHADER
[B]        background    "ui/assets/et_clouds"[/B]
        visible        1
        decoration
    }
    
    itemDef {
        name        "image"
        rect        120 140 400 200
        style        WINDOW_STYLE_SHADER
[B]        background    "ui/assets/et_logo_huge_dark"[/B]
        visible        1
        decoration
    }
}

See you? Now is there

background “ui/assets/et_clouds”
and
background “ui/assets/et_logo_huge_dark”.

So, search now the Pictures “ui/assets/et_clouds” and “et_logo_huge_dark”.

You cant found andy Pictures of there…

They are Shaders, also you must search “ui/assets/et_clouds” and “et_logo_huge_dark” in the .Shader Files at the Script directory.

ui_assets.shader

// similar to console background shader
[B]ui/assets/et_clouds[/B]
{
    nopicmip
    {
        map textures/skies_sd/wurzburg_clouds.tga
        rgbGen identityLighting
        tcMod scale 0.65 0.75
        tcMod scroll 0.0025 -0.002
    }
    {
        map textures/skies_sd/wurzburg_clouds.tga
        blendFunc GL_DST_COLOR GL_ONE
        rgbGen identityLighting
        tcMod scale 1.35 0.96
        tcMod scroll 0.055 -0.04
    }
    {
        map textures/skies_sd/ydnar_lightning.tga
        blendFunc GL_SRC_ALPHA GL_ONE
        rgbGen wave triangle -8 9 0.63 0.137
        alphaGen wave noise -3 4 0 2.37
        tcMod scale 1.275 -1.2
        tcMod scroll 0.0025 -0.002
    }
    {
        map textures/skies_sd/ydnar_lightning.tga
        blendFunc GL_SRC_ALPHA GL_ONE
        rgbGen wave triangle -8 9 0.91 0.15
        alphaGen wave noise -3 4 0 2.57
        tcMod scale 1 0.85
        tcMod scroll 0.0025 0.002
    }
    {
        clampmap ui/assets/background_mask.tga
        blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
        rgbGen identity
        tcMod stretch sin 1.1 0.1 0 0.0125
    }
}

[B]ui/assets/et_logo_huge_dark[/B]
{
    nomipmaps
    nopicmip
    {
        clampmap ui/assets/et_logo_huge.tga
        blendfunc blend
        alphaGen const 0.25
    }
}

So now you can add, remove or change the Pictures in the Shader.

I hope, thats help you.

Sorry for my ****ing bad english…