Commit graph

22719 commits

Author SHA1 Message Date
Gregory A Lundberg
92290d3bbc HttT S13 Use best whiner
When finding the Cuttle Fish, use the lowest-level unit to comment about it. Exclude Mages and Shaman (they are not surprised since they're well-versed in lore); include Kalenz and Konrad as possibilies. Since Konrad and Kalenz are included, the line will always be spoken.
2016-09-13 16:34:54 -05:00
Gregory A Lundberg
326e36e16b HttT S13 Increased comment chance
Instead of just Haldiel, add Simyr or any Paladin as the unit which says, "Back to the abyss, spawn of filth!"
2016-09-13 16:34:54 -05:00
Gregory A Lundberg
8ae8cb0384 HttT S13 Use best outlaw
Uncle Somf's nephew will be the highest-level outlaw we have from the Isle of the Damned. If we have Delurin, he will be the nephew.
2016-09-13 16:34:54 -05:00
Gregory A Lundberg
117259e35b HttT S11 Hide side
Don't give away a hint that we'll be popping up monsters in a few turns
2016-09-13 16:34:53 -05:00
Gregory A Lundberg
c952517875 HttT S11 Improved reinforcements
Use radius for warning zones. Allow water approach, so no warning is given to sea monsters unless they move onto the beach. Put units in place instead of smooshed to left edge of map. Adjust the warning comments. Actually swarm the attacker. Add a swarm if Li'sar is attacked. No comment unless Li'sar is killed by one of Konrad's forces.
2016-09-13 16:34:53 -05:00
Gregory A Lundberg
9c3301a78b HttT S10 Change objectives
Once the eggs have been taken, change objectives to remove them.
2016-09-13 16:34:53 -05:00
Gregory A Lundberg
e0283a6add HttT S09 Victory before Moremirmu arrives
This can only happen when debugging or cheating, but handle it properly, anyway.
2016-09-13 16:34:53 -05:00
Gregory A Lundberg
6cef43770b HttT S08 Pan to duelist
Pan over so we can see him arrive.
2016-09-13 16:34:53 -05:00
Gregory A Lundberg
4e42034c77 HttT S08 Adjust closing-in area
Use a radius to make it more logical.
2016-09-13 16:34:53 -05:00
Gregory A Lundberg
e5bac96a60 HttT S05a Use best Advisor
Order the type list to prefer higher-level. Within level, prefer the order they were met, oldest first.

If there is no advisor (no recalls at all) recruit an Elvish Fighter for the part.
2016-09-13 16:34:53 -05:00
Gregory A Lundberg
002fd030bd HttT S04 Pan and animate Bugg
You know, I never noticed that Bugg changes until I read the code. Usually, the camera won't be on Bugg when he changes.

Pan to Bugg, wait a moment, and use the animations for kill and recruit so the player actually sees Bugg change.
2016-09-13 16:34:53 -05:00
Gregory A Lundberg
fa60cbe7f1 HttT S04 Use best of Landlubbers
Order the type list to prefer higher-level. Within level, prefer the order they were met, oldest first.
2016-09-13 16:34:53 -05:00
Gregory A Lundberg
051ce00bd8 HttT S04 Use best of Merfolk
Use a macro since this appears three times.

Order the type list to select the highest-level merfolk, and include all possible merfolk.
2016-09-13 16:34:53 -05:00
Gregory A Lundberg
1c9ef479dd HttT S02 Consistent team color for Sir Kaylan
Instead of just him, change his entire team to sport his colors.

This was too close to green for side 3, so changed them to purple.
2016-09-13 16:34:52 -05:00
Gregory A Lundberg
24ed9e55b3 HttT S02 Simyr steps forward 2016-09-13 16:34:52 -05:00
Gregory A Lundberg
cb074258e6 HttT S02 Haldiel rides in
He rides up from a village instead of simply appearing from thin air.
2016-09-13 16:34:52 -05:00
Charles Dang
20831bf853 Updated schema for 4e21ae709e 2016-09-11 22:35:43 +11:00
Charles Dang
d822e672ba End Credits: centered text 2016-09-11 22:19:41 +11:00
Charles Dang
d0cae514ff Added basic GUI2 end credits dialog (incomplete) 2016-09-11 18:55:38 +11:00
Charles Dang
865f7262f9 Added large scroll label definition 2016-09-11 18:53:48 +11:00
Charles Dang
838c0e0a09 Renamed title_screen panel definition and added a blur-less version 2016-09-11 18:53:47 +11:00
Charles Dang
659e482e01 Moved eras files back to multiplayer/ since its movement caused errors in replays pre-move 2016-09-11 10:23:53 +11:00
Celtic Minstrel
6baee82e9c Merge pull request #769 from GregoryLundberg/GL_fix_object_silent
Fix bug: 'text' is nil
2016-09-10 17:13:59 -04:00
Gregory A Lundberg
6af699fdf3 Fix bug: 'text' is nil 2016-09-10 14:20:04 -05:00
Charles Dang
eaf5ef96ed Buttons: refactored procedural drawing to avid alpha-corner hack
That hacked stopped being a thing in e993e2820b
2016-09-10 21:44:28 +11:00
Charles Dang
da2027c274 MP Create: added framework for background images 2016-09-10 08:54:24 +11:00
Charles Dang
7ade61cfc2 Load widgets before dialogs
This allows any defined we want global in widgets to be used in dialog.
2016-09-10 08:52:15 +11:00
Charles Dang
b07810608a Renamed the mp_chatbox widget simply "chatbox" 2016-09-09 08:25:04 +11:00
Charles Dang
765f0bfc6a Moved chatbox code to its own file and updates schema 2016-09-09 07:47:02 +11:00
gfgtdf
1c2bb78d15 add mp chatbox widget
to be used in mp lobbay and mp connect.
2016-09-08 22:14:45 +02:00
ln-zookeeper
53b9ace13b Added a ripple to the Tentacle of the Deep baseframe using IPF 2016-09-08 15:50:06 +03:00
ln-zookeeper
40b6fc888a Animations for the new Tentacle of the Deep, mostly by homunculus
From https://forums.wesnoth.org/viewtopic.php?p=570440#p570440

I changed the motion blur somewhat, cropped the frames differently, and made a north-facing version of the attack animation.
2016-09-08 15:37:28 +03:00
Charles Dang
276047ce96 Preferences Dialog: tweaked some labels in Friends List view 2016-09-08 10:31:18 +11:00
Charles Dang
969018f7df MP Create: make use of window exit hook for showing the difficulty dialog 2016-09-08 10:30:07 +11:00
ln-zookeeper
15241cd0a6 Convert remaining – to × in strings describing attack stats 2016-09-07 10:43:30 +03:00
Charles Dang
6f510ad07d Forgot to commit some WML for 5ee75aa473 2016-09-07 17:46:58 +11:00
Charles Dang
717aa892d2 Preferences Dialog: extensive refactor 2016-09-07 12:23:36 +11:00
Celtic Minstrel
758315f533 Enable GUI2 themes 2016-09-05 13:43:58 -04:00
gfgtdf
486e3ec1ee fix comment 2016-09-05 15:09:39 +02:00
mattsc
c03bd5411f Various Lua AI code: use simpler and faster new syntax
No change in behavior.
2016-09-04 18:54:26 -07:00
mattsc
a6a7e79194 TRoW S15: correct side numbers in AI setup
This is not technically necessary as this value is overridden when used
inside a [side] tag, but it seems cleaner that way.
2016-09-04 07:19:21 -07:00
mattsc
56d30fc82b Merge pull request #764 from wesnoth/ai_high_xp_attack
New high_xp_attack candidate action for default AI
2016-09-04 07:02:40 -07:00
Charles Dang
285372a2d1 Further Battle Princess animation updates by doofus-01 2016-09-04 15:07:40 +11:00
Charles Dang
4f95916bbf Updated Battle Princess attack animations by doofus-01
https://forums.wesnoth.org/viewtopic.php?p=601815#p601815
2016-09-04 14:54:05 +11:00
mattsc
d781e6263a High XP attacks: adapt other AIs to existence of new CA
This means:
1. Adding the new CA to AI configs
2. Removing it whenever the combat CA is removed
3. Preventing conflicts for AIs that previously used overlapping scores
2016-09-03 20:00:12 -07:00
mattsc
8e50c4ee06 SotBE: remove macros to force attacks on high-XP enemies
This is not needed any more with the new high XX attacks candidate
action.
2016-09-03 19:28:04 -07:00
mattsc
f76e2d0c59 High XP attack CA: remove a debug message
Also remove a related message from the test scenario.
2016-09-03 16:47:15 -07:00
mattsc
af0f49ae9a High XP CA: add missing braces to CA definition
This did not keep the AI from working correctly, it just made it
slightly less efficient.
2016-09-03 07:06:18 -07:00
mattsc
390d1fdc10 High XP CA: simplify attack conditions with 1.13 syntax 2016-09-03 07:03:00 -07:00
mattsc
6950ee1dd0 New high_xp_attack candidate action for default AI
This CA performs attacks on enemy units so close to leveling that the
default AI's combat CA would not attack them (with some exceptions).
This is meant to keep players from being able to exploit this known
weakness of the default AI.
2016-09-02 20:22:17 -07:00