|
Required Ports
-----
UDP 20800
UDP 20810
UDP 28960
Hardware + Bandwidth Requirements
---------------------------------
Bandwidth and server resource usage should be lower than that of COD2 in most situations, but it is not guaranteed. There are some situations where bandwidth usage may spike, and the server will get hit harder than usual. Generally, if you're capable of hosting a COD2 dedicated server you should be just fine for COD4.
starting a dedicated server
----------------------------
LAN server
] iw3mp.exe +set dedicated 1
Internet server
] iw3mp.exe +set dedicated 2
Modded server
] iw3mp.exe +set dedicated [1,2] +set fs_game "mods/<modname>"
start map
] map <mapname>
example usage:
] iw3mp.exe +set dedicated 2 +exec my_server.cfg +map mp_crash
my_server.cfg contains customized settings which are detailed below.
syntax: set <dvar> <value>
server commands
---------------
] killserver
] quit
] map_restart
] say "my message"
] tell [clientnum] "my message to you"
server settings
--------------
map rotation
] sv_mapRotation gametype <gametype> map <mapname> gametype <gametype> map <mapname> ...
<gametype> is one of:
"dm" - free for all deathmatch
"dom" - domination
"koth" - headquarters
"sab" - sabotage
"sd" - search & destroy
"war" - team deathmatch
] sv_hostname "my server"
] g_gametype <gametype>
] sv_maxclients [1-32]
] g_password "my password"
] sv_voice [0-1]
] scr_teambalance [0-1]
] g_allowvote [0-1]
] sv_punkbuster [0-1]
] sv_minping [0-n] (milliseconds)
] sv_maxping [0-n] (milliseconds)
] sv_connectTimeout [0-n] (seconds)
] sv_timeout [0-n] (seconds)
gameplay options
----------------
] scr_oldschool [0-1]
] scr_hardcore [0-1]
] scr_game_spectatetype [0-2] (Disabled, Team/Players Only, Free)
] scr_game_allowkillcam [0-1]
] scr_team_fftype [0-3] (Disabled, Enabled, Reflect, Shared)
] scr_game_perks [0-1]
] scr_game_onlyheadshots [0-1]
] scr_game_forceuav [0-1]
] scr_game_hardpoints [0-1] (i.e. artillery, uav, helicopter)
] scr_hardpoint_allowartillery [0-1]
] scr_hardpoint_allowuav [0-1]
] scr_hardpoint_allowhelicopter [0-1]
free for all deatmatch
-----------------------
] scr_dm_scorelimit [0-n]
] scr_dm_timelimit [0-n] (minutes)
domination
-----------
] scr_dom_scorelimit [0-n]
] scr_dom_timelimit [0-n] (minutes)
team deathmatch
-----------------
] scr_war_scorelimit [0-n]
] scr_war_timelimit [0-n] (minutes)
sabotage
---------
] scr_sab_scorelimit [1-n] (points)
] scr_sab_timelimit [0-n] (minutes)
] scr_sab_roundswitch [0-n] (after how many rounds)
] scr_sab_bombtimer [0-n] (seconds)
] scr_sab_planttime [0-n] (seconds)
] scr_sab_defusetime [0-n] (seconds)
] scr_sab_hotpotato [0-1] (shared bomb timer)
search and destroy
-------------------
] scr_sd_scorelimit [1-n] (points)
] scr_sd_timelimit [0-n] (minutes)
] scr_sd_roundswitch [0-n] (number of rounds before switching teams)
] scr_sd_bombtimer [0-n] (seconds)
] scr_sd_planttime [0-n] (seconds)
] scr_sd_defusetime [0-n] (seconds)
] scr_sd_multibomb [0-1]
headquarters
-------------
] scr_koth_scorelimit [1-n] (points)
] scr_koth_timelimit [0-n] (minutes)
] koth_autodestroytime [0-n] (seconds)
] koth_kothmode [0-1] (classic mode, non-classic)
] koth_spawntime [0-n] (seconds, hq spawn time)
Quelle: Infinity Ward Forum
__________________
|
|
|
|
|
XG1.net
Weichei
Dabei seit: 30.08.2006
Beiträge: 1
|
|
server.cfg:
Code angehängt. Klicke hier zum Ein-/Ausblenden
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:
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:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
286:
287:
288:
289:
290:
291:
292:
293:
294:
295:
296:
297:
298:
299:
300:
301:
302:
303:
304:
305:
306:
307:
308:
309:
310:
311:
312:
313:
314:
315:
316:
317:
318:
319:
320:
321:
322:
323:
324:
325:
326:
327:
328:
329:
330:
331:
332:
333:
334:
335:
336:
337:
338:
339:
340:
341:
342:
343:
344:
345:
346:
347:
348:
|
//******************************************************************************
// Call of Duty 4: Modern Warfare - Dedicated Server Config File
//******************************************************************************
// Autor:
// Website:
// Datum: Nov, 2007
// Config-Typ: standard mode, ranked
// Version: 0.9 BETA
//******************************************************************************
//=================================================================================
// Server Information
//=================================================================================
sets sv_hostname "Servername"
sets _Admin ""
sets _Email ""
sets _Website "http://"
sets _Location "Germany"
sets _Irc ""
sets _Mod ""
sets _ModVer ""
sets _ModUpdate ""
sets _Maps ""
set scr_motd "Welcome"
//=================================================================================
// General Settings
//=================================================================================
// Log Settings
set g_logsync "2" // 0=no log, 1=buffered, 2=continuous, 3=append
set logfile "1" // 0 = NO log, 1 = log file enabled
set g_log "games_mp.log" // Name of log file, default is games_mp.log
set sv_log_damage "1"
// Network options
set net_ip "" // Set your servers IP address
set net_port "" // Set your port number
set com_hunkMegs "512"
set net_noipx "1" // Allow ONLY tcp/ip protocol, player/server communications
// Server Network Mode
set dedicated "2" // 0 = Listen, 1 = LAN, 2 = Internet
// Master servers
set sv_master1 "cod2master.activision.com"
set sv_master2 "cod2authorize.activision.com"
set sv_master3 "cod2master.infinityward.com"
set sv_master3 "cod2update.activision.com"
set sv_master4 "master.gamespy.com:28960"
set sv_master5 "master0.gamespy.com"
set sv_master6 "master1.gamespy.com"
set sv_master7 "clanservers.net"
set sv_gamespy "1"
// Password Settings
set rcon_password "" // RCON must supply pw to use
set sv_privatePassword "" // Private slots, non-public slots
set g_password "" //Server password
// Player slots setup
set sv_maxclients "32" // MAX server player slots, this is TOTAL player slots
set sv_privateclients "" // Number of private player slots, maxclients - privateclients = public slots
// Ping
set sv_minPing "0" // MIN player ping on CONNECT, any lower and player isnt allowed to connect
set sv_maxping "0" // MAX player ping on CONNECT, any higher and player isnt allowed to connect
// Client Download Settings (0=off/1=on)
set sv_allowdownload "1"
seta sv_wwwDownload "0"
//seta sv_wwwBaseURL ""
seta sv_wwwDlDisconnected "1"
// Rate
set sv_maxRate "20000"
// FPS
//set sv_fps "20"
// Drop inactive players
set sv_timeout "300"
set sv_zombietime "1"
set g_inactivity "0"
set g_inactivityspectator "0"
// AntiFlooding Settings
set sv_floodProtect "1"
set sv_reconnectlimit "3"
// Anti Cheat Settings
set sv_disableClientConsole "0"
set cl_autocmd "0"
set sv_cheats "0"
set sv_pure "1"
set g_banIPs ""
set g_no_script_spam "1"
set sv_punkbuster "1"
// Temporary Ban duration, in seconds
set sv_kickBanTime "3600"
// In-game voice communication system
set sv_voice "0"
set sv_voiceQuality "1"
set voice_deadChat "0"
set voice_global "0"
set voice_localEcho "0"
set winvoice_mic_mute "1"
// Team-Balance and Voting
set scr_teambalance "1"
set g_allowvote "1"
//=================================================================================
// Other Gameplay Settings
//=================================================================================
// General
set scr_game_allowkillcam 0
set scr_game_onlyheadshots 0
set scr_game_deathpointloss 0
set scr_game_suicidepointloss 0
set scr_team_teamkillpointloss 1
set scr_game_spectatetype 1 // (0-2) Disabled, Team/Players Only, Free
set scr_game_forceuav 0
set scr_game_hardpoints 1 // (0-1) i.e. artillery, uav, helicopter
// Hardpoints
set scr_hardpoint_allowartillery 1
set scr_hardpoint_allowuav 1
set scr_hardpoint_allowhelicopter 1
// Teams
set scr_team_fftype 1 // (0-3) Disabled, Enabled, Reflect, Shared
set scr_team_teamkillspawndelay 20
set scr_team_kickteamkillers 3
// Player
set scr_player_maxhealth 100
set scr_player_suicidespawndelay 0
set scr_player_healthregentime 5
set scr_player_forcerespawn 1
set scr_player_sprinttime 4
// UI
set scr_hardcore 0
set scr_oldschool_mw 0
set ui_hud_obituaries 1
set ui_hud_showobjicons 1
//=================================================================================
// Other Settings
//=================================================================================
set sv_allowAnonymous "0"
set g_antilag "0"
set g_compassShowEnemies "0"
//ui_maxclients 32
//=================================================================================
// Gametype Settings
//=================================================================================
// First gametype to load...
// "dm" - free for all deathmatch
// "dom" - domination
// "koth" - headquarters
// "sab" - sabotage
// "sd" - search & destroy
// "war" - team deathmatch
set g_gametype "war"
// MAPROTATION
set sv_mapRotation "gametype war map mp_backlot gametype war map mp_bloc gametype war map mp_bog gametype war map mp_cargoship gametype war map mp_citystreets gametype war map mp_convoy gametype war map mp_countdown gametype war map mp_crash gametype war map mp_crossfire gametype war map mp_farm gametype war map mp_overgrown gametype war map mp_pipeline gametype war map mp_shipment gametype war map mp_showdown gametype war map mp_strike gametype war map mp_vacant"
// Deathmatch
set scr_dm_scorelimit 150
set scr_dm_timelimit 10
set scr_dm_roundlimit 1
set scr_dm_numlives 0
set scr_dm_playerrespawndelay 0
set scr_dm_waverespawndelay 0
// Domination
set scr_dom_scorelimit 200
set scr_dom_timelimit 0
set scr_dom_roundlimit 1
set scr_dom_numlives 0
set scr_dom_playerrespawndelay 0
set scr_dom_waverespawndelay 0
// Teamdeath Match
set scr_war_scorelimit 750
set scr_war_timelimit 10
set scr_war_roundlimit 1
set scr_war_numlives 0
set scr_war_playerrespawndelay 0
set scr_war_waverespawndelay 0
// Sabotoge
set scr_sab_scorelimit 1
set scr_sab_timelimit 20
set scr_sab_roundlimit 0
set scr_sab_roundswitch 1
set scr_sab_numlives 0
set scr_sab_bombtimer 30
set scr_sab_planttime 2.5
set scr_sab_defusetime 5
set scr_sab_hotpotato 0
set scr_sab_playerrespawndelay 7.5
set scr_sab_waverespawndelay 0
// King of the Hill
set scr_koth_scorelimit 250
set scr_koth_timelimit 15
set scr_koth_roundlimit 1
set scr_koth_roundswitch 1
set scr_koth_numlives 0
set scr_koth_playerrespawndelay 0
set scr_koth_waverespawndelay 0
set koth_autodestroytime 60
set koth_spawntime 0
set koth_kothmode 0
set koth_capturetime 20
set koth_destroytime 10
set koth_delayPlayer 0
set koth_spawnDelay 60
// The following class/perk-settings might not be needed in the default-config!
//=================================================================================
// Class/Perk Settings
//=================================================================================
// limits the number of players that can choose each class type
set class_assault_limit 99
set class_specops_limit 99
set class_heavygunner_limit 99
set class_demolitions_limit 99
set class_sniper_limit 99
// perks
set perk_allow_specialty_parabolic 1
set perk_allow_specialty_gpsjammer 1
set perk_allow_specialty_holdbreath 1
set perk_allow_specialty_quieter 1
set perk_allow_specialty_longersprint 1
set perk_allow_specialty_detectexplosive 1
set perk_allow_specialty_explosivedamage 1
set perk_allow_specialty_pistoldeath 1
set perk_allow_specialty_grenadepulldeath 1
set perk_allow_specialty_bulletdamage 1
set perk_allow_specialty_bulletpenetration 1
set perk_allow_specialty_bulletaccuracy 1
set perk_allow_specialty_rof 1
set perk_allow_specialty_fastreload 1
set perk_allow_specialty_extraammo 1
set perk_allow_specialty_armorvest 1
set perk_allow_specialty_fraggrenade 1
set perk_allow_specialty_specialgrenade 1
set perk_allow_c4_mp 1
set perk_allow_claymore_mp 1
set perk_allow_rpg_mp 1
// assault class default loadout
set class_assault_primary m16
set class_assault_primary_attachment gl
set class_assault_secondary beretta
set class_assault_secondary_attachment none
set class_assault_perk1 specialty_null
set class_assault_perk2 specialty_bulletdamage
set class_assault_perk3 specialty_longersprint
set class_assault_grenade concussion_grenade
set class_assault_camo camo_none
set class_assault_frags 1
set class_assault_special 1
// specops class default loadout
set class_specops_primary mp5
set class_specops_primary_attachment none
set class_specops_secondary usp
set class_specops_secondary_attachment silencer
set class_specops_perk1 c4_mp
set class_specops_perk2 specialty_explosivedamage
set class_specops_perk3 specialty_bulletaccuracy
set class_specops_grenade flash_grenade
set class_specops_camo camo_none
set class_specops_frags 1
set class_specops_special 1
// heavygunner class default loadout
set class_heavygunner_primary saw
set class_heavygunner_primary_attachment none
set class_heavygunner_secondary usp
set class_heavygunner_secondary_attachment none
set class_heavygunner_perk1 specialty_specialgrenade
set class_heavygunner_perk2 specialty_armorvest
set class_heavygunner_perk3 specialty_bulletpenetration
set class_heavygunner_grenade concussion_grenade
set class_heavygunner_camo camo_none
set class_heavygunner_frags 1
set class_heavygunner_special 1
// demolitions class default loadout
set class_demolitions_primary winchester1200
set class_demolitions_primary_attachment none
set class_demolitions_secondary beretta
set class_demolitions_secondary_attachment none
set class_demolitions_perk1 rpg_mp
set class_demolitions_perk2 specialty_explosivedamage
set class_demolitions_perk3 specialty_longersprint
set class_demolitions_grenade smoke_grenade
set class_demolitions_camo camo_none
set class_demolitions_frags 1
set class_demolitions_special 1
// sniper class default loadout
set class_sniper_primary m40a3
set class_sniper_primary_attachment none
set class_sniper_secondary beretta
set class_sniper_secondary_attachment silencer
set class_sniper_perk1 specialty_specialgrenade
set class_sniper_perk2 specialty_bulletdamage
set class_sniper_perk3 specialty_bulletpenetration
set class_sniper_grenade flash_grenade
set class_sniper_camo camo_none
set class_sniper_frags 1
set class_sniper_special 1
set class_assault_movespeed 0.95
set class_specops_movespeed 1.00
set class_heavygunner_movespeed 0.875
set class_demolitions_movespeed 1.00
set class_sniper_movespeed 1.00
set scr_enable_nightvision 1
set scr_enable_music 1
set scr_enable_hiticon 1
//=================================================================================
// Execute other Config-Files
//=================================================================================
// The following execute-command might not be needed in the default-config!
exec mp_weapons.cfg |
|
mp_weapons.cfg:
Code angehängt. Klicke hier zum Ein-/Ausblenden
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:
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:
|
// The following weapon-settings might not be needed in the default-config!
//******************************************************************************
// Enables Dropping of Specified Weapon Class
//******************************************************************************
set class_assault_allowdrop 1
set class_specops_allowdrop 1
set class_heavygunner_allowdrop 1
set class_demolitions_allowdrop 1
set class_sniper_allowdrop 1
//******************************************************************************
// Assault Rifles
//******************************************************************************
set weap_allow_m16 1
set weap_allow_ak47 1
set weap_allow_m4 1
set weap_allow_g3 1
set weap_allow_g36c 1
set weap_allow_m14 1
set weap_allow_mp44 1
//******************************************************************************
// Assault Attachments
//******************************************************************************
set attach_allow_assault_none 1
set attach_allow_assault_gl 1
set attach_allow_assault_reflex 1
set attach_allow_assault_silencer 1
set attach_allow_assault_acog 1
//******************************************************************************
// SMG
//******************************************************************************
set weap_allow_mp5 1
set weap_allow_skorpion 1
set weap_allow_uzi 1
set weap_allow_ak74u 1
set weap_allow_p90 1
//******************************************************************************
// SMG Attachments
//******************************************************************************
set attach_allow_smg_none 1
set attach_allow_smg_reflex 1
set attach_allow_smg_silencer 1
set attach_allow_smg_acog 1
//******************************************************************************
// Shotguns
//******************************************************************************
set weap_allow_m1014 1
set weap_allow_winchester1200 1
//******************************************************************************
// Shotgun Attachments
//******************************************************************************
set attach_allow_shotgun_none 1
set attach_allow_shotgun_reflex 1
set attach_allow_shotgun_grip 1
//******************************************************************************
// LMG
//******************************************************************************
set weap_allow_saw 1
set weap_allow_rpd 1
set weap_allow_m60e4 1
//******************************************************************************
// LMG Attachments
//******************************************************************************
set attach_allow_lmg_none 1
set attach_allow_lmg_reflex 1
set attach_allow_lmg_grip 1
set attach_allow_lmg_acog 1
//******************************************************************************
// Sniper Rifles
//******************************************************************************
set weap_allow_dragunov 1
set weap_allow_m40a3 1
set weap_allow_barrett 1
set weap_allow_remington700 1
set weap_allow_m21 1
//******************************************************************************
// Sniper Attachments
//******************************************************************************
set attach_allow_sniper_none 1
set attach_allow_sniper_acog 1
//******************************************************************************
// Pistols
//******************************************************************************
set weap_allow_beretta 1
set weap_allow_colt45 1
set weap_allow_usp 1
set weap_allow_deserteagle 1
set weap_allow_deserteaglegold 1
//******************************************************************************
// Pistol Attachments
//******************************************************************************
set attach_allow_pistol_none 1
set attach_allow_pistol_silencer 1
//******************************************************************************
// Grenades
//******************************************************************************
set weap_allow_frag_grenade 1
set weap_allow_concussion_grenade 1
set weap_allow_flash_grenade 1
set weap_allow_smoke_grenade 1 |
|
__________________
Dieser Beitrag wurde 1 mal editiert, zum letzten Mal von XG1.net: 08.11.2007 10:36.
|
|
|
|
|
|
|
Impressum ||Datenschutzerklärung
|