Commit Graph

18782 Commits

Author SHA1 Message Date
mimo 23bb82f930 Add a null stance in UnitAI to be used by the AI or trigger scripts
Reviewed By: bb
Differential Revision: https://code.wildfiregames.com/D1367
This was SVN commit r21494.
2018-03-10 19:12:23 +00:00
elexis 391c49ab63 Fix player placement and hero rush on Jebel Barkal.
This was SVN commit r21493.
2018-03-10 18:46:24 +00:00
bb 3450538ce1 fix some maps missing VictoryConditions
refs 2f763f1d87

This was SVN commit r21492.
2018-03-10 18:10:56 +00:00
elexis c0ec4adb6f Missing file in c936824255, reported by temple, refs #5040.
This was SVN commit r21491.
2018-03-10 18:01:39 +00:00
elexis 108cb4b344 Fix filename -.-
This was SVN commit r21490.
2018-03-10 17:43:04 +00:00
temple e86e8d7ae9 Remove ResourceGatherer and trample tooltips for chariots
Differential Revision: https://code.wildfiregames.com/D1371
Reviewed by: elexis
This was SVN commit r21489.
2018-03-10 17:32:30 +00:00
elexis c936824255 Jebel Barkal random map, fixes #5040.
Features:
* a mountain created in atlas, refs #4816
* a procedurally generated city, refs #5061
* scripted city guards and reoccuring gaia attackers
* attacker composition depend on the remaining buildings of the city
* random irrigation canals that indirectly increase the distance between
the two teams

Needs map description and player feedback to become complete.
Hill based on the Napata Reconstruction hill created by Skhorn of
8615acb2fc.
Consulting By: Sundiata, Skhorn
This was SVN commit r21488.
2018-03-10 17:29:51 +00:00
temple f41452392d Cleanup skirmish replacements
Differential Revision: https://code.wildfiregames.com/D1370
Reviewed by: bb
Comments by: elexis
This was SVN commit r21487.
2018-03-10 17:29:02 +00:00
temple e68d99272f Fix maps after kush temple rename
Differential Revision: https://code.wildfiregames.com/D1373
Reviewed by: elexis
Comments by: bb, mimo
This was SVN commit r21486.
2018-03-10 17:24:58 +00:00
elexis 2ae5da09a0 CityPainter for random map scripts that fills the given area randomly with the given templates, fixes #5061, refs #5040.
This was SVN commit r21485.
2018-03-10 17:24:03 +00:00
elexis a3e5e0fef8 Common TriggerHelper functions to set formations on units, get the mapsize and current time, refs #5040.
This was SVN commit r21484.
2018-03-10 17:16:39 +00:00
Stan 8b0fd2bd0a Add new head for kush hero
This was SVN commit r21483.
2018-03-10 11:51:08 +00:00
Stan 2ef1c40870 Make horse crown a bit more like bronze
This was SVN commit r21482.
2018-03-10 11:15:24 +00:00
Stan 2d74bc4ff5 New crowns for Kushite Heroes.
Remove a duplicate texture.

This was SVN commit r21481.
2018-03-10 11:06:16 +00:00
Itms cc67d54aeb Fix compiler warnings on VS 2015, refs #3439, refs #5069.
Patch By: Stan
Reviewed By: Itms, vladislavbelov
Differential Revision: https://code.wildfiregames.com/D1262
This was SVN commit r21480.
2018-03-10 09:58:53 +00:00
temple 62c29bd809 Fix OOS on rejoin by cloning in Mirage
Differential Revision: https://code.wildfiregames.com/D1325
Reviewed by: elexis, bb
Fixes: #5048

This was SVN commit r21478.
2018-03-10 00:44:32 +00:00
temple a86b7b491d Kushite tweaks and balancing
Add an anti-champ/hero bonus to Meriotic Temple Guards.
Make the Temple of Amun a unique building available in the City phase.
Adjust some auras and add one for cheaper triremes.
Nerf clubman attack, remove spearmen tweaks.
Change barracks cost.
Fix some icons.

