Sie sind nicht angemeldet.

  • »Canc3lL0g0ut« ist der Autor dieses Themas

Beiträge: 881

Wohnort: L.E.

Beruf: KiN im Betriebsdienst

Rootserver vorhanden: Nein

  • Nachricht senden

1

Montag, 18. April 2011, 13:46

Nur Pistolen auf einer Map

Hallo Ihr lieben,

ich habe bei uns aufm Server Stripper Source und CSS:DM laufen. Nun haben wir eine Map auf der ich nur Pistolen haben möchte. Mit Stripper habe ich noch nichts gemacht, aber mit dem CSS:DM Plugin habe ich die Map schonmal "bearbeitet". Leider habe ich beim Rundenstart immer noch die normalen Waffen die per Zufall ausgewählt werden. Dies sollen aber eben nur Pistolen sein.

MeineMap.equip.txt

Quellcode

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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
"Equipment"
{
	"Settings"
	{
		// Allow clients to say "guns" to restore their menu.
		// This is disabled if the menu isn't drawn.
		//
		"guns_command"		"yes"
	}

	//
	// Enable or disable menus here.
	// For the primary and secondary gun menus, you can use:
	//	"no"     - Completely disable the menus
	//	"yes"    - Enable the menus
	//	"random" - Pick a random weapon from the menus automatically for players
	//
	"Menus"
	{
		// Primary gun menu
		"primary"		"no"
		
		// Secondary gun menu
		"secondary"		"random"
		
		// Normal CS:S buy menu/commands
		"buy"			"no"
	}
	
	//
	// Automatic things to give on spawn.
	//
	"AutoItems"
	{
		// Health amount to give
		"health"		"100"

		// Armor amount to give
		"armor"			"100"
		
		// Whether to give a helme
		"helmet"		"yes"
		
		// Number of flashbangs to give
		"flashbangs"	"2"
		
		// Whether to give a smoke grenade
		"smokegrenade"	"yes"
		
		// Whether to give an HE grenade
		"hegrenade"		"yes"

		// whether to give defusekits to CTs
		"defusekits"	"no"
	}
	
	//
	// Items listed here will be automatically given to bots. 
	// If multiple weapons exist from one category (primary/secondary),
	// then a random item will be chosen from that category.  If the same
	// weapon is added more than once, it increases its chances of being 
	// picked.  No more than 32 weapons can be added to either the secondary
	// or the primary pool.
	//
	"BotItems"
	{
		"weapon"		"usp"
		"weapon"		"glock"
		"weapon"		"deagle"
		"weapon"		"p228"
		"weapon"		"elite"
		"weapon"		"fiveseven"
		"health"		"100"
		"armor"			"100"
		"helmet"		"yes"
		"flashbangs"	"1"
		"smokegrenade"	"yes"
		"hegrenade"		"yes"
		"defusekits"	"yes"
	}
	
	//
	// If no items exist, the menu will be skipped.
	// If only one item exists, the menu will be skipped
	// and players will receive the item automatically.
	//
	"SecondaryMenu"
	{
		"weapon"	"usp"
		"weapon"	"glock"
		"weapon"	"deagle"
		"weapon"	"p228"
		"weapon"	"elite"
		"weapon"	"fiveseven"
	}
	
	//
	// If no items exist, the menu will be skipped.
	// If only one item exists, the menu will be skipped
	// and players will receive the item automatically.
	//
	"PrimaryMenu"
	{
		"weapon"	"m4a1"
		"weapon"	"ak47"
		"weapon"	"awp"
		"weapon"	"scout"
		"weapon"	"sg552"
		"weapon"	"galil"
		"weapon"	"famas"
		"weapon"	"sg550"
		"weapon"	"aug"
		"weapon"	"m249"
		"weapon"	"g3sg1"
		"weapon"	"ump45"
		"weapon"	"mp5navy"
		"weapon"	"m3"
		"weapon"	"xm1014"
		"weapon"	"tmp"
		"weapon"	"mac10"
		"weapon"	"p90"
	}
}
24/7 Teamspeak³ Server:


Linux is like a wigwam → No windows. No gates. Apache inside.

1. Frage des Admin: was wurde vorher verändert?
2. Antwort des Users: nichts
3. Frage des Admin: was wurde verändert, bevor NICHTS verändert wurde?

Ene mene muh gebasht wirst du,
ene mene miste headOr durch die Kiste,
ene mene meck kaum siehste mich schon fliegste weg :D

fluxX

Super Moderator

Beiträge: 1 056

Wohnort: Österreich

Beruf: IT Systemadministrator

Rootserver vorhanden: Ja

  • Nachricht senden

2

Montag, 18. April 2011, 17:16

HI,

steht ja eh da :D

// If no items exist, the menu will be skipped.
// If only one item exists, the menu will be skipped
// and players will receive the item automatically.

Den Block, PrimaryMenu einfach mal löschen, dass nur mehr das da steht:

"PrimaryMenu"
{
}

Hab es noch nie probiert, hoffe das es klappt :D

  • »Canc3lL0g0ut« ist der Autor dieses Themas

Beiträge: 881

Wohnort: L.E.

Beruf: KiN im Betriebsdienst

Rootserver vorhanden: Nein

  • Nachricht senden

3

Mittwoch, 20. April 2011, 09:55

Habe es probiert, funzt einwandfrei. Danke!
Mein Fehler war das ich alles ab "PrimaryMenu" gelöscht habe. Außer natürlich die letzte Klammer. Manchmal sieht man auch vor lauter Wald die Bäume nicht.
24/7 Teamspeak³ Server:


Linux is like a wigwam → No windows. No gates. Apache inside.

1. Frage des Admin: was wurde vorher verändert?
2. Antwort des Users: nichts
3. Frage des Admin: was wurde verändert, bevor NICHTS verändert wurde?

Ene mene muh gebasht wirst du,
ene mene miste headOr durch die Kiste,
ene mene meck kaum siehste mich schon fliegste weg :D

fluxX

Super Moderator

Beiträge: 1 056

Wohnort: Österreich

Beruf: IT Systemadministrator

Rootserver vorhanden: Ja

  • Nachricht senden

4

Mittwoch, 20. April 2011, 13:08

OK, gut.... Kein problem, helfe gerne :D

Ähnliche Themen