Gakuto1112 / FiguraBlueArchiveCharacters

The avatars for Figura, the skin mod for Minecraft Java Edition, which are imitated characters who appear in "Blue Archive (ブルーアーカイブ)", the game for mobile devices.
https://youtu.be/JrPhLR34mLA
MIT License
41 stars 0 forks source link

Figura 0.1.3への対応 #41

Closed Gakuto1112 closed 7 months ago

Gakuto1112 commented 7 months ago

概要

2024/3/1にリリースされたFigura 0.1.3へアバターを対応させる。

リリースノート

気になる点

fix: 🛑 BREAKING: the long existing bug of many functions being 1 tick delayed by @.auriafoxgirl in #192

スニーク時のスカートの位置調整に影響が出る可能性あり。

feat: Create RaycastAPI ✨ by @.KitCat962 in #131

Exスキルアニメーションのカメラワークの当たり判定打ち消し機能や設置物の落下処理に自分で実装したレイキャストを使用している。これらをFiguraの機能に置き換えられる可能性あり。

feat: Adds new function to ClientAPI generateUUID which generates a random UUID by @.KitCat962 in #99

設置物やExスキルフレームの三角形のパーティクルのモデルをコピーする際に重複しない名前を生成する必要があるため、UUIDを利用できれば簡単に重複しない名前を生成することができる。

feat: Allow cancelling any playing sound from a user when returning true in the ON_PLAY_SOUND event by @.KitCat962 in #170

現在は銃の射撃音に弓やクロスボウの発射音が再生されるので、これを消すことができる。

feat: Add FiguraModelPart.remove to remove a given part from it's parent by @.UnlikePaladin in 11720d1

モデルパーツの削除のコードが簡単になる?

feat: CUTOUT_EMISSIVE_SOLID now renders full bright as it uses the beacon beam and not the warden's shader by @.UnlikePaladin in 188f8c1

新しいレンダータイプ。試す価値あり。

タスク

Gakuto1112 commented 7 months ago

Figura 0.1.3にしたらFiguraフォーマットのモデルのテクスチャが全て化けてしまった。Genericフォーマットに戻すことで修正可能であるため、忘れずに変換を行うこと。

Gakuto1112 commented 7 months ago

Figura 0.1.2ではmodels:moveTo(<new_parent>)でモデルパーツを動かしても何故か元の場所にモデルパーツのインスタンスが残っていたが、Figura 0.1.3から移動元には何も残らないようになった。「モデルパーツを別の場所に動かしてそれを後で元の場所に戻す」というコードはエラーを起こす可能性があるので注意する。

Gakuto1112 commented 7 months ago

メモ

次の作業は「設置物のIDをUUIDに置き換えるところ」から。

Gakuto1112 commented 7 months ago

現在は銃の射撃音に弓やクロスボウの発射音が再生されるので、これを消すことができる。

feat: Allow cancelling any playing sound from a user when returning true in the ON_PLAY_SOUND event by @.KitCat962 in #170

どうやら、アバターが再生した音とかUIの音ぐらいしか捕捉できない?目的が達成できなくて残念...

Gakuto1112 commented 7 months ago

feat: CUTOUT_EMISSIVE_SOLID now renders full bright as it uses the beacon beam and not the warden's shader by @.UnlikePaladin in 188f8c1

新しいレンダータイプ。試す価値あり。

このレンダータイプでは「透過可能な発光テクスチャ」が可能である。つまり、ヘイローの発光に有効であると思われた。しかし、影modが有効である場合は、透過部分にうっすらと黒くなり、透過部分であっても影ができてしまうのであまり使えるものではなかった。

Gakuto1112 commented 7 months ago

現在は銃の射撃音に弓やクロスボウの発射音が再生されるので、これを消すことができる。

feat: Allow cancelling any playing sound from a user when returning true in the ON_PLAY_SOUND event by @.KitCat962 in #170

どうやら、アバターが再生した音とかUIの音ぐらいしか捕捉できない?目的が達成できなくて残念...

...と思われていたが、どうやらこれはバグのようである。

Gakuto1112 commented 7 months ago

武器の射撃音や煙パーティクルの出現位置を変更したことにより、bullet.luaが削除された。このissueの変更がメインにマージされたときに、必然的に #40 もクローズとなる。

Gakuto1112 commented 7 months ago

武器で射撃した際の煙パーティクルが出る位置の目印として、models.models.gun.Gun.MuzzleAnchorを追加した。これがないとエラーが発生するので、既存のキャラクターの武器にも忘れず追加しておくこと。