随机生成点 0.3.7

随机生成点 0.3.7

随机生成点 0.3.7-PCI1
随机生成点 0.3.7
此内容为付费资源,请付费后查看
10积分
付费资源
已售 1

这是一个在整个地图上生成新生成点的插件。

插件加载时会生成新的生成点,并符合一些基本的放置准则(不会在水中/附近/基地/纪念碑等生成)。

用于禁用特定生物群系
中玩家生成的配置选项 用于禁用在指定区域内生成的生成点的配置选项(需要 ZoneManager v3.0.21 或更高版本)

聊天命令
/showspawns – 为用户提供生成的生成计数,并在每个生成位置

显示一个小框 API

object GetSpawnPointAtBiome(string biomeTypeStr) // Arid, Temperate, Tundra, Arctic
// Returns a Vector3 if successful, or null if not

object GetSpawnPoint()
// Gets a random spawn position from any biome

自定义拓扑阻塞
该配置包含生成生成点时要避免的拓扑列表。您可以随意作此列表。
Rust 使用以下拓扑结构;

        Field
        Cliff
        Summit
        Beachside
        Beach
        Forest
        Forestside
        Ocean
        Oceanside
        Decor
        Monument
        Road
        Roadside
        Swamp
        River
        Riverside
        Lake
        Lakeside
        Offshore
        Rail
        Railside
        Building
        Cliffside
        Mountain
        Clutter
        Alt
        Tier0
        Tier1
        Tier2
        Mainland
        Hilltop

配置:

{
  "Generation Options": {
    "Generation attempts": 3000,
    "Maximum slope (degrees)": 45.0,
    "Distance from buildings (metres)": 15.0
  },
  "Spawn Options": {
    "Biome Options": {
      "Arctic": {
        "Enable spawn points to be generated in this biome": true,
        "Minimum required online players before spawns from this biome will be selected": 30
      },
      "Tundra": {
        "Enable spawn points to be generated in this biome": true,
        "Minimum required online players before spawns from this biome will be selected": 20
      },
      "Arid": {
        "Enable spawn points to be generated in this biome": true,
        "Minimum required online players before spawns from this biome will be selected": 10
      },
      "Temperate": {
        "Enable spawn points to be generated in this biome": true,
        "Minimum required online players before spawns from this biome will be selected": 1
      }
    },
    "Disable spawn points in these zones (zone IDs)": [],
    "Disable spawn points in these topologies": [
      "Cliff",
      "Cliffside",
      "Lake",
      "Ocean",
      "Monument",
      "Offshore",
      "River",
      "Swamp",
      "Rail"
    ]
  },
  "Version": {
    "Major": 0,
    "Minor": 3,
    "Patch": 0
  }
}
© 版权声明
THE END
喜欢就支持一下吧
点赞13 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容