Commit Graph

18905 Commits

Author SHA1 Message Date
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
temple c58440abda Fanatic and sword champ armor adjustment
Differential Revision: https://code.wildfiregames.com/D1404
Suggested by: Feldfeld
Reviewed by: Hannibal_Barca
This was SVN commit r21592.
2018-03-20 01:08:00 +00:00
temple 8527f8f240 Update the salad bowl cheat
Differential Revision: https://code.wildfiregames.com/D1407
Reviewed by: elexis
This was SVN commit r21591.
2018-03-20 01:05:38 +00:00
Stan 1bcc48455a New icon for Leonidas using the new background scheme, by wowgetoffyourcellphone
This was SVN commit r21590.
2018-03-20 00:08:20 +00:00
elexis 5eaea653d4 Add lion, ram statues and palms around the healer circle and a kushite statue in its center of Jebel Barkal.
Paint a path texture at the city gates to indicate it's passability.
Increase palm distances in the city to lessen the likelihood of units
spawned in formation being trapped at the spawnpoint.

This was SVN commit r21589.
2018-03-19 20:58:14 +00:00
Stan 8c939da8d2 Fix reverse spear hold position. It was way higher than it should have.
Noticed by: wowgetoffyourcellphone
This was SVN commit r21588.
2018-03-19 18:29:33 +00:00
elexis 101edaa167 Reworked environment settings on Elephantine, based on patch by wowgetoffyourcellphone,
specifically less ambient color saturation.
Simplify the triggerscript.

This was SVN commit r21587.
2018-03-19 15:16:55 +00:00
elexis 41a1967b6b Rename g_Callbacks to g_CloseCallbacks in the options page, so that one has better variable names in case of adding more callback types.
Move a color to a global so that mods can change it.

Proposed by Vladislav in eee8217b45
Reviewed by Vladislav in irc today

This was SVN commit r21586.
2018-03-19 14:36:04 +00:00
temple 3be63d9865 Add ceasefirecounter to default.cfg, rename watershadows to shadowsonwater
Differential Revision: https://code.wildfiregames.com/D1379
Reviewed by: bb
This was SVN commit r21585.
2018-03-18 19:02:18 +00:00
temple b36363a53e Don't exceed vision range in hold ground and stand ground query ranges
Differential Revision: https://code.wildfiregames.com/D1394
Reviewed by: bb
Comments by: elexis
Refs: #4725

This was SVN commit r21584.
2018-03-18 18:49:06 +00:00
fabio 182103c143 Update some OS X libraries with security fixes and hopefully low regression risks. Refs #4362.
This was SVN commit r21583.
2018-03-18 17:21:29 +00:00
Stan 160dcdd477 Fix a few sync issues with horse variants and armors.
This was SVN commit r21582.
2018-03-18 13:33:21 +00:00
Stan d9f29d755a Use variant for some elephants.
This was SVN commit r21581.
2018-03-18 13:04:24 +00:00
mimo 349bcc1d1a petra: cache some computations which are done quite often on a few turns and created peaks in the execution time
This was SVN commit r21580.
2018-03-18 12:05:28 +00:00
elexis 38ae0d7314 Add some animated healers near the wonder on Jebel Barkal, similar to the ritual place on Danubius.
This was SVN commit r21579.
2018-03-17 23:57:50 +00:00
bb 69f8297bec Give all entities a looter component so building arrows bring in loot too
Briefly Discussed With: elexis

This was SVN commit r21578.
2018-03-17 21:46:28 +00:00
elexis 29b8de7411 Cavalry not attacking soldiers on Jebel Barkal wasn't a successful idea.
This was SVN commit r21577.
2018-03-17 19:26:16 +00:00
Stan d6ca86df62 Reenable some textures for Ptol pikemen, use the correct model for advanced units.
This was SVN commit r21576.
2018-03-17 15:38:34 +00:00
Stan d3bdb66fe6 New Kushite icons by wowgetoffyourcellphone.
This was SVN commit r21575.
2018-03-17 13:25:17 +00:00
temple 3c9439ce27 Use primeSortAllPlayers in Latium
All maps should now have correct team placement in terms of
sortAllPlayers vs primeSortAllPlayers.
Differential Revision: https://code.wildfiregames.com/D1392
Reviewed by: elexis
This was SVN commit r21574.
2018-03-16 23:42:17 +00:00
temple a49f0909f7 Use Shanakdakheto name for kush catafalque
Noticed by: Hannibal_Barca
This was SVN commit r21573.
2018-03-16 23:26:59 +00:00