Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "0 A.D."

From PCGamingWiki, the wiki about fixing PC games
(added info about creating local.cfg under General settings (should be expanded), key remapping and advanced OpenGL rendering stuff, some typo fixes)
m (Cleaned up page)
Line 47: Line 47:
 
|square_enix_notes      =
 
|square_enix_notes      =
 
}}
 
}}
 
== General settings ==
 
Every option can be set in the text-file 'local.cfg'. Just create local.cfg in the appropriate folder and insert the 'key'='value' pairs you want to set.
 
For details where to place local.cfg, see [[#Game data|Game data]]
 
  
 
== Video settings ==
 
== Video settings ==
Line 75: Line 71:
 
|vsync_notes                =
 
|vsync_notes                =
 
}}
 
}}
You can enable advanced OpenGL rendering features by setting some variables in local.cfg.
 
Enabling those might need a better GPU than those specified under minimal system requirements.
 
{| class="wikitable"
 
|-
 
! Feature !! local.cfg entry
 
|-
 
| GLSL Shader (both cfg entries needed) || <pre>preferglsl = true
 
gentangents = true</pre>
 
|-
 
| Smooth LOS interpolation (needs GLSL Shader) || <pre>smoothlos = true</pre>
 
|-
 
| High quality shader (needs GLSL Shader) || <pre>materialmgr.quality = 10.0</pre>
 
|-
 
| High quality water rendering (needs GLSL Shader)||<pre>waternormals = true
 
waterrealdepth = true
 
waterfoam = true
 
watercoastalwaves = true
 
waterrefraction = true
 
waterreflection = true
 
watershadows = true
 
</pre>
 
|}
 
 
  
 
=== [[Field of view (FOV)|Field of View (FOV)]] ===
 
=== [[Field of view (FOV)|Field of View (FOV)]] ===
 
