FAQ/zh: Difference between revisions

From DDraceNetwork
By (talk | contribs)
Created page with "'''<u>macOS</u>'''"
By (talk | contribs)
Created page with "目前:<code>%appdata%\DDNet</code>"
Line 34: Line 34:


开发的时候,我们会定期替换、更新或删除某些文件。更新之后,我们在开发时所更改的文件都会将您的数据和二进制目录覆盖。为了确保您的个人修改不会丢失,请使用配置目录,它和客户端的数据目录有相同的目录结构。
开发的时候,我们会定期替换、更新或删除某些文件。更新之后,我们在开发时所更改的文件都会将您的数据和二进制目录覆盖。为了确保您的个人修改不会丢失,请使用配置目录,它和客户端的数据目录有相同的目录结构。
<span id="&quot;The_width_of_texture_..._is_not_divisible_by_16,_or_the_height_is_not_divisible_by_16,_which_might_cause_visual_bugs.&quot;"></span>
===“纹理文件的宽度无法被整除,或者高度无法被整除,这可能会导致显示错误”?===
游戏想给予您和图像设计者最佳的体验,所以它规定了图像的外观尺寸,让设计者可以在创作时保持一致性。而在《Teeworlds》中,网格地图都是由一个个16*16的小图像组成,所以图像的长宽都需要被16整除才能渲染成功,不然就会出现所谓“纹理/像素出血”的情况。您可自行搜索以了解更多。


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
Line 47: Line 42:
The [[Special:MyLanguage/Development|Development]] page and some [[Special:MyLanguage/Resources#Blog Posts|blog posts]] may help you. You can also find auto-generated docs from Doxygen here: https://codedoc.ddnet.org/
The [[Special:MyLanguage/Development|Development]] page and some [[Special:MyLanguage/Resources#Blog Posts|blog posts]] may help you. You can also find auto-generated docs from Doxygen here: https://codedoc.ddnet.org/
</div>
</div>
<span id="&quot;The_width_of_texture_..._is_not_divisible_by_16,_or_the_height_is_not_divisible_by_16,_which_might_cause_visual_bugs.&quot;"></span>
===“纹理文件的宽度无法被整除,或者高度无法被整除,这可能会导致显示错误”?===
游戏想给予您和图像设计者最佳的体验,所以它规定了图像的外观尺寸,让设计者可以在创作时保持一致性。而在《Teeworlds》中,网格地图都是由一个个16*16的小图像组成,所以图像的长宽都需要被16整除才能渲染成功,不然就会出现所谓“纹理/像素出血”的情况。您可自行搜索以了解更多。


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">

Revision as of 06:48, 18 February 2023

以下是有关《DDraceNetwork》常见问题的解答。如果您想知道如何贡献本维基,可以看看此页面

如果您在这里没有找到您想了解的问题和答案,可以前往官方Discord或者中文社区的QQ频道里提问。

技术相关问题

《DDNet》的配置文件,配置目录在哪?

Windows

以前:%appdata%\Teeworlds

目前:%appdata%\DDNet

Linux

以前:~/.teeworlds

目前:~/.local/share/ddnet

macOS

以前:~/Library/Application Support/Teeworlds

目前:~/Library/Application Support/DDNet

settings_ddnet.cfg里,您可以找到配置文件和游戏设定。配置文件目录也可以当作数据目录,用来取代皮肤和其他文件夹,而无需修改客户端的数据目录。(注:它具有与数据目录相同的目录结构)

为什么我的游戏皮肤,实体,自动执行等等的文件在更新之后被重置了?

开发的时候,我们会定期替换、更新或删除某些文件。更新之后,我们在开发时所更改的文件都会将您的数据和二进制目录覆盖。为了确保您的个人修改不会丢失,请使用配置目录,它和客户端的数据目录有相同的目录结构。

Is there any documentation about the DDraceNetwork code?

The Development page and some blog posts may help you. You can also find auto-generated docs from Doxygen here: https://codedoc.ddnet.org/

“纹理文件的宽度无法被整除,或者高度无法被整除,这可能会导致显示错误”?

游戏想给予您和图像设计者最佳的体验,所以它规定了图像的外观尺寸,让设计者可以在创作时保持一致性。而在《Teeworlds》中,网格地图都是由一个个16*16的小图像组成,所以图像的长宽都需要被16整除才能渲染成功,不然就会出现所谓“纹理/像素出血”的情况。您可自行搜索以了解更多。

"No answer from server yet."?

It is likely the server is down or not reachable from the client, probably due to DoS attacks. You can try again later.

Problems related to the graphics renderer?

Check out GFX Troubleshooting.

Gameplay Related

How to play with my friends only?

There are multiple ways to achieve this:

  1. Join an empty official DDNet server, and vote any map you want in Escape -> Call Vote, or use "/map" in chat to search for a map. Join a team using "/team 23" in chat, you can /lock the team and /invite others to join it too. This means others can watch you play, and you get official ranks when you finish the map.
  2. Use a public service to host a public server, like Trashmap: https://trashmap.ddnet.org/ You can upload any map you want, but you won't get official ranks this way.
  3. Create a LAN Server, and set it up to be public.

What's weak and strong hook?

You can find information about this at the Hook page.

How to save and load a run?

You can use command /save to save your run in Team or in a solo map and get a code. You can also type /load "code" to use your own code. The run can be restored again with /load "code" command. Inside the config directory there is a file called ddnet-saves.txt, it will contain the save codes.

Make sure that every player has the same name to load. You and your team members need to be in a team and not have touched the start line to load a save game. Each save game can only be loaded once, so repeat the above steps if you need to save again.

Design Related

How to make a map or skin?

See Mapping, Skin creation and Resources in general.

How do I upload my map to the official server?

If you want to upload your map to the official server, your map should comply with and follow the map creation guidelines. Once you think your map meets all the requirements, you can submit it for review in the submit-maps channel on Discord.

How can I get other players to see the skin that I created?

There are two ways to get other players to see your custom skin:

  1. Others manually add your skin to their game files by pasting it in the skins folder in the config directory.
  2. Your skin gets added to the official skin database and automatically downloaded for all other players.

If you are interested in the second option, your skin must meet a set of requirements in order to keep consistency with other skins in the database and the game's style:

  • Resolution is 256x128
  • Outline sizes consistent with other skins
  • Fits the tee hitbox well
  • No missing, misaligned or cut off parts
  • No sharp or floating pixels
  • No effects that clash with the game's art style (blur, glow etc.)
  • Not too detailed or too plain
  • Not an edit of an existing skin
  • No elements that could be considered offensive

If you think your skin meets all of them, send it to one of the Skin Database Crew on discord for evaluation.