28766 Commits

Author SHA1 Message Date
Descacharrado
91983c8c87 TSG S4 Fixed replay OOS on victory event 2022-07-15 11:52:36 -05:00
Tommy
8144c06389
Add new [screen_fade] WML action (#6864)
* Add new [screen_fade] WML action

It takes (for now) the arguments:
 * red, green, blue = values between 0 and 255
 * alpha = value between 0 and 255
 * duration = time in ms over which to fade

The game display is faded to the given colour over the duration.
It will be left with an overlay of that colour and alpha until
a screen_fade to 0 alpha is performed.
2022-07-15 09:32:19 -04:00
Tommy
90224728c1 Fix "def" label width in default theme
Fixes #6872
2022-07-15 13:38:51 +12:00
Tommy
26ae5a6fb0 Make blue fires in test scenario more obviously blue 2022-07-13 16:33:09 +12:00
Tommy
fd8068ddc9 Remove comment about fire animation in test scenario
This method of item animation is unsupported. Ref GH#1219
2022-07-13 16:32:25 +12:00
Wedge009
a6c57d014d Test scenario: Use progressive syntax for fire animation
[ci skip]
2022-07-13 13:11:00 +10:00
mattsc
2424d5705f Micro AI CAs: add handle_user_interact calls 2022-07-12 22:57:16 -04:00
mattsc
c7b3393a9d ai_helper: add handle_user_interact calls 2022-07-12 22:57:16 -04:00
mattsc
b1b521f582 Lua AI CAs: add handle_user_interact calls
Insert these calls in loops that do expensive calculations for the CAs of the default and experimental AIs.
2022-07-12 22:57:16 -04:00
doofus-01
be14c5ab35
1.17 Loyalist sprite updates (#6803)
* update swordsman sprite and anims

* update royal guard sprite and anims

* update pikeman sprite and anims

* update lieutenant sprite and anims

* update sergeant sprite and anims

* update halberdier sprite and anims
2022-07-10 18:03:11 -07:00
doofus-01
09fe5a19fd
Adding Amorphous to credits
for the swordsman attack animation.
2022-07-10 17:12:13 -07:00
mattsc
6ed684af73 move-to-any-enemy CA: stop eval if no enemies
Otherwise there is an error caused by one of the sort functions later in the code.
2022-07-03 06:48:47 -07:00
Luis Miguel Iglesias Sánchez
65515848ef
Fixed replay OOS by moving victory event to synced event (#6676) 2022-07-03 01:02:36 -05:00
Descacharrado
21e22fad97 Fixed Warden’s and Arbiter’s animations popping on water tiles 2022-07-02 16:39:18 -05:00
mattsc
90f1c01f41 AI: improve efficiency of move-to-any-enemy CA
The new method avoids a lot of path finding that the previous method did, esp. on large maps with many units and/or enemies, leading to significant speed improvements in some cases.

This fixes #6504
2022-07-01 18:56:00 -07:00
Pentarctagon
08cc17ac1a Put this in the right textdomain. 2022-07-01 10:21:39 -05:00
Pentarctagon
e3fbf930f3 Whitespace fixup. 2022-07-01 10:21:39 -05:00
Pentarctagon
536eaa67b4 Move hero string macro text into their definitions. 2022-07-01 10:21:39 -05:00
Pentarctagon
b15c3420d3 Remove silly GUI macro. 2022-07-01 10:21:39 -05:00
Pentarctagon
0ca5a97d1f Move mainline string macro text into various definitions. 2022-07-01 10:21:39 -05:00
Pentarctagon
d7fa23abc5 Move effect string macro text into various definitions. 2022-07-01 10:21:39 -05:00
Pentarctagon
df99280274 Move artifact string macro text into artifact definitions. 2022-07-01 10:21:39 -05:00
Pentarctagon
3eb75b3e48 Remove some training.cfg one-liner macros. 2022-07-01 10:21:39 -05:00
Pentarctagon
875c6e0cf1 Remove WORLD_CONQUEST_II_CAMPAIGN_RESOURCE from its own file. 2022-07-01 10:21:39 -05:00
Pentarctagon
159396fdc0 Remove one-liner macros used once within the same file. 2022-07-01 10:21:39 -05:00
Pentarctagon
d472e2acb0 Remove factions/random.cfg and its macro. 2022-07-01 10:21:39 -05:00
Pentarctagon
ff5f795663 Remove factions/strings.cfg and related macros.. 2022-07-01 10:21:39 -05:00
Pentarctagon
0b6eb2a6e0 Remove config.cfg and era-related single use macros. 2022-07-01 10:21:39 -05:00
Tahsin Jahin Khalid
4252fad434
Update Death Squire and Bone Knight units (#6820)
* Death Squire, Bone Knight: rename files
* Bone Knight, Death Squire, Skeleton Rider: attack icon change
* Bone Knight: stats adjust
2022-07-01 02:41:03 -04:00
Astrid Halberkamp
4878c3565e
Add the Skeleton Rider line and Death Squire to core (#6088) 2022-06-30 23:34:17 -04:00
Tommy
613f047c1e Remove hex_brightening config option
It is not used, and appears to have been unused for a long time.
It was related to mouseover hex brightening, but the brightening
amount is hardcoded. There were associated hex_semi_brightening,
mouseover_image and selected_image keys, but that info is also
hardcoded, and those keys appear to have been removed already.
2022-07-01 15:06:25 +12:00
Celtic Minstrel
9ade435cd4
Remove WC's custom Pick Your Advancements mod (#6807) 2022-06-29 19:29:04 -04:00
Pentarctagon
1244639dc7
Fix whitespace. 2022-06-28 23:34:27 -05:00
Celtic Minstrel
a089c6e5ea Deprecate {AI_CA_POISONING}
This was already effectively deprecated by proxy due to the overall deprecation of FormulaAI.
So this just adds a message.
2022-06-28 23:07:50 -04:00
mattsc
38978feadd Schema: allow key values to be variables 2022-06-28 09:47:11 -05:00
mattsc
6fcca95be0 Schema: Add missing path key to [textdomain] 2022-06-28 09:47:11 -05:00
mattsc
07d8a55d17
Merge pull request #6802 from mattsc/mai_parms_tests
Add Micro AI parameter checking
2022-06-28 06:21:31 -07:00
Tahsin Jahin Khalid
1ef94ce7e3 units/javelineer: add missing special notes 2022-06-27 23:34:08 -05:00
Tahsin Jahin Khalid
b541b4cb23
world conquest: fix bezoar artifact being bugged (#6515) 2022-06-27 23:33:55 -05:00
Celtic Minstrel
a7755749e3 WC: Fix a typo 2022-06-27 23:46:09 -04:00
mattsc
0092c141d2 Micro AIs: fix image paths 2022-06-27 20:21:28 -07:00
mattsc
2f3f70a709 Micro AIs: add warning messages if invalid parameters are used 2022-06-27 20:21:21 -07:00
mattsc
21475ced4f Micro AIs: add error messages if parameters are of wrong type
Fixes #6408.
2022-06-27 20:20:06 -07:00
larry_the_cow
8d91bc69a2 [harm_unit] fix secondary_attack animation 2022-06-27 23:17:31 -04:00
mattsc
a70ecf1ff5
Merge pull request #6783 from mattsc/expai_updates
Some fixes to the Experimental AI
2022-06-24 16:37:59 -07:00
mattsc
6796ac3d56
Merge pull request #6792 from mattsc/retreat_allied_villages
Fix retreat injured CA taking allied villages
2022-06-24 16:31:15 -07:00
mattsc
b55148ce91 Retreat injured CA: fix for regenerate ability without value key
The ability does not need to contain a value key if it only heals poison.
2022-06-24 16:03:51 -07:00
Celtic Minstrel
666571caa2
Fix load_string() ignoring the passed chunk name (#6794)
Complete with a unit test!
The test results in PASS_BY_VICTORY if it fails,
which is a bit weird, but it does work.
2022-06-24 01:49:28 -04:00
mattsc
c1d1ff517a ExpAI recruit rushers: include unit types from extra_recruit
This fixes #4924. Note, however, that the recruit rushers CA is set up for single-leader sides and does not work with multiple leaders, so this is of limited use.
2022-06-22 16:31:39 -07:00
mattsc
7877218158 Deprecate generic_recruit_engine.lua 2022-06-22 16:31:39 -07:00