Commit graph

506 commits

Author SHA1 Message Date
Severin Glöckner
5a38f3afd6 MP: 5P The Wildlands
Fix Shuffling Sides with side 5 (which has no leader)
and refactor.
[ci skip]
2020-08-09 00:49:28 +02:00
Severin Glöckner
5b12e0bc46 MP: 5P The Wildlands
Place units in a way which avoids jumping too much over the map.
[ci skip]
2020-08-09 00:49:06 +02:00
Galen Brooks
ee079d4a8a Backport map_file feature fixes for 1.14
This branch combines fixes needed for using map_file.

See issues #4407, #4397, #4519, and #4652 for details.
2019-12-28 14:34:58 -05:00
pentarctagon
2bec7e3251
Fix team names to match the description of allowing FFA. 2019-11-27 21:34:22 -06:00
josteph
1ce7c21e1d Auction X: Don't shuffle the center side
(cherry picked from commit d154cf14a6)
2019-10-08 21:03:21 +00:00
Severin Glöckner
5c13ee9781 MP: use prestart for objectives
That's good practice, because in other cases the player might press ctrl+j
and see the default objectives instead.
Also, as it's know in these cases that there is exactly one enemy, say so.

[ci skip]
2019-09-25 18:58:17 +02:00
Severin Glöckner
2869dd2d8d MP 5P Wildlands: backport changes from master
[ci skip]
2019-09-25 18:53:12 +02:00
Severin Glöckner
8b833c9417 ANL: add additional units for post-win time. 2019-09-22 00:22:11 +02:00
Severin Glöckner
7e1d7585b2 MP Wildlands: fix wrong village_gold
Map description remonnecs 1 village_gold.
Otherwise player 5 is disadvantaged, who has always none.

[ci skip]
2019-09-20 19:33:03 +02:00
Severin Glöckner
c6204ce569 ANL: use default AI
main difference: Lvl 2 units are recruited in lategame

[ci skip]
2019-08-17 23:54:15 +02:00
Pentarctagon
5536dceaa5 Remove extra sprite on hex 48,17.
Fixes #4242
2019-08-16 16:50:53 -05:00
Severin Glöckner
30e19c2dfc ANL: less message spam 2019-06-24 02:40:55 +02:00
Severin Glöckner
5bc3cafeea ANL: activate experimental AI 2019-06-24 02:40:10 +02:00
Severin Glöckner
18fe78c846 ANL: alternative solution for Guard Problem
This avoids not only luring them on weak terrain,
but also luring them out of the way.
2019-06-23 11:19:43 +02:00
Severin Glöckner
3e16f25d6e Revert "ANL: also protect Guardians from losing defense by luring out"
This reverts commit 5133875b01.
2019-06-23 11:19:43 +02:00
Severin Glöckner
5133875b01 ANL: also protect Guardians from losing defense by luring out 2019-06-17 22:55:26 +02:00
Severin Glöckner
e1f2aea127 ANL: get name from player instead of leader 2019-06-17 22:55:26 +02:00
Severin Glöckner
72f9b49b77 ANL: using second portrait for flavor
In this scenario, the player has only two types. Chances are
that the message for freeing a trapped unit may be spoken by
two Spearmans.
2019-06-15 23:30:15 +02:00
Severin Glöckner
d6fe80a0bd ANL: switch Drake and Gryphon
Drake has an weakness to pierce, which the goblins use.
On the other hand, it has impact resist and does fire damage,
good against WC and skeletons. Thus the side switch.
Because both are quick units and close to each other it won't
confuse players either.
2019-06-15 22:25:28 +02:00
Severin Glöckner
5f77a9c4dd ANL: clear more variables on exit 2019-06-14 04:41:52 +02:00
Severin Glöckner
93d79345e9 ANL: disable diplomacy actions towards yourself 2019-06-14 04:41:52 +02:00
Severin Glöckner
91996fe520 ANL: applying refactoring changes to other files
Changes from the research refactoring can also be applied here:
- only storing sides gold instead of the whole side
- removing helper variable for loop
2019-06-14 04:41:52 +02:00
Severin Glöckner
851beddb4f ANL: research options – check if choosen option is a change
Don't consume MP if the same option was choosen.
Also removed unneccessary code by using 1.13 additions.
2019-06-14 04:41:52 +02:00
Severin Glöckner
1a168b6895 ANL: refactor variable
- store only what is needed
- free variable
2019-06-14 04:41:52 +02:00
Severin Glöckner
d4439a7a67 ANL: use loyal trait to mark the lack of upkeep
Then spiders got an extra side
The Lvl 0 ones never pay upkeep and got their own macro
The Lvl 2 Guards got the loyal trait

That way it's clearly communicated that all these units don't pay
upkeep, without being obstrusive about the fact.
2019-06-14 04:41:52 +02:00
Severin Glöckner
481667c1c6 ANL: use core macros within anl macros 2019-06-14 04:41:52 +02:00
Severin Glöckner
8ba4aa1664 ANL: use seperate side for spiders
not necessary, side effects:
 - it's obvious that they don't cost upkeep
 - no vision sharing of the caves with the enemies
 - can also attack the enemies though that probably won't happen
