You are not logged in.

GermanWays

Trainee

  • "GermanWays" started this thread

Posts: 71

wcf.user.option.userOption53: Nein

  • Send private message

1

Wednesday, April 25th 2012, 8:19pm

Maps löschen [Admin Menü]

Ist es auch, wie in Mani Admn Plugin [maplist.txt] möglich, dass man in Sourcemod die Liste der Maps löschen kann, bis auf z.B. de_dust2?


GeNeRaLbEaM

Professional

Posts: 1,537

Location: Krefeld

Occupation: Student

wcf.user.option.userOption53: Nein

  • Send private message

2

Wednesday, April 25th 2012, 8:32pm

JA
LG
GeNeRaLbEaM

Wer Rechtschreibfehler findet, darf sie behalten.

N3RO

Unregistered

3

Wednesday, April 25th 2012, 8:34pm

JA
big-lol big-lol Klasse Antwort, ich weiß schon die nächste Frage :thumbsup:

GermanWays

Trainee

  • "GermanWays" started this thread

Posts: 71

wcf.user.option.userOption53: Nein

  • Send private message

4

Wednesday, April 25th 2012, 8:42pm

Und wo?


N3RO

Unregistered

5

Wednesday, April 25th 2012, 8:48pm

Guck einfach mal in der Mapcycle.txt, die befindet sich im cstrike-Ordner. Allgemeine Einstellungen zu den Maplisten kannst du in der Datei cstrike/addons/sourcemod/configs/maplists.cfg vornehmen.

mfg
N3RO

GermanWays

Trainee

  • "GermanWays" started this thread

Posts: 71

wcf.user.option.userOption53: Nein

  • Send private message

6

Wednesday, April 25th 2012, 8:52pm

Mapcycle.txt ist von Mani will direkt Sourcemod.


SinteX

Unregistered

7

Wednesday, April 25th 2012, 8:59pm

Mapcycle.txt ist von Mani will direkt Sourcemod.


Die "mapcycle.txt" ist eine Datei die zum Server gehört und nicht von Mani ist. MAP nutzt nur diese um den Mapcycle zu "generieren".

MadMakz

Super Moderator

Posts: 1,878

Location: ~#

wcf.user.option.userOption53: Ja

  • Send private message

8

Wednesday, April 25th 2012, 9:03pm

cstrike/maplist.txt
cstrike/mapcycle.txt
sind vom spiel, nicht von addons.

maplist beinhaltet prinzipiell alle maps die es in /cstrike/maps/ gibt. mapcycle.txt enthält die aktiven maps.

SM liest aus der/den datei(en) die in der, schon von NERO angegebenen, datei cstrike/addons/sourcemod/configs/maplists.cfg definiert sind.

wenn addons/sourcemod/configs/adminmenu_maplist.ini nicht existiert liste SM AFAIK aus der maplist.txt.

GermanWays

Trainee

  • "GermanWays" started this thread

Posts: 71

wcf.user.option.userOption53: Nein

  • Send private message

9

Wednesday, April 25th 2012, 9:04pm

Dennoch löscht es beim Sourcemod ADMIN Menü nicht die Mapliste, es werden dort alle Standartmaps will aber z.B. alle weg haben bis auf de_dust2


MadMakz

Super Moderator

Posts: 1,878

Location: ~#

wcf.user.option.userOption53: Ja

  • Send private message

10

Wednesday, April 25th 2012, 9:08pm

cstrike/addons/sourcemod/configs/maplists.cfg

Spoiler Spoiler

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/**
 * Use this file to configure map lists.
 *
 * Each section is a map list that plugins can use.  For example, the Admin Menu 
 * requests an "admin menu" map list, and you can control which maps appear via 
 * this file.
 *
 * Each section must have a property that explains where to read the maps from.
 * There are two properties:
 *
 *    target         - Redirect the request to another section.
 *    file			 - Read a file of map names, in mapcycle.txt format.
 *
 * There is one section by default, called "mapcyclefile" - it is mapped to the 
 * mapcycle.txt file, or whatever the contents of your mapcyclefile cvar is.
 *
 * If a plugin requests a map list file which doesn't exist, or is empty, SourceMod 
 * tries the "default" section, and then the "mapcyclefile" section.
 */
"MapLists"
{
	/**
	 * Default requests go right to the mapcyclefile.
	 */
	"default"
	{
		"target"		"mapcyclefile"
	}
	
	/* Admin menu, map menu */
	"sm_map menu"
	{
		"target"		"default"
	}
	
	/* Admin menu, map voting menu */
	"sm_votemap menu"
	{
		"target"		"default"
	}
	
	/* For the "randomcycle" plugin */
	"randomcycle"
	{
		"target"		"default"
	}
	
	/* For the "mapchooser" plugin */
	"mapchooser"
	{
		"target"		"default"
	}
	
	/* For the "nominations" plugin */
	"nominations"
	{
		"target"		"default"
	}
}

cstrike/mapcycle.txt

Source code

1
de_dust2

mapwechsel/server neu start. fertig. (wie bei allen config änderungen)

N3RO

Unregistered

11

Wednesday, April 25th 2012, 9:09pm

Um die Adminmenü-Maps zu bearbeiten musst du in der von MadMakz genannten adminmenu_maplists.ini gucken. Dort einfach die Maps rein, die vom Admin ausgewählt werden sollen, speichern, fertig. Aber auf dem Server werden weiterhin die Maps laufen, die in der mapcycle.txt stehen, von daher müsstest du die dann auch anpassen.

mfg
N3RO

Similar threads