Differential Revision: https://code.wildfiregames.com/D1343
Patch by: Hannibal_Barca
Comments by: Nescio, Grugnas, elexis, Sundiata, mimo
This was SVN commit r21477.
2018-03-10 00:35:26 +00:00
vladislavbelov 0e710d716d Fixes the Alt + Tab crash in the fullscreen mode. Refs #4181.
Patch By: Angen
Comments By: echotangoecho, Imarok, Stan
Reviewed By: vladislavbelov
Trac Tickets: #4181
Differential Revision: https://code.wildfiregames.com/D1212
This was SVN commit r21476.
2018-03-09 22:23:03 +00:00
bb 2f763f1d87 Transfrom in all skirmisch and scenario maps the "GameType" string into a "VictoryConditions" array, so they are compatible with the combine victory commit
The same change should be done in all maps in mods

refs #4014
refs D1240

This was SVN commit r21475.
2018-03-09 21:56:51 +00:00
bb 6d54ab4c1f Implement combine victory conditions
Excluding the changes to scenario and skirmisch maps
Transform gameType string to victoryCondition array in load/replaymenu
Adapt the gamesetup to use checkboxes for every victory condition and an
array for storing them
Allow multiple queries in conquestCommon
Remove conquest from regicide, wonder and capture the relic
Move the endless gamedescription from settings to gamedescription
Fixing wrong tabulation from a8a29271ce

This commit will break all scenario and skirmisch maps, their "Gametype"
string needs to be transformed in a "VictoryCondition" array as is done
in the tutorial map (counting endless as an empty array). This counts
for mods too!
Old svn replays and savegame will throw warnings/errors as they are
incompatible after this commit. So svn users will need to delete all
those.

Comments on ai and autostart games By: mimo
Comments on Atlas By: Vladislav
Reviewed By: elexis
Differential Revision: https://code.wildfiregames.com/D1240
fixes: #4014

This was SVN commit r21474.
2018-03-09 21:51:18 +00:00
temple b9a53529b9 Remove war dog slaughter attack
Differential Revision: https://code.wildfiregames.com/D1363
Reviewed by: elexis
Comments by: bb
This was SVN commit r21473.
2018-03-09 19:51:11 +00:00
elexis edf91718b5 Refactor distributePointsOnCircle into distributePointsOnCircularSegment, refs #5061.
This was SVN commit r21472.
2018-03-09 09:39:53 +00:00
Imarok 595edeaa2f Sound and Target Marker for freehand positioning of units
Patch by OptimusShepard
Refs #5060
Differential Revision: https://code.wildfiregames.com/D1352
This was SVN commit r21471.
2018-03-08 23:17:47 +00:00
mimo 48e861724d petra: be less restrictive for building a cc in islands with a dock
This was SVN commit r21470.
2018-03-08 21:17:39 +00:00
mimo 20a0df4ae2 petra: fixes in choice of best defenders when several islands + some cleanups
This was SVN commit r21469.
2018-03-08 21:09:31 +00:00
temple 56b8fe31fd Disable speed bonus for formations
Differential Revision: https://code.wildfiregames.com/D1360
Patch by: Angen
This was SVN commit r21468.
2018-03-08 19:36:32 +00:00
temple 12633bdaa8 Adjust melee and slaughter max range to better match animations
Differential Revision: https://code.wildfiregames.com/D988
Patch by: Grugnas
This was SVN commit r21467.
2018-03-08 19:11:34 +00:00
elexis 8ae6c448ee Fix the two incorrect replacements in b5c43fc5f9, refs #4950.
This was SVN commit r21466.
2018-03-08 19:00:04 +00:00
elexis 734ca44533 On Danubius, send soldier attack commands last, so that observers follow these units rather than the ships after the ungarrisoning.
Since healers can't attack enemies, they have left the gaia attacker
group immediately to start patroling.
To fix that, change healers to guard random soldiers of that group,
preferably heroes or champions.
Use absolute formation template paths.

This was SVN commit r21465.
2018-03-08 14:15:03 +00:00
elexis 147ef2b892 Allow observers to follow gaia commands on triggerscript maps.
This was SVN commit r21464.
2018-03-08 14:10:45 +00:00
elexis adb84c50fb Fix oversight in 14da2f841f.
This was SVN commit r21463.
2018-03-08 14:06:41 +00:00
Imarok a14b351e87 Add a more detailed tooltip to the mainmenu lobby button
Reviewed by: elexis
Differential Revision: https://code.wildfiregames.com/D1358
This was SVN commit r21462.
2018-03-07 19:16:14 +00:00
mimo 212b74f7e5 petra: make the ai able to build docks in islands in which it has no cc, and use them for trade.
This was SVN commit r21461.
2018-03-07 18:45:16 +00:00
mimo 061371da92 more petra cleanup following eslint
This was SVN commit r21460.
2018-03-07 18:41:39 +00:00
elexis 14da2f841f TriggerHelper functions to retrieve entities by player and by class.
Removes repetitive RangeManager and Identity component querying from
triggerscripts.
It means that mostly map specific logic remains in the triggerscript.
This should bring TriggerScript coding a bit closer to map authors who
aren't exactly software developers.
Call the RangeManager entity getters on Danubius and Survival multiple
times on init to further simplify code, as these microseconds on init
are irrelevant.

