猫史档案馆


骷髅代码公布!(104人了……)

用户:yuansyuans查看:0 回复:8 评论:0 创建时间:2022-05-06T17:45:57


废话不多说,上代码 先添加3个模型(模型在我主页https://box3.fun/u/XtBepdF1F0IGeb1) 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), }); });  


回复

上一页1 页 / 共 1下一页
yuansyuans

这排版就离谱()

点赞0


评论


未名用户未名用户

沙发

点赞0


评论


芥末不是酱油芥末不是酱油

沙发被抢了T.T

点赞0


评论


yuansyuans

点赞0


评论


yuansyuans

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), }); });  

点赞0


评论


yuansyuans

点赞0


评论


Robot一只屑代码师Robot一只屑代码师

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), }); });  

点赞0


评论


Robot一只屑代码师Robot一只屑代码师

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), }); });  

点赞0


评论