Skip to content

Latest commit

 

History

History
145 lines (104 loc) · 9.46 KB

参数说明.md

File metadata and controls

145 lines (104 loc) · 9.46 KB

地图参数修改说明

注意事项

地图参数请按照以下规则进行修改。现有参数没有遵守以下规则,可以对现有参数进行修改。

参数调整方法

参数修改请根据整体难度进行设计,切忌因为某处难以攻略而进行修改。如果单个关卡内难度分布不均匀(例如某个守点很难,或者BOSS很难),取最整体平均难度。如果地图包含多个关卡,取最难关卡的的平均难度。

地图整体难度高,调整优先顺序依次为:

  1. 手雷限制 (包括添加黑洞雷和调整出生手雷)
  2. 出生金钱
  3. 人类初始血量(如适用)
  4. 僵尸伤害效果,如僵尸击退,硬直和手雷效果
  5. 尸变概率

对于地图神器过于强势,例如最终幻想系列,沙尘暴等,优先降低人类出生金钱和降低僵尸伤害效果

地图难度低,则按照上表的反向顺序调整。

禁止事项

如果违法以下规则,直接驳回修改。

  • 调整 mapcommandblock_enable
  • 所有MCE开头的参数 mce_*
  • 地图时间不允许超过 60分钟 mp_timelimit
  • 除特殊类型地图外,调整尸变比例(包括地图难度过高),最大值为 7zr_infect_mzombie_ratio
  • 因地图设计缺陷,或者对于个人技能水平要求过高(如滑翔,KZ,旋转跳等),不允许调整地图参数。
  • 调整僵尸击退超过 5.0

武器道具购买相关

名称 说明
zr_grenlauncher_enable 1 启用购买AWP和效果
sm_spawn_give_armor 1 出生赠送护甲
sm_g_cv_money 6500 出生金钱
sm_armor_limit 1 最大护甲购买次数
sm_decoy_limit 1 最大黑洞购买次数
sm_he_limit 3 最大手雷购买次数
sm_smoke_limit 1 最大手雷购买次数
sm_molotov_limit 1 最大燃烧瓶购买次数
sm_taggrenade_limit 1 最大泡泡雷购买次数
sm_flash_limit 1 最大加血雷购买次数
sm_ngv_price 2500 夜视仪价格
sm_flash_push 0 启用加血雷屏障效果

出生手雷配置请参照下方说明

僵尸逃跑相关参数

名称 说明
zr_infect_spawntime_min 13.0 最少尸变时间
zr_infect_spawntime_max 15.0 最大尸变时间
zr_infect_mzombie_respawn 1 传送母体回出生点。0 为原地尸变
zr_ztele_zombie 1 允许僵尸进行 !ztele 传送
zr_ztele_max_human 1 人类在一回合中的最大传送次数。0 为不允许人类传送
zr_respawn 1 僵尸死亡自动重生。
zr_respawn_delay 3.0 僵尸死亡重生时间。单位秒。
sm_flashlight_enabled 1 启用或禁用玩家手电筒和指挥探照灯
sm_zr_repeat_kill 1 禁用在地图重复死亡下的玩家复活。设置为0 可解决机制误触发下无法复活。

玩家属性修改 zr_class_modify 用法演示

zr_class_modify 用于修改玩家基础属性。服务器内修改后无法对当前回合存活玩家生效,需要等回合结束或者玩家死亡重生。

指令格式:zr_class_modify <目标> <属性> <数值>。例如:zr_class_modify "humans" "health" "300" 改变人类玩家初始血量至300;zr_class_modify "zombies" "knockback" "4.5" 改变僵尸击退至4.5。

属性 默认数值 说明
"knockback" "4.5" 僵尸击退放大倍数。和伤害正相关。
"health" "7500" 默认血量
"health_regen_interval" "0.20" 回血间隔
"health_regen_amount" "10" 每个回血间隔恢复HP量。当玩家血量高于初始血量时,回血停止。
"jump_height" "1.03" 玩家跳跃高度倍数。人类默认1.0,僵尸默认1.03
"jump_distance" "1.05" 玩家跳跃距离倍数。人类默认1.0,僵尸默认1.05
"speed" "315" 玩家移动速度。人类默认300,僵尸默认315

以上参数在地图结束后自动还原默认值, 允许地图使用 point_servercommand 进行修改。

减速效果 (如果和地图减速有所冲突可以切换减速类型)

sm_burn_slow_type 用于控制减速类型,主要用于解决于地图神器效果冲突。默认为: 1。如果需要修改,请参照下表进行调整

名称 说明
m_flLaggedMovementValue 1 默认减速类型
m_flStamina 2
m_flVelocityModifier 3

BOSS伤害类

最小和最大之间 每次攻击BOSS给的金钱数

名称 说明
hook_boss_money_min 10
hook_boss_money_max 15

CSGO 引擎相关参数

名称 说明
inferno_flame_lifetime 7 燃烧弹持续时间
inferno_max_range 150 燃烧弹范围

Respawn Weapon Related Convar Usage (subject to changes)

sm_zeusweapons_nade_value

This convar represents the total value of grenades that can be given to a player. Grenades usually share different values. For example, the value of molotov is 2, and both of hegrenade and decoy have the same value 1. If this convar was to 2, the player can choose 1x hegrenade and 1x decoy or 1x molotov; since one hegrenade plus one decoy have the total value of 2 and one molotov is 2. By increasing this value along with the maximum number of some grenades, it will result in a decrease in the map difficulty. Default: 2. If you change this convar, you should always change sm_zeusweapons_nadecount to proper value as well.

Grenade Value
Flash 0
Molotov 2
Smoke 5
HE 1
Decoy 1

sm_zeusweapons_hegrenade and sm_zeusweapons_decoy

All convar like the two above have changed the meaning from "the amount will be given" to "the maximum number can be given". For example, set sm_zeusweapons_decoy to 1, then player can only get 1 decoy at respawn, no matter what value of sm_zeusweapons_nade_value is; in other words, these convar has the highest priority in terms of grenade limitation.

List of all limitation of convar

ConVar Default
sm_zeusweapons_flash 0
sm_zeusweapons_hegrenade 2
sm_zeusweapons_decoy 1
sm_zeusweapons_molotov 1 The maximum allowed number of Molotov is also limited by sm_molotov_limit.
sm_zeusweapons_smoke 0

sm_zeusweapons_recommend

This convar is used to set the default weapon for the player who is using Auto for their starting weapon. It will randomly choose a weapon from this list for giving the weapon to the player. This convar is a string, all weapon should use their entity name, like weapon_negev, and split by ,, no space around it. Default: weapon_negev,weapon_p90,weapon_bizon

sm_zeusweapons_nadecount

Setting this convar will change the default selection of grenades. Like sm_zeusweapons_recommend, this is also a list that using , as a delimiter; however, the order of elements is matter in this case: flash,molotov,smoke,he,decoy,0. The length of this list must be 6 and the last element must be 0. By default, 0,0,0,1,1,0, means zero flash, zero motolov, zero smoke, one he, one decoy. All the value is limited by the maximum number of specific grenade. If this convar is invaild, then 0,0,0,1,1,0 will be used instead. Default: 0,0,0,1,1,0