Jump to content
主视角中国

Recommended Posts

Posted

FPSCHINA.COM 主机配置文件参考

最后更新:2007-11-29 15:30

这份主机配置文件有些地方还需要补充,请注意最后更新时间。

// Edited by S-22
// http://www.fpschina.com

// 主机情况备注
sets _Admin "S-22" // 管理员名称
sets _Email "admin@fpschina.com" // 联系信箱
sets _Website "http://www.fpschina.com" // 网站地址
sets _Location "Mars" // 主机位置

// 主机名称设置
set sv_hostname "^1FPSCHINA.COM ^2COD4 ^4#1"

// 主机常规设置
set sv_maxclients 32 // 最大玩家数量
set sv_privateclients 0 // 预留席位数量
set scr_teambalance 1 // 是否人数平衡
set scr_game_graceperiod 5 // 地图切换时可供玩家更改武器类别的时间

// 主机性能设置
set sv_maxRate 25000 // 每客户端分配带宽(小于等于 25000,越大越消耗带宽)
set sv_minPing 0 // 最低 Ping 值限制
set sv_maxping 300 // 最高 Ping 值限制
set sv_fps 20 // 主机帧率响应(越大越消耗处理器资源和带宽)

// 主机密码设置
set g_password "" // 玩家联机密码
set sv_privatePassword "" // 预留席位密码
set rcon_password "" // 主机管理密码

// 主机运行日志
set logfile 0 // 是否生成主机日志
set g_logsync 0 // 主机日志同步方式 0-禁用 1-缓存 2-持续 3-增补
set g_log "" // 游戏日志名称
set sv_log_damage 0 // 游戏日志是否记录伤害数据

// 查询主机地址
set sv_master1 "cod4master.activision.com"
set sv_master2 "master.gamespy.com:28960"
set sv_master3 "master0.gamespy.com"
set sv_master4 "master1.gamespy.com"
set sv_master5 "clanservers.net"
set sv_gamespy "1"

// 其他设置
set scr_game_allowkillcam 0 // 死后回放
set scr_game_onlyheadshots 0 // 只能爆头
set scr_game_deathpointloss 0 // 阵亡减分
set scr_game_suicidepointloss 0 // 自杀减分
set scr_team_teamkillpointloss 0 // 误伤减分
set scr_game_spectatetype 1 // 观察者视角 1-固定视角 2-队内视角 3-自由视角
set scr_game_forceuav 0 // 强制地图侦查
set scr_game_hardpoints 1 // 启用战斗支援
set sv_allowAnonymous "0" // 允许匿名玩家接入
set g_antilag "0" // 中和延迟

// 玩家投票设置
set g_allowvote 1 // 允许投票

// 战斗支援
set scr_hardpoint_allowartillery 1 // 喷气战斗机支援
set scr_hardpoint_allowuav 1 // 无人侦查机支援
set scr_hardpoint_allowhelicopter 1 // 武装直升机支援

// 误伤设置
set scr_team_fftype 0 // 误伤判定类型
set scr_team_teamkillspawndelay 0 // 误伤复生延迟
set scr_team_kickteamkillers 0 // 被踢前允许的误伤次数

// 玩家设置
set scr_player_maxhealth 100 // 玩家生命值
set scr_player_suicidespawndelay 0 // 玩家自杀复生时间
set scr_player_healthregentime 5 // 玩家生命值恢复时间
set scr_player_forcerespawn 1 // 强制复生
set scr_player_sprinttime 5 // 玩家奔跑耐力时间

// 显示设置
set ui_hud_obituaries 0 // 显示死亡图标
set ui_hud_showobjicons 1 // 显示任务图标
set g_compassShowEnemies 0 // 指北针显示敌人

// 特殊设置
set scr_hardcore 0 // 真实模式(无雷达/无虚拟准星/无弹药显示/武器威力加大/十秒重生)
set scr_oldschool_mw 0 // 老派模式(可捡武器/生命值更多/跳得更高)

// 客户端下载设置
set sv_allowdownload "1" // 允许客户端下载模组
seta sv_wwwDownload "0" // 支持 HTTP 下载
seta sv_wwwBaseURL "" // HTTP 模组下载地址
seta sv_wwwDlDisconnected "1" // 下载后关闭 HTTP 链接

// 非活动玩家踢出设置
set sv_timeout 300 // 玩家接入超时设置
set sv_zombietime 1 // 玩家被踢出后模型保留时间
set g_inactivity 0 // 无反应玩家踢出时间
set g_inactivityspectator 0 // 无反应观察者踢出时间

// 流量保护设置
set sv_floodProtect "1"
set sv_reconnectlimit "3"

// 防作弊设置
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 "0" // 反作弊插件开关

// 惩罚屏蔽时间
set sv_kickBanTime "3600"

