如何配置 Counter-Strike 2 服务器的队友伤害

列印
  • 0

要启用队友伤害,既要启用相应设置,也要设置合适的伤害系数。游戏模式可能会启用队友伤害,同时将对队友造成的伤害降低为零。

  1. 登录游戏面板,打开你的 Counter-Strike 2 服务,然后点击 Stop。
  2. 打开 File Manager。起始文件夹已经是 game,因此请打开 csgo。你也可以通过 FTP 连接,然后在服务目录中打开 csgo。打开 cfg,并编辑 Competitive 对应的 gamemode_competitive_server.cfg。如果文件不存在,请使用 New File 创建。
  3. 添加以下设置,以启用队友伤害并将伤害系数设为一半。请替换已有的同名设置,而不要添加相互冲突的行。
    mp_friendlyfire "1"
    ff_damage_reduction_bullets "0.5"
    ff_damage_reduction_grenade "0.5"
    ff_damage_reduction_other "0.5"

    Competitive CS2 服务器覆盖配置:启用队友伤害,并将三个伤害系数设为 0.5

  4. 点击 Save & Exit,并以 Competitive 模式启动服务器。通过 RCON 检查这四个值。

这些伤害系数的范围是 0 到 1。值为 0 时会阻止对应类型的队友伤害,值为 1 时则使用完整伤害系数。要关闭队友伤害,请设置 mp_friendlyfire "0"。对于 Casual,请在 gamemode_casual_server.cfg 中进行相应修改。该模式的默认配置会将伤害系数设为零,因此仅修改 mp_friendlyfire 并不足够。


這篇文章有幫助嗎?

相關文章

« 返回

Follow us on Social Media

Stay in the loop! Follow our social media accounts and stay up-to-date with the latest news, announcements, tips & tricks and behind-the-scenes insights!