AdminMod.de
https://www.adminmod.de/

Was steht in der commandmenu.txt
https://www.adminmod.de/viewtopic.php?t=2569
Seite 1 von 1

Autor:  [-ET-]Morpheus [ 16.04.2002, 18:21 ]
Betreff des Beitrags:  Was steht in der commandmenu.txt

Hi Leutz!
Irgendwie habe ich mal ne [color=orange]commandmenu.txt [/color]in meinem cstrike folder gesehen. Nun habe ich einen Post gelesen, in dem drinnstand, dass man diese Datein benutzen kann, um Menüs zu erstellen (in Counter-Strike). Nun wollte ich fragen, was dort normalerweise drinnsteht, da ich sie gelöscht habe.

Danke schonmal im Voraus!

Autor:  Sir Drink a lot [ 16.04.2002, 18:23 ]
Betreff des Beitrags: 

z.B. so :
Code:
"1" "->>Admin Spruch"
		{
		"1" "Centersay" 	"admin_messagemode admin_csay;messagemode"
		"2" "Admin Say" 	"admin_messagemode admin_say;messagemode"
		"3" "Private Say"	"admin_messagemode admin_psay;messagemode"
		"4" "Toll Say"		"admin_messagemode admin_tsay;messagemode"
		"5" "Secret Say"	"admin_messagemode admin_ssay;messagemode"
		"6" "Systemspeakall"	"admin_messagemode admin_speakall;messagemode"
		"7" "Speaktoperson"	"admin_messagemode admin_speak;messagemode"
		"0" "Cancel"		"ForceCloseCommandmenu"
		}
"2" "->>Mapchange"
		{
		"1" "cs_italy"		"admin_map cs_italy"
		"2" "cs_assault"	"admin_map cs_assault"
		"3" "cs_office"		"admin_map cs_office"
		"4" "cs_militia"	"admin_map cs_militia"
		"5" "de_dust"		"admin_map de_dust"
		"6" "de_aztec"		"admin_map de_aztec"
		"7" "de_dust2"		"admin_map de_dust2"
		"8" "de_train"		"admin_map de_train"
		"9" "andere Map"	"admin_messagemode admin_map;messagemode"
		"0" "Cancel"		"ForceCloseCommandmenu"
		}
"3" "->>Voten"
		{
		"1" "START-VOTE"	"admin_startvote"
		"2" "VOTE-MAP"	 	"admin_messagemode admin_vote_map;messagemode"
		"3" "VOTE-RESTART"	"admin_vote_restart"
		"4" "VOTE-KICK"		"admin_messagemode admin_vote_kick;messagemode"
		"5" "VOTE-SAY"		"admin_messagemode admin_vsay;messagemode"
		"6" "CANCELVOTE"	"admin_cancelvote"
		"0" "Cancel"		"ForceCloseCommandmenu"
		}
"4" "-->>Bestrafung"
		{
		"1" "Slap"		"admin_messagemode admin_slap;messagemode"
		"2" "Slay"		"admin_messagemode admin_slay;messagemode"
		"3" "Admin_t"		"admin_messagemode admin_t;messagemode"
		"4" "Admin_ct"		"admin_messagemode admin_ct;messagemode"
		"5" "Admin_llama"	"admin_messagemode admin_llama;messagemode"
		"6" "Admin_unllama"	"admin_messagemode admin_unllama;messagemode"
		"7" "admin_kick"	"admin_messagemode admin_kick;messagemode"
		"8" "admin_ban"		"admin_messagemode admin_ban;messagemode"
		"0" "Cancel"		"ForceCloseCommandmenu"
		}
"5" "-->>Fun"
		{
		"1" "Funmode an"	"admin_fun 1"
		"2" "Funmode aus"	"admin_fun 0"
		"3" "Disco an/aus"	"admin_disco"
		"4" "Sound an"		"admin_sound_on"
		"5" "Sound off"		"admin_sound_off"
		"0" "Cancel"		"ForceCloseCommandmenu"
		}
"6" "-->>PODBOT" 
		{
		"1" "Podbotmenu"	"podbotmenu"
		"2" "Waypoint on"	"waypoint on"
		"3" "Waypoint off"	"waypoint off"
		"4" "Waypoint add" 	"waypoint add"
		"5" "Waypoint del"	"waypoint delete"
		"6" "Waypoint load"	"waypoint load"
		"7" "Waypoint save"	"waypoint save"
		"8" "Autowaypoint on"	"autowaypoint on"
		"9" "Autowaypoint off"	"autowaypoint off"
		}
