rust水上摩托插件

  这个插件添加了带有可定制物理的摩托艇!,购买联系QQ70074417。

rust水上摩托插件

  命令

  /waterbike -在玩家附近生成水上自行车(需要waterbikes.spawn权限)

  /waterbike_debug – 显示浮力点(仅限管理员)

  /waterbike remove – 消除玩家的水上自行车(需要waterbikes.despawn权限)

  每个浮力点都有力和尺寸参数

rust水上摩托插件

配置

示例WaterBikes.json

(某些部分被缩短)

{
  "(0) Spawn cooldown (in seconds)": 120,
  "(1) Waterbike price item short name:amount (0 - free)": {
    "Key": "scrap",
    "Value": 0
  },
  "(2) Waterbike prefab": "assets/content/vehicles/snowmobiles/tomahasnowmobile.prefab",
  "(3) Allow only 1 water bike per player": false,
  "(4) Starting fuel": 0,
  "(5) Make all snowmobiles waterbikes": true,
  "(6) Allow waterbikes to drive on land": true,
  "(7) Spawn permission name": "waterbikes.spawn",
  "(8) This permission allows players to spawn waterbikes for free": "waterbikes.free",
  "(9) Water bike despawn permission": "waterbikes.despawn",
  ".(10) Engine thrust": 5000,
  ".(11) Engine thrust on land": 49,
  ".(12) Move slowly on grass or roads": false,
  ".(13) Steering scale": 0.05,
  ".(14) Allow spawning water bikes only on beaches": false,
  ".(15) Automatically flip water bikes": false,
  ".(16) Off axis drag": 0.35,
  "Buoyancy points": [
    {
      "Force": 730.0,
      "Position": {
        "x": -0.62,
        ...
      },
      "Size": 1.3
    },
    ...
  ],
  "Thrust point position": {
    ...
    "z": -1.125
  }
}

API

在指定位置生成水上自行车

public BaseEntity SpawnWaterbike(Vector3 position, Quaternion rotation)
© 版权声明
THE END
苦逼小编求支持
点赞13赞赏 分享
相关推荐
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容