> For the complete documentation index, see [llms.txt](https://docs.decentraland.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.decentraland.org/creator/content-creator-zh/chuan-dai-wu-yu-biao-qing-dong-zuo/guan-li-he-ji/uploading-emotes.md).

# 上传表情动作

将表情动作上传到编辑器的指南

导出表情动作后，您需要将其上传到构建器。本文档将介绍上传表情动作的流程。

## **上传文件**

请记住，您需要先创建一个合集，才能上传文件。如果您不知道如何操作，请参阅 [创建合集](https://docs.decentraland.org/creator/wearables-and-emotes/manage-collections/creating-a-collection)。要上传表情动作，只需将文件拖放到 ***新建项目*** 窗口中，或浏览电脑选择文件。系统会自动检测文件是否包含动画，并将其识别为表情动作。

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-b590cc0fef593eb6dd26b4418a3de0e48b84bfea%2F01_new_item.webp?alt=media)

将动画文件拖放到此处即可上传。

系统会要求您输入表情动作的名称、设置其稀有度、类别和播放模式。缩略图下方会显示文件中的动画片段数量、动画时长（秒）、帧数和帧率。

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-9aee8f4631c9f3b97c3224602d2c3780de00a761%2Fupload_emote.webp?alt=media)

## **使用 .zip 文件上传表情动作**

如果表情动作包含音频（*mp3* 或 *ogg*），则必须将其与 `.glb`一起压缩。之后，只需将 `.zip` 拖放到构建器中即可。此外，还可以在同一个 `.json` 文件与其他资源一起放入 `.zip` ，以添加名称、描述、稀有度、类别、播放模式和/或标签。各项定义如下：

* `name`：表情动作的名称
* `description`：表情动作的描述（总长度不超过 64 个字符，空格也计入）
* `category`：表情动作的类别（"dance"、"stunt"、"greetings"、"fun"、"poses"、"reactions"、"horror"、"miscellaneous"）
* `rarity`：物品的稀有度（"unique"、"mythic"、"legendary"、"epic"、"rare"、"exotic"、"uncommon"、"common"）
* `play_mode`：单次播放或循环播放动画（"simple"、"loop"）
* `tags`：便于在市场中查找的标签。

要为表情动作添加这些定义，只需创建一个文本文件，并将其命名为 **emote.json** 然后按以下示例添加内容：

```
{
  "name": "Tennis Shot",
  "description": "Show me you can do tennis",
  "category": "fun",
  "rarity":"epic",
  "play_mode": "simple",
  "tags":["tennis", "emote", "shot"]

}

```

这样，构建器就会读取所有 .json 信息，并自动将其应用到表情动作中。

**稀有度**

请在此处查看稀有度图表： [此处](https://docs.decentraland.org/creator/wearables-and-emotes/manage-collections/creating-a-collection#rarity).

## **类别**

请选择最符合您表情动作的类别。

* 舞蹈
* 特技
* 问候
* 趣味
* 姿势
* 反应
* 恐怖
* 其他

## **播放模式**

目前有两种播放模式：

* ***播放一次***：表示表情动作只会播放一次。播放结束后，化身将返回 *待机* 姿势。
* ***循环播放***：表情动作会循环播放，直到用户输入另一个动作。

## **自定义缩略图**

表情动作无需上传图片，因为编辑器内置了创建缩略图的工具。只需选择最能代表该动作的画面即可。

用户应该能通过缩略图了解动画的内容。如果正面视角效果不够理想，可以尝试旋转模型、放大或缩小、上下平移，或者从片段中选择任意一帧。选择最佳画面非常重要！

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-a84c6014d61d82c2de103ce8293f352e226f798c%2FEdit_thumbnail.webp?alt=media)

旋转、放大或缩小、上下平移。使用这些工具，为动画选出最佳画面！

## 编辑器

设置缩略图后，编辑器就会打开。你可以在这里检查动画播放是否正常，因为 3D 化身会演示该动画。

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-d937cd81c86b8407dafb89c15edd66716a0af642%2Feditor.webp?alt=media)

点击左下角的图标即可编辑化身。点击右下角的圆柱体图标，检查动画是否处于高度和空间范围之内。

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-6332e16724a0f288d0a3c630264979ff679163ec%2Fedit_avatar.webp?alt=media)

左下角的图标可用于编辑化身。

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-c10655b9cb14c7d79f809106d325b73d67bb5029%2Fboundaries.webp?alt=media)

圆柱体图标会显示动画的边界。

你还可以编辑表情动作的名称、缩略图、类别、稀有度和播放模式，也可以为动画添加描述和标签。完成后点击 ***保存*** 。

* **描述：** 简要描述你的物品，此描述会显示在市场中。
* **用途** 描述可穿戴物品或表情动作在虚拟世界中的用途。
* **标签：** 标签是用户搜索或筛选物品时使用的描述性词语。这些标签与竞赛或活动相关！

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-56e38076bdaf080df7d15ca909c66cb30a352732%2Feditor2.webp?alt=media)

## 在世界中测试

即使已在编辑器中测试过动画，也务必检查它在 Decentraland 中的实际显示效果和行为。若要在虚拟世界中测试，请前往 Collections（收藏集）选项卡，选择所需的收藏集，即可查看其中的所有物品。点击 See in Decentraland（在 Decentraland 中查看）。

\
\\

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-ec863cc71e071d516098142543cd3b566383938e%2Fgetting_started.webp?alt=media)

\
\\

{% hint style="info" %}
系统会询问你要在空地块还是 Genesis Plaza 中进行测试。选择空地块会将你传送到内容较少、加载速度更快的地方。选择 Genesis Plaza 则会带你前往主广场。
{% endhint %}

\
\\

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-0388a4c08a6db0415508d087d2b689a2f6b37909%2Fchoice.webp?alt=media)

\
\\

{% hint style="info" %}
选择后，浏览器会打开一个新标签页，并提示你即将使用自定义 Catalyst。点击 TRUST PEER-TESTING.DECENTRALAND.ORG 继续。
{% endhint %}

\
\\

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-ae3cfbeb84e2ff3bbc66359856056929eecd4a56%2Fcustom_catalyst.webp?alt=media)

\
\\

{% hint style="info" %}
之后会弹出提示，询问是否打开 Decentraland Explorer。Explorer 启动后，点击 Jump Into Decentraland。
{% endhint %}

\
\\

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-5957b538a49a11b4a48a3aa74ac1331bd72e13b1%2Fmonoco.webp?alt=media)

\
\\

{% hint style="info" %}
进入虚拟世界后，按 I 键打开背包，然后在表情动作选项卡中选择要测试的表情动作。
{% endhint %}

\
\\

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-0c5a881b0a17cb770254cac82f693a0ed825fbf7%2Ftesting.webp?alt=media)

\
\\

## **发布前**

请务必添加合适的描述，并确认所有信息和设置均正确。也要再次检查缩略图。如果已填写所有必需信息，物品的状态将显示为 Ready to Submit（准备提交）。现在，你的表情动作已准备好发布！

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-f61173d99d8cb6fdf21e9c5aeee93eae0eabacd6%2Flast.webp?alt=media)

Ready to Submit（准备提交）状态表示你的文件已准备好发布！


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.decentraland.org/creator/content-creator-zh/chuan-dai-wu-yu-biao-qing-dong-zuo/guan-li-he-ji/uploading-emotes.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
