= 0 A.D. Alpha 23: Ken Wood = Go to the [wiki:Changelogs changelog overview], if you are looking for a different release.[[BR]] Check the [wiki:Alpha23?action=history history overview] to only read updates of this site.[[BR]] [[BR]] [[TOC]] Development started by Wildfire Games on July 29^th^ 2017 (r19923).[[BR]] Feature Freeze 1: March 12^th^ 2018 (r21530) [[BR]] Feature Freeze 2: [[BR]] String Freeze: April 23^th^ 2018 (r21761) [[BR]] Translation Freeze: April 29^th^ 2018 (r21803)[[BR]] Commit Freeze:[[BR]] Release: [[BR]] Release Announcement:[[BR]] Tickets: https://trac.wildfiregames.com/query?status=closed&group=resolution&milestone=Alpha+23 [[BR]] [[BR]] An overview of all tickets handled is found at the respective [http://trac.wildfiregames.com/query?milestone=Alpha+23&max=50 milestone] on trac.[[BR]] To download and install the developmental release of 0 A.D., have a look at the [wiki:BuildInstructions build instructions].[[BR]] [[BR]] The following list presents all changes noticeable to the end user up to r20564, more important ones first.[[BR]] Many small bugfixes, typo fixes and code cleanups are not mentioned here.[[BR]] == AI == r20025 Actually make the AI aware of aura and tech modifications of templates[[BR]] r20031 Stop Sandbox difficulty Petra from expanding[[BR]] r20039 Improve support for more than 3 phases.[[BR]] r20052 Support more obstruction shapes (eg arches).[[BR]] r20063 Fix building of first CC (which is also used if all CCs were destroyed when rebuilding).[[BR]] r20065 Let Petra build wonders to increase the pop-cap, even if not in Wonder victory mode.[[BR]] r20072 Improve the behavior of currently capturing units when these are attacked[[BR]] r20084 Remove the obsolete tutorial AI[[BR]] r20107 Some protection against missing templates[[BR]] r20108 Look for naval treasures[[BR]] r20162 Template loading from the AI (#4611)[[BR]] r20175 Account for diminishing returns of fields[[BR]] r20209 Stop trying to defend some structures in unconnected territory where there is no chance to defend them.[[BR]] r20253 Try to make a better use of ranged siege units[[BR]] r20260 Rework the management of siege units in attacks, to remove some civ hardcodings + some cleanup[[BR]] r20269 Tune the proportion of support worker[[BR]] r20291 Tune requirements when building defenses[[BR]] r20319 Allow gatherers to switch to a nearer resource when slots become available[[BR]] r20320 Unify trade gain computation between simulation and ai[[BR]] r20389 Allows stables and siege workshops build orders for all civs.[[BR]] r20399 Allow elephant stables for all civs.[[BR]] r20409 Revisit the management of constructions for better performances and cleaner implementation.[[BR]] r20455 Look for initial treasures at start game, sometimes needed on nomad maps to build the first cc.[[BR]] r20479 A few tunings and add a protection in tradeRoute serialization in case a market was destroyed in the last few turns between AI running and serialization.[[BR]] r20480 Allow the ai to run without loading all templates at startup.[[BR]] r20509 AIManager: loads only the used templates when starting (or deserializing) a game.[[BR]] r20510 Decrease the number of trained siege units in easier difficulty levels.[[BR]] r20511 Improve the way to detect that an ally is attacked.[[BR]] r20521 Units should only be able to build structures from their owner's civ, and not from their identity civ.[[BR]] == Art == === Improvements === r19948 Give Spartan elite spearmen heads. (#4686)[[BR]] r19964 Give Scythian archers capture animations (#4711, D771)[[BR]] r20020 Fix 6x6 and 8x8 foundation actors.[[BR]] r20631 Support the female citizen idle-carry animation.[[BR]] r20273 Spartan buildings part 1[[BR]] r20298 Spartan buildings part 2[[BR]] r20312, r20313, r20315 Spartan buildings part 3 + Iberian archery range[[BR]] r20325 Persian range and Iberian stables.[[BR]] r20339 Iberian workshop, siege workshop, stables; Persian elephant stables, workshop, ballista tower; Seulicid archery range, stables, workshop[[BR]] r20342 Seleucid elephant stable and Carthaginian regular stable.[[BR]] r20374 New unit selection textures for the healer and mods/future usage.[[BR]] r20414 New Brittonic stable.[[BR]] r20418 New Brittonic range.[[BR]] r20425 New Brittonic storehouse.[[BR]] r20427 Carthaginian range, workshop, elephant stable, Mauryan stable, Babylonian defense tower.[[BR]] r20443 New Brittonic workshop.[[BR]]Add new textures for Pureon's onager r20446 New ram for Mauryans.[[BR]] r20458 New bows and arrows for every civ.[[BR]] r20482 Add new textures for onager.[[BR]] r20483 New siege fire animations for units.[[BR]] r20488 New tools.[[BR]] r20489 Remove files which would break copyright. Add the links and the license to the other files and name the authors.[[BR]] r20492 Mauryan range and workshop.[[BR]] r20508 New Gaul stable.[[BR]] === Minimap === r20345 Display fruit tree as fruit and not as wood on the minimap. Rework a bit inheritance of fruit tree and of wood bushes. The noticeable change is that fruit tree block movement as other trees.[[BR]] r20471 This fixes the defeat when only promoted/upgrades/regi-hero units remain. Add foundations to the conquest lists and make them visible on the minimap.[[BR]] == Auras == r20299 Ranged auras not enabled (because of a tech requirement for example) should not be visualized[[BR]] r20300 No need to create aura's rangequery when the aura is not applied[[BR]] r20461 Workshop repair aura[[BR]] r20462 Allow loot to be modified by technologies and auras[[BR]] == Atlas == r20021 Help menu pointing to the manual and helping with reporting bugs[[BR]] r20058 Add scrollbars to all tabs. Should make Atlas more usable on small resolutions.[[BR]] r20327 Cleanup horizontal alignment flags being ignored, fix warnings on a start.(#3824)[[BR]] == Audio == r20236, r20211 Projectile impact sounds even if the firing unit died meanwhile. New siege impact sounds. (#4779)[[BR]] r20367 Allow attack and attack_impact sounds for multiple attacks Add "melee", "ranged" etc. to the template tag name, Allow and use specific sounds for slaughter, Rearrange the templates a bit, and so add missing sounds.[[BR]] == Balancing == r19956 Change CtR default to 2[[BR]] r19967 Unsuccessfully bribed people get to keep your money (#4623)[[BR]] r20210 Healers, fishing boats, and merchant ships are no longer conquest critical[[BR]] r20248 Domesticated animals are no longer visible in FoW[[BR]] r20314 Revert a naked fanatic armor nerf done in r19697. It has now the same armor as other champions but doesn't have the armor bonus of spearmen.[[BR]] r20334 Tweak a bit Scipio's aura radius.[[BR]] r20363 Tweak a bit citizen cavalry costs. Follow the same infantry vs cavalry policy as for champs and heroes. Motivations are: infantry vs cavalry consistency (from the abstract unit role point of view), preventing some unbalances, enforcing a more realistic infantry vs cavalry ratio in the game.[[BR]] == Game Mechanics == r19950 Damage upon death/destruction (#1910)[[BR]] r19969 Linear splash damage now uses the correct vector[[BR]] r20007 Calculate spread from the aimed at a position instead of the current target position[[BR]] r20015 Make civ and classes bonuses work for splash damage[[BR]] r20079 Allow !BuildRestrictions Min and Max distance to be modified by techs and auras (see TechModifications)[[BR]] r20122 Allow different victory durations for CtR and Wonder victory modes.[[BR]] r20156 You can only win once[[BR]] r20193 Mark exhausted resources as not available, improves gatherer behavior in cases where a resource is depleted[[BR]] r20204 Delayed damage (currently used by the fire raiser (#1911)[[BR]] r20223 Less random walks for animals.[[BR]] r20441 Introduce a new hotkey to order only one unit from the current selection.(Alt + Right Click)[[BR]] r20497 Let units face away from the building they were trained or ungarrisoned from.[[BR]] r20498 Allow walls to have rally-points.[[BR]] r20542 Wild domestic animals should stay visible in FOW.[[BR]] r20551 Allow civ specific techs with {civ}.[[BR]] == GUI == r19955 Victory and defeat reasons (#4382)[[BR]] r19957 Rally point lines now in player color (#4618)[[BR]] r19965 Update the color of the selection ring, rallypoints and territory outline when the playercolor is changed in Atlas (#4643)[[BR]] r19966 Build time tooltip now with more correct values[[BR]] r19970 Resource total now on the left in the summary screen[[BR]] r19980 Allow users to interact with the GUI while cinematics are playing[[BR]] r19987 Fix the attack cursor for entities in the FoW[[BR]] r20005 Support XMPP MotD[[BR]] r20006 Make the sorting arrows in tables point in the correct direction[[BR]] r20050 Display all relics and heroes for observers (where all means less than 19 in total)[[BR]] r20070 Display old chat messages in the lobby when returning from a game[[BR]] r20071 Visual move order indicator (#4732)[[BR]] r20073 Display the move order indicator to observers when following a player[[BR]] r20075 Implement readonly Input GUI objects, allows users to copy paths in the replay menu[[BR]] r20081 Focus on deleted entities in observer mode if following a player[[BR]] r20097 Display the move order indicator in the SoD[[BR]] r20101 Use tabs for the options page[[BR]] r20195 Make the text in the mod selection screen readable.[[BR]] r20224 Align session dialogs[[BR]] r20250 Fix the repair hotkey[[BR]] r20254 Equal siege status bar sizes[[BR]] r20271 Add spies to the summary screen (#4498)[[BR]] r20289 Only close the diplomacy window on successful bribe[[BR]] r20305 Enlarge default sidebar size, so everything is visible by default[[BR]] r20333 Make the biome setting visible for mp clients.[[BR]] r20524 Enlarge dropdown size for the ingame gamespeed dropdown, so the scrollbar is hidden for replays.[[BR]] r20529 Gamesetup panel should indicate the AI level without having to open the AI-config panel.[[BR]] r20535 Include entire directories in GUI pages instead of a subset of the files contained, where possible. This allows mods to add new JS files without introducing a hardly maintainable copy of the XML file.[[BR]] r20543 Count Trained Cattle as a resource and not as a unit. Also only count the net amount of gathered/used food for cattle.[[BR]] r20550 Enable and disable mods more comfortably using the doubleclick event, filter mods while typing.(#3574)[[BR]] === GUI scalability === r19928 Take gui.scale into account when repositioning tooltips [[BR]] == Maps == === Random Maps === r19974 Danubius: More gates for the fortress[[BR]] r19972 Danubius: Stop spawning attackers on wiped outsides (#4715)[[BR]] r20123 Polar Sea: Speed up target finding for Gaia wolves[[BR]] r19935 Latium: More than two metal mines[[BR]] r20264 River Archipelago, Corinthian Isthmus: Remove unneeded waterheight init loop (with awkward 1 tile sized bump) that is redundant with the SmoothElevationPainter?[[BR]] r20290 Cycladic Archipelago, Lion's Den: Fix collisions of random forests and mines with starting resources(#4600)[[BR]] r20316 Corinthian Isthmus: Fix collisions of random resources and starting base resources(#4600)[[BR]] r20362 Delete _kali's Alpha 21 maps since it is not certain that they are not derived works(#4226, #4816)[[BR]] r20391 Adapt trade gain normalization to map size (increased on small maps and decreased on large maps), and slow down the increase of the gain at very large distances.[[BR]] === Biome library === r20115, r20117, r20118 Allow selecting biomes for random maps[[BR]] r20127 Move the random biome code to a new library[[BR]] r20129 Move biome definitions to JS and JSON files to allow mods to add new ones easily[[BR]] r20131 Remove hardcodings to allow mods to remove biomes.[[BR]] r20139 Biome descriptions[[BR]] ==== Map Generation Library ==== r19929 !Fix SimpleGroup and !RandomGroup placement retries (#4294)[[BR]] r20265 Deepfreeze the map settings object (created from g_GameAttributes.settings by the gamesetup extending the map JSON data) to prevent random map scripts from unintentionally modifying that.(#4257)[[BR]] r20268 Add a TerritoryDecayManager? component to update territoryMap with the blinking state when territories are recomputed.[[BR]] r20272 Add non-static clone functions for vectors[[BR]] r20276 Cache a list of TerritoryDecay? components in the TerritoryDecayManager?[[BR]] r20283 Fix rmgen2 SimpleObject? and RandomObject? ignoring the 3 invalid map border tiles. Let validT take the responsibility to account for the actually valid region of map tiles instead of each caller.(#4814)[[BR]] r20328 Add Math.square to compute the square of a number without the need to repeat the term, without using the slower Math.pow. Start unifying the euclidian distance functions instead of adding yet another helper function to the random map script library after this diff.[[BR]] r20331 Remove rmgen euclidian distance helper function, Use Math.square(x) instead of Math.pow(x, 2) in places that don't multiply it with Math.PI.[[BR]] r20332 Add diskArea rmgen helper function and use it instead of Math.PI * Math.pow(radius, 2). Use getMapArea instead of mapSize*mapSize.[[BR]] r20360 Rename placer.js to placer_centered.js and pathplacer.js to placer_noncentered.js(#4804, #4831)[[BR]] r20368 Remove min/max mapsize constants from the rmgen library.(#4034)[[BR]] r20370 Construct the final object containing the random map data in ExportMap? passed to the engine in place instead of scattering that in multiple functions of multiple files. Remove camera centering in that function because it contradicts the modifiability of the camera global (besides being broken and only coming into play if there are no player entities).[[BR]] r20383 Extend the cubicInterpolation function to consume a tension argument allowing to modulate the smoothness of the interpolation.(#892, #4218)[[BR]] r20396 Use only one coordinate system for locations in the rmgen system.(#4034)[[BR]] r20525 Rename RMS to Engine.[[BR]] === Tutorial Maps === r20084, r20085, r20086 Convert the Introductory Tutorial to a tutorial map[[BR]] r19998 Fix tuturial being stuck (#4696, #4697)[[BR]] == Renderer == r20001 Shadow map quality option (#4351, #743)[[BR]] r20378 Adds a wireframe mode to the water rendering.[[BR]] === Preparation for Isometric view === r20377 Adds a perspective matrix, refracts a matrix projection setup to prepare for an isometric view.[[BR]] == Network == r20321 Add id for IQ stanzas[[BR]] r20341 The server should choose the guid[[BR]] r20557 Don't display a timestamp when an invalid command is sent[[BR]] == !Engine/Modding == r19951 (and a few more later) Allow the AI to load custom templates (follow-up to #2951)[[BR]] r19952 Allow using {civ} in builder lists when some civs don't have those templates without errors [[BR]] r20035 Fix an assertion failure when closing the game in the map loading screen (#4154)[[BR]] r20067 Add a window icon (#4363)[[BR]] r20120 Allow specifying the gravity affecting projectiles This allows for different flight paths (eg mortars, magical projectiles). To keep the same behavior as previous iterations of the game add `9.81` to the `` tags of your templates.[[BR]] r20141 Add -unique-logs parameter to make debugging of OOS issues locally easier[[BR]] r20181 Move placeable templates out of special/. Specifically `special/territory_pull` is now `other/territory_pull`, and `special/trigger_point_[A-K]` are `trigger/trigger_point_[A-K]`, update your map xml files and trigger scripts accordingly. This is part of a change from a placeable filter approach (where one has to explicitly list all folders/templates that can be placed in the atlas) to an unplaceable filter approach. This should make it easier for modders to use a different folder structure than the public mod, and have it work without any changes. We assume that adding unplaceable templates happens less often and that modders will notice if they can suddenly place something they added that shouldn't be placeable.[[BR]] r20196 Add FloatDepth property to Position. This allows to have amphibious units that swim at a certain depth. To keep the current behavior add `0.0` to all `` tags of your templates (probably as high up in the inheritance hierarchy as possible).[[BR]] r20203 Move damage types definition to a helper similar to how resources are handled. This should make it somewhat easier to add new damage types. (See #4801 for more improvements.)[[BR]] r20204 Delayed damage. Can be used for grenades or similar. (#1911) To keep the current behaviour for ranged attacks add `0` to the `` tag of your `` tags.[[BR]] r20215 Remove `special_units/` by using inheritance.[[BR]] r20241 Move formation templates from `formations/` to `special/formations`. Part of the placeable/unplaceable restructuring. Make the same moves for your mods, also update all templates specifying formations (`` tag within `` tags). Update your civ.json files. Prefix `special/` for all entries in the `"Formations"` property array.[[BR]] r20242 Move `special_filter/` templates to `special/filter/`. Move any filters you have in your mod to the new folder.[[BR]] r20244, r20252 Make rubble non-decaying by default. If your mod specifies rubble in `` (within ``), or elsewhere you should prefix those occurrences with `decay|`. Specify different decay settings in the individual rubble templates, the `decay|` filter just activates the decay. See the commit for a *nix one-liner to make this change for you. (As always check the end result, and use a version control system.)[[BR]] r20246 Switch back to an unplaceable filter for templates. This makes `rubble/` placeable. The only unplaceable templates from now on start with `template_` or `special/`. All other templates now show up in Atlas, and in code queries for all templates. Allows using different template organization schemes (subfolders, different folders, etc).[[BR]] r20249 Command line options can now start with `-` or `--`.[[BR]] === Performance Optimizations === r20256 Fix lag from moving to the edge of the map[[BR]] r20438 Fix lag from sinking ships (#4713)[[BR]] r20630 Improve Hierarchical Pathfinder Update, somewhat substantially on larger map sizes [[BR]] r19936 Stop copying the territory grid when recomputing the texture.[[BR]] r20311 Some performance optimizations.[[BR]] r20438 Use the rangeManager's subdivisions in the obstruction manager shape tests Completes an existing TODO. This is a large speedup in some cases for those test functions, particularly the "sunken ship lag" issue.(#4713)[[BR]] === Libraries Updates === r20340 Update the bundled gloox wrapper for Windows.[[BR]] r20407 Update Boost to 1.65.1 and provide static libs (built with XP toolset) for upcoming VS 2015 support.(#3004)[[BR]] === Building scripts and linting === r20364 Linting with Coala. This new script and the associated configuration files lint our source code (JS and C++). This will be extended in the future.(#4833 )[[BR]] r20365 Add our script for building patches with Jenkins to version control.(#4419)[[BR]] r20366 Alpha 12 version of Premake 5, including prebuilt binary for Windows.(#3729)[[BR]] r20381 Migrate to premake5, Make pyrogenesis and tests depend on Collada, This commit includes custom modules for CxxTest? and pkg-config support that can be improved upon in the future. It also includes all necessary changes to the build scripts, but the new premake5 features are not fully exploited yet. With this change, premake5 becomes the default, but CI scripts on Unix will continue using premake4 for a while, in order to avoid regressions.(#3729, #404 )[[BR]] r20561 Use default Unicode encoding in source code on Windows.[[BR]] r20562 Support Visual Studio 2015 (MSVC 14.0), VS 2013 stays the default Windows compiler, but support for it will be dropped as soon as possible.(#3439)[[BR]] r20563 Go back to the legacy syntax for detecting premake actions.[[BR]]