{{{#!comment - Do not use "wysiwyg" when editing, it seems to break the format. Only work with the "textarea". - This FAQ reflects the latest stable version, references to upcoming versions should be clearly highlighted and removed with the release. - Write short and to the point. - Pay attention to consistency (for example, internal links to other wiki articles are prefixed with wiki/…, links to forum posts always with a date, …). - It looks better if there is a little space between the text and the image by inserting a blank line before and after the image macro. Images from the source game can be inserted with "[[Image(source:ps/trunk/@, < ADDITIONAL OPTIONS, e.g., inline/size/position/...>)]]". Adding a revision number ensures that this particular image is shown at all times. - NOTE: write a comment about your change so that it is easier to see from the history what the change was about. Even a single word is better than nothing. }}} [[TOC(noheading)]] [[Image(FAQ:Empires-Ascendant-1024.png,325,title=0 A.D.)]] = Frequently Asked Questions (FAQ) = {{{ #!div class="compact" style="float: right; font-size: 90%; padding: 0.5em 1em; text-align: center; background: #efe; border: 1px solid #ddd; border-radius: .5em; box-shadow: .2em .2em .7em 0 #777; line-height: 3ex;" **Latest release:**[[BR]][https://play0ad.com/download/ Alpha XXVI - Zhuangzi][[BR]][https://trac.wildfiregames.com/wiki/Alpha26 Changelog] }}} [[span('''Last modified: Winter 2022/23''', style=color: gray; font-size: 90%)]] == '''Troubleshooting''' == {{{#!div class="important" style="background: #ffd" **NOTE:** If the problem remains, ask for help either on the [https://wildfiregames.com/forum/forum/145-help-amp-feedback/ Forum] or via IRC [https://wildfiregames.com/irc.html #0ad]/ [https://webchat.quakenet.org/?channels=0ad-dev #0ad-dev]^[[FAQ#Footnote|(1)]]^, the game is maintained by volunteers who do all sorts of tasks, be patient. }}} === General === {{{#!table style="border: none" {{{#!tr {{{#!th style="border-left:none;text-align:left" >Storage location for cache, config, logs, mods, replays and screenshots }}} {{{#!td style="border-right:none;padding-left:0.5em" See [[GameDataPaths|wiki/GameDataPaths]] }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Crash when starting the game/[[BR]]No replay files are generated }}} {{{#!td style="border-right:none;padding-left:0.5em" Do you have any antivirus software running? Try disabling it or add an exception for 0AD. }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Crash when starting a match }}} {{{#!td style="border-right:none;padding-left:0.5em" Disable `Post-processing` in the game options. }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Errors are displayed/[[BR]]Game crashes on startup/[[BR]]Permanently black screen }}} {{{#!td style="border-right:none;border-bottom: 1px dotted lightgrey;padding-left:0.5em" 1. Try to disable all mods not compatible with the new version via the `Mod Selection` page. 2. If you cannot access the `Mod Selection` page, try to locate your `user.cfg` file (see [[GameDataPaths|wiki/GameDataPaths]]) and either backup and then delete it or search for `mod.enabledmods`. Replace this line with: {{{#!cfg mod.enabledmods = "mod public" }}} 3. In some cases after disabling old mods, you might also have to delete the contents of your `/0ad/mods/user` folder. The wiki article [[GameDataPaths|wiki/GameDataPaths]] should tell you where to find it. }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Why does the screen keep going black for a short time? }}} {{{#!td style="border-right:none;border-bottom: 1px dotted lightgrey;padding-left:0.5em" Try disabling `FreeSync` on the monitor to fix the black screen issue. - Related forum thread: [https://wildfiregames.com/forum/topic/63158-0-ad-screen-goes-black/?do=findComment&comment=466455 0 A.D. Screen Goes Black] (20/Nov/21) }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >How do I increase or decrease the user interface? }}} {{{#!td style="border-right:none;padding-left:0.5em" `Settings` => `Options` => `Graphics(general)` => `GUI scale` }}} }}} {{{#!tr {{{#!th rowspan=3 style="border-left:none;text-align:left" >How can I change the maximum/minimum camera zoom? }}} |---------------- {{{#!td style="border-right:none;border-bottom: 1px dotted lightgrey;padding-left:0.5em" Try to locate your `user.cfg` file (see [[GameDataPaths|wiki/GameDataPaths]]) and add the following lines to it: {{{#!cfg view.zoom.min = "30" view.zoom.max = "300" }}} By decreasing `view.zoom.min` you can zoom in closer, and by increasing `view.zoom.max` you can zoom out further. The default values of the game are set in the [[source:ps/trunk/binaries/data/config/default.cfg@27104#L577|default.cfg]]. With a larger zoom max more things have to be drawn, expect reduced performance, especially on weak GPU's. }}} |---------------- {{{#!td style="border-right:none;border-top:none;padding-left:0.5em" In single player mode, you can open the developer overlay with `Alt + D` and toggle the `Restrict camera` option so that you can adjust the camera zoom to your preferences. [[Image(FAQ:restrict_camera.png,center,250)]] }}} }}} {{{#!tr {{{#!th rowspan=3 style="border-left:none;text-align:left" >Game is lagging }}} |---------------- {{{#!td style="border-right:none;border-bottom: 1px dotted lightgrey;padding-left:0.5em" __Network latency:__[[BR]] The lobby is hosted by us, but all the games you play connect you directly to the game's host. Depending on your location and internet quality, you may experience a high Ping/ latency with certain players. {{{#!div class="important" style="background: #ffd" **NOTE:** If you suffer from a consistently high Ping time, you will cause lag for all other players. Using an Ethernet cable can help a little. You can check your RTT (aka Round Trip Time/ Ping) with different hosts by pressing `F11 or Alt+F11` and toggle through until you see the `Network host/client statistics` panel. [[Image(FAQ:in_game_profiler_network.png,center,600)]] }}} }}} |---------------- {{{#!td style="border-right:none;border-top:none;padding-left:0.5em" __Computation lag:__[[BR]] This is a common problem with the game. The main factors that determine how smoothly 0 A.D. runs are primarily the CPU speed, the amount of RAM available, the type of graphics card in your computer, the game options and the game's setup settings you choose. If you are unhappy with the performance of the game on your computer, there are some things you can do to improve it, but be aware that the lag for large battle scenes will likely be noticeable regardless of your settings or PC specifications. 1. ''Before Launching 0 A.D.'' - It is recommended to close all other applications as they consume resources and affect the overall performance of the system. 2. ''Game Options'' - `Antialiasing`: `FXAA` has no performance impact, `MSAA` only for good GPU's. Must be disabled for macOS, see [[FAQ#macOS|Platform-specific]]. - Set `Model Quality` to the lowest value. - Disable `Shadows` or choose `Low Quality` from the dropdown menu and a low value for `Cutoff distance`. - Enable `Water Effects`, but disable `High-quality water effects` and `Water refractions`. - `Texture Quality` - `Low` - `Texture anisotropic filter` - `1x` 3. ''Game Setup'' - Play on smaller maps and limit population to 600 units across the map for all players. Rendering, simulation (for example gathering / attacking), and the pathfinder all have an impact on performance. If you have more units, more things need to be drawn, which affects rendering, more things to calculate for unit activity affects simulation, and larger map sizes cause longer paths, which affects the pathfinder. {{{#!div class="important" style="background: #ffd" **NOTE:** Multiplayer games are calculated on all computers simultaneously, with the slowest PC determining the game speed. If your computer is a bit outdated, you should follow the guidelines listed above. This might make the game faster for everyone. By toggling the [[EngineProfiling#In-GameProfiler|wiki/In-GameProfiler]] with `F11 or Alt+F11` you can see which processes take the most time, often it is the `render` process and in large battle scenes also the `sim update`. [[Image(FAQ:in_game_profiler_render.png,center,600)]] }}} [[GamePerformance|Wiki/GamePerformance]] summarizes the problems, that need to be solved, to improve performance. }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Frame rate - CPU and GPU workload }}} {{{#!td style="border-right:none;padding-left:0.5em" 1. Every frame that is calculated by the GPU is "prepared" by the CPU, one of them will limit your frame rate (FPS). When you select graphics effects, you create additional workloads for your GPU and CPU, causing your framerate to drop. Current PCs are mostly CPU limited in 0 A.D.. Since graphics effects mostly affect the GPU, you can (on newer PCs) choose the higher graphics effects without sacrificing performance. 2. Thermal throttling is especially known for mobile PCs. If the hardware gets too hot, it throttles its performance until the hardware cools down again. Therefore, a limited but constant frame rate is usually better than a frame rate that fluctuates due to thermal throttling. 3. VSync will also limit the framerate to the framerate of the monitor. - Related forum thread: [https://wildfiregames.com/forum/topic/34409-recomandet-fps-throttling/?do=findComment&comment=417420 Recommended FPS Throttling?] (16/Dec/20) }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >No sound, no audio, or 0 A.D. is the only app with sound }}} {{{#!td style="border-right:none;padding-left:0.5em" There are some settings in the game related to volume levels. From the main menu, click Settings, Options, Sound. If you start 0 A.D. then connect a sound device or plug in an audio jack, then usually it is necessary to configure your operating system to use that new sound device as the default sound device and restart 0 A.D. in order for it to be detected. If you often do that on Linux with pulseaudio, consider enabling "allow-moves" in the OpenAL configuration. More on the configuration is later in this answer. Note that the [https://github.com/kcat/openal-soft/commit/c135629eae544b0e7785803b98987c1ab1eb95ca default setting changed] between release version 1.19.0 and 1.20.0, to remove a workaround for a KDE bug related to the primary audio device. Thanks to Dunedan and seeh for the [https://wildfiregames.com/forum/topic/108002-what-kind-of-audio-system-does-0-ad-use/#comment-555709 idea]. Assuming that sound works for other apps while 0 A.D. is not running then troubleshooting the sound output of 0 A.D. likely involves troubleshooting OpenAL on your system. This is because 0 A.D. uses the OpenAL sound system for audio output. It can be useful to test other games that use OpenAL, such as chromium-bsu, supertux, supertuxkart, dustracing2d, scorched3d, lugaru, warzone2100, ioquake3, and rtcw. Check the OpenAL configuration, which on Linux and Mac is stored at {{{/etc/openal/alsoft.conf}}}, and on Windows is stored in {{{%AppData%\alsoft.ini}}}. If it does not already exist then download [https://raw.githubusercontent.com/kcat/openal-soft/master/alsoftrc.sample alsoftrc.sample], rename it to the appropriate name for your OS and store it in the correct location, listed earlier. Ensure that the correct "driver", also known as "audio backend", is being used by OpenAL. There are reports from users where unexpected drivers were used by OpenAL, for example trying to use jack, failing, next using alsa instead of Pulseaudio. The only documentation easily found about the OpenAL configuration is in the comments within alsoft.conf. When referencing drivers in the OpenAL configuration, use the name of the audio backend within the quote marks at [https://github.com/kcat/openal-soft/blob/master/alc/alc.cpp#L199 alc.cpp]. Recommended OpenAL drivers configuration statement: * Linux: {{{drivers = pulse,alsa,}}} * Mac: {{{drivers = core,}}} * Windows: {{{drivers = wasapi,}}} Note that OpenAL driver availability depends on your operating system and compile-time choices for your copy of the OpenAL library. The [https://github.com/kcat/openal-soft#utilities openal-info] utility lists detected devices. If you are using Linux then openal-info may be available for your distribution in a package called, for example, openal-info. For further help with OpenAL, contact the OpenAL developers via the means specified on their [https://openal-soft.org/ website]. Note that OpenAL can only work as well as the audio backend or driver that it is configured to use, so that is another area to consider during troubleshooting. }}} }}} }}} === Platform-Specific === {{{#!table style="border: none" {{{#!th colspan=2 align=left style="border: none" {{{#!comment The following is an anchor to uniquely identify a position in the document. https://trac.wildfiregames.com/wiki/WikiFormatting#SettingAnchors }}} [=#Linux][[Image(https://img.shields.io/badge/Linux-green?logo=Linux&logoColor=white&style=flat-square&labelColor=gray,center,105,link=https://trac.wildfiregames.com/wiki/FAQ#Linux)]] }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Game does not capture the left `ctrl` key press. }}} {{{#!td style="border-right:none;padding-left:0.5em" The left `ctrl` problem seems to be a result of the `show cursor` functionality of gnome-tweak. - Related forum thread: [https://wildfiregames.com/forum/topic/48361-crash-on-map-selection-and-hotkey-problem/?do=findComment&comment=442582 Crash on map selection and hotkey problem] (19/Jul/21) }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Game fails to launch on Ubuntu. }}} {{{#!td style="border-right:none;padding-left:0.5em" If snap doesn't work, you can try the PPA (Ubuntu's Personal Packaged Application), see link below. - Related forum thread: [https://wildfiregames.com/forum/topic/56863-game-fails-to-launch-assertion-failed-m_worker Game fails to launch - Assertion failed: "!m_Worker"] (20/Sep/21) }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Mouse cursor is missing }}} {{{#!td style="border-right:none;padding-left:0.5em" Try to locate your `user.cfg` file (see [[GameDataPaths|wiki/GameDataPaths]]) and add the following lines to it: {{{#!cfg cursorbackend = "system" nohwcursor = "true" }}} - Related forum thread: [https://wildfiregames.com/forum/topic/78840-i-dont-have-a-cursor-in-the-game I don't have a cursor in the game] (30/Apr/22) }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Triple screen, 0AD doesn't span over all screens! }}} {{{#!td style="border-right:none;padding-left:0.5em" Workaround it with windowed mode and xfce4 fullscreen. - Related IRC chat: [http://irclogs.wildfiregames.com/%230ad/2021-12-25-QuakeNet-%230ad.log Triple screen Linux] (25/Dec/21) }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Mouse cannot change screen on multiple displays e.g. 5120x1440 }}} {{{#!td style="border-right:none;padding-left:0.5em" Try to locate your `user.cfg` file (see [[GameDataPaths|wiki/GameDataPaths]]) and add the following line to it: {{{#!cfg borderless.fullscreen = "false" }}} - Related Ticket: [https://trac.wildfiregames.com/ticket/6644 #6644 - Game Menu not accessible when playing at resolution 5120x1440 fullscreen] (24/Oct/22) }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Can't move cursor through the entire screen (mouse is restricted to some region) }}} {{{#!td style="border-right:none;padding-left:0.5em" Try to open the game in a window mode (`Alt + Enter`) and disable mouse grab via `Settings` => `Options` => `Graphics (general)`: [[Image(FAQ:mouse_grab_disabled.png,center,600)]] If it's impossible to open the game in a window mode try to locate your `user.cfg` file (see [[GameDataPaths|wiki/GameDataPaths]]) and add the following line to it: {{{#!cfg window.mousegrabinfullscreen = "false" }}} - Related Ticket: [https://trac.wildfiregames.com/ticket/6649 #6649 - Can't move cursor through the entire screen on Linux with GNOME] (12/Nov/22) }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Can't switch audio device for 0AD }}} {{{#!td style="border-right:none;padding-left:0.5em" Not being able to switch the audio device 0AD uses to output sound while 0AD is running might be caused by a [https://github.com/kcat/openal-soft/commit/c135629eae544b0e7785803b98987c1ab1eb95ca bug in KDE] or a [https://github.com/kcat/openal-soft/commit/c135629eae544b0e7785803b98987c1ab1eb95ca limitation of the default] OpenAL configuration. To fix that, consider adding the following option to OpenAL's configuration file (either `/etc/openal/alsoft.conf` or `~/.alsoftrc`): {{{#!cfg [pulse] allow-moves=true }}} More information about this issue is in the answer to the question "No sound, no audio, or 0 A.D. is the only app with sound" }}} }}} {{{#!th colspan=2 align=left style="border-left: none;border-right: none" [=#macOS][[Image(https://img.shields.io/badge/macOS-blue?logo=Apple&logoColor=white&style=flat-square&labelColor=gray,center,120,link=https://trac.wildfiregames.com/wiki/FAQ#macOS)]] }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >0 A.D. cannot be opened because the developer cannot be verified. }}} {{{#!td style="border-right:none;padding-left:0.5em" The reason for this message is that 0 A.D. would need to be signed with a developer AppleID, which costs an annual subscription. At the moment, this problem can be bypassed for the installation by `right-clicking` and clicking `Open`. [[Image(FAQ:macOS_installation.jpg,center,600)]] - See Apple Support: [https://support.apple.com/guide/mac-help/open-a-mac-app-from-an-unidentified-developer-mh40616/12.0/mac/12.0 Open a Mac app from an unidentified developer] }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >0 A.D. is damaged and can't be opened. [[Image(FAQ:macOS_damaged.png,center,200)]] }}} {{{#!td style="border-right:none;padding-left:0.5em" When downloaded through a typical browser, an attribute called `com.apple.quarantine` is added to the file. When the file is opened, macOS Gatekeeper is triggered. The problem would probably not occur if 0 A.D. would be signed with a developer AppleID, which costs an annual subscription.[[BR]] As a workaround, users can manually remove extended attributes using `xattr`, a natively installed macOS utility for viewing/removing extended attributes from files. Open `Terminal` and type the following command. {{{#!sh xattr -rc /Applications/0\ A.D..app }}} {{{#!div class="important" style="background: #ffd" **NOTE:** If the file was downloaded using `curl --remote-name ` or `wget `, the problem would not occur because no attribute would be added. }}} - Related article: [https://osxdaily.com/2018/05/03/view-remove-extended-attributes-file-mac/ How to View & Remove Extended Attributes from a File on Mac OS] (3/May/18) - Related forum thread: [https://wildfiregames.com/forum/topic/106325-m1-install-corrupt-error M1 install "corrupt" error] (26/Feb/23) }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >All but player silhouettes and menus are just white. }}} {{{#!td style="border-right:none;padding-left:0.5em" Disable the graphics option `Antialiasing`. - Related forum thread: [https://wildfiregames.com/forum/topic/58441-all-but-player-silhouettes-and-menues-are-just-white All but player silhouettes and menues are just white?] (3/Oct/21) }}} }}} {{{#!tr {{{#!th rowspan=3 style="border-left:none;text-align:left" >Batch size adjustment and delete without the confirmation dialog doesn't work with the `Shift` key. }}} |---------------- {{{#!td style="border-right:none;border-bottom: 1px dotted lightgrey;padding-left:0.5em" The default batch adjustment hotkey (`Shift`) seems to not work correctly on non-Apple mice, set it to another, for example `Alt`. - Related ticket: [https://trac.wildfiregames.com/ticket/6501 #6501 - Changing the batch size via mouse wheel broken] (18/Apr/22) }}} |---------------- {{{#!td style="border-right:none;border-top:none;padding-left:0.5em" To delete without confirmation, press the `Fn` key in addition to `Shift`, or set it to another key, for example `Alt`. [[Image(FAQ:delete_shift.png,center,500)]] }}} }}} {{{#!th colspan=2 align=left style="border: none" [=#Windows][[Image(https://img.shields.io/badge/Windows-orange?logo=Windows&logoColor=white&style=flat-square&labelColor=gray,center,130,link=https://trac.wildfiregames.com/wiki/FAQ#Windows)]] }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Game does not render correctly/[[BR]]Rainbow colors }}} {{{#!td style="border-right:none;padding-left:0.5em" You need to adjust the property settings of the 0 A.D. application, see the link below. - Related forum thread: [https://wildfiregames.com/forum/topic/36656-game-does-not-render-correctly/ Game does not render correctly] (22/Feb/21) }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Mouse cursor disappearing }}} {{{#!td style="border-right:none;padding-left:0.5em" Go to the `Graphics (general)` settings tab and switch to `Windowed mode`. After restarting the game, the mouse cursor should be visible all the time. - Related ticket: [https://trac.wildfiregames.com/ticket/6369#comment:2 #6369 - Mouse disappears after 1st click] (30/Oct/21) }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Do I have to uninstall the old version when updating? }}} {{{#!td style="border-right:none;padding-left:0.5em" `Windows` is the only operating system that requires you to uninstall the old version of 0 A.D. when you try to upgrade to a new release. - Related IRC chat: [https://irclogs.wildfiregames.com/%230ad/2022-04-11-QuakeNet-%230ad.log Updating the game on Windows] (11/Apr/22) }}} }}} }}} === Multiplayer === {{{#!table style="border: none" {{{#!tr {{{#!th style="border-left:none;text-align:left" >How to play online? }}} {{{#!td style="border-right:none;padding-left:0.5em" Go to `Multiplayer` => `Game Lobby` => `Create a new account`, then you should see this page, now you can join a game or set one up yourself via `Host Game`. [[Image(lobby_2022.png,center,600)]] Or, watch [https://trac.wildfiregames.com/raw-attachment/wiki/FAQ/0%20A.D.%20-%20how%20to%20create%20a%20lobby%20account.mp4 this video] to see a demonstration of how to create a new 0 A.D. lobby account. }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Registering for the `Game Lobby` does not work:[[BR]][[BR]]''- "The server's certificate could not be verified or the TLS handshake did not complete successfully."[[BR]]- "Certificate expired"[[BR]]- "The stream has been closed by the server"[[BR]]- "An I/O error occurred"'' }}} {{{#!td style="border-right:none;padding-left:0.5em" Try to disable `TLS` via `Settings` => `Options` => `Networking / Lobby` [[Image(FAQ:TLS_disabled.png,center,500)]] {{{#!div class="important" style="background: #ffd" **NOTE:** There is a limit to the number of accounts you can submit per hour; if it doesn't work, try again later. }}} }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >''"Authentication failed."'' }}} {{{#!td style="border-right:none;padding-left:0.5em" This message usually appears, when you have got a typo in your password or username. If you are sure both are correct, you could create a forum account and contact [https://wildfiregames.com/forum/profile/21426-user1/ user1]. [[Image(FAQ:password.jpg,center,500)]] }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >I forgot my `Game Lobby` password. }}} {{{#!td style="border-right:none;padding-left:0.5em" Resetting is currently not possible via the user interface, you would need to create an account on the [https://wildfiregames.com/forum/index.php Forum] and contact [https://wildfiregames.com/forum/profile/21426-user1/ user1]. }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >The `Game Lobby` is empty or nearly empty. Or, I can't see my friend in the lobby, but we are definitely both logged in. }}} {{{#!td style="border-right:none;padding-left:0.5em" You may be using an older version of the game. Each major version of 0ad has a separate lobby. See [https://play0ad.com/download/ play0ad.com/download] for the latest version, or [https://releases.wildfiregames.com/] for archived versions. Ensure that you are using the same version as your friends in order to join games together. }}} }}} {{{#!tr {{{#!th rowspan=3 style="border-left:none;text-align:left" >My friend cannot join my game and I cannot join their game. }}} |---------------- {{{#!td style="border-right:none;border-bottom: 1px dotted lightgrey;padding-left:0.5em" __Firewall:__[[BR]]Try disabling it or add an exception for 0AD. - Related forum thread: [https://wildfiregames.com/forum/topic/18104-how-open-ports-for-0ad-multiplayer-match/page/2/?tab=comments#comment-370260 How open ports for 0AD multiplayer match?] (8/Mar/19) }}} |---------------- {{{#!td style="border-right:none;border-top:none;padding-left:0.5em" __Router:__[[BR]]If you forward the port, everyone will be able to join you. If you use STUN when hosting, probably many but not everyone will be able to join you. If you can't join someone else's game, there's nothing you can do about it other than informing the host that he should port forward or host your own game. }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Failed to connect to the server. UDP port 20595 not being forwarded. }}} {{{#!td style="border-right:none;padding-left:0.5em" There are several possible causes of this error message. Often it is caused by an incorrect network configuration on the host side. The host must ensure that UPnP is enabled at the router or UDP port 20595 is forwarded to their correct private IP address. If you see this error when attempting to connect to all hosts using STUN then you should [https://wildfiregames.com/forum/topic/106679-failed-to-connect-to-server-error-solved/#comment-548245 check] whether you have an Internet connection that uses Carrier-Grade NAT. If you discover that you have CGNAT then you may be able to ask your ISP if you can subscribe to "public IP address service". See the forum thread for more information. An alternative solution is to use a VPN to play 0ad online. Although the above are the most common causes, there are numerous other scenarios that can cause this symptom. Here are some examples. - [https://www.purevpn.com/blog/double-nat/ Double-NAT] networking configuration: Troubleshoot and remove the unnecessary NAT device. This could be present client-side or host-side. - Wireless network with too-high packet loss: try connecting with an ethernet cable instead. - Intel Puma chipset in the modem or router causing too-high packet loss: replace the affected device. - Inappropriate MTU used with a VPN causing loss of larger packets: should be fixed in 0ad alpha 27 and later. }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >How to do port forwarding? }}} {{{#!td style="border-right:none;padding-left:0.5em" Port forwarding is a way to make a computer on your network accessible to computers on the Internet, even though they are behind a firewall/router. This is commonly used when playing games or downloading files. If you have forwarded a port in your router settings, it is referred to as an open port. 0 A.D. uses UDP 20595 by default. - Related wiki article: [[Manual_SettingUpAGame#Settingupyournetwork|Wiki/Manual_SettingUpAGame#Settingupyournetwork]] [[Image(FAQ:router_port_forwarding.jpg,center,500)]] }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >How to play via LAN? }}} {{{#!td style="border-right:none;padding-left:0.5em" See this forum thread with detailed instructions - [https://wildfiregames.com/forum/topic/21614-multiplayer-on-lan/?do=findComment&comment=325645 Multiplayer on LAN] (16/Jan/17). }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Can I host my own lobby/ server? }}} {{{#!td style="border-right:none;padding-left:0.5em" Comprehensive instructions for hosting a lobby can be found in this Github repository: [https://github.com/0ad/lobby-bots github.com/0ad/lobby-bots]. So far, there is no way to run a game on a central server. One of the players is always the host. - Related forum thread: [https://wildfiregames.com/forum/topic/62883-can-we-reduce-lag-in-0ad-by-using-dedicated-game-servers-to-only-do-the-host-activities/ Dedicated Game Servers for Host Activities?] (17/Nov/21) {{{#!div class="important" style="background: #ffd" **NOTE:** Don't forget to modify your `user.cfg` file to connect to the correct lobby. }}} }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >How can I ban observers in multiplayer mode? }}} {{{#!td style="border-right:none;padding-left:0.5em" Possibilities for the Host of the game: * Set up a password. * In the `Options` under `Networking/Lobby` find `Observer limit` and set it to zero and no one can join after the game starts. * Open the chat window and type `/kick` (person can rejoin) or `/ban` (person can't rejoin) followed by the user nickname. Use the `Tab` key to autocomplete player names. [[Image(FAQ:ban_player.png,center,500)]] }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >[#LobbyModeration I was kicked, muted or banned from the lobby. Why, and how do I rejoin?] }}} {{{#!td style="border-right:none;padding-left:0.5em" [=#LobbyModeration]We hope that you too want to support an enjoyable environment for everyone in the lobby. Please be aware of the conduct that is against the rules by reading through the [https://trac.wildfiregames.com/browser/ps/trunk/binaries/data/mods/public/gui/prelobby/common/terms lobby legal terms], especially the [https://trac.wildfiregames.com/browser/ps/trunk/binaries/data/mods/public/gui/prelobby/common/terms/Terms_of_Use.txt Terms of Use]. Lobby moderators watch the chat messages in the public lobby, game room names, and player names. Misconduct is punished with kicks, mutes or bans, typically on a reactive basis that may be delayed by hours. So, don't assume that the messages you sent just before being muted were the cause of the mute. If you were simply kicked then you are able and allowed to reconnect to the lobby immediately. There are four English swearwords that cause the profanity filter bot to punish players. Initially, the bot will kick a user from the lobby for using profanity. With subsequent infractions the bot will mute a player for 2 days. If you were manually muted or banned then it is usually intentional, and you can privately contact a lobby moderator, via the [https://wildfiregames.com/forum/ forum] or [https://www.wildfiregames.com/irc.html IRC chat], in order to ask about the reason for the mute/ban or engage in the appeal process. Please include in the message your lobby username, the approximate time and date that it happened, and a description of what happened. You are not allowed to publicly complain about or even publicly discuss a ban. This helps to avoid spamming public chat with heated argument, and it ensures that there is an atmosphere conducive to a judicial process, Instead, the appeal process must be done through private communication with the lobby moderators. Lobby moderators include admins, moderators and helpers. The current lobby admin is [https://wildfiregames.com/forum/profile/21426-user1/ user1]. Current lobby helpers are [https://wildfiregames.com/forum/profile/34966-norse_harold/ Norse_Harold], [https://wildfiregames.com/forum/profile/37374-ginnungagap/ Ginnungagap], [https://wildfiregames.com/forum/profile/36311-pemulis/ Pemulis], [https://wildfiregames.com/forum/profile/33082-seeh/ seeh], [https://wildfiregames.com/forum/profile/29825-rossenburg/ Defc0n/Rossenburg ], and ("only in an emergency") [https://wildfiregames.com/forum/profile/24010-dunedan/ Dunedan]. }}} }}} }}} == '''Gameplay''' == {{{#!table style="border: none" {{{#!tr {{{#!th style="border-left:none;text-align:left" >How to beat the AI and get better in this game? }}} {{{#!td style="border-right:none;padding-left:0.5em" Read these threads and you will defeat the AI and most likely become a competitive player in the `Game Lobby`. - Related forum threads: - [https://wildfiregames.com/forum/topic/22257-a21-multiplayer-strategy-guide/ Multiplayer strategy guide] (11/May/17) - [https://wildfiregames.com/forum/topic/102586-a-collection-of-tips-tricks-that-might-help-players-improving/ A collection of tips & tricks that might help players improving] (24/Dec/22) - Related Reddit thread: [https://www.reddit.com/r/0ad/comments/w1ge65/comment/ijrkwue/?utm_source=share&utm_medium=web2x&context=3 Strategies to beat AI] (17/Jul/22) Alternatively, you can watch Youtube replays (see [[FAQ#Miscellaneous|Miscellaneous]] below) of pro players or download their replays to better see their build order and which tech upgrades they focus on. - Related forum topic: [https://wildfiregames.com/forum/forum/457-game-replays Game Replays] }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >What are the differences between `Random`, `Skirmish` and `Scenarios` maps? }}} {{{#!td style="border-right:none;padding-left:0.5em" See [[Mod_Layout#maps|wiki/Mod_Layout#maps]] [[Image(FAQ:map_type_selection.png,center,500)]] }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >What does the triangular icon above my unit indicate? }}} {{{#!td style="border-right:none;padding-left:0.5em" It shows the current rank of your unit. The bar increases during combat by gaining experience points, once a certain threshold is reached, the unit moves up a rank. Depending on the type of unit (Healer, Ranged or Melee), certain values of the unit are boosted. Move the mouse cursor over the rank icon in the HUD to see the benefits of each rank. The `Rank icon` and `Experience status bar` can be toggled on/off in the `Options` on the `Game Session` tab. [[Image(FAQ:promotion.png,center,600)]] {{{#!div class="important" style="background: #ffd" **NOTE:** Units can also gain experience points when garrisoned in certain military buildings that have `Rigorous Training`. }}} }}} }}} {{{#!tr {{{#!th rowspan=3 style="border-left:none;text-align:left" >How to interpret these resistance numbers in the tooltip? }}} |---------------- {{{#!td style="border-right:none;border-bottom: 1px dotted lightgrey;padding-left:0.5em" There are three major types of damage: 1. `Hack` damage is usually inflicted in close combat by infantry or cavalry units. 2. `Pierce` damage is dealt by ranged units, either infantry archers or skirmishers or even special siege units such as bolt shooters. 3. `Crush` damage is caused by siege units such as catapults or rams. The combat system works by matching the attack type with the resistance type.[[BR]] In the image below, the `Gallic Mercenary Cavalry` has a `6.5 Hack` attack and the `Athenian Hoplite` has a `5 Hack` resistance level. The value in brackets is the effective resistance percentage, calculated like this 1-0.9^resistance level^ (1-0.9^5^ = 41%). For each attack made by the `Gallic Mercenary Cavalry`, 59% of their `Hack` attack will deal damage to the `Athenian Hoplite`. [[Image(FAQ:attack_resitance.png,center,600)]] Attack damage and resistance levels can be increased through technology upgrades, unit ranks or auras. Some units also have a bonus against certain unit classes, e.g. the `Athenian Hoplite` in the image above has a `3x` attack bonus against cavalry units. - Related forum threads: - [https://wildfiregames.com/forum/topic/16985-using-a-percentage-for-armour Using a percentage for armour] (15/Jan/13) - [https://wildfiregames.com/forum/topic/27008-poll-armour-tooltip-format Armour tooltip format] (13/Sep/19) - [https://wildfiregames.com/forum/topic/27505-armour-computations/ Armour computations] (10/Jan/20) - [https://wildfiregames.com/forum/topic/79341-resistance-calculations/ Resistance calculations] (5/May/22) }}} |---------------- {{{#!td style="border-right:none;border-top:none;padding-left:0.5em" In addition, there are `Status Effects` that can cause various (temporary) effects. As of `Alpha XXVI - Zhuangzi`, this is a small feature that is limited to two effects. The `Iberian Champion Cavalry` can set enemies on `Fire` [[Image(source:ps/trunk/binaries/data/mods/public/art/textures/ui/session/icons/status_effects/burning.png@27104, 20px, bottom, inline)]] and the `Mauryan Guard Archer` can `Poison` [[Image(source:ps/trunk/binaries/data/mods/public/art/textures/ui/session/icons/status_effects/poisoned.png@27104, 20px, bottom, inline)]] enemy units. Different resistances for `Status Effects` are not implemented yet, meaning that if the unit is vulnerable, it will suffer the same damage as any other unit, regardless of tech upgrades. [[Image(FAQ:status_effect_poison.png,center,600)]] }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >How to defeat rams and siege towers? }}} {{{#!td style="border-right:none;padding-left:0.5em" Most effective are units that deal `Hack` or `Crush` damage, such as axemen, macemen, swordsmen, war elephants and rams themselves. Ranged units primarily deal `Pierce` damage, and are therefore ineffective against rams and siege towers. Large numbers of female workers can also be utilized, but they have a low HP and should therefore only be used as a last resort. - Related forum thread: [https://wildfiregames.com/forum/topic/85954-have-rams-been-nerfed-for-the-next-patch/ Have rams been nerfed for the next patch?] (11/Jul/22) }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Is training units in batches more efficient than training one at a time? }}} {{{#!td style="border-right:none;padding-left:0.5em" As a rule of thumb, training units with batches is more efficient the longer you do it and the larger the batch is. - Related forum thread: [https://wildfiregames.com/forum/topic/53327-batch-training-the-good-the-bad-and-the-ugly/ Batch Training (The Good, The Bad and The Ugly)] (24/Aug/21) {{{#!div class="important" style="background: #ffd" **NOTE:** If you press the `Batch production` key (`Shift` by default) and use the mouse wheel, you can change the batch size when the mouse is over the unit icon; alternatively, you can set the batch size in the options. }}} }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Can I order my units to run? }}} {{{#!td style="border-right:none;padding-left:0.5em" The unit only runs when it flees or when it is called into formation. There is no special command with which you can order a unit to run. - Related forum thread: [https://wildfiregames.com/forum/topic/44411-walk-vs-run Walk vs. run] (20/Jun/21) }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >What do the different formations do? }}} {{{#!td style="border-right:none;padding-left:0.5em" Your units are positioned in a certain way, for example in the `Box` [[Image(source:ps/trunk/binaries/data/mods/public/art/textures/ui/session/icons/formations/box.png@27104, 20px, bottom, inline)]] formation your melee troops are on the edge and your ranged units in the middle. Apart from that, there is no bonus that derives from forming a formation. - Related forum thread: [https://wildfiregames.com/forum/topic/80894-what-do-the-different-formations-do What do the different formations do?] (21/May/22) }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >How do you destroy a building instead of capturing it? }}} {{{#!td style="border-right:none;padding-left:0.5em" `Right-click` the building you want to destroy while holding down the `Ctrl` key. {{{#!div class="important" style="background: #ffd" **NOTE:** The default behavior is set to change to destroy instead of capture with the release of `Alpha XXVII`. There will be no option to switch back to the old behavior. }}} }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >How does capturing work? }}} {{{#!td style="border-right:none;padding-left:0.5em" The buildings have capture points for all players. If a player reaches 100% of the capture points for that building that player gains control over that building. Capture points can be gained by ordering units to capture that building or by that building standing inside a players area of influence (the player-coloured borders). }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Where can I find all keyboard combinations for the game? }}} {{{#!td style="border-right:none;padding-left:0.5em" - Either in the game itself via the GUI `Hotkeys` button or - see [[HotKeys|wiki/HotKeys]]. }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >How do I select idle units? }}} {{{#!td style="border-right:none;padding-left:0.5em" You can assign a specific `Hotkey` via the GUI for selecting: - `Builders` (unit that can construct buildings) - `Workers` (unit that can gather resources) - `Warriors` (unit suited for fighting) - `Any idle unit` [[BR]] In addition, press the `Include offscreen` key, by default the `Alt` key, to select all. [[Image(FAQ:idle_hotkeys.jpg,center,500)]] }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >How do you select only military units? }}} {{{#!td style="border-right:none;padding-left:0.5em" Press `Alt` and draw a rectangle over your units. }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Can you make groups of units? }}} {{{#!td style="border-right:none;padding-left:0.5em" Select a bunch of units and then press `Ctrl + 1`, you can make more multiple groups by using different numbers. To select this group, press the `1` key or another number key to which you have assigned your group. }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >How does trading work? }}} {{{#!td style="border-right:none;padding-left:0.5em" Let your traders move between markets or docks, which can be your own, your allies' or those of a neutral player. If you want to gain the most resources, choose the ones furthest apart from each other, since trading efficiency increases with distance. In addition to the gains made by the trader, each market or dock owner receives an international bonus when trading between players.[[BR]] The `Barter&Trade` menu allows you to set what is traded by clicking on the up or down arrows for each resource. [[Image(FAQ:barter_trade.png,center,600)]] }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Do you get the specified loot amount when you kill an enemy unit? }}} {{{#!td style="border-right:none;padding-left:0.5em" If you kill/ destroy an enemy unit or building, you get the specified loot and all resources that the unit had on it. You do not get this loot if you delete one of your own units or buildings. }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Does the game have cheat codes? }}} {{{#!td style="border-right:none;padding-left:0.5em" See [[Manual_Cheats|wiki/Manual_Cheats]] }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >How can I get units to move as individuals and not in formation? }}} {{{#!td style="border-right:none;padding-left:0.5em" `Right-click` on the symbol in the top left, the small indicator changes the symbol. [[Image(FAQ:formations_disabeld.png,center,500)]] }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >How do I get a `Game Lobby` rating and how is it calculated? }}} {{{#!td style="border-right:none;padding-left:0.5em" Currently, only 1v1 matches are rated, and this option can be turned on or off by the host of the game. When the option is turned on, it will be displayed at the bottom of the game settings page. You will start with a score of 1200, which will increase if you win and decrease if you lose. After your first rated game, the rating will be visible. [[Image(FAQ:rated_game.png,center,500)]] {{{#!div class="important" style="background: #ffd" **NOTE:** The rating adjustment is calculated with a simplified ELO algorithm, the exact details can be found here: [https://github.com/0ad/lobby-bots/blob/master/xpartamupp/elo.py elo.py]. }}} }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >How do I report a user who quits a `rated game` without resigning? }}} {{{#!td style="border-right:none;padding-left:0.5em" You need to find the correct replay file (see [[GameDataPaths|wiki/GameDataPaths]]) and upload it here: [https://wildfiregames.com/forum/topic/67875-ratings-disputes-and-offence-reporting Ratings Disputes and Offence Reporting] (11/Jun/21). }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >How are the points for total, economy, military and exploration calculated? }}} {{{#!td style="border-right:none;padding-left:0.5em" 1. '''Total:''' Sum of economy, military and exploration score 2. '''Economy:''' Resources gathered + trade income, divided by 10 3. '''Military:''' Sum of enemyUnitsKilledValue, unitsCapturedValue, enemyBuildingsDestroyedValue and buildingsCapturedValue, divided by 10 4. '''Exploration:''' percentMapExplored, multiplied with 10 [[Image(FAQ:score.jpg,center,500)]] }}} }}} }}} == '''Contributing''' == === Main game === {{{#!table style="border: none" {{{#!tr {{{#!th style="border-left:none;text-align:left" >How can I contribute? }}} {{{#!td style="border-right:none;padding-left:0.5em" [[Image(FAQ:contributing.jpg,border=4,center,500,link=https://trac.wildfiregames.com/wiki/GettingStarted#Wheretocontribute)]] [[BR]] We can always use another helping hand for this project. There are several ways to help and contribute: * '''Programming''' * [https://code.wildfiregames.com/ code.wildfiregames.com] * Engine development (mainly C++) * Gameplay / UI development (mainly done in JS, using the engine as the basis) * AI development (also mainly in JS) * '''Art''' * [https://wildfiregames.com/forum/forum/409-art-development/ wildfiregames.com/forum/art-development] * Ranges from 2D icons, textures to 3D models * '''Testing''' * [https://trac.wildfiregames.com/wiki/ReportingErrors trac.wildfiregames.com/wiki/ReportingErrors] * Just play the game and report problems and bugs you found. * '''Documentation''' * [https://trac.wildfiregames.com/wiki trac.wildfiregames.com/wiki] * Keep the wiki up to date * '''Translating''' * [https://www.transifex.com/wildfire-games/0ad/ transifex.com/wildfire-games/0ad] * Help to translate the game into different languages. * '''Modding''' * [https://wildfiregames.com/forum/forum/18-game-modification/ wildfiregames.com/forum/game-modification] * Create your own mods/ maps and share them with the community. * '''Promoting''' * [https://wildfiregames.com/forum/topic/27483-0-ad-social-media-accounts-we-need-you/ wildfiregames.com/forum] * Be a community manager and help others on the [https://wildfiregames.com/forum/index.php Forum] or social media. Spread the word by creating gameplay videos or writing a blog article about it. For more details, check the [[GettingStarted#Wheretocontribute|wiki/GettingStarted]] article. Contact us through the [https://wildfiregames.com/forum/index.php Forum] or via our IRC [https://wildfiregames.com/irc.html #0ad]/ [https://webchat.quakenet.org/?channels=0ad-dev #0ad-dev]^[[FAQ#Footnote|(1)]]^ channels. }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >If I find a solution to a bug, what should I do? }}} {{{#!td style="border-right:none;padding-left:0.5em" [https://code.wildfiregames.com/ Phabricator] (aka Phab) is used to manage patches. You can upload your solution there and request a review of your patch. If the developers accept it, it will be added to the development version and later ends up in the bundled release version. Details on how to submit patches can be found here: [[SubmittingPatches|wiki/SubmittingPatches]]. {{{#!div class="important" style="background: #ffd" **NOTE:** The only thing that gets a patch committed is a team member who pauses work on their own feature to review something. So if you feel you are not being heard, you may need to nag a developer, the best way is usually via IRC [https://wildfiregames.com/irc.html #0ad]/ [https://webchat.quakenet.org/?channels=0ad-dev #0ad-dev]^[[FAQ#Footnote|(1)]]^. }}} }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Where and how should I report bugs? }}} {{{#!td style="border-right:none;padding-left:0.5em" Guidance on how to report bugs correctly can be found here: [[ReportingErrors|wiki/ReportingErrors]].[[BR]] Before creating a ticket, you are encouraged to do a quick search, as the issue may already be known. You can use the search box below to search all tickets (open and closed) by title. {{{ #!html
}}} }}} }}} }}} === Map making === {{{#!table style="border: none" {{{#!tr {{{#!th style="border-left:none;text-align:left" >How to get started? }}} {{{#!td style="border-right:none;padding-left:0.5em" The game comes with a `Scenario Editor` (aka `Atlas`) for information see: - Related wiki article: [[Atlas_Manual|wiki/Atlas_Manual]] - Related forum topic: [https://wildfiregames.com/forum/forum/384-scenario-designmap-making/ Scenario Design/ Map making] }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >How can I play my self-created maps from the `Scenario Editor`? }}} {{{#!td style="border-right:none;padding-left:0.5em" Depending on which options you enabled/disabled when saving the map, you should find them under the correct map filter. - Related forum thread: [https://wildfiregames.com/forum/topic/67219-how-can-i-play-my-own-maps How Can I Play My Own Maps?] (7/Jan/22) {{{#!div class="important" style="background: #ffd" **NOTE:** Post your creation in the [https://wildfiregames.com/forum/forum/384-scenario-designmap-making/ Scenario Design/Map making] subforum, if it is well received it may even be included in the main game or become part of the [https://github.com/0ad-matters/community-maps-2 community-maps-2] mod. To find your saved maps, see also [[Atlas_Tricks|wiki/Atlas_Tricks]]. }}} }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >How to create a map preview ? }}} {{{#!td style="border-right:none;padding-left:0.5em" Must be done manually, see links below for instructions: - Related wiki article: [[Atlas_Manual_Map_Preview|wiki/Atlas_Manual_Map_Preview]] - Related patch: [[Phab:D4117|Hack for making a map preview]] }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Can maps be scripted to feel more like a mission? }}} {{{#!td style="border-right:none;padding-left:0.5em" Triggers can change the state of a unit directly, or they can be used to send the usual commands that users send through the user interface, see the wiki article for more information. Some standard maps that use triggers are `Danubius`, `Polar Sea` or `Jebel Barkal`. - Related wiki article: [[Triggers|wiki/Triggers]] - Related project with intensive use of triggers: [https://wildfiregames.com/forum/topic/28303-campaign-macedonia-rise-to-power-balkan-campaign-into-asia/ Campaign: Macedonia] (5/Jun/20) {{{#!div class="important" style="background: #ffd" **NOTE:** Triggers must be programmed in `JavaScript`, there is no graphical interface for them. }}} }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >How to garrison my units in a building or ship through the `Scenario Editor`? }}} {{{#!td style="border-right:none;padding-left:0.5em" There are **four** ways to workaround this limitation. A graphical interface solution depends on ticket #3008 (13/Jan/15). 1. Start the simulation in the `Scenario Editor` (aka `Atlas`), garrison your units, and then save the map while it is still running. - Related forum thread: [https://wildfiregames.com/forum/topic/77609-how-to-put-units-in-the-ship-in-the-editor/ How to put units in the ship in the editor] (19/Apr/22) 2. Edit the `.xml` file by inserting `Garrison` and `GarrisonedEntity`, see [[source:ps/trunk/binaries/data/mods/public/maps/skirmishes/sicilia_nomad_2p.xml@27589#L15623|skirmishes/sicilia_nomad_2p.xml]] for an example. This can easily lead to unwanted errors if done incorrectly. 3. Open the `.xml` file and paste the following code into some `Script` tags, replace `HOLDER_ID` and `ENT1_ID, ENT2_ID, ENTN_ID, ...` with the `uid` numbers the entities have, you find them within the `.xml` file, e.g. ``. Open the map via Atlas and your units should be inside the structure. Save the map, open the `.xml` again and remove the `Script` tags and the code they contain. {{{#!xml }}} 4. Alternatively, add a trigger script to your map that is programmed to garrison entities in specific structures when the map is started. - Related wiki article: [[Triggers|wiki/Triggers]] }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Can you recommend a video? }}} {{{#!td style="border-right:none;padding-left:0.5em" See [https://www.youtube.com/watch?v=yBFdxOE7UFw How to easily turn ANY Country into a 0AD Map! - 0AD Map Making] (28/Mar/21) }}} }}} }}} === Modding === {{{#!table style="border: none" {{{#!tr {{{#!th style="border-left:none;text-align:left" >How to get started? }}} {{{#!td style="border-right:none;padding-left:0.5em" The game itself is developed to be highly modifiable, to get started see: - Related wiki articles: - [[Modding_Guide|wiki/Modding_Guide]] - [[Mod_Layout|wiki/Mod_Layout]] Taking a look at small existing mods (e.g [https://wildfiregames.com/forum/topic/27124-ffm_visibility-mod/ ffm_visibility] or [https://wildfiregames.com/forum/topic/38615-battle-mod-for-0-ad Battle Mod]) might help to better understand how things work.[[BR]]Some total-conversion mods are: [https://www.moddb.com/mods/hyrule-conquest Hyrule Conquest], [https://github.com/JustusAvramenko/delenda_est Delenda Est] or [https://github.com/azayrahmad/0AD-City-Builder 0AD City Builder]. - Related forum threads: - [https://wildfiregames.com/forum/topic/21083-how-to-modify-0-ad/ How to modify 0 A.D.?] (31/Aug/16) - [https://wildfiregames.com/forum/topic/58816-how-to-mod-0ad-from-zero How to mod 0AD from Zero?] (6/Oct/21) }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >How to enable mods? }}} {{{#!td style="border-right:none;padding-left:0.5em" See [[Modding_Guide|wiki/Modding_Guide]] }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >[#FindMods Where can i find mods?] }}} {{{#!td style="border-right:none;padding-left:0.5em" [=#FindMods]You can find and download mods in the following places: - In-game: `Settings` => `Mod Selection` => `Download Mods` - easiest to install, and can filter game version compatible mods only. - Downloads from these sources require a manual installation and may be outdated (see [[Mod_List#HowToInstallMods|wiki/Mod_List#HowToInstallMods]]): - [https://github.com/orgs/0ADMods/repositories Github] - largest list of mods. - [https://0ad.mod.io/ 0 A.D. mod.io] - same list as the in-game downloader if you uncheck the filter `valid mods only` option within the in-game download mods screen. - [https://wildfiregames.com/forum/forum/18-game-modification/ Forum] - some mods are on the forum and can't be found anywhere else, it's worth snooping around. - [https://trac.wildfiregames.com/wiki/Mod_List Trac] - list is in it's starting up phase. }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Can I add my mod to the in-game download area? }}} {{{#!td style="border-right:none;padding-left:0.5em" See the links below for instructions: - Related forum thread: [https://wildfiregames.com/forum/topic/24333-guide-for-publishing-mods-on-modio/ Guide for publishing mods on mod.io] (13/May/18) - Related wiki articles: - [[Mod_Publishing_Process|wiki/Mod_Publishing_Process]] - [[Mod_Verification_Process|wiki/Mod_Verification_Process]] }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >What to do if I need help? }}} {{{#!td style="border-right:none;padding-left:0.5em" You can ask via IRC [https://wildfiregames.com/irc.html #0ad]/ [https://webchat.quakenet.org/?channels=0ad-dev #0ad-dev]^[[FAQ#Footnote|(1)]]^, or you might find old threads in the [https://wildfiregames.com/forum/forum/18-game-modification/ Game Modification] subforum answering your questions, otherwise you can create a topic and ask for help there. }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Can I use the game assets? }}} {{{#!td style="border-right:none;padding-left:0.5em" As long as you abide with the [[Modding_Guide#License|0AD license]].[[BR]]''"0 A.D. is released as open source: you can freely use, copy, modify and distribute the game's source code and data files, as long as you include attribution to Wildfire Games and let anyone freely modify and distribute any of your own modifications to the game's files."'' }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Where to find the source code? }}} {{{#!td style="border-right:none;padding-left:0.5em" See [[BuildInstructions|wiki/BuildInstructions]] {{{#!div class="important" style="background: #ffd" **NOTE:** For autocompletion and notes about implemented functions from the 0ad source code, you can take advantage of the created typescript files from the [https://github.com/nanihadesuka/autociv Autociv] mod. The notes were made around the `Alpha XXIII - Ken Wood` codebase and are not complete. Simply copy the `.ts` and `tsconfig.json` files from the `src, gui and simulation` folders into your project. }}} }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Is there a documentation for editing the XML files of entities? }}} {{{#!td style="border-right:none;padding-left:0.5em" This page lists the components that can be added to entities and the XML syntax for their initialisation data. * [https://docs.wildfiregames.com/entity-docs/trunk.html docs.wildfiregames.com/entity-docs/trunk.html] }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >How to print to the console when `console.log` does not work? }}} {{{#!td style="border-right:none;padding-left:0.5em" See [[Logging#Scripts|wiki/Logging#Scripts]] }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >How can I start the game from the command line and what options are available? }}} {{{#!td style="border-right:none;padding-left:0.5em" All command line options can be found in [[source:ps/trunk/binaries/system/readme.txt|binaries/system/readme.txt]]. {{{#!sh # start a "Mainland" map with a random civ and your own mod binaries/system/pyrogenesis -mod=mod -mod=public -mod= \ -autostart="random/mainland" -autostart-civ=1:random # start with certain config values, see "binaries/data/config/default.cfg" binaries/system/pyrogenesis -conf=mod.enabledmods:"mod public " \ -conf=windowed:true -conf=renderactors:false }}} }}} }}} }}} == '''Miscellaneous''' == {{{#!table style="border: none" {{{#!tr {{{#!tr {{{#!th style="border-left:none;text-align:left" >When will the next version be released? }}} {{{#!td style="border-right:none;padding-left:0.5em" When it will be ready. Unfortunately we can't be much more specific than that, there are too many things we just don't know. We're working on the game in our spare time, so we don't know how much time we'll have to make the game. }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Why is this game still in alpha? }}} {{{#!td style="border-right:none;padding-left:0.5em" A developer wrote [https://wildfiregames.com/forum/topic/37512-the-release-of-alpha-24-and-the-recent-announcements-about-aoe-4/?tab=comments#comment-421273 (21/Mar/21)]: ''"0 A.D. is also still quite laggy, and needs a fair few improvements before I think it's ready for a more mainstream audience. I would push towards dropping the 'alpha' from the name, but that doesn't mean it's quite ready."'' }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Will you put the game on Steam? }}} {{{#!td style="border-right:none;padding-left:0.5em" We're going to look at putting the game on Steam to make it easier for people to find out about it, but not until we get to the beta stage at the earliest. We want the game to be as good as possible so people don't miss it among all the other games that are there. }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Is the website up to date? }}} {{{#!td style="border-right:none;padding-left:0.5em" Yes, but gameplay related infos (Features, Factions, Game Manual) are a bit outdated. This needs to be fixed, if you want to help us, raise your voice either via the [https://wildfiregames.com/forum/index.php Forum] or through IRC [https://wildfiregames.com/irc.html #0ad]/ [https://webchat.quakenet.org/?channels=0ad-dev #0ad-dev]^[[FAQ#Footnote|(1)]]^. }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >How to keep up with the game? }}} {{{#!td style="border-right:none;padding-left:0.5em" For casual players there is no channel that summarizes progress. From time to time there are some social media posts and a development report, but they are rare.[[BR]]For players with technical background, you can read the [[Changelogs|wiki/Changelogs]], check committed patches on [https://code.wildfiregames.com/diffusion/commit/query/all/ Phabricator] or the timeline on [https://trac.wildfiregames.com/timeline Trac]. }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Does 0AD use any social media accounts? }}} {{{#!td style="border-right:none;padding-left:0.5em" You can find a list of all accounts at the bottom of our homepage [https://play0ad.com play0ad.com]. }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Are there Youtube channels about this game? }}} {{{#!td style="border-right:none;padding-left:0.5em" The four most popular channels are: - [https://www.youtube.com/channel/UC5Sf1aQufzzWATg9TJzg7mQ 0AD Newbie Rush] - [https://www.youtube.com/channel/UCPEieyPXxuMxQVI5cfIcnfg Ágora 0AD] - [https://www.youtube.com/channel/UCS-SFei6NFRuGN8CKtAsYrA Tom 0ad] - [https://www.youtube.com/channel/UCWgSzCK6CoFgSdbPiKGmJ4A ValihrAnt - 0AD & AOE2] }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Does 0AD have a Discord? }}} {{{#!td style="border-right:none;padding-left:0.5em" There is no official Discord, however there are some unofficial servers run by members of the community. - [https://discord.gg/KJPwF94 discord.gg/KJPwF94] - [https://discord.gg/VbE9U3r discord.gg/VbE9U3r] - [https://discord.gg/hxuVxmt93e discord.gg/hxuVxmt93e] - Related forum thread: [https://wildfiregames.com/forum/topic/59170-welcome-to-my-discord-server Welcome to my discord server!] (9/Oct/21) }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >How about more factions? }}} {{{#!td style="border-right:none;padding-left:0.5em" There are mods that add more factions to the game (see [https://github.com/0ADMods github.com/0ADMods]), see the forum links below for some likely candidates. - [https://wildfiregames.com/forum/topic/22832-faction-nomads-xiongnu/ Nomads Xiongnu] (29/Apr/17) - [https://wildfiregames.com/forum/topic/22111-zapotecs-10 Zapotecs] (7/Apr/17) - [https://wildfiregames.com/forum/topic/20122-japan-in-the-period-of-0-ad/ Japan] (17/Oct/15) - [https://wildfiregames.com/forum/topic/18576-for-a-new-faction-lusitanian/ Lusitanian] (28/Apr/14) The concerns, for adding new factions, mainly revolve around balancing all the factions so that they are equally strong, but still different from each other and to be historically accurate. }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Will you add support for single-player campaigns? }}} {{{#!td style="border-right:none;padding-left:0.5em" It has been added to `Alpha XXV - Yaunā`. For more information, see the links below. - Related forum threads: - [https://wildfiregames.com/forum/topic/35890-tutorial-campaign/ Tutorial Campaign] (29/Jan/21) - [https://wildfiregames.com/forum/topic/28303-campaign-macedonia-rise-to-power-balkan-campaign-into-asia/ Campaign: Macedonia] (5/Jun/20) {{{#!div class="important" style="background: #ffd" **NOTE:** Mapmakers who are willing to work on a campaign, please contact us (via the [https://wildfiregames.com/forum/index.php Forum] or IRC [https://wildfiregames.com/irc.html #0ad]/ [https://webchat.quakenet.org/?channels=0ad-dev #0ad-dev]^[[FAQ#Footnote|(1)]]^), we would appreciate your contribution to the implementation of a campaign. }}} }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Does the game have an in-game store, is it freemium or pay-to-win? }}} {{{#!td style="border-right:none;padding-left:0.5em" The game is completely free and open source. We only use [https://play0ad.com/community/donate/ donations] to pay for server hosting, etc. }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Would it be possible to have access to old versions of 0AD? }}} {{{#!td style="border-right:none;padding-left:0.5em" On this page - [https://releases.wildfiregames.com/ releases.wildfiregames.com] - you can find all released versions and some statistics about how many times each version has been downloaded recently. {{{#!div class="important" style="background: #ffd" **NOTE:** Additional statistics from users who have enabled the `Feedback` setting in the 0ad app can be found here: [https://feedback.wildfiregames.com/results/ feedback.wildfiregames.com/results]. }}} }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Can you recommend a presentation or video about 0ad? }}} {{{#!td style="border-right:none;padding-left:0.5em" - PDF-presentation - [https://wildfiregames.com/forum/topic/27553-sogyo-presentation/ Sogyo Presentation] (1/Feb/20) - Videos - [https://www.youtube.com/watch?v=h1JvSEoqHcs 0 A.D. Evolution - All Alphas] (3/Feb/19) - [https://peertube.debian.social/videos/watch/7d134d11-0b25-42bc-92dd-13c496863e8e 0 A.D. Empires Ascendant, a FLOSS Game] (25/Nov/20) [[Image(FAQ:video.jpg,border=4,center,500,link=https://peertube.debian.social/videos/watch/7d134d11-0b25-42bc-92dd-13c496863e8e)]] }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >Who are the team members? }}} {{{#!td style="border-right:none;padding-left:0.5em" You will find a list of names in the [https://team.wildfiregames.com/#wildfire_games_team_wiki Wildfire Games Team Wiki] and in the [https://wildfiregames.com/forum/staff/ Forum's Staff Directory]. }}} }}} {{{#!tr {{{#!th style="border-left:none;text-align:left" >What to do if I have a question that is not part of this FAQ? }}} {{{#!td style="border-right:none;padding-left:0.5em" Join IRC [https://wildfiregames.com/irc.html #0ad]/ [https://webchat.quakenet.org/?channels=0ad-dev #0ad-dev]^[[FAQ#Footnote|(1)]]^ or check the [https://wildfiregames.com/forum/index.php?/forum/145-help-amp-feedback/ Help & Feedback] subforum where many questions have already been answered. You may also ask any new questions there. }}} }}} }}} }}} == '''Footnote''' == ^(1)^ Most active team members are in the [https://en.wikipedia.org/wiki/Central_European_Time CET] time zone. The chat is logged [http://irclogs.wildfiregames.com/ irclogs.wildfiregames.com].