材质包

来自Terraria Wiki
跳转至: 导航搜索
此页面的(部分)内容需要被翻译。
你可以帮助我们来翻译此页面
电脑版 电脑版独有内容:此信息适用于电脑版泰拉瑞亚
本页面描述的是实验性的泰拉瑞亚功能。
以下所描述的功能在将来的泰拉瑞亚更新中可能会变更或删除,并且可能无法正常运行。建议您在开启或使用这些功能之前备份世界与玩家文件。

The Texture Pack feature enables the use of alternate graphics. This feature is experimental[1], and requires that "UseExperimentalFeatures" is set to "true" in the config.json settings.

Activating Experimental Features[编辑 | 编辑源代码]

UseExperimentalFeatures in config.png

To activate experimental features, you will need to edit your config.json file:

  • To find your config.json file:
    • On Windows, the config.json file is found in Documents\My Games\Terraria (C:\Users\username\Documents\My Games\Terraria)
    • On Mac, the config.json file is found in Library/Application Support/Terraria
    • On Linux, the config.json file is found in $XDG_DATA_HOME/Terraria​
  • Open config.json with a text editing program.
  • Change the line labeled "UseExperimentalFeatures" to true. It should look like the image on the right when it's ready.
  • The next time you launch Terraria, these features will now be functional.

Texture Pack Support[编辑 | 编辑源代码]

Texture Pack zip location.png

Texture packs, for those unfamiliar, are add-on files, usually created by players for themselves or others, which change the appearance of some or all of a game's content. This could include weapons, enemies, NPCs, furniture, even the player. This allows a range of options to a player, from as little as simple tweaks to an item or two, to a full, sweeping redesign of the entire game's art.

Creating and Installing a Texture Pack

  • Texture pack files are saved as .zip files (with no password).
  • Texture pack files must be placed in the following directory:
    • On Windows, Documents\My Games\Terraria (C:\Users\username\Documents\My Games\Terraria)
    • On Mac, Library/Application Support/Terraria
    • On Linux, $XDG_DATA_HOME/Terraria​
  • For the texture pack to be detected and loaded it must be named Texture Pack.zip and be in the specified directory above. On Windows, the correct name and folder would look something like the image to the right.
  • The texture pack needs to contain only an Images folder. In the Images folder, any texture you include will replace Terraria's texture of the same path and name.
  • Replacement textures should be saved as png, gif, or jpg. These are the image formats currently supported for this experimental version of the feature.
  • We've also included an example file here. The zip file contains some basic texture images, as well as a sample zip file (named Texture Pack.zip) which can be installed to practice and test out the feature. The test pack replaces Wood blocks and Wood walls, so you know what to look for.

Image File Names[编辑 | 编辑源代码]

The new images must share the same file name as the default images (albeit with a png extension). The default Terraria images can be located here:

  • On Windows Steam version, C:\Program Files (x86)\Steam\steamapps\common\Terraria\Content\Images.
  • On Mac Steam version, Library\Application Support\Steam\steamapps\common\Terraria\Content\Images.

These default images are stored with the xnb file extension. TExtract can be used to extract the default xnb images as png files for viewing, editing, and saving.

参考[编辑 | 编辑源代码]

历史[编辑 | 编辑源代码]

本文章有开启的信息请求
 
以下列出了本文章请求添加或更改的地方。整个泰拉瑞亚 Wiki 上当前所有的请求参见Category:文章信息请求
  • Default image storage location for GOG versions and Linux.
满足了一个请求时,编辑此页面将其移除。当所有请求都已满足时,从此页面上移除 {{info request}} 模板。
Promotional Content