常见问题解答
以下是有关《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》的代码文件?
您可以该页面和某些博文找到相关文件。或在 https://codedoc.ddnet.org/ 中找到自动生成的文件。
“纹理文件的宽度无法被整除,或者高度无法被整除,这可能会导致显示错误”?
游戏想给予您和图像设计者最佳的体验,所以它规定了图像的外观尺寸,让设计者可以在创作时保持一致性。而在《Teeworlds》中,网格地图都是由一个个16*16的小图像组成,所以图像的长宽都需要被16整除才能渲染成功,不然就会出现所谓“纹理/像素出血”的情况。您可自行搜索以了解更多。
“服务器无响应”?
服务器可能已关闭或无法从客户端访问,这可能是由于DoS攻击(拒绝服务攻击)。您可以稍后再尝试。
遇到图形出错、黑屏、游戏崩溃等显卡相关问题怎么办?
一般来说,某些问题,包括但不限于闪屏、黑屏、游戏崩溃等各式故障,都因显卡故障而生,有关于如何解决这些问题请阅显卡故障排除。
游玩相关问题
如何仅和自己的朋友一起玩?
有几种方法:
- 进入没有玩家的官方DDNet服务器,按Esc,然后发起投票,选择您想要的地图;或者在聊天栏中使用
/map
来换地图。然后和您的朋友在聊天栏中都输入/team [数字1-63]”
加入队伍(请务必输入同一数字),然后输入/lock
锁定团队。这样其他人仅可观看您游玩而不会进入干扰您,另外当您完成地图时,您将获得官方排名与分数。 - 使用公共服务托管公共服务器,例如Trashmap:https://trashmap.ddnet.org/ ,您可以上传并游玩任何您想要的地图,但完成地图后您不会获得任何官方排名与分数。
- 自行创建LAN服务器,并设置为公共服务器。
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.