Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/09/11 in all areas

  1. TheSilencerPL

    Main Menu

    Here is the snippet from the wm_quickmessageAlt.menu - the original one: itemDef { \ name "window" \ rect 0 19 204 136 \ origin ORIGIN_QUICKMESSAGE \ style WINDOW_STYLE_FILLED \ backcolor 0 0 0 .75 \ border WINDOW_BORDER_FULL \ bordercolor .5 .5 .5 .5 \ visible 1 \ decoration \ } \ \ itemDef { \ name "windowtitle" \ rect $evalfloat((0)+2) $evalfloat((19)+2) $evalfloat((204)-4) 12 \ origin ORIGIN_QUICKMESSAGE \ text "MESSAGE" \ textfont UI_FONT_ARIBLK_16 \ textscale .19 \ textalignx 3 \ textaligny 10 \ style WINDOW_STYLE_FILLED \ backcolor .16 .2 .17 .8 \ forecolor .6 .6 .6 1 \ visible 1 \ decoration \ } #define QM_MENU_END } #define QM_MENU_ITEM( WINDOWTEXT, ACTION, KEY, POS ) \ itemDef { \ name "menuitem"##WINDOWTEXT \ rect 6 $evalfloat( 35 + ( 12 * POS )) 128 10 \ origin ORIGIN_QUICKMESSAGE \ type ITEM_TYPE_TEXT \ text WINDOWTEXT \ textfont UI_FONT_COURBD_21 \ textstyle ITEM_TEXTSTYLE_SHADOWED \ textscale .2 \ textaligny 8 \ forecolor .6 .6 .6 1 \ visible 1 \ decoration \ } \ execKey KEY { ACTION } In this item the style has been changed: itemDef { \ name "window" \ rect 0 19 204 136 \ origin ORIGIN_QUICKMESSAGE \ style WINDOW_STYLE_FILLED \ backcolor 0 0 0 .75 \ border WINDOW_BORDER_FULL \ bordercolor .5 .5 .5 .5 \ visible 1 \ decoration \ } to: style SUBWINDOW_STYLE_SIL_TITLE_BLACK itemDef named "windowtitle" has been removed completely. Also Y coordinate in all rectangles has been changed like this: From: rect 6 $evalfloat( 35 + ( 12 * POS )) 128 10 To: rect 6 $evalfloat( 40 + ( 12 * POS )) 128 10
    1 point
×
×
  • Create New...