回到荒野

回到荒野

回到荒野-PCI1
回到荒野
此内容为免费资源,请登录后查看
0
免费资源

 

关于Back To The Wild

使动物以随机 HP 和 Strength 生成,并提供可选配置,以在控制台和当前服务器设置上的集成聊天列表中显示每个生成。

特征:

  • 动物可以作为 Alpha 动物生成,但属性和生成速度都有所增加(v2.0.0 中的新功能)
  • 生成任何属性更改的动物(原版或玩家生成)
  • 设置最小/最大生命值
  • 设置最小/最大强度
  • 这将为每只动物提供一个随机的 hp 值和力量!!
  • 更改任何动物类型的选项 true/false
  • 通过插件设置群体或使用 servers 变量的选项。
  • 可以打印到控制台,说明每只动物在生成时 hp 和力量等级 true/false。
  • chatcommand 将当前种群/健康状况/和每种动物类型的动物总数打印到聊天中(获得许可)

动物名单 :

  • 北极熊
  • 野猪
  • 鹿

权限:

  • 回到荒野。管理

命令:

/bttw animals : 有关 cfg 设置和动物总数的完整列表

Rust 原生 API :

在控制台中使用 Rusts 原生命令和检查,如下例

del assets/rust.ai/agents/wolf/wolf.prefab

您现在可以在控制台中使用更简单的方法,如下所示

del bear
del alpha bear
del polarbear
del alpha polarbear
del boar
del chicken
del horse
del stag
del wolf
del alpha wolf

 

用于确定动物是普通动物还是 Alpha 动物的示例 API

        void OnEntityDeath(BaseAnimalNPC animal, HitInfo info)
        {
            if (animal == null) return;
            BasePlayer attacker = info.InitiatorPlayer;

            if (attacker != null && animal.name.Contains("Alpha"))
            {
                Puts($"The animal was a {animal.name}");
            }
            return;
        }

配置 普通动物 :

  • Change animal stats on spawns : true/false
  • Minimum Health
  • Maximum Health
  • Minimum Strength
  • Maximum Strength
  • Running Speed

Configuration Alpha animals :

  • Can spawn as Alpha : True/False
  • Spawnrate (0-100) : based on % with 100% as always spawn as Alpha
  • Health Multiplier : ea 1.5 multiplies the base randomisation value with 1.5x value
  • Strength Multiplier (Att dmg) :  ea 3.0 multiplies the base randomisation value with 3x value
  • Speed Multiplier :  ea 1.2  multiplies the base speed value with 1.2x value

Animals will have any stat between minimum and maximum, giving a random stat.

{
  "Skip Huntsman when using ChickenBow Plugin": true,
  "Console Logging settings": {
    "Show Bear spawns in Console": false,
    "Show PolarBear spawns in Console": false,
    "Show Wolf spawns in Console": false,
    "Show Boar spawns in Console": false,
    "Show Stag spawns in Console": false,
    "Show Horse spawns in Console": false,
    "Show Chicken spawns in Console": false
  },
  "Population settings": {
    "Set population variables ?": true,
    "Bear population": 5.0,
    "PolarBear population": 3.0,
    "Wolf population": 5.0,
    "Boar population": 5.0,
    "Stag population": 6.0,
    "Horse population": 6.0,
    "Ridable Horse population": 4.0,
    "Chicken population": 6.0
  },
  "Bear settings": {
    "Change Bear stats on spawns": true,
    "Minimum Health": 400,
    "Maximum Health": 600,
    "Minimum Strength (Att dmg)": 30,
    "Maximum Strength (Att dmg": 40,
    "Running Speed": 0.1,
    "Alpha": {
      "Can spawn as alpha": true,
      "Spawnrate (0-100)": 100,
      "Health Multiplier": 3.0,
      "Strength Multiplier(Att dmg)": 1.5,
      "Speed Multiplier": 1.0
    }
  },
  "PolarBear settings": {
    "Change PolarBear stats on spawns": true,
    "Minimum Health": 400,
    "Maximum Health": 600,
    "Minimum Strength (Att dmg)": 32,
    "Maximum Strength (Att dmg": 44,
    "Running Speed": 6.0,
    "Alpha": {
      "Can spawn as alpha": true,
      "Spawnrate (0-100)": 10,
      "Health Multiplier": 3.0,
      "Strength Multiplier(Att dmg)": 1.5,
      "Speed Multiplier": 1.0
    }
  },
  "Wolf settings": {
    "Change Wolf stats on spawns": true,
    "Minimum Health": 150,
    "Maximum Health": 300,
    "Minimum Strength (Att dmg)": 20,
    "Maximum Strength (Att dmg)": 30,
    "Running Speed": 0.1,
    "Alpha": {
      "Can spawn as alpha": true,
      "Spawnrate (0-100)": 10,
      "Health Multiplier": 3.0,
      "Strength Multiplier(Att dmg)": 1.5,
      "Speed Multiplier": 1.0
    }
  },
  "Boar settings": {
    "Change Boar stats on spawns": true,
    "Minimum Health": 150,
    "Maximum Health": 450,
    "Minimum Strength (Att dmg)": 15,
    "Maximum Strength (Att dmg)": 25,
    "Running Speed": 0.1
  },
  "Stag settings": {
    "Change Stag stats on spawns": true,
    "Minimum Health": 150,
    "Maximum Health": 425,
    "Minimum Strength (Att dmg)": 15,
    "Maximum Strength (Att dmg)": 25,
    "Running Speed": 1.0
  },
  "Horse settings": {
    "Change Horse stats on spawns": true,
    "Minimum Health": 150,
    "Maximum Health": 600,
    "Minimum Strength (Att dmg)": 15,
    "Maximum Strength (Att dmg)": 25,
    "Running Speed": 1.0
  },
  "Chicken settings": {
    "Change Chicken stats on spawns": true,
    "Minimum Health": 25,
    "Maximum Health": 100,
    "Minimum Strength (Att dmg)": 1,
    "Maximum Strength (Att dmg)": 5,
    "Running Speed": 1.0
  }
}

本地化 :
包含英语文件要使用其他语言,只需在 language 文件夹中创建一个新文件即可。

{
  "InvalidInput": "<color=red>Please enter a valid command!</color>",
  "Version": "\nVersion : V",
  "Info": "\n<color=green>List of current Population(KM2)/Health min/max settings\nAnd counts how many are on the map</color>",
  "NoPermission": "<color=red>You do not have permission to use that command!</color>"
}
© 版权声明
THE END
喜欢就支持一下吧
点赞10 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容