1
0
forked from 0ad/0ad
Commit Graph

18935 Commits

Author SHA1 Message Date
0ed00dca6f Add an IsInWorld check to Formation
Differential Revision: https://code.wildfiregames.com/D1435
Reviewed by: elexis
This was SVN commit r21667.
2018-04-07 17:18:16 +00:00
83ad0e28c1 Reduce the attackercount by 33% per difficulty on this map, because "easy" wasn't easy and "medium" was rather hard.
Don't miss out on elephants on "easy" however.
Don't place walls on tiny maps.

This was SVN commit r21665.
2018-04-05 16:01:10 +00:00
8c068ca258 Fix undefined warning when pressing the massbarter hotkey after building a market before selecting the market for the first time following b48d192ee9.
Reported By: nani, (-_-)
This was SVN commit r21664.
2018-04-05 11:57:43 +00:00
68e8b34d39 Add some missing hill avoidance for nomad placement.
Patch By: (-_-) aka smiley
Differential Revision: https://code.wildfiregames.com/D1417
This was SVN commit r21663.
2018-04-05 11:08:01 +00:00
787345a8db fix error when using salad-bowl on gaia, fixes #4603
This was SVN commit r21661.
2018-04-04 19:27:19 +00:00
d0a771c712 Use the loading screen for autostart singleplayer/bot matches and replays too (not only for autostarted multiplayer matches), refs #4822.
Add an autostart-player option, so that one can start as an observer too
and watch some knockout bots.

Precise the "Needed for autostart loading option" comment from
d5bd374586 which
become increasingly incomprehensible with each a68d5dae0d, 506350d6fa,
9f796068f8 and 6c5a8269f3.

This was SVN commit r21659.
2018-04-04 18:46:36 +00:00
966b1608da Disable some session buttons while in Atlas rather than spamming JS error stacks onTick.
These three dialogs assume to be able to read the gameSettings, but
Atlas doesn't provide them yet following the commits in #3143 and #3263.
Refs #4199.

This was SVN commit r21658.
2018-04-04 17:35:25 +00:00
b48d192ee9 Simplify JS GUI session init.
Move all GUI init calls from init to initGUIObjects.
Move all GUI logic from init and initGUIObjects to functions called from
the latter.

This was SVN commit r21657.
2018-04-04 16:53:31 +00:00
8f9ec9ebe3 fix b0d14419ac for turrets directly garrisoned from OutWorld
This was SVN commit r21656.
2018-04-04 16:23:17 +00:00
539a709890 Formation members shouldn't use IsWalkingAndFighting
Differential Revision: https://code.wildfiregames.com/D1425
Comments by: mimo, bb
Fixes: #5108

This was SVN commit r21655.
2018-04-04 15:05:59 +00:00
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
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
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
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
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
a978b8254c Fix incorrect file naming noticed by Alexandermb
This was SVN commit r21647.
2018-04-03 20:30:38 +00:00
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
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
f059a8dd16 Increase distance from gaia soldiers to nomad players.
This was SVN commit r21643.
2018-04-03 13:23:38 +00:00
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
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
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
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
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
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
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
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
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
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
32b142fd19 Final barrack split assets for Rome, Greece, and Gaul.
This was SVN commit r21629.
2018-03-27 10:15:14 +00:00
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
1168bc40a3 Slightly nerf elephant count from recently.
This was SVN commit r21626.
2018-03-26 16:50:41 +00:00
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
d31d38015b Remove an ancient unused placeholder template.
This was SVN commit r21623.
2018-03-26 14:50:14 +00:00
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
e472e539e2 Remove test templates that became unused with fd93e4ae74, refs #2951.
This was SVN commit r21621.
2018-03-26 14:34:35 +00:00
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
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
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
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
870a0b54d0 petra: use standground stance for packable units as default
This was SVN commit r21614.
2018-03-24 14:01:11 +00:00
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
cb048b4738 A little cleanup of the PatchRData.cpp.
This was SVN commit r21612.
2018-03-24 11:20:57 +00:00
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
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
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
7d249181de Update simulation replay profiling comments and remove unused, nonexisting reference.
This was SVN commit r21608.
2018-03-23 14:31:00 +00:00
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
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
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