常见问题解答
以下是有关《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.
Check out GFX Troubleshooting.
Gameplay Related
How to play with my friends only?
There are multiple ways to achieve this:
- 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.
- 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.
- 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:
- Others manually add your skin to their game files by pasting it in the skins folder in the config directory.
- 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.