
Lv.1
box3建筑师,box3名字:xww
在 求人帮忙编武器代码,网址在下面 中回复
//------------配置------------constDEFAULT_WEAPON='冲锋喵';//初始武器 //队伍配置constTEAM_CONFIG={'红队':{spawnPoint:'红队出生点',//出生点实体名称color:newBox3RGBColor(1,0,0),//颜色},'黄队':{spawnPoint:'黄队出生点',color:newBox3RGBColor(1,1,0),},};//武器配置constWEAPON={'喵喵':{damage:120,//伤害distance:10,//射程距离interval:5,//发射间隔(数值越大,射速越慢)orientation:newBox3Quaternion(0,1,0,0).rotateZ(-Math.PI/2),//装备方向},'冲锋喵':{damage:15,distance:50,interval:0.1,orientation:newBox3Quaternion(0,1,0,0).rotateZ(-Math.PI/2),},'喵':{damage:150,distance:1000,interval:5,orientation:newBox3Quaternion(0,1,0,0).rotateZ(-Math.PI/2).rotateX(Math.PI),},};constGAME_END_TIME=10*60;//游戏结束时间,单位秒constGAME_END_SCORE=30;//游戏结束分数constMIN_GAME_PLAYER_NUM=2;//最小游戏人数constGAME_HALFTIME=5;//两局游戏间隔时间,单位秒 把喵名称改成自己喵的,用于双方对决,谨慎选择
2021-07-08T20:40:43 点赞:0