用户:
黑客熊猫查看:12 回复:7 评论:12 创建时间:2023-02-04T11:29:21

就这

很丑对吧.......
源代码(不喜勿喷):
console.clear()
world.onPlayerJoin(({ entity }) => {
entity.player.canFly = true
entity.player.addWearable({
mesh: 'mesh/喵突击喵.vb',
bodyPart: Box3BodyPart.RIGHT_HAND,
orientation: new Box3Quaternion(0, 1, 0, 0).rotateY(Math.PI),
offset: new Box3Vector3(0, 0, 0.6),
})
entity.player.skinInvisible.head = true
entity.player.addWearable({
mesh: 'mesh/全网最还原史蒂夫头部.vb',
bodyPart: Box3BodyPart.HEAD,
offset: new Box3Vector3(0, 0.25, 0),
})
entity.player.addWearable({
mesh: 'mesh/背包-1.vb',
bodyPart: Box3BodyPart.TORSO,
scale: new Box3Vector3(0.5, 0.5, 0.5),
orientation: new Box3Quaternion(0, 1, 0, 0).rotateY(Math.PI),
offset: new Box3Vector3(0, 0, -0.4)
})
entity.player.skinInvisible.rightFoot = true
entity.player.addWearable({
mesh: 'mesh/鞋子.vb',
bodyPart: Box3BodyPart.RIGHT_FOOT,
scale: new Box3Vector3(0.4, 0.4, 0.4),
orientation: new Box3Quaternion(0, 1, 0, 0).rotateY(Math.PI),
offset: new Box3Vector3(0, 0, 0.25)
})
entity.player.skinInvisible.leftFoot = true
entity.player.addWearable({
mesh: 'mesh/鞋子.vb',
bodyPart: Box3BodyPart.LEFT_FOOT,
scale: new Box3Vector3(0.4, 0.4, 0.4),
orientation: new Box3Quaternion(0, 1, 0, 0).rotateY(Math.PI),
offset: new Box3Vector3(0, 0, 0.25)
})
entity.player.addWearable({
mesh: 'mesh/海拉鲁士兵盾牌。.vb',
bodyPart: Box3BodyPart.LEFT_HAND,
scale: new Box3Vector3(0.3, 0.3, 0.3),
offset: new Box3Vector3(0,0,0.3),
orientation:new Box3Quaternion(-0.023, -0.035, 0.004, 1.000).rotateY(Math.PI)
})
})点赞0
评论