// 游戏内置语音通讯
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"

// 各类武器组可选数量
set class_assault_limit 32
set class_specops_limit 32
set class_heavygunner_limit 32
set class_demolitions_limit 32
set class_sniper_limit 32

// 战斗技能
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

// 步枪组装备
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

// 冲锋组装备
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

// 机枪组装备
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

// 霰弹组装备
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

// 狙击组装备
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 // 击中提示

// 各类武器组武器掉落设置
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 // 狙击组

// 步枪
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

// 步枪附件
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

// 冲锋枪
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

// 冲锋枪附件
set attach_allow_smg_none 1
set attach_allow_smg_reflex 1
set attach_allow_smg_silencer 1
set attach_allow_smg_acog 1

// 霰弹枪
set weap_allow_m1014 1
set weap_allow_winchester1200 1

// 霰弹枪附件
set attach_allow_shotgun_none 1
set attach_allow_shotgun_reflex 1
set attach_allow_shotgun_grip 1

// 轻机枪
set weap_allow_saw 1
set weap_allow_rpd 1
set weap_allow_m60e4 1

// 轻机枪附件
set attach_allow_lmg_none 1
set attach_allow_lmg_reflex 1
set attach_allow_lmg_grip 1
set attach_allow_lmg_acog 1

// 狙击步枪
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

// 狙击步枪附件
set attach_allow_sniper_none 1
set attach_allow_sniper_acog 1

// 手枪
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

// 手枪附件
set attach_allow_pistol_none 1
set attach_allow_pistol_silencer 1

// 手榴弹
set weap_allow_frag_grenade 1 // 破片手榴弹
set weap_allow_concussion_grenade 1 // 击波手榴弹
set weap_allow_flash_grenade 1 // 闪光手榴弹
set weap_allow_smoke_grenade 1 // 烟雾手榴弹

// 首张地图载入模式
// 死亡模式 "dm"
// 争夺旗帜 "dom"
// 争夺据点 "koth"
// 拆装炸弹 "sab"
// 搜寻破坏 "sd"
// 团队对抗 "war"

// 游戏模式设置
set g_gametype "war"

// 死亡模式设置
set scr_dm_scorelimit 2500
set scr_dm_timelimit 20
set scr_dm_roundlimit 1
set scr_dm_numlives 0
set scr_dm_playerrespawndelay 0
set scr_dm_waverespawndelay 0

// 争夺旗帜设置
set scr_dom_scorelimit 250
set scr_dom_timelimit 20
set scr_dom_roundlimit 1
set scr_dom_numlives 0
set scr_dom_playerrespawndelay 0
set scr_dom_waverespawndelay 0

// 争夺据点设置
set scr_koth_scorelimit 250
set scr_koth_timelimit 20
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

// 拆装炸弹设置
set scr_sab_scorelimit 5
set scr_sab_timelimit 20
set scr_sab_roundlimit 1
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 0
set scr_sab_waverespawndelay 0

// 搜寻破坏设置
set scr_sd_scorelimit 4
set scr_sd_timelimit 2.5
set scr_sd_roundlimit 0
set scr_sd_roundswitch 3
set scr_sd_numlives 1
set scr_sd_bombtimer 45
set scr_sd_planttime 5
set scr_sd_defusetime 5
set scr_sd_multibomb 0
set scr_sd_playerrespawndelay 0
set scr_sd_waverespawndelay 0

// 团队对抗设置
set scr_war_scorelimit 3000
set scr_war_timelimit 20
set scr_war_roundlimit 1
set scr_war_numlives 0
set scr_war_playerrespawndelay 0
set scr_war_waverespawndelay 0

// 地图循环列表(gametype 后面跟游戏模式, map 后面跟地图名称)
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"[/code]

  • Like 2
Posted

是否可以实现一个服务器里,WAR模式和SD模式并存,我现在开服务器只能要么开一个TDM的,要么开一个SD的

可以并存:

// 地图循环列表(gametype 后面跟游戏模式, map 后面跟地图名称)

  • 3 weeks later...
  • 4 weeks later...
  • 2 weeks later...
Posted

请问游戏的玩每个地图的时间怎么设定????为什么老是10分钟啊。。。。。???

每个模式都有各自的时间设定。

这个文件存为config_mp.cfg替换原来帐户下的文件就可以了吗?

如果建立LAN服也用这个稍加改动就可以吗?

请参考主机架设教学。

为啥我把有些武器改成"0"但是禁不掉呢?

如果一切操作规范还禁不掉的话,则只能设置 fs_game 指定模组文件夹来实现。

请问老大,改哪个参数可以禁榴弹啊?

set attach_allow_assault_gl 1

  • 3 weeks later...
  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

登录

Already have an account? Sign in here.

现在登录
×
×
  • 创建新的...