Commit Graph

18925 Commits

Author SHA1 Message Date
Itms f46d721630 Use the 0 A.D. logo as window icon for the standalone pyrogenesis mod selector, fixes a warning.
Differential Revision: https://code.wildfiregames.com/D1427
Tested By: elexis
This was SVN commit r21654.
2018-04-04 14:12:29 +00:00
Stan bd730ae8c8 New horse animations by AlexanderMB
Fix redundant props in horse props
Add a new floor gathering anims for cavalry
Move cavalry anim file to a subfolder
Add reins for cavalry
Add trot animation replacing the new and now old ones

This was SVN commit r21653.
2018-04-04 13:51:27 +00:00
elexis f4749a8e2c Simplify GUI g_IsController variable init, equivalent to 100be98215.
Just test if a NetServer is present rather than passing a state boolean
from GUI page to GUI page.

This was SVN commit r21651.
2018-04-04 12:43:25 +00:00
elexis 100be98215 Simplify GUI g_IsNetworked variable init.
Just test if a NetClient is present rather than passing a state boolean
from GUI page to GUI page (since 1c0536bf08 or sooner).

This was SVN commit r21650.
2018-04-04 12:20:34 +00:00
Stan 4a9f15930f New textures for the zebu, by Alexandermb
Thread:
https://wildfiregames.com/forum/index.php?/topic/22832-minifaction-nomads-xiongnu/&page=21

This was SVN commit r21648.
2018-04-03 21:23:45 +00:00
Stan a978b8254c Fix incorrect file naming noticed by Alexandermb
This was SVN commit r21647.
2018-04-03 20:30:38 +00:00
mimo b0d14419ac Fix rotation of promoted turrets and allow fixing the turret angle in the GarrisonHolder schema.
Reviewed By: temple
Differential Revision: https://code.wildfiregames.com/D1420
This was SVN commit r21645.
2018-04-03 17:13:24 +00:00
elexis 0b9460a089 Improve Jebel Barkal balancing for smaller maps when there are very few or no elephant stables.
Let every elephant attack a different target, yielding a more uniform
attacker distribution.
Spawn elephants at the Wonder too, preventing a deadlock when players
have no more units while the buildings are still ignored by soldiers.
Reported by mapkoc at
https://wildfiregames.com/forum/index.php?/topic/24153-is-this-fixed/

Increase time until the first attacker wave on nomad slightly.
Make it depend on the difficulty, as suggested by nani.

This was SVN commit r21644.
2018-04-03 13:42:07 +00:00
elexis f059a8dd16 Increase distance from gaia soldiers to nomad players.
This was SVN commit r21643.
2018-04-03 13:23:38 +00:00
elexis d22b8853b4 Remove unused property from d64b95b28c (which is misleading because the summary page has a variable of the same name).
This was SVN commit r21642.
2018-04-03 13:21:25 +00:00
mimo 21d3520936 Fix cheatTimeMultiplier broken by 5b314fc0ac
Reviewed By: temple
Differential Revision: https://code.wildfiregames.com/D1429
This was SVN commit r21641.
2018-04-02 20:30:32 +00:00
mimo e1562cceeb don't do some actions every turn when this is not needed + some cleanup
This was SVN commit r21637.
2018-04-02 15:39:31 +00:00
Stan 59a614f443 Fix 32b142fd19
Add EOL properties to fixed files
Rename some AO textures to fit the convention,
Remove copy pasta mess, hence fixing the errors spam when deleting
buildings
Fixes #5105

This was SVN commit r21636.
2018-04-01 11:07:55 +00:00
elexis c61927fb8e Small random map cleanup.
Replace deprecated createObjectGroups on River Archipelago to ensure
mine placement, refs #4695.
As request by Hannibal Barca, remove the arctic fox on Scythian Rivulet.
As reported by (-_-) / smiley, place tilapia instead of tuna fish at the
nile river.

