常見問題解答
以下是有關《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
里,您可以找到配置文件和遊戲設定。配置文件目錄也可以當作數據目錄,用來取代皮膚和其他文件夾,而無需修改客戶端的數據目錄。(註:它具有與數據目錄相同的目錄結構)
為什麼我的遊戲皮膚,實體,自動執行等等的文件在更新之後被重置了?
開發的時候,我們會定期替換、更新或刪除某些文件。更新之後,我們在開發時所更改的文件都會將您的數據和二進制目錄覆蓋。為了確保您的個人修改不會丟失,請使用配置目錄,它和客戶端的數據目錄有相同的目錄結構。
「紋理文件的寬度無法被整除,或者高度無法被整除,這可能會導致顯示錯誤」?
遊戲想給予您和圖像設計者最佳的體驗,所以它規定了圖像的外觀尺寸,讓設計者可以在創作時保持一致性。而在《Teeworlds》中,網格地圖都是由一個個16*16的小圖像組成,所以圖像的長寬都需要被16整除才能渲染成功,不然就會出現所謂「紋理/像素出血」的情況。您可自行搜索以了解更多。
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/
"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.