Alliedassault           
FAQ Calendar Search Today's Posts Mark Forums Read
Go Back   Alliedassault > FPS Gaming General Discussion > MoH Maps, Mods & Skins
Reload this Page text script
MoH Maps, Mods & Skins Discuss custom maps, skins and mods here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Under compass text
Old
  (#6)
nsscorpion is Offline
Senior Member
 
Posts: 183
Join Date: May 2003
   
Default Under compass text - 10-03-2003, 08:46 AM

1st u need to make a script and call it for example server_message.scr and put in it something like this:

message:

setcvar "g_mymessage" "1" // allows you to turn message OFF/ON

level waittill spawn

local.mess1 = "Hello Buddies"
local.mess2 = "This Is My Server"
local.mess3 = "Visit Our Website"
local.mess4 = "Please email me"

while (1) // while condition remains true. In this case the "if" statement
{
if (getcvar (g_mymessage) =="1")
{
wait .1
iprintln local.mess1 \n local.mess2 // Prints 2 lines that fades together
wait 10
iprintln local.mess3 \n local.mess4 // Use "iprintlnbold" if you want the white text w/ click
}

wait 120 // wait 2 mins before loop
}
end

save the script in a folder called global on your desktop and on to the next part.

Make a folder called maps inside that put 2 folders 1 called dm 1 called obj
and put all the map scripts u want message to appear on in here. Make sure u put objective in obj and so on.

Open up the scripts and put the line exec/global/server_message.scr (or whatever you called it) put it under the exec global/DMprecache.scr is where i have it.

Save your scripts and pak up the global and maps folders and you are done.

Stick it in your server and away you go.

this is a corruption of the tut i learned from but unfortunatly i forgot who did it sorry!!

regards scorp
  
Reply With Quote
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.