This was SVN commit r21635.
2018-03-31 12:27:00 +00:00
temple 8559c3a7f1 Include the last endpoint in distributePointsOnCircularSegment
Differential Revision: https://code.wildfiregames.com/D1422
Reviewed by: elexis
This was SVN commit r21634.
2018-03-31 01:31:13 +00:00
temple 44081fbd13 Add Patrol check to IsWalkingAndFighting
Differential Revision: https://code.wildfiregames.com/D1419
Reviewed by: mimo
Comments by: elexis
This was SVN commit r21633.
2018-03-31 00:21:34 +00:00
temple dda3346e99 Jebel Barkal wall fix
Differential Revision: https://code.wildfiregames.com/D1421
Reviewed by: elexis
This was SVN commit r21632.
2018-03-30 18:16:58 +00:00
elexis 2a59a41702 Let the difficulty setting of Jebel Barkal proportionally influence the number of attackers spawned, refs #4963.
Remove iberian starting walls but keep the towers as requested by lobby
players.
Update mappreview to include the walls from 7e207e1f4c.
Use Basic rank, since Gaia  doesn't have a TechnologyManager and since
the rank bonuses are autoresearched-techs
(noted by temple recently and FeldFeld in a match before the first
version of D204).

This was SVN commit r21631.
2018-03-28 16:53:53 +00:00
mimo 5acfa9921e Fix UnitAI behaviour inconsistent with its stance for packed units and set default stance to standground for packed units.
Reviewed By: temple
Trac Tickets: #5091

Differential Revision: https://code.wildfiregames.com/D1413
This was SVN commit r21630.
2018-03-27 17:56:32 +00:00
LordGood 32b142fd19 Final barrack split assets for Rome, Greece, and Gaul.
This was SVN commit r21629.
2018-03-27 10:15:14 +00:00
temple b34e6f1fbb Set isGarrisoned when unit is autogarrisoned, remove autogarrison state
Fixes two bugs with unresponsive units on walls because they weren't
recognized as turrets.
Differential Revision: https://code.wildfiregames.com/D1403
Reviewed by: mimo
Comments by: elexis
This was SVN commit r21627.
2018-03-26 23:20:34 +00:00
elexis 1168bc40a3 Slightly nerf elephant count from recently.
This was SVN commit r21626.
2018-03-26 16:50:41 +00:00
elexis 8ace8034a2 Fix mirages (and any other entity that blocks something but not BlockConstruction) blocking foundation construction following 29492badb7 / D21.
Clean the code by removing the animal hardcoding in the Foundation
component and adding a flag DeleteUponConstruction to the Obstruction
component.

Have locked gates and upgraded entities equally delete entities when
transforming.
Add a workaround for trees inside walls on random maps.

Reviewed by: temple
Differential Revision: https://code.wildfiregames.com/D1415
Refs #4268

This was SVN commit r21624.
2018-03-26 15:18:53 +00:00
elexis d31d38015b Remove an ancient unused placeholder template.
This was SVN commit r21623.
2018-03-26 14:50:14 +00:00
elexis 558d2e3b1f Remove an invalid parent template that was never used since its introduction in c44efe6c8c.
This was SVN commit r21622.
2018-03-26 14:37:49 +00:00
elexis e472e539e2 Remove test templates that became unused with fd93e4ae74, refs #2951.
This was SVN commit r21621.
2018-03-26 14:34:35 +00:00
elexis 9cc7865ef7 Replace createPassage call on Snowflake Searocks with a createArea call, as a proof of concept showing that createPassage is an unneeded function.
This was SVN commit r21620.
2018-03-26 13:10:24 +00:00
mimo ba0ad25e8a petra: fix field placement broken in 2ead236afe because of overflows, and improve the way to take these overflows into account in the common api to avoid such problems
This was SVN commit r21619.
2018-03-25 19:48:38 +00:00
mimo 275040fcbc no need to transfer the full entity to the ai when destroyed
This was SVN commit r21618.
2018-03-25 19:17:01 +00:00
elexis 7ccf0cd7bf Don't break the entire JS simulation if someone starts this map with treasures disabled.
They are deleted before InitGame, resulting in the ownershipChange
handler wanting to read from the entity ID arrays which weren't
initialized yet.

Reported By: mapkoc
Refs
https://wildfiregames.com/forum/index.php?/topic/24153-is-this-fixed/

This was SVN commit r21615.
2018-03-24 15:08:34 +00:00
mimo 870a0b54d0 petra: use standground stance for packable units as default
This was SVN commit r21614.
2018-03-24 14:01:11 +00:00
elexis c1d7feffb4 Don't have the difficulty of Jebel Barkal differ by the factor 10 depending on the mapsize and playercount.
If there are less spawn points, the groups of spawned units is increased
proportionally.
The new balancing should yield the same results as a 1v1 on medium
mapsize or a 4v4 on a normal mapsize in the previous balancing.

Notice that the number of elephant stables (and hence elephants) can
still vary.