"7" "-->>TSC"
		{
		"1" "Regen"		"admin_messagemode water;messagemode"
		"2" "Schnee"		"admin_messagemode smoke;messagemode"
		"3" "Durchsichtig"	"admin_messagemode silly;messagemode"
		"4" "Laser"		"admin_messagemode tsc_lasers;messagemode"
		"5" "Nervengas"		"admin_messagemode tsc_nervegas;messagemode"
		"6" "Starteffekt"	"admin_messagemode tsc_startingeffect;messagemode"
		"7" "Schieben"		"admin_messagemode tsc_shoving;messagemode"
		"8" "Bombtimer"		"admin_messagemode tsc_c4;messagemode"
		"9" "Botkill"		"admin_messagemode tsc_ownagerate;messagemode"
		"0" "Cancel"		"ForceCloseCommandmenu"
		}
"8" "-->>Servereinstellung"
	{
	"1" "-->>Zeiteinstellungen"
		{
		"1" "Restart"		"admin_messagemode sv_restartround;messagemode"
		"2" "Buytime"		"admin_messagemode admin_buytime;messagemode"
		"3" "C4-Timer"		"admin_messagemode admin_c4timer;messagemode"
		"4" "Freezetime"	"admin_messagemode admin_freezetime;messagemode"
		"5" "Roundtime"	"admin_messagemode admin_roundtime;messagemode"
		"6" "Timelimit"	"admin_messagemode admin_timelimit;messagemode"
		"0" "Cancel"		"ForceCloseCommandmenu"
		}
	"2" "-->>Sonstiges"
		{
		"1" "Fadetoblack"	"admin_messagemode admin_fadetoblack;messagemode"
		"2" "Flashlight"	"admin_messagemode admin_flashlight;messagemode"
		"3" "Chasecam"		"admin_messagemode admin_forcechasecam;messagemode"
		"4" "Fraglimit"		"admin_messagemode admin_fraglimit;messagemode"
		"5" "Friendly Fire"	"admin_messagemode admin_friendlyfire;messagemode"
		"6" "Hostpenalty"	"admin_messagemode admin_hpenalty;messagemode"
		"7" "Spectators"	"admin_messagemode admin_spectators;messagemode"
		"8" "Teambalance"	"admin_messagemode admin_teambalance;messagemode"
		"9" "TK-Punish"		"admin_messagemode admin_tkpunish;messagemode"
		"0" "Cancel"		"ForceCloseCommandmenu"
		}
	"3" "-->>CLANMOD" "clanmodmenu"
	"0" "Cancel"		"ForceCloseCommandmenu"
	}
"9" "-->>CHAT-MODE" "admin_nomessagemode"
"0" "Cancel"	"ForceCloseCommandmenu"
wird dann in der config.cfg über ein:

bind "h" "+commandmenu"

aufgerufen.

Autor:  [-ET-]Morpheus [ 16.04.2002, 18:24 ]
Betreff des Beitrags: 

Jo danke.
Werde ich sofort machen!
(Geht ja wirklich schnell hier mit den Antworten :D )

Autor:  Sir Drink a lot [ 16.04.2002, 18:39 ]
Betreff des Beitrags: 

meins basiert aber auf messagemode.

Das heisst, es erscheint ein chat-eingabe aufforderung in der benötigte Daten noch eingegeben werden müssen.

Das macht das ganze Flexibler. Man kann natürchlich auch direkt die Befehle darein schreiben, die es ausführen soll.
Als Beispiel dienen die Mapchange-Befehle.

Autor:  [-ET-]Morpheus [ 16.04.2002, 18:40 ]
Betreff des Beitrags:  Öhhm...

Noch ne Frage...
Wo bekomme ich dieses TSC her?
Das ist auch im commandmenu drinn aber bei mir is das unknown command. Ist warscheinlich ein Plugin oder?

Autor:  Sir Drink a lot [ 16.04.2002, 18:47 ]
Betreff des Beitrags: 

ui...nee...das ist ein Altes Anti-Cheater Programm.
Brauchst Du nicht mehr.

Autor:  [-ET-]Morpheus [ 17.04.2002, 06:06 ]
Betreff des Beitrags: 

ok...danke

Autor:  Schmidti [ 20.04.2002, 00:46 ]
Betreff des Beitrags:  Namensliste?

cool...also könnte man sich da auch ne namensliste erstellen oder??
also:
"1" "->>Namen"
{
"1" "[ThEshEEp]dAsEchtE" "name [ThEshEEp]dAsEchtE"
"2" "Kind" "name Kind"
}
"0" "Cancel" "ForceCloseCommandmenu"

Geht das??

Autor:  Biohazard1 [ 20.04.2002, 00:59 ]
Betreff des Beitrags:  Re: Namensliste?

Zitat:
cool...also könnte man sich da auch ne namensliste erstellen oder?? ...
Ja, auch das ist möglich. :wink:

Bio

Seite 1 von 1 Alle Zeiten sind UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/