Dead Men Walking

Old Server Admin Section => Game Admins => Archived Topics => Racing Sim Admins => Topic started by: OldBloke on December 10, 2006, 03:33:18 PM

Title: LfS Server-side scripts
Post by: OldBloke on December 10, 2006, 03:33:18 PM
Gents

I've been experimenting with the server-side scripting that recently made its way into LfS. I've setup some common scripts on the server and listed them below. When Scawen gets round to implementing a timer command then we can really go to town.

There are two on-screen message types within Lfs:

1. RCM - Big letters in the middle of the screen

2. MSG - Small letters amongst the usual messages.

The msg type is displayed immediately but the RCM message works in a different way. The RCM message is stored with one command and then displayed with another and can then be cleared with yet another.

To run the scripts either press T and type the command or, as I've done, bind it to a key using a profiler.

Here are the simpler MSG scripts

/hrun novoting

Displays ....

Stop voting please.
Race will start when admins are ready.
Stop voting please.
Race will start when admins are ready.

/hrun gla

Displays ....

10 Laps - 1 PIT - Good Luck All
10 Laps - 1 PIT - Good Luck All
10 Laps - 1 PIT - Good Luck All

/hrun blueflag

Displays ...

BLUE FLAGS mean GIVE WAY.
BLUE FLAGS mean GIVE WAY.
BLUE FLAGS mean GIVE WAY.

/hrun midrace

When you join mid-race you are not racing.
Please defer to those who are.
When you join mid-race you are not racing.
Please defer to those who are.

Here are the RCM scripts

/hrun sbrs

Displays ....

Short Break - Race Soon

/hrun race

Displays ....

Race Is About To Start

/hrun wrongway

Displays ....

Do *NOT* drive the wrong way - EVER.

/hrun clear

Clear the track for practice please!


Remember: enter /rcc_all to remove any RCM message

That's it so far. Please use them wisely.
Title: LfS Server-side scripts
Post by: Sn00ks on December 10, 2006, 04:54:13 PM
Looking good Oldie. :D
Title: LfS Server-side scripts
Post by: Doorman on December 10, 2006, 05:10:58 PM
Keyboard updated. Luvly  jubbly.
Title: LfS Server-side scripts
Post by: Lameduck on December 23, 2007, 10:51:22 PM
Nice one! I will commence key assignment forthwith, if not sooner and with the alacrity of a herd of startled antelopes.:)