猫史档案馆


CHZS超级mc

CHZS超级mc

Lv.1

QQ:77571528

获赞:1276收藏:679浏览:24472作品收藏:321

签名:2024目标: 首页1个:未完成 浏览量55000及以上:未完成 点赞3000:未完成 收藏2000:未完成 再创作1200:未完成 工作室三级:完不成啦!)

回复帖子评论
上一页第 14 页 / 共 14 页下一页

在 太闲了求人出Kitten题给我做 中回复

用源码画板画一个自己,不准导入图片emotion_doge

2023-02-05T20:42:47 点赞:2

在 #平台淘汰赛教程帖(可参考) 中回复

我突然发现击退是受到伤害才触发,所以改一下

world.onTakeDamage(({ entity }) => {
    if (entity != null && entity.isPlayer) {
        entity.velocity.x += 0.5;
        entity.velocity.z += 0.5;
        entity.velocity.y += 0.5
    }
})
world.onPlayerJoin(({entity}) => {
    entity.player.color.set(1, 0, 0)
    entity.player.a喵Wearable({
        bodyPart: Box3BodyPart.HEAD,
        mesh: 'mesh/三级盔.vb',
        orientation: new Box3Quaternion(0,1,0,0).rotateY(-Math.PI/2),
        offset: new Box3Vector3(0,0.4,0.1),
    })
})
world.onVoxelContact(({ entity, voxel }) => {
    entity.enableDamage = true
    const voxelName = voxels.name(voxel);
    if (voxelName === 'grass'){
        entity.hurt(100)
    }
});
function joinRed(entity) {
    entity.a喵Tag('red')
    entity.player.color.set(1, 0, 0)
    world.say(`${entity.player.name} 被分配到红队`)
}

function joinBlue(entity) {
    entity.a喵Tag('blue')
    entity.player.color.set(0, 0, 1)
    world.say(`${entity.player.name} 被分配到蓝队`)
}

world.onPlayerJoin(({ entity }) => {

    const red = world.querySelectorAll('.red') 
    const blue = world.querySelectorAll('.blue') 
    if (red.length === blue.length) {
        if (Math.random() < 0.5) {
            joinBlue(entity)
        }
        else {
            joinRed(entity)
        }
    }
    else if (red.length > blue.length) {
        joinBlue(entity)
    }
    else {
        joinRed(entity)
    }

    entity.player.forceRespawn() 
    entity.enableDamage = true 
    entity.onDie(async ({ attacker }) => {
        await sleep(5000) 
        entity.player.forceRespawn()
    })
})

function teamName(entity) {
    if (entity.hasTag('red')) {
        return '红队'
    }
    else if (entity.hasTag('blue')) {
        return '蓝队'
    }
    return '未知队伍'
}

world.onClick(({ entity, clicker }) => {
    if (
        (entity.hasTag('red') && clicker.hasTag('blue')) || 
        (entity.hasTag('blue') && clicker.hasTag('red'))
    ) {
        entity.hurt(10, { attacker: clicker })
    }
})

var zz = ['CHZS超级mc']
world.onPlayerJoin(async({entity}) => {
    if (zz.includes(entity.player.name)){
        world.say(`欢迎伟大的创作者 ${entity.player.name} 进入了地图!!`)
        return;
    }
})
world.onChat(async({entity, message}) => {
    if (zz.includes(entity.player.name)){
        if(message.startsWith('/代码')){
            const codes = await entity.player.dialog({
                type: Box3DialogType.INPUT,
                title: `代码`,
                content: `请输入代码`,
            })
            if (!codes || codes == null) return;
            entity.player.directMessage(`~>${eval(codes)}`)
        }
    }
})

https://box3.codemao.cn/e/856b0a2b32d9b47f6fbf

2023-02-26T21:54:52 点赞:0

在 #平台淘汰赛教程帖(可参考) 中回复

下期会先出番外篇——雪球击退战武器烈焰弹(起床战争里的那个)之后武器切换就是把这两联系起来做一个平台淘汰赛(会参与比赛)

2023-02-27T20:08:08 点赞:0

在 加q的请举手 中回复

dream.我三迷.北海先生()

2023-02-27T20:10:19 点赞:0

在 #平台淘汰赛教程帖(可参考) 中回复

world.onTakeDamage(({ entity }) => {
    entity.enableDamage = true
    if (entity != null && entity.isPlayer) {
        entity.velocity.z += 1;//击退的y坐标
    }
})
//如果仅仅是把别人蹬当一下搞天上这个就可以了,加到你的地图里对你的基友试试吧()

2023-03-02T18:34:29 点赞:1

在 营~销~号~模~拟~器~ 中回复

注意看,这个帖主被佛伯乐逮捕了,他们在严 刑 拷 打帖主emotion_doge

2023-03-08T19:46:47 点赞:0

在 哪个缺德玩意把这个加地图里的? 中回复

貌似是图主自己加的(偷笑)我是副图主

2023-03-09T18:57:44 点赞:0

在 哪个缺德玩意把这个加地图里的? 中回复

6 《我喵想既然没建造师只能用山丘代替了》 ……

2023-03-09T19:01:28 点赞:0

在 哪个缺德玩意把这个加地图里的? 中回复

center_image

2023-03-09T19:02:41 点赞:0

在 无意按出来的 中回复

6 

2023-03-11T09:01:39 点赞:0

在 用你的键盘打出“ymlm”会打出什么? 中回复

圆满落幕

2023-03-19T14:19:10 点赞:0

在 彩虹钻石工作室招人啦!!! 中回复

我的Q77571528,可以加我

2023-06-20T21:12:04 点赞:0

在 彩虹钻石工作室招人啦!!! 中回复

https://shequ.codemao.cn/work_shop/1368

2023-06-20T21:13:12 点赞:0

在 彩虹钻石工作室招人啦!!! 中回复

顶 

2023-07-01T06:58:48 点赞:0

在 彩虹钻石工作室招人啦!!! 中回复

凉了?

2023-07-01T19:24:51 点赞:0

在 [改名啦!!] 声明() 中回复

6 

2023-07-14T20:50:10 点赞:0

在 工作室转让事宜 中回复

请绿油油的苹果在下方确认并就任

2023-07-22T15:35:05 点赞:0

在 工作室转让事宜 中回复

以上工作室策略如需采纳,请结合自身工作室情况哦,对于无较好招新策略的工作室,建议不要采纳

2023-07-22T16:02:59 点赞:0

在 加一个字毁掉楼下的昵称 中回复

未接种疫苗的人质(百度机翻emotion_doge)

2023-08-19T11:52:04 点赞:1

在 AMT联盟开始大规模招人啦~ 中回复

ddd

2023-12-02T21:59:28 点赞:0