2019-06-14 04:41:52 +02:00
Severin Glöckner
6a6479ec86 ANL: use loyal guardians and adjust income in return
Killing a guardian (the guards or a spider) punished the player,
because the AI then doesn't need to pay upkeep anymore for that unit.

That has been changed, and as the AI has thus less cost, the income needs
adjustments too:

The following has been taken into account:
- the guardian units had upkeep costs of 7g
- the AI has 3-4 villages, each worthy 1g of village_support
  * before turn 7, the AI can't recruit Lv 1 units. From turn 9 it recruits
    exclusively Lv 1 units.
  * This means in the early game the AI payed just 4g upkeep for the
    guardians and when it managed to recruit 3 Lv 1 units it was equal to 7g
- in the late game the AI may need more money in general, as Lv 2 units are
  expensive. The fact that the AI gets 50g in turn 17 means that the income
  is too low to buy the units normally.

The general idea is to have with this change same amount of money in the
early game and the same or more in the late game.

To address the above:
- 4g less income
- the Lv 3 spider is usually killed in each game, often before turn 7. It's
  seen as compensation for the village_gold
- The income of the AI is increased in relation to the turns. From turn 15 on:
  Each turn one of the AIs gets +1g income – in average +1g income each 4 turns.
2019-06-14 04:41:52 +02:00
Severin Glöckner
fc9c54a21c ANL: income lock no longer required 2019-06-14 04:41:52 +02:00
Severin Glöckner
a629a9b1dd ANL: refactor income change
This opens up the possibility to change the income
2019-06-14 04:41:52 +02:00
Severin Glöckner
9dfc642297 ANL: avoid unnecessary unstoring 2019-06-14 04:41:52 +02:00
Severin Glöckner
bf7ee4e8fc ANL: leaders take advantage of player's castles / villages 2019-06-14 04:41:52 +02:00
Severin Glöckner
f8b3846db8 ANL: disable swamp trick
- by building a house between the swamp and the guardian the restriction
  could have been bypassed. And because attacking a unit next to the swamp
   has higher priority compared to capturing the house it's not very dangerous
- also use the same macro for guardians and leaders movement restrictions
2019-06-14 04:41:52 +02:00
Severin Glöckner
44535d992a ANL: code cleanup 2019-06-14 04:41:52 +02:00
Severin Glöckner
32120a020d ANL: new objectives screen 2019-06-14 04:41:52 +02:00
Severin Glöckner
f1a12438d1 ANL: simplified help
- looks better without image
- no options where they are not needed
2019-06-14 04:41:52 +02:00
Severin Glöckner
dec3771218 ANL: use unsynced help menu 2019-06-14 04:41:52 +02:00
Severin Glöckner
355c46ffb3 ANL String changes
Remove hint, as map settings are now forced (thanks to new 1.13 feature),
and remove dot from objectives, as the usually use none.
2019-04-29 22:54:56 +02:00
Severin Glöckner
2ad58aea27 ANL: scale image in menu to same size as the others
[ci skip]
2019-04-29 22:51:55 +02:00
sevu
2f73fd41a4 Dark Forecast: capture village on spawn
1.14 OOS save backport of 05cd152

Closes #3890
2019-04-29 22:37:37 +02:00
Wedge009
830d17e94a Consistent (non-)capitalisation.
Race names seem to be mostly lower-case. Bramwythl the Wose is capitalised because it seems to be a title.

[ci skip]
2019-04-17 13:24:29 +10:00
nemaara
a4e8028fc1 Change various references of mermen to merfolk 2019-04-16 19:32:30 -04:00
Severin Glöckner
455d889f29 ANL: lose MP when freeing captured unit
This is the old behavior, which was lost when assigning the prisoner side to
both teams.
2019-03-16 10:22:39 +01:00
nemaara
6bb78d4f65 Dark Forecast: fix extra boss spawns not occurring 2019-03-14 10:44:37 -04:00
nemaara
45a0e887e4 Revert "Dark Forecast: fix boss spawns not occurring"
This reverts commit 4f33408c96.
2019-03-14 10:38:47 -04:00
nemaara
4f33408c96 Dark Forecast: fix boss spawns not occurring 2019-03-14 00:49:57 -04:00
josteph
75fddd1c70 Typo fixes
In Caves of the Basilisk, give the monsters names so their descriptions
would show in-game.  The descriptions show in the tooltip, so
a non-empty name is required in order for players to be able to summon
th tooltip.
2019-03-03 15:38:28 +00:00
sevu
04e840b025 Dark Forecast: add placed units to the help
Resolved conflict caused by 05cd1521ff on
master.
2019-03-03 14:43:27 +00:00
Severin Glöckner
314a34d881 ANL: fix village gold being too low
[ci skip]
2018-09-15 01:10:58 +02:00
Severin Glöckner
75e3ff1615 ANL: remove superfluous temp variables
The other variables in that event are not needed either, left them in for
readability for the time being.

[ci skip]
2018-09-10 00:36:03 +02:00