Counter Strike: Source and the motd.txt |
Author: |
Message: |
Reaper
Veteran Member
Posts: 1393 Reputation: 23
36 / /
Joined: Jun 2004
|
O.P. Counter Strike: Source and the motd.txt
Im editing the motd.txt file so i can have some fancy stuff to show people when the join the server. but im having a few problems. the file is all done in html and im not an rxpert on it. i only managed to change a few things.
1) The one thing i want to change is the alignment of the text. at the moment is on the left, i want it in the centre
2) I want larger text
3) I want to be able to "scroll" using the scroll bar
[Edit] 4) I want to chane the font type
heres is a copy of motd.txt (sorry is this is too long, and its also attached):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title>Cstrike MOTD</title>
<style type="text/css">
pre {
font-family:Verdana,Tahoma;
color:#FFB000;
}
body {
background:#000000;
margin-left:8px;
margin-top:0px;
}
a {
text-decoration: underline;
}
a:link {
color: #FFFFFF;
}
a:visited {
color: #FFFFFF;
}
a:active {
color: #FFFFFF;
}
a:hover {
color: #FFFFFF;
text-decoration: underline;
}
</style>
</head>
<body scroll="yes">
<pre>
Welcome To The Sanctuary
Respect all admins please
Enjoy Your Stay
<img src="http://debianusers.org/albums/album02/Sanctuary.sized.jpg" />
</pre>
</body>
</html>
Attachment: motd.txt (798 bytes)
This file has been downloaded 5519 time(s).
This post was edited on 06-07-2005 at 03:33 PM by Reaper.
|
|
06-07-2005 02:53 PM |
|
|
Ezra
Veteran Member
Forgiveness is between them and God
Posts: 1960 Reputation: 31
37 / /
Joined: Mar 2003
|
RE: Counter Strike: Source and the motd.txt
code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title>Cstrike MOTD</title>
<style type="text/css">
div{
text-align: center;
}
pre {
font-family: Verdana; **Change the Font here**
font-size: 14pt; **Change the size here**
color:#FFB000;
}
body {
background:#000000;
margin-left:8px;
margin-top:0px;
overflow: scroll;
}
a {
text-decoration: underline;
}
a:link {
color: #FFFFFF;
}
a:visited {
color: #FFFFFF;
}
a:active {
color: #FFFFFF;
}
a:hover {
color: #FFFFFF;
text-decoration: underline;
}
</style>
</head>
<body>
<div>
<pre>
Welcome To The Sanctuary
Respect all admins please
Enjoy Your Stay
<img src="http://debianusers.org/albums/album02/Sanctuary.sized.jpg" />
</pre>
</div>
</body>
</html>
That should do it
P.S: after changing the font and size remove the text behind it
EDIT: That image is slow
This post was edited on 06-07-2005 at 04:09 PM by Ezra.
|
|
06-07-2005 04:04 PM |
|
|
Reaper
Veteran Member
Posts: 1393 Reputation: 23
36 / /
Joined: Jun 2004
|
O.P. RE: Counter Strike: Source and the motd.txt
thanx but jus for clarification where you've written change font here do i delete that and write the font oor do i change the Verdana bit?
|
|
06-07-2005 04:06 PM |
|
|
Ezra
Veteran Member
Forgiveness is between them and God
Posts: 1960 Reputation: 31
37 / /
Joined: Mar 2003
|
RE: Counter Strike: Source and the motd.txt
You change Verdana and the 14pt, to whatever you like, and remove the text behind it, cause it won't work if you don't remove it.
|
|
06-07-2005 04:09 PM |
|
|
Reaper
Veteran Member
Posts: 1393 Reputation: 23
36 / /
Joined: Jun 2004
|
O.P. RE: Counter Strike: Source and the motd.txt
uhh text behind it?!
|
|
06-07-2005 04:11 PM |
|
|
Ezra
Veteran Member
Forgiveness is between them and God
Posts: 1960 Reputation: 31
37 / /
Joined: Mar 2003
|
RE: Counter Strike: Source and the motd.txt
The Text that says **Change Font Here** and **Change size here **, remove that
|
|
06-07-2005 04:12 PM |
|
|
Reaper
Veteran Member
Posts: 1393 Reputation: 23
36 / /
Joined: Jun 2004
|
O.P. RE: Counter Strike: Source and the motd.txt
works like a charm but, there is one scroll bar which works properly, but then theres one at the bottom and the side of the picture hosted but they dont work. i dont want that to work i want it gone so i only have the one that works.
if you understand what im saying
the game wont let me take a screenshot cos it disables a lot of the buttons on the keyboard until you click ok
uh oh. sorry for double post!
This post was edited on 06-08-2005 at 10:29 AM by Reaper.
|
|
06-07-2005 04:25 PM |
|
|
{WAR}MEGAmich
New Member
Posts: 1
Joined: Oct 2006
|
RE: Counter Strike: Source and the motd.txt
I have major issues with ths mord now i copied and psted and it only shows the HTMl code no the actual outcome?? I do have SMM installed, is this making it bad??
|
|
10-30-2006 01:44 PM |
|
|
Kenji
Veteran Member
Previously: Dazmatic, Dazzy, :zippy:
Posts: 1226 Reputation: 39
33 / /
Joined: Jun 2006
Status: Away
|
RE: Counter Strike: Source and the motd.txt
quote: Originally posted by Reaper
June 7th, 2005 16:25
Isnt this thread abit old?
|
|
10-30-2006 01:47 PM |
|
|
egaMi
New Member
Posts: 1 Reputation: -1
Joined: Oct 2007
|
RE: Counter Strike: Source and the motd.txt
May be a dump q but, how the fuck do i wiev my MOTD in the internet so i can see what it would look like on the server? -help plox.
|
|
10-15-2007 08:02 AM |
|
|
Pages: (2):
« First
[ 1 ]
2
»
Last »
|
|