ItsMods

Full Version: changing in - game chat location
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
what are the config names for that? anyone know?
self setclientdvar( "cg_hudChatPosition", "5 200");
self setclientdvar( "cg_chatHeight", "4");
self setclientdvar( "cg_chatTime", "12000");

found these, is there one for the input chat, like when you push t or y to talk..


found it to


self setclientdvar( "cg_hudSayPosition" "5 230");


just need to change kill feed if possible, lmk.
Is that possible?
ya it is thru menu files, i done it already..

Code:
    // game messages
    menuDef
    {
        name            "spec_gamemessages"
        rect            6 0 10 10 HORIZONTAL_ALIGN_USER_LEFT VERTICAL_ALIGN_USER_BOTTOM
        fullScreen        0
        visible            1
        visibilityBits    bits( !BIT_IN_KILLCAM BIT_SPECTATING_CLIENT )
        
        itemDef
        {
            rect                0 0 0 0
            exp                    rect Y( 0 - (ONLINEGAME * ONLINEGAME_OFFSET) );
            type                ITEM_TYPE_GAME_MESSAGE_WINDOW
            gamemsgwindowindex    0
            gamemsgwindowmode    MODE_BOTTOMUP_ALIGN_BOTTOM
            textfont            UI_FONT_DEFAULT
            textstyle            ITEM_TEXTSTYLE_SHADOWED
            textalign            ITEM_ALIGN_LEFT
            textscale            TEXTSIZE_SMALL
            visible                1
            visibilityBits        bits( !BIT_UI_ACTIVE BIT_HUD_OBITUARIES )
        }
    }


i guess its the same in the HUD menu file too (this is spec menu file)
I'll look around, been messing in the menu files a lot recently. Do you happen to know where you can change the position of the SD bomb (when you pick it up), by default its bottom right corner. Thanks.
HUD_BOMB.MENU - you can change the location there im pretty sure, or remove it.


Code:
        itemDef
        {
            style            WINDOW_STYLE_SHADER
            rect            149 -53 48 48 HORIZONTAL_ALIGN_USER_LEFT VERTICAL_ALIGN_USER_BOTTOM
            origin            5 6
            background        "hud_suitcase_bomb"
            visible            1
            forecolor        1 1 1 0.25
            decoration
        }


Try playing with that section...
That one is for the bomb under the timer when the bomb is planted, I've looked everywhere for the other, I found code for the briefcase in the sd.gsc file but I think that is only for multibomb, hmm, I'll keep poking around, I would also like to move the flag in the same location when picked up but I can't seem to find that either.
might be hard coded, did u check hud.menu ?