{{Fixbox|1=
 
{{Fixbox|1=
 
{{Fixbox/fix|Create local.cfg|ref=<ref>[http://www.wildfiregames.com/forum/index.php?showtopic=17218 PCGamingWiki Article for 0 A.D. - Wildfire Games Forums]</ref>}}
 
{{Fixbox/fix|Create local.cfg|ref=<ref>[http://www.wildfiregames.com/forum/index.php?showtopic=17218 PCGamingWiki Article for 0 A.D. - Wildfire Games Forums]</ref>}}
# open local.cfg
+
# Open <code>local.cfg</code>
 
# Insert the line <code>view.fov = #</code>, where <code>#</code> is your FOV in degrees
 
# Insert the line <code>view.fov = #</code>, where <code>#</code> is your FOV in degrees
 
# Save the file and boot up the game
 
# Save the file and boot up the game
Line 119: Line 92:
  
 
'''Generic''':
 
'''Generic''':
# Add this to local.cfg:
+
# Add this to <code>local.cfg</code>:
 
<pre>
 
<pre>
 
windowed = true
 
windowed = true
Line 128: Line 101:
 
Replace the #'s with your screen resolution.
 
Replace the #'s with your screen resolution.
 
}}
 
}}
 +
 +
=== General settings ===
 +
Every option can be set in the text-file <code>local.cfg</code>. Just create <code>local.cfg</code> in the appropriate folder and insert the <code>key=value</code> pairs you want to set.
 +
For details where to place <code>local.cfg</code>, see [[#Game data|Game data]]
 +
 +
=== OpenGL ===
 +
You can enable advanced OpenGL rendering features by setting some variables in local.cfg.
 +
Enabling those might need a better GPU than those specified under minimal system requirements.
 +
{| class="wikitable"
 +
|-
 +
! Feature !! local.cfg entry
 +
|-
 +
| GLSL Shader (both cfg entries needed) || <pre>preferglsl = true
 +
gentangents = true</pre>
 +
|-
 +
| Smooth LOS interpolation (needs GLSL Shader) || <pre>smoothlos = true</pre>
 +
|-
 +
| High quality shader (needs GLSL Shader) || <pre>materialmgr.quality = 10.0</pre>
 +
|-
 +
| High quality water rendering (needs GLSL Shader)||<pre>waternormals = true
 +
waterrealdepth = true
 +
waterfoam = true
 +
watercoastalwaves = true
 +
waterrefraction = true
 +
waterreflection = true
 +
watershadows = true
 +
</pre>
 +
|}
  
 
== Input settings ==
 
== Input settings ==
Line 136: Line 137:
 
|acceleration_option_notes  =
 
|acceleration_option_notes  =
 
|controller_support        =false
 
|controller_support        =false
|controller_support_notes  =some settings available in default.cfg, usability unknown
+
|controller_support_notes  =Some settings available in <code>default.cfg</code>, usability unknown
 
}}
 
}}
  
== Key Remapping ==
+
=== Key Remapping ===
Add this (or just some parts) to local.cfg and edit the entries to suit your needs.
+
Add this (or just some parts) to <code>local.cfg</code> and edit the entries to suit your needs.
 
Everything after a Semicolon (;) is a comment.
 
Everything after a Semicolon (;) is a comment.
 
A single action can be assigned to multiple keys by separating them with a comma.
 
A single action can be assigned to multiple keys by separating them with a comma.
Key combinations can be specified using this syntax: "<Key1>+<Key2>+<Key3>"
+
Key combinations can be specified using this syntax: <code><Key1>+<Key2>+<Key3></code>
 
<pre>
 
<pre>
 
; > SYSTEM SETTINGS
 
; > SYSTEM SETTINGS
Line 280: Line 281:
 
hotkey.quickload = "Shift+F8"
 
hotkey.quickload = "Shift+F8"
 
</pre>
 
</pre>
 +
 
== System requirements ==
 
== System requirements ==
 
{{System Requirements
 
{{System Requirements

Revision as of 22:30, 10 April 2013

Template:Infobox

Key points

Game is currently in alpha, some features aren't implemented yet. Expect bugs and other problems
Free and open source
Game settings have not been implemented yet, but you can edit config files to change certain settings

General information

Official Website
Wildfire Forums

Availability

Template:Availability Table

Game data

Template:Game Location Table

Cloud Syncing

Template:Save Game Cloud Syncing

Video settings

Template:Video Settings

Field of View (FOV)

Instructions

Windowed Mode

Instructions

General settings

Every option can be set in the text-file local.cfg. Just create local.cfg in the appropriate folder and insert the key=value pairs you want to set. For details where to place local.cfg, see Game data

OpenGL

You can enable advanced OpenGL rendering features by setting some variables in local.cfg. Enabling those might need a better GPU than those specified under minimal system requirements.

Feature local.cfg entry
GLSL Shader (both cfg entries needed)
preferglsl = true
gentangents = true
Smooth LOS interpolation (needs GLSL Shader)
smoothlos = true
High quality shader (needs GLSL Shader)
materialmgr.quality = 10.0
High quality water rendering (needs GLSL Shader)
waternormals = true
waterrealdepth = true
waterfoam = true
watercoastalwaves = true
waterrefraction = true
waterreflection = true
watershadows = true

Input settings

Template:Input Settings

Key Remapping

Add this (or just some parts) to local.cfg and edit the entries to suit your needs. Everything after a Semicolon (;) is a comment. A single action can be assigned to multiple keys by separating them with a comma. Key combinations can be specified using this syntax: <Key1>+<Key2>+<Key3>

; > SYSTEM SETTINGS
hotkey.exit = "Alt+F4", "Ctrl+Break", "Super+Q" ; Exit to desktop
hotkey.leave = Escape                       ; End current game or Exit
hotkey.pause = Pause                        ; Pause/unpause game
hotkey.screenshot = F2                      ; Take PNG screenshot
hotkey.bigscreenshot = "Shift+F2"           ; Take large BMP screenshot
hotkey.togglefullscreen = "Alt+Return"      ; Toggle fullscreen/windowed mode
hotkey.screenshot.watermark = "Alt+K"       ; Toggle product/company watermark for official screenshots
hotkey.wireframe = "Alt+W"                  ; Toggle wireframe mode
hotkey.silhouettes = "Alt+S"                ; Toggle unit silhouettes
hotkey.showsky = "Alt+Z"                    ; Toggle sky

; > CAMERA SETTINGS
hotkey.camera.reset = "H"                                   ; Reset camera rotation to default.
hotkey.camera.follow = "F"                                  ; Follow the first unit in the selection
hotkey.camera.zoom.in = Plus, Equals, NumPlus               ; Zoom camera in (continuous control)
hotkey.camera.zoom.out = Minus, NumMinus                    ; Zoom camera out (continuous control)
hotkey.camera.zoom.wheel.in = WheelUp                       ; Zoom camera in (stepped control)
hotkey.camera.zoom.wheel.out = WheelDown                    ; Zoom camera out (stepped control)
hotkey.camera.rotate.up = "Ctrl+UpArrow", "Ctrl+W"          ; Rotate camera to look upwards
hotkey.camera.rotate.down = "Ctrl+DownArrow", "Ctrl+S"      ; Rotate camera to look downwards
hotkey.camera.rotate.cw = "Ctrl+LeftArrow", "Ctrl+A", Q     ; Rotate camera clockwise around terrain
hotkey.camera.rotate.ccw = "Ctrl+RightArrow", "Ctrl+D", E   ; Rotate camera anticlockwise around terrain
hotkey.camera.rotate.wheel.cw = "Shift+WheelUp", MouseX1    ; Rotate camera clockwise around terrain (stepped control)
hotkey.camera.rotate.wheel.ccw = "Shift+WheelDown", MouseX2 ; Rotate camera anticlockwise around terrain (stepped control)
hotkey.camera.pan = MouseMiddle, ForwardSlash               ; Enable scrolling by moving mouse
hotkey.camera.left = A, LeftArrow                           ; Scroll or rotate left
hotkey.camera.right = D, RightArrow                         ; Scroll or rotate right
hotkey.camera.up = W, UpArrow                               ; Scroll or rotate up/forwards
hotkey.camera.down = S, DownArrow                           ; Scroll or rotate down/backwards
hotkey.camera.scroll.speed.increase = "Ctrl+Shift+S"        ; Increase scroll speed
hotkey.camera.scroll.speed.decrease = "Ctrl+Alt+S"          ; Decrease scroll speed
hotkey.camera.rotate.speed.increase = "Ctrl+Shift+R"        ; Increase rotation speed
hotkey.camera.rotate.speed.decrease = "Ctrl+Alt+R"          ; Decrease rotation speed
hotkey.camera.zoom.speed.increase = "Ctrl+Shift+Z"          ; Increase zoom speed
hotkey.camera.zoom.speed.decrease = "Ctrl+Alt+Z"            ; Decrease zoom speed

; > CONSOLE SETTINGS
hotkey.console.toggle = BackQuote, F9       ; Open/close console

; > CLIPBOARD CONTROLS
hotkey.copy = "Ctrl+C"              ; Copy to clipboard
hotkey.paste = "Ctrl+V"             ; Paste from clipboard
hotkey.cut = "Ctrl+X"               ; Cut selected text and copy to the clipboard

; > ENTITY SELECTION
hotkey.selection.add = Shift                ; Add units to selection
hotkey.selection.milonly = Alt              ; Add only military units to selection
hotkey.selection.remove = Ctrl              ; Remove units from selection
hotkey.selection.idleworker = Period        ; Select next idle worker
hotkey.selection.idlewarrior = Comma        ; Select next idle warrior
hotkey.selection.offscreen = Alt            ; Include offscreen units in selection
hotkey.selection.group.select.0 = 0
hotkey.selection.group.save.0 = "Ctrl+0"
hotkey.selection.group.add.0 = "Shift+0"
hotkey.selection.group.select.1 = 1
hotkey.selection.group.save.1 = "Ctrl+1"
hotkey.selection.group.add.1 = "Shift+1"
hotkey.selection.group.select.2 = 2
hotkey.selection.group.save.2 = "Ctrl+2"
hotkey.selection.group.add.2 = "Shift+2"
hotkey.selection.group.select.3 = 3
hotkey.selection.group.save.3 = "Ctrl+3"
hotkey.selection.group.add.3 = "Shift+3"
hotkey.selection.group.select.4 = 4
hotkey.selection.group.save.4 = "Ctrl+4"
hotkey.selection.group.add.4 = "Shift+4"
hotkey.selection.group.select.5 = 5
hotkey.selection.group.save.5 = "Ctrl+5"
hotkey.selection.group.add.5 = "Shift+5"
hotkey.selection.group.select.6 = 6
hotkey.selection.group.save.6 = "Ctrl+6"
hotkey.selection.group.add.6 = "Shift+6"
hotkey.selection.group.select.7 = 7
hotkey.selection.group.save.7 = "Ctrl+7"
hotkey.selection.group.add.7 = "Shift+7"
hotkey.selection.group.select.8 = 8
hotkey.selection.group.save.8 = "Ctrl+8"
hotkey.selection.group.add.8 = "Shift+8"
hotkey.selection.group.select.9 = 9
hotkey.selection.group.save.9 = "Ctrl+9"
hotkey.selection.group.add.9 = "Shift+9"

; > SESSION CONTROLS
hotkey.session.kill = Delete                ; Destroy selected units
hotkey.session.attack = "Ctrl+Alt"          ; Modifier to force attack instead of another action
hotkey.session.garrison = Ctrl              ; Modifier to garrison when clicking on building
hotkey.session.attackmove = Ctrl            ; Modifier to attackmove when clicking on a point
hotkey.session.queue = Shift                ; Modifier to queue unit orders instead of replacing
hotkey.session.batchtrain = Shift           ; Modifier to train units in batches
hotkey.session.massbarter = Shift           ; Modifier to barter bunch of resources
hotkey.session.masstribute = Shift          ; Modifier to tribute bunch of resources
hotkey.session.unloadtype = Shift           ; Modifier to unload all units of type
hotkey.session.deselectgroup = Ctrl         ; Modifier to deselect units when clicking group icon, instead of selecting
hotkey.session.rotate.cw = RightBracket     ; Rotate building placement preview clockwise
hotkey.session.rotate.ccw = LeftBracket     ; Rotate building placement preview anticlockwise
hotkey.timewarp.fastforward = Space         ; If timewarp mode enabled, speed up the game
hotkey.timewarp.rewind = Backspace          ; If timewarp mode enabled, go back to earlier point in the game

; > UNIT TRAINING
hotkey.session.queueunit.1 = "Z"            ; add first unit type to queue
hotkey.session.queueunit.2 = "X"            ; add second unit type to queue
hotkey.session.queueunit.3 = "C"            ; add third unit type to queue
hotkey.session.queueunit.4 = "V"            ; add fourth unit type to queue
hotkey.session.queueunit.5 = "B"            ; add fivth unit type to queue
hotkey.session.queueunit.6 = "N"            ; add sixth unit type to queue
hotkey.session.queueunit.7 = "M"            ; add seventh unit type to queue

; > OVERLAY KEYS
hotkey.fps.toggle = "Alt+F"                  ; Toggle frame counter
hotkey.session.devcommands.toggle = "Alt+D"  ; Toggle developer commands panel
hotkey.session.gui.toggle = "Alt+G"          ; Toggle visibility of session GUI
hotkey.menu.toggle = "F10"                   ; Toggle in-game menu
hotkey.timeelapsedcounter.toggle = "F12"     ; Toggle time elapsed counter
hotkey.session.showstatusbars = Tab          ; Toggle display of status bars

; > HOTKEYS ONLY
hotkey.chat = Return                        ; Toggle chat window
hotkey.teamchat = "T"                       ; Toggle chat window in team chat mode

; > GUI TEXTBOX HOTKEYS
hotkey.text.delete.left = "Ctrl+Backspace"    ; Delete word to the left of cursor
hotkey.text.delete.right = "Ctrl+Del"         ; Delete word to the right of cursor
hotkey.text.move.left = "Ctrl+LeftArrow"      ; Move cursor to start of word to the left of cursor
hotkey.text.move.right = "Ctrl+RightArrow"    ; Move cursor to start of word to the right of cursor

; > PROFILER
hotkey.profile.toggle = "F11"               ; Enable/disable real-time profiler
hotkey.profile.save = "Shift+F11"           ; Save current profiler data to logs/profile.txt
hotkey.profile2.enable = "F11"              ; Enable HTTP/GPU modes for new profiler

; > QUICKSAVE
hotkey.quicksave = "Shift+F5"
hotkey.quickload = "Shift+F8"

System requirements

Template:System Requirements

Template:System Requirements

Template:System Requirements

All versions require a screen resolution of at least 1024x768


References