There's a hidden feature in the script modes (since quite a long time actually...):
#Const Description "balbalbal"
makes the description text appear in the help menu in-game.
And now there's a "ModeStatusMessage" string in the api, that should appear in the join dialog box before entering the server.
(if ModeStatusMessage is empty, the Description is shown instead)
did you know?
Moderator: English Moderator
Re: did you know?
Thanks.
You should put in in Nadeo gamesmodes to encourage us to use it.

You should put in in Nadeo gamesmodes to encourage us to use it.

Re: did you know?
In Realm's script, the "#Const Description" says "See rules on the spawn's screen for more details.".
It seems strange.
Isn't the help menu in-game supposed to replace the "press f1 at spawn" help?
I can't find "ModeStatusMessage" in any Nadeo script.
What kind of message should we write here?
It seems strange.

Isn't the help menu in-game supposed to replace the "press f1 at spawn" help?
I can't find "ModeStatusMessage" in any Nadeo script.
What kind of message should we write here?
Re: did you know?
'ModeStatusMessage' can be set by server controllers to replace the 'Description' given by the mode script itselfAkbalder wrote:In Realm's script, the "#Const Description" says "See rules on the spawn's screen for more details.".
It seems strange.![]()
Isn't the help menu in-game supposed to replace the "press f1 at spawn" help?
I can't find "ModeStatusMessage" in any Nadeo script.
What kind of message should we write here?
the ingame help window keeps being empty for me, how do you set its text?
the text of Description is shown on the join server screen
Last edited by steeffeen on 14 Feb 2013, 15:43, edited 1 time in total.
- w1lla
- Posts: 2287
- Joined: 15 Jun 2010, 11:09
- Manialink: maniaplanetblog
- Location: Netherlands
- Contact:
Re: did you know?
You can also use CMode::ModeStatusMessage("Test"); To display it aswell
Last edited by w1lla on 14 Feb 2013, 16:28, edited 1 time in total.
TM² Info
SM Info
QM Info
OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
SM Info
QM Info
OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
Re: did you know?
I added the constant description in my script.
This value is displayed on the join server screen AND on the ingame help menu.
Code: Select all
#Const Description """TYPE: Team versus Team
OBJECTIVE: Your team must send all the opposing team to jail.
See rules on the spawn's screen for more details."""
Re: did you know?
Hm, okay thanks.Akbalder wrote:I added the constant description in my script.This value is displayed on the join server screen AND on the ingame help menu.Code: Select all
#Const Description """TYPE: Team versus Team OBJECTIVE: Your team must send all the opposing team to jail. See rules on the spawn's screen for more details."""
i will check it later, but the last time i tried that the text wasn't shown in the help menu

Re: did you know?
You have to restart the server after updating the #Const value to see it in the help menu. Or at least I have to do that.
Re: did you know?
i don't know if that did the trick but it's working now, thanksEole wrote:You have to restart the server after updating the #Const value to see it in the help menu. Or at least I have to do that.

Who is online
Users browsing this forum: No registered users and 1 guest