Author Topic: Server Information Box  (Read 842 times)

Offline utdfederation

  • Rank: Private
  • *
  • Posts: 74
Server Information Box
« on: July 14, 2010, 12:34:10 pm »
Although the Extreme crew have placed a server information box within their mod i decided to have a play and try to make the text a bit more interesting.
what i mean by this:
you have 2 boxes on top of each other...the top box you can have your clantags and clan name within.
the bottom box you could have: we are currently recruiting and the the clan website address.

anyways take a look at it and if you like it you can by all means use the code below.

ok first thing to do is goto this file: ff/ui_mp/scriptmenus/team_marinesopfor.menu

open this file up and scroll down to line: 72

add this code below:
Code: [Select]
///////////////////////////////
itemDef
{ //Background
style WINDOW_STYLE_FILLED
rect -13 40 252 57
origin 20 0
backcolor 0 0 0 .5
visible 1
decoration
}
itemDef
{ //Back Box
style WINDOW_STYLE_FILLED
rect -11 42 248 53
origin 20 0
backcolor .1 .1 .1 .1
visible 1
decoration
}
itemDef
{ //White Border
style WINDOW_STYLE_SHADER
rect -13 40 250 55
origin 20 0
background "white"
forecolor .5 .5 .5 0.20
border 1
bordersize 1
bordercolor 0.5 0.5 0.5 0.7
visible 1
decoration
}
itemDef
{ //Text1 Shader
type ITEM_TYPE_TEXT
rect 80 65 0 0
origin 21 1
text "^0Welcome to"
textfont UI_FONT_NORMAL
textscale TEXTSIZE_SMALL
visible 1
decoration

}
itemDef
{ //Text1
type ITEM_TYPE_TEXT
rect 80 65 0 0
origin 20 0
text "^2Welcome to"
textfont UI_FONT_NORMAL
textscale TEXTSIZE_SMALL
visible 1
decoration

}
itemDef
{ //Text2 Shader
type ITEM_TYPE_TEXT
visible 1
rect 75.5 87 0 0
origin 21 1
text "^0your clantags or clan name"
textfont UI_FONT_DEFAULT
textscale TEXTSIZE_SMALL
decoration
}
itemDef
{ //Text2
type ITEM_TYPE_TEXT
visible 1
rect 75.5 87 0 0
origin 20 0
text "^1your clantags or clan name"
textfont UI_FONT_DEFAULT
textscale TEXTSIZE_SMALL
decoration
}
///////////////////////////////
itemDef
{ //Background
style WINDOW_STYLE_FILLED
rect -13 105 252 72
origin 20 0
backcolor 0 0 0 .5
visible 1
decoration
}
itemDef
{ //Backbox
style WINDOW_STYLE_FILLED
rect -13 105 248 72
origin 20 0
backcolor .1 .1 .1 .1
visible 1
decoration
}
itemDef
{ //White Border
style WINDOW_STYLE_SHADER
rect -13 105 250 70
origin 20 0
background "white"
forecolor .5 .5 .5 0.20
border 1
bordersize 1
bordercolor 0.5 0.5 0.5 0.7
visible 1
decoration
}
itemDef
{ //Shader
type ITEM_TYPE_TEXT
visible 1
rect 37 130 0 0
origin 21 1
text "^0We are currently recruiting"
textfont UI_FONT_DEFAULT
textscale TEXTSIZE_SMALL
decoration
}
itemDef
{ //Text1
type ITEM_TYPE_TEXT
visible 1
rect 37 130 0 0
origin 20 0
text "^3We are currently recruiting"
textfont UI_FONT_DEFAULT
textscale TEXTSIZE_SMALL
decoration
}
itemDef
{ //Shader
type ITEM_TYPE_TEXT
visible 1
rect 64 150 0 0
origin 21 1
text "^0Please visit us at"
textfont UI_FONT_DEFAULT
textscale TEXTSIZE_SMALL
decoration
}
itemDef
{ //Text2
type ITEM_TYPE_TEXT
visible 1
rect 64 150 0 0
origin 20 0
text "^3Please visit us at"
textfont UI_FONT_DEFAULT
textscale TEXTSIZE_SMALL
decoration
}
itemDef
{ //Shader
type ITEM_TYPE_TEXT
visible 1
rect 12 169.5 0 0
origin 21 1
text "^0your clans website or forum"
textfont UI_FONT_DEFAULT
textscale TEXTSIZE_SMALL
decoration
}
itemDef
{ //Text3
type ITEM_TYPE_TEXT
visible 1
rect 12 169.5 0 0
origin 20 0
text "^5your clans website or forum"
textfont UI_FONT_DEFAULT
textscale TEXTSIZE_SMALL
decoration
}
///////////////////////////////

once you are done file/save and hit makemod.cmd place it on your server and anyone who joins your server will be greeted with a welcome to sign

or simply download the file:

hope you like.