常見問題解答

From DDraceNetwork
Revision as of 06:46, 18 February 2023 by By (talk | contribs) (Created page with "===有没有关于《DDNet》的代码文件?===")

以下是有關《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里,您可以找到配置文件和遊戲設定。配置文件目錄也可以當作數據目錄,用來取代皮膚和其他文件夾,而無需修改客戶端的數據目錄。(註:它具有與數據目錄相同的目錄結構)

為什麼我的遊戲皮膚,實體,自動執行等等的文件在更新之後被重置了?

開發的時候,我們會定期替換、更新或刪除某些文件。更新之後,我們在開發時所更改的文件都會將您的數據和二進位目錄覆蓋。為了確保您的個人修改不會丟失,請使用配置目錄,它和客戶端的數據目錄有相同的目錄結構。

有沒有關於《DDNet》的代碼文件?

The game tries to give you and graphic designers the best experience. In order to archive that, it defines what the layout of its graphics should look like, so the artists can rely on consistency during their creative work.

For example: In Teeworlds the tile maps are small 16x16 images inside a bigger image. In order to render these tile maps correctly the game needs the image width and height to be divisible by 16, otherwise it can not determine where to split the tilemap into smaller tiles, else something called "texture bleeding" occurs, which is quite common in texture atlasses.

You can search the internet for more information about that.

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/

"The width of texture ... is not divisible by 16, or the height is not divisible by 16, which might cause visual bugs."

The game wants to give you and the image designer the best possible experience, so it specifies the dimensions of the image's appearance so that the designer can be consistent in his creation. In Teeworlds, the grid map is made up of small 16*16 images, so the length and width of the image needs to be divisible by 16 in order to render successfully, otherwise there will be what is called "texture/pixel bleeding". You can search for yourself to learn more.

"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.