Puma
Hi Leutz,
wollte in der pub.gsc ein Paar Funktionen hinzu fühgen, aber auf dieser Seite finde ich die Erklärung nicht so gut.
Beispiel:
wc_enable
Turns the Welcome Center engine on/off. The welcome center will display up to 5 lines of text after the player spawns into a map for the first time. This a great place to welcome players and remind them of any important rules. [1 = on. 0 = off]
wc_line1
wc_line2
wc_line3
wc_line4
wc_line5
These dvars set the text to be used on each line of the Welcome Message.
Mir ist klar, dass ich den einschalte mit:
setcvar("wc_enable", 1);
Aber nun die Wilkommensnachricht wc_line1
Wie muss ich die Zeile schreiben, das Pam was anzeigt, wenn ein Spieler joint?.
Auch mit anderen Sachen, wie zb. die Anzeige welche Map als nächstes kommt.
Message Center - PUB mode only
mc_enable
Turns on/off the Message Center engine. [1 = on. 0 = off]
mc_maxmessages
Maximum number of your LAST message. If this is 99 then your LAST message dvar would be mc_message99. It is best to keep this as low as necessary for performance purposes. For example, mc_maxmessages 5 would check the following dvars for messages: ms_message1, mc_message2, mc_message3, mc_message4, and mc_message5.
mc_delay
Sets the generic delay in seconds between messages being displayed. This delay is used if a message-specific delay is not specified.
mc_messagedelay[#]
This is the message-specific delay in seconds for the message specified by [#] in the dvar. For example, mc_messagedelay5 would set the message delay between mc_message5 and whatever message comes before it.
SPECIAL MESSAGE FUNCTIONS:
There are a couple special message functions built in:
<*nextmap*> & <*gtrules*>
Usage: Set any message dvar to exactly the special function. For example:
set mc_message1 "<*nextmap*>"
<*nextmap*> will show the next map and gametype
<*gtrules*> will show the rules for the current gametype
The gametype rules must be specifed by the admin via
specific dvars listed below:
mc_rules_sd
mc_rules_ctf
mc_rules_tdm
mc_rules_dm
mc_rules_hq
These dvars are used in conjuction with the <*gtrules*> special value for a Dvar message. It specifies the message to display for the current gametype. For example, mc_rules_sd could be set to "^3S&D Rules: ^5First team to 7 wins" if that is your rules for the S&D gametype.
Also mir ist klar wie man Sachen ein und ausschaltet, oder bestimmte Werte zuweist.
Aber wie werden Sache eingetragen, wo nichts ein oder ausgeschaltet (wc_line1 oder <*nextmap*> usw.)?.
wollte in der pub.gsc ein Paar Funktionen hinzu fühgen, aber auf dieser Seite finde ich die Erklärung nicht so gut.
Beispiel:
wc_enable
Turns the Welcome Center engine on/off. The welcome center will display up to 5 lines of text after the player spawns into a map for the first time. This a great place to welcome players and remind them of any important rules. [1 = on. 0 = off]
wc_line1
wc_line2
wc_line3
wc_line4
wc_line5
These dvars set the text to be used on each line of the Welcome Message.
Mir ist klar, dass ich den einschalte mit:
setcvar("wc_enable", 1);
Aber nun die Wilkommensnachricht wc_line1
Wie muss ich die Zeile schreiben, das Pam was anzeigt, wenn ein Spieler joint?.
Auch mit anderen Sachen, wie zb. die Anzeige welche Map als nächstes kommt.
Message Center - PUB mode only
mc_enable
Turns on/off the Message Center engine. [1 = on. 0 = off]
mc_maxmessages
Maximum number of your LAST message. If this is 99 then your LAST message dvar would be mc_message99. It is best to keep this as low as necessary for performance purposes. For example, mc_maxmessages 5 would check the following dvars for messages: ms_message1, mc_message2, mc_message3, mc_message4, and mc_message5.
mc_delay
Sets the generic delay in seconds between messages being displayed. This delay is used if a message-specific delay is not specified.
mc_messagedelay[#]
This is the message-specific delay in seconds for the message specified by [#] in the dvar. For example, mc_messagedelay5 would set the message delay between mc_message5 and whatever message comes before it.
SPECIAL MESSAGE FUNCTIONS:
There are a couple special message functions built in:
<*nextmap*> & <*gtrules*>
Usage: Set any message dvar to exactly the special function. For example:
set mc_message1 "<*nextmap*>"
<*nextmap*> will show the next map and gametype
<*gtrules*> will show the rules for the current gametype
The gametype rules must be specifed by the admin via
specific dvars listed below:
mc_rules_sd
mc_rules_ctf
mc_rules_tdm
mc_rules_dm
mc_rules_hq
These dvars are used in conjuction with the <*gtrules*> special value for a Dvar message. It specifies the message to display for the current gametype. For example, mc_rules_sd could be set to "^3S&D Rules: ^5First team to 7 wins" if that is your rules for the S&D gametype.
Also mir ist klar wie man Sachen ein und ausschaltet, oder bestimmte Werte zuweist.
Aber wie werden Sache eingetragen, wo nichts ein oder ausgeschaltet (wc_line1 oder <*nextmap*> usw.)?.
Zitat: