
Lv.1
awq的一天
在 骷髅代码公布!(104人了……) 中回复
world.onPlayerJoin(({entity})=>{ entity.enableDamage=true entity.player.invisible=true; }) world.onPlayerJoin(({entity})=>{ entity.player.addWearable({ bodyPart:Box3BodyPart.HEAD, mesh:'mesh/骷髅头.vb', orientation:newBox3Quaternion(1,0,1,0).rotateX(Math.PI/1), scale:newBox3Vector3(1,1,1), offset:newBox3Vector3(-0.02,0.3,0), }); entity.player.addWearable({ bodyPart:Box3BodyPart.LEFT_LOWER_ARM, mesh:'mesh/骷髅腿.vb', orientation:newBox3Quaternion(1,1,1,0).rotateX(Math.PI/1), scale:newBox3Vector3(1,1,1), offset:newBox3Vector3(-0.01,0.1,-0.05), }); entity.player.addWearable({ bodyPart:Box3BodyPart.RIGHT_LOWER_ARM, mesh:'mesh/骷髅腿.vb', orientation:newBox3Quaternion(0,1,1.2,1).rotateX(Math.PI/1), scale:newBox3Vector3(1,1,1), offset:newBox3Vector3(-0.01,0.2,0), }); entity.player.addWearable({ bodyPart:Box3BodyPart.Box3BodyPart, mesh:'mesh/骷髅身体.vb', orientation:newBox3Quaternion(1,0,0,0).rotateX(Math.PI/1), scale:newBox3Vector3(1,1,1), offset:newBox3Vector3(0,0.4,0), }); entity.player.addWearable({ bodyPart:Box3BodyPart.LEFT_LOWER_LEG, mesh:'mesh/骷髅腿.vb', orientation:newBox3Quaternion(1,0,1,0).rotateX(Math.PI/1), scale:newBox3Vector3(1,1,1), offset:newBox3Vector3(0,0.15,-0.2), }); entity.player.addWearable({ bodyPart:Box3BodyPart.RIGHT_LOWER_LEG, mesh:'mesh/骷髅腿.vb', orientation:newBox3Quaternion(1,0,1,0).rotateX(Math.PI/1), scale:newBox3Vector3(1,1,1), offset:newBox3Vector3(0,0.15,-0.2), }); }); 2022-05-08T13:25:09 点赞:0
在 骷髅代码公布!(104人了……) 中回复
world.onPlayerJoin(({entity})=>{ entity.enableDamage=true
entity.player.invisible=true; }) world.onPlayerJoin(({entity})=>{
entity.player.addWearable({ bodyPart:Box3BodyPart.HEAD, mesh:'mesh/骷髅头.vb',
orientation:newBox3Quaternion(1,0,1,0).rotateX(Math.PI/1), scale:newBox3Vector3(1,1,1), offset:newBox3Vector3(-0.02,0.3,0), }); entity.player.addWearable({ bodyPart:Box3BodyPart.LEFT_LOWER_ARM, mesh:'mesh/骷髅腿.vb',
orientation:newBox3Quaternion(1,1,1,0).rotateX(Math.PI/1), scale:newBox3Vector3(1,1,1), offset:newBox3Vector3(-0.01,0.1,-0.05), }); entity.player.addWearable({ bodyPart:Box3BodyPart.RIGHT_LOWER_ARM, mesh:'mesh/骷髅腿.vb',
orientation:newBox3Quaternion(0,1,1.2,1).rotateX(Math.PI/1), scale:newBox3Vector3(1,1,1), offset:newBox3Vector3(-0.01,0.2,0), }); entity.player.addWearable({ bodyPart:Box3BodyPart.Box3BodyPart, mesh:'mesh/骷髅身体.vb',
orientation:newBox3Quaternion(1,0,0,0).rotateX(Math.PI/1), scale:newBox3Vector3(1,1,1), offset:newBox3Vector3(0,0.4,0), }); entity.player.addWearable({ bodyPart:Box3BodyPart.LEFT_LOWER_LEG, mesh:'mesh/骷髅腿.vb',
orientation:newBox3Quaternion(1,0,1,0).rotateX(Math.PI/1), scale:newBox3Vector3(1,1,1), offset:newBox3Vector3(0,0.15,-0.2), }); entity.player.addWearable({ bodyPart:Box3BodyPart.RIGHT_LOWER_LEG, mesh:'mesh/骷髅腿.vb',
orientation:newBox3Quaternion(1,0,1,0).rotateX(Math.PI/1), scale:newBox3Vector3(1,1,1), offset:newBox3Vector3(0,0.15,-0.2), }); }); 2022-05-08T13:26:25 点赞:0
在 一个穿戴代码(示例) 中回复
world.onPlayerJoin(({ entity }) => { entity.player.addWearable({ bodyPart: Box3BodyPart.RIGHT_HAND,//在自身的那个部位 mesh: 'mesh/火神咆哮·神乐.vb',//模型名字 orientation: new Box3Quaternion(1, 0, 0, 1).rotateX(Math.PI / 1)//模型方向 scale: new Box3Vector3(0.3, 0.3, 0.3), // 调整大小 offset: new Box3Vector3(0, 0, 2), //调整位置 }); });2022-05-14T17:52:49 点赞:0
在 【box3】海上邮轮代码公开! 中回复
console.clear(); // 清空控制台
world.onPlayerJoin(({ entity }) => { // 当实体进入地图
if (entity.isPlayer...
自己看上面吧...........
2022-05-28T11:53:41 点赞:0
在 【box3】海上邮轮代码公开! 中回复
https://box3.codemao.cn/e/4cf6d35aa9134fac8277?p=MF6YzU8NUdWzGtVbKp1JhaSZZdq80TYGboXqypP1n5A%2FzG2m%2BQMAVndWVzdA%3D%3D
2022-05-28T11:58:01 点赞:0