Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figura 0.1.3への対応 #41

Closed
6 tasks done
Tracked by #43
Gakuto1112 opened this issue Mar 2, 2024 · 8 comments
Closed
6 tasks done
Tracked by #43

Figura 0.1.3への対応 #41

Gakuto1112 opened this issue Mar 2, 2024 · 8 comments
Assignees
Labels
adaption For new Minecraft or Figura version base feature This issue or pull request is related to avatar base features character specific This issue or pull request is related to a character which are already made

Comments

@Gakuto1112
Copy link
Owner

Gakuto1112 commented Mar 2, 2024

概要

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

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

タスク

  • Figura 0.1.3で発生するアバターのエラーを修正
  • Figura 0.1.3で発生するアバターの論理エラーを修正
  • Figura 0.1.3の新機能(上記の「気になる点」 )をアバターに適用できるか検討
  • Figura 0.1.3の新機能(上記の「気になる点」 )をアバターに適用
  • 動作テスト
  • avatar.jsonやREADMEの更新
@Gakuto1112 Gakuto1112 added base feature This issue or pull request is related to avatar base features character specific This issue or pull request is related to a character which are already made adaption For new Minecraft or Figura version labels Mar 2, 2024
@Gakuto1112 Gakuto1112 mentioned this issue Mar 3, 2024
4 tasks
@Gakuto1112 Gakuto1112 self-assigned this Mar 4, 2024
@Gakuto1112
Copy link
Owner Author

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

@Gakuto1112
Copy link
Owner Author

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

@Gakuto1112
Copy link
Owner Author

メモ

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

@Gakuto1112
Copy link
Owner Author

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

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

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

@Gakuto1112
Copy link
Owner Author

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
Copy link
Owner Author

Gakuto1112 commented Mar 5, 2024

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

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

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

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

@Gakuto1112
Copy link
Owner Author

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

@Gakuto1112
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adaption For new Minecraft or Figura version base feature This issue or pull request is related to avatar base features character specific This issue or pull request is related to a character which are already made
Projects
None yet
Development

No branches or pull requests

1 participant