Alarantalara
d9434e2781
UtBS 3: Activate shroud turn 12 instead of turn 1
...
No longer need to clear shroud at game start
2014-01-27 17:42:46 -05:00
Alarantalara
1d125a0e86
UtBS 3: Remove orc_warning variable
2014-01-27 17:42:46 -05:00
Allefant
62ddbd2f81
[wmlunits] add some debug info
2014-01-27 23:10:34 +01:00
mattsc
51e210f5e2
SotBE S11: ensure correct number of gryphon riders is recruited
...
The previous method set the maximum limit correctly and worked well
before 1.11.7. However, the new recruitment algorithm hardly recruits
gryphon riders at all in this scenario without extra instructions. The
new AI instructions ensure that it does.
2014-01-27 12:53:39 -08:00
mattsc
f0936bd85c
SotBE S11: add waves of mermen, number dependent on difficulty
2014-01-27 12:53:39 -08:00
Allefant
91800c34c8
[wmlunits] for campaigns, define a difficulty
...
The first preprocessor symbol listed in a campaigns difficulties=...
attribute is now set when parsing WML looking for unit definitions.
2014-01-27 16:57:16 +01:00
Alarantalara
d8cd999248
UtBS 12: Get rid of overridden flag variant
2014-01-26 23:39:23 -05:00
Alarantalara
3322c4664b
UtBS 12: Spawn bats on rainforest, not tropical forest
...
While there was some tropical forest on the map, most has been changed
to rainforest. This change ensures that the bats stay in the jungle
proper. Also, by eliminating tropical forest as an option, the bats
will never spawn in the trees in the southern part of the island.
2014-01-26 23:27:46 -05:00
Alarantalara
5c49683ab0
UtBS 12: unstore_unit is capable of relocating units
2014-01-26 23:19:30 -05:00
Alarantalara
0e1da6449b
UtBS 12: Remove num_keys_found variable
2014-01-26 22:57:17 -05:00
Alarantalara
dfecd58b6b
UtBS 12: Remove keys where values match default
2014-01-26 22:57:17 -05:00
mattsc
4559bacd61
SotBE S1: use new macro AI_SAVE_GOLD_DEFAULT
2014-01-25 20:34:49 -08:00
mattsc
1f93899652
New macros AI_SAVE_GOLD and AI_SAVE_GOLD_DEFAULT
...
… to make enabling gold saving for the AI simpler in a scenario now
that it is not the default any more.
2014-01-25 20:29:15 -08:00
mattsc
03777e745b
SotBE S10: adjust player's starting gold
2014-01-24 09:18:26 -08:00
mattsc
e989d7e2a6
SotBE S10: don't give huge unannounced gold bonus to AIs at turn 8
...
Instead, give AIs all the gold from the beginning, but stop recruiting
after a little less than half of it is spent. At turn 8, start
recruiting again with the remaining gold.
2014-01-24 09:18:26 -08:00
mattsc
f862650352
SotBE S10: decrease value of villages for AI sides
2014-01-24 09:18:25 -08:00
mattsc
0166f6e9ac
SotBE S10: have AIs target only Inarix, not all saurians
...
Also set target value for Inarix equal to that of Kapou’e. Otherwise
it is pretty much impossible to save Inarix.
2014-01-24 09:18:25 -08:00
mattsc
04875b9104
SotBE S10: slight change to a message
...
The original version only makes sense if the AIs are winning at the
time. The new version works either way.
2014-01-24 09:18:25 -08:00
Groggy Dice
179165eb4d
campaigns: purge unnecessary "recognize" magic comments
2014-01-23 05:53:05 -05:00
mattsc
aaf0922da1
SotBE S1: enable AI gold saving
...
The scenario is both harder and more interesting this way and was
rebalanced with gold saving on before the AI default was changed.
2014-01-22 07:57:52 -08:00
mattsc
873b38f093
SotBE S2 & S9: remove code that turns off gold saving
...
This is now the AI default again.
2014-01-22 07:47:40 -08:00
mattsc
62273f51b3
RCA AI: revert gold saving default back to 'off'
...
This was discussed both on the wesnoth-dev mailing list and on the
forums and the overall consensus was that it should be off, although
some scenarios will benefit from it. It should be enabled specifically
in such scenarios as they are identified.
Reference:
https://mail.gna.org/public/wesnoth-dev/2014-01/msg00001.html
and links therein
2014-01-22 06:51:19 -08:00
Ignacio R. Morelle
65aab693b8
Remove a wmllint spelling exception that doesn't belong
...
See commit 53d7c53df0
.
2014-01-21 22:09:41 -03:00
Allefant
a83ae0ab08
[wmlunits] Filter out eras from dependencies
2014-01-21 02:07:23 +01:00
mattsc
48cff503a3
SotBE S10: fix AI target filters
...
These are SUFs, so type=Saurian does not match anything.
2014-01-20 12:26:37 -08:00
mattsc
98ed48fa32
SotBE S9: more starting gold for player
...
The player used to start this scenario with a lot of carry-over gold,
while now there is almost none.
2014-01-20 07:43:43 -08:00
mattsc
0b68f07655
SotBE S9: slight adjustment of initial village ownerships
...
Give Shan Taum all villages except those very close to Kapou’e’s keep.
2014-01-20 07:43:43 -08:00
mattsc
e9150feebf
SotBE S9: turn off gold saving for AI side
...
We want Shan Taum to throw all his forces at the player at once.
This can likely be reverted in a few days when/if the AI default is
changed, but for now it is still necessary.
2014-01-20 07:43:43 -08:00
mattsc
48633165a3
SotBE S9: force AI to attack enemies 1 XP from leveling
...
.. so that it is not possible to block key positions with such units.
2014-01-20 07:43:43 -08:00
mattsc
6de138bebf
SotBE S9: make river edge terrain slightly less favorable for player
2014-01-20 07:43:43 -08:00
Groggy Dice
3f79e418a5
wmllint: report stored units never unstored or cleared
...
Keys from the dictionary of stored units are removed as the unit is
unstored or its variable cleared. However, I found that one character in
Legend of Wesmere, Urudin, is stored but apparently never unstored/cleared.
I figure it's best to report such cases.
This message does not include helpful information like the filename,
because that data was never stored in the dictionary. The dictionary was
designed on the presumption that all entries would have a matching unstore/
clear event, and I didn't think of this warning until I saw there was an
anomalous case. Those who get this error will just have to use grep!
2014-01-20 04:19:52 -05:00
Allefant
754229ff22
[wmlunit] fix help
2014-01-19 21:34:26 +01:00
Allefant
7a653b1c12
[wmlunits] Also take dependencies into account for second pass.
2014-01-19 21:34:26 +01:00
Allefant
db98a2af1c
[wmlunits] Don't store translations which are the same.
2014-01-19 21:34:26 +01:00
mattsc
ed4fe91b44
Wolves MAI: add optional parameter attack_only_prey=
...
By default, the wolves attack any enemy unit they can reach. If this
key is set, only prey units are attacked.
2014-01-19 12:06:20 -08:00
mattsc
a2727d27a0
SotBE S8: remove unnecessary condition in SLF
...
Now that bug #21488 is fixed, this is not needed any more.
2014-01-18 16:38:41 -08:00
Alexander van Gessel
ae71df2b34
Merge branch 'master' of github.com:wesnoth/wesnoth-old
2014-01-19 01:23:09 +01:00
Alexander van Gessel
ab965f03ce
Add testcase for bug #21488
2014-01-19 01:22:47 +01:00
mattsc
134fdae964
AI_FORCE_ATTACK_HIGH_XP_UNITS macro: fix event name
...
The Lua function needs to go into a preload event, the [micro_ai] tag
does not.
2014-01-18 16:09:50 -08:00
mattsc
1f1ae18749
SotBE S4: force AI to attack enemies 1 XP from leveling
...
.. so that it is not possible to block key positions with such units.
2014-01-18 16:02:10 -08:00
Allefant
e8b930260f
[wmlunits] simplified dependencies
2014-01-18 16:39:36 +01:00
ln-zookeeper
071d4aa6de
Fixed breakage.
2014-01-18 17:08:39 +02:00
ln-zookeeper
c346045783
Merge branch 'master' of https://github.com/wesnoth/wesnoth-old
2014-01-18 10:41:57 +02:00
ln-zookeeper
6ec38efb14
Gave Li'sar the new "initiative" ability (gives melee firststrike for adjacent allies).
2014-01-18 10:37:11 +02:00
Allefant
0c4cd5a337
[wmlunits] implemented dependencies support
2014-01-17 18:13:45 +01:00
mattsc
8e68a0c5da
SotBE S8: some balance tweaks
2014-01-17 08:43:07 -08:00
Groggy Dice
e059677112
wmllint: take out testing lines
2014-01-17 06:02:33 -05:00
Groggy Dice
6aa8d86b3e
wmllint: recognize unstored units
...
This required care to:
* not add ids inside [not] tags
* remove items from dictionary not just when unstored, but when
clear_variable is used
* handle comma-separated values
2014-01-17 05:38:44 -05:00
Groggy Dice
c7de5ce968
wmllint: lay groundwork for recognizing unstored units
...
The next commit will actually populate the dictionary and append
the id to recognized characters.
2014-01-17 05:38:40 -05:00
Allefant
e9430a02d1
[wmlunits] increase timeout for parsing user addons
2014-01-17 10:58:38 +01:00