This was SVN commit r21613.
2018-03-24 13:20:44 +00:00
vladislavbelov cb048b4738 A little cleanup of the PatchRData.cpp.
This was SVN commit r21612.
2018-03-24 11:20:57 +00:00
elexis c626b08d2d Reduce pathfinding lag on Jebel Barkal a bit by using actor palms in the city (preventing units in formation from becoming locked in at the spawn point).
Preferably, the buildings should be rotated so that they face the path,
refs #5090.
Start attacks again in case a player dared to rebuild a CC.
Fix missing negation in 0b0fb8838a.
Variable naming consistency.

This was SVN commit r21611.
2018-03-23 17:31:54 +00:00
elexis 53c8bc3c45 Prevent nomad errors on Jebel Barkal by possibly placing players in the desert.
Add a small elevation below the kushite statue.

This was SVN commit r21610.
2018-03-23 16:03:06 +00:00
elexis 0b0fb8838a Delay the first Napata attack on nomad mode by 4 minutes.
This was SVN commit r21609.
2018-03-23 15:12:35 +00:00
elexis 7d249181de Update simulation replay profiling comments and remove unused, nonexisting reference.
This was SVN commit r21608.
2018-03-23 14:31:00 +00:00
Stan 64f610e853 Add a new icon for vercingetorix I made using wowgetoffyourcellphone psd template.
Fix #5087

This was SVN commit r21606.
2018-03-22 22:30:48 +00:00
elexis 9f6a76e671 Adapt Napata elephants to player housewalls.
Order half of all elephants to attack any structure while the other half
still focuses Defensive buildings.
Add 50% more elephants to compensate the existing elephants not being as
effective militarily anymore.

This was SVN commit r21605.
2018-03-22 18:36:06 +00:00
elexis 500b468bbc Place decorative bushes near the paths in the city of Napata.
This was SVN commit r21604.
2018-03-22 16:56:16 +00:00
Imarok d6ae354158 Fix mod check of non-visual replays and allow conversion of a vector of vectors of strings via ScriptConversions
Reviewed by: elexis
Fixes #5044
Differential Revision: https://code.wildfiregames.com/D1316
This was SVN commit r21603.
2018-03-22 15:26:27 +00:00
elexis ee9e677084 Simulation replay profiling graph overhaul.
Support multiple graphs with different scales, units, rounding and
descriptions and use it for memory allocation and number of garbage
collections.
Have the X axis in number of turns (instead of that divided by 20).
Don't have the legend hide part of the graph.
Add references to that hardcoded 20.
Move graph JS to a separate JS file.
Use JSON instead of JS.
Add legal html structure.

Comments By: Vladislav in irc yesterday
This was SVN commit r21602.
2018-03-22 13:53:04 +00:00
Stan fcceffb3dd Add new death anims for elephant drivers it was looking weird before.
Variant files made by me.

This was SVN commit r21601.
2018-03-21 20:15:12 +00:00
Stan 0abaded069 Remove some backfaces to improve performance.
Reported by: elexis
This was SVN commit r21600.
2018-03-21 18:20:39 +00:00
mimo c387ce54f4 petra: remove a useless leftover test
This was SVN commit r21599.
2018-03-21 18:06:18 +00:00
elexis 29492badb7 Delete sheep corpses when starting to build a foundation,
so that units don't try to gather forever while not being able to reach
it and
so that the sheep corpse can't be selected and seen anymore.

Differential Revision: https://code.wildfiregames.com/D21
Fixes #4268
Based On Patch By: wraitii
Reviewed By: temple
Previously Reviewed By: Itms
This was SVN commit r21597.
2018-03-21 01:44:15 +00:00
elexis adfd2cfae1 Add missing map-bounds check to the wall builder constraints missing in 8b2a7f26e0.
Reported By: Imarok
This was SVN commit r21596.
2018-03-21 01:04:42 +00:00
Imarok a3faf5f71d Fix paired tech after 33340265c8
Reviewed by: temple
Differential Revision: https://code.wildfiregames.com/D1409
This was SVN commit r21595.
2018-03-20 22:56:00 +00:00
mimo ed86efa57a Fix infinite UnitAI loop when units are moved out of world (after promotion)
Reviewed By: temple
Trac Tickets: #5079

Differential Revision: https://code.wildfiregames.com/D1406
This was SVN commit r21594.
2018-03-20 18:20:10 +00:00
temple e3dc84692d Reduce defense wall gate health
Differential Revision: https://code.wildfiregames.com/D1390
Patch by: Angen
Comments by: mimo
This was SVN commit r21593.
2018-03-20 01:13:50 +00:00