This was SVN commit r21459.
2018-03-07 13:54:58 +00:00
elexis 3f7ea11059 TriggerHelper SetUnitStance helper function for a very frequent triggerscript order.
This was SVN commit r21458.
2018-03-07 12:36:45 +00:00
elexis 2a1929d378 Fix a typo (ritualIdx / heroIdx) in the Danubius OwnershipChange in 026dcf10eb / D204.
Simplify that function by tracking entities using Sets instead of
Arrays, even though it costs two Set-to-Array conversions.

This was SVN commit r21457.
2018-03-07 12:21:09 +00:00
temple d49f684139 Enable the Kushite mercenary camps
Differential Revision: https://code.wildfiregames.com/D1356
Reviewed by: mimo
This was SVN commit r21456.
2018-03-07 01:24:39 +00:00
Stan a787471f56 Move unused celt building prop meshes to the old public
Found by checkref.pl

This was SVN commit r21455.
2018-03-06 21:59:38 +00:00
Stan f83a56287c Move some old trees to old public. Found with checkrefs.pl
They are too low poly to be used sadly.

This was SVN commit r21454.
2018-03-06 21:19:25 +00:00
Stan 408a8d55c4 Remove unused/old meshes found by checkref.pl
This was SVN commit r21453.
2018-03-06 21:08:17 +00:00
mimo 0ffb130744 petra: cleanup following eslint continuation
This was SVN commit r21452.
2018-03-06 19:39:13 +00:00
mimo 307e395012 petra: more cleanups following eslint
This was SVN commit r21451.
2018-03-06 19:15:31 +00:00
Stan 46dadfb386 Rename missing hero in 6fd60ff14a
Refs: 097c19a6a0

This was SVN commit r21450.
2018-03-06 18:59:46 +00:00
Stan 6fd60ff14a Rename some heroes using the common scheme.
Those heroes were introduced in 097c19a6a0
The new convention from now on will be civ_hero_name(_type(_weapontype))
where parenthesis are optionnal.
However it would be nice to when a infantry hero is added for instance,
than the other one specify it's cavalry
Since it requires map changes, it will be up to the person introducing
it.

This was SVN commit r21449.
2018-03-06 18:50:44 +00:00
mimo 06c64bd8da petra (partial) cleanup following eslint
This was SVN commit r21448.
2018-03-06 18:47:33 +00:00
mimo 4ded9cbec2 ai: cleanup of common-api following eslint
This was SVN commit r21447.
2018-03-06 18:34:33 +00:00
elexis d3fd524f88 Remove _unpacked from rome_mechanical_siege_onager since it doesn't have a Pack component, refs 9fd718186d.
Fix lineendings.

This was SVN commit r21446.
2018-03-06 13:58:07 +00:00
elexis 6113edd746 Refactor and move random template composition triggerscript code used for gaia attacker waves from Danubius (026dcf10eb / D204) and Survival Of The Fittest (18e7d8a518 / D145) to the TriggerHelper.
Eases implementation of new maps with diverse scripted attackers, refs
#5040, D11 and  map difficulties, refs #4963, D1189.
Replaces hardcoded templatenames with calls to a new TriggerHelper
function to query template names, given Classes, Civ, Rank or Packed
state.
Removes the duplicated template counting logic, that was intertwined
with map specific unit classes balancing logic, refs #4805.

Use mimos garrison function from e29dfb7000 / D1146 to support
doubleclicking on garrisoned gaia heroes on Danubius, fixing the bug
described in comment:10 of #4291.
Fix wrong (Trigger) prototype reference in ce65af8dcb.

This was SVN commit r21445.
2018-03-06 13:31:34 +00:00
elexis d8b5439956 Small map cleanup and performance improvements.
This was SVN commit r21444.
2018-03-06 11:44:20 +00:00