Commit graph

649 commits

Author SHA1 Message Date
gfgtdf
527c3b1a1e fix sample lua cavegen 2016-02-08 23:37:23 +01:00
gfgtdf
fc1c9ff699 fix error in lua sample mapgenerator 2016-02-08 23:34:07 +01:00
gfgtdf
ac79ff350a improve lua sample cave generator. 2016-02-08 23:14:03 +01:00
gfgtdf
37e613b6fc Added a sample lua map generator
this is more or less the code of the cavegen as used in HttT scenario 17
ported to lua.
2016-02-08 21:22:27 +01:00
ln-zookeeper
96bd5ae982 Avoid errors if scenario is played with one of the sides empty 2016-02-01 20:23:55 +02:00
Charles Dang
0dbaabbb3e Split 6p Team Survival map into own file 2015-10-09 15:27:39 +11:00
Charles Dang
68363b3e21 Convert benchmark scenario maps to new format 2015-10-08 05:09:14 +11:00
Charles Dang
a96253982b Team Survival: convert masks to new format 2015-10-08 05:09:13 +11:00
Charles Dang
9ac120ab7d Add missing [ai] block to Drakes (default) faction (bug #23404) 2015-10-01 13:28:39 +11:00
gfgtdf
87313970e1 fix [modification]type=key
Previous it couldhappens that create_engines and depcheck::manager s lis
of mods could get out of sync which caused wrong modification to be
active.

Also we add a type= key to [era]s chiech defaults to mp so that only the
default era is avaiable in sp by default (for technical reasons there
must be at least one era avaiable in sp.
2015-06-21 16:07:36 +02:00
gfgtdf
61fab699e5 fix faction_from_recruit
Previously faction_from_recruit would search for default_recruit= in
[multiplayer_side]. This commit fixes it so that it seached for
'recruit' ('default recruit' is no attribute of [multiplayer_side]).

This fixed behaviour breaks 'A new land' mp scenario becasue the faction
now gets locked to the mp faction that matches the recruits best
(loyalists), but in ANL we wants custon recruitlist and not Loyalists
recruitlist. To Fix this i removed faction_from_recruit= from 'A new
land's sides.
2015-06-20 17:12:47 +02:00
gfgtdf
634d29020f dont make 4mp leader quick in campaigns by default
making 4mp leader automaticly quick is unexpected for a campaigns
designer. And the intention is make it easier to port sp campaigns to
mp.
To do this i ported the quick4 mp leader code to lua.

I also moved the lua code from eras.cfg to a new file eras.lua, this
makes is easier for an editor to detect lua syntax highlichting
automaticly.
2015-06-16 02:13:08 +02:00
gfgtdf
219bb24b30 disable turn over advantage for campaigns by default
For campaigns (sp and mp) which are usually coop campaigns you usually
don't want the turns over advantage message. So we disable it by default
for campaigns. It is still possible to (de-)activate is manually by
setting the wml variable show_turns_over_advantage to yes/no
2015-06-16 01:18:43 +02:00
Ignacio R. Morelle
b80819be02 ANL: Work around recruit lists being overridden by factions (bug #23593)
This only seems to happen when Use Map Settings is enabled. Using
faction_lock in that case forces the "Custom" faction selection, which
offers all possible leaders from all factions and doesn't override the
recruit lists.

faction_from_recruit would limit the faction selection to Loyalists in
1.10, thus ensuring all leaders are Loyalists with Use Map Settings on,
but that doesn't seem to work right now either. It shouldn't matter for
this scenario anyway as long as the recruit lists are the ones defined
here rather than the faction's.
2015-06-12 06:04:14 -03:00
Elvish_Hunter
0e36bedb84 Removed Silver Mage from the Rebels' leaders in Age of Heroes
See bug report at http://forums.wesnoth.org/viewtopic.php?f=4&t=42588
2015-06-02 11:17:05 +02:00
Charles Dang
68dfe27bbd Saved all multiplayer maps in new format 2015-05-30 23:11:46 +11:00
Elvish_Hunter
f6b445f026 ANL: used [filter] status= instead of [filter_wml] 2015-04-28 21:55:41 +02:00
Ignacio R. Morelle
a96e0a3659 Remove orphaned map generator scenario
Fixes an assertion failure on the editor's Generate Map menu.
2015-04-23 05:37:09 -03:00
Ignacio R. Morelle
0d63907982 Prevent wmllint from converting two problematic file paths for now 2015-04-17 11:24:38 -03:00
Ignacio R. Morelle
e036d22bdd Exclude leading <img> from translatable MP faction descriptions 2015-04-17 11:01:11 -03:00
Chris Beck
e85eb66f5b put YAMG as a map generator rather than as a scenario generator
this way is a lot less buggy, the other way seems to cause
mysterious crashes
2014-11-05 18:40:45 -05:00
Chris Beck
43e3d37a21 fix bug #22484 (fix random map generation in mp create)
As described in bug report, mp create had a bizarre implementation
for random map vs scenario generation. Scenario generation was called
map generation, and map generation was impossible. We fix it and make
it work like it works in the rest of the game.

At time of writing the wiki describes map generation wml as follows:

```
To use the default [generator] your [scenario] tag must contain one of
the following keys:

scenario_generation=default
map_generation=default

If ‘scenario_generation’ is used, the engine will expect for your entire
[scenario] sub tags to be inside a [scenario] tag inside [generator].
Tags outside of this will be ignored. There may be value in this, but at
this writing, it’s not clear. ‘map_generation=default’ is simpler and
more commonly used. It is also necessary to use this key so that you can
regenerate a map in MP game creation. In its use only generator data is
in the [generator] tag, all other [scenario] data is placed outside of it.
The exception is if you are making an initial MP scenario available in MP
game creation, for this a [scenario] tag must appear inside of
[generator], containing the [scenario] subtags you want to use.
See “data/multiplayer/scenarios/Random_Scenario.cfg” for an example.
```

This commit essentially removes the "exception" pointed out above.
After this, the mp create dialog treats map and scenario generation
both in the "random maps" classification, and it handles them normally,
scenario generation replacing the entire scenario, and map generation
replacing only the map data of the scenario.
2014-11-05 18:40:45 -05:00
Chris Beck
e243285aba change undead help portrait to spectre, it fits better here 2014-11-01 02:02:56 -04:00
Chris Beck
8ae5a3556d add khalifate description based on 1.12 release announcement text 2014-10-23 15:43:41 -04:00
Chris Beck
24d9aa08a8 use warlord portrait for 'northerners' in help description 2014-10-23 15:34:11 -04:00
Chris Beck
751ab8f025 use grand knight portrait for 'loyalists' help description 2014-10-23 15:31:41 -04:00
ln-zookeeper
d09ce1ca87 Fixed players not winning if last enemy is side 2 2014-10-16 21:31:19 +03:00
Ignacio R. Morelle
858239ace4 Replace U+0022 in the Undead faction description, add an em dash 2014-07-22 17:53:47 -04:00
Ignacio R. Morelle
20bcc6513a Replace U+0027 in the Rebels faction description, reword a link 2014-07-22 17:42:44 -04:00
Chris Beck
22e9081b30 add portraits to decorate mainline faction descriptions 2014-07-21 00:38:59 -04:00
Chris Beck
106ce90402 port faction description text from the wiki to the in-game help
This commit ports the text I found as the introductions to wiki
pages like this http://wiki.wesnoth.org/Drakes into the in-game
help, preserving the links to race descriptions and eras.
2014-07-21 00:12:54 -04:00
fendrin
12bad80fa6 Put the DEFAULT_SCHEDULE_* macros in use. 2014-07-14 18:25:49 -04:00
fendrin
046a7b66ca Fix two border tiles. 2014-07-14 18:02:31 -04:00
Nathan Walker
0b3499cc66 Create a blank era for sp
Also, moved the "Custom" mp side to be loaded outside of the MULTIPLAYER define.
2014-07-13 15:25:20 -05:00
Ignacio R. Morelle
b79e531bf0 wmlindent pass on data/multiplayer/ 2014-07-02 21:42:31 -04:00
Nathan Walker
be366af523 Implemented defines for largest mainline scenarios 2014-06-22 15:37:53 -05:00
Velensk
4746355da5 Update to RoTD along with a changelog note.
The subject really says it all. Ruins of Terra-Dwelve got some tweaks.
2014-02-05 17:56:01 -05:00
Ignacio R. Morelle
f5ad4be828 Disable wmllint translation mark check around inline Lua blocks 2014-01-04 12:51:08 -03:00
fendrin
10b56130b1 Replaced forest segments with those from the different climate zone.
This is just an attempt to make the map look more like "Prairie".
2014-01-02 10:44:19 +01:00
fendrin
03f33bfc30 Just 4 pieces of terrain to beautify the map. 2014-01-02 10:44:19 +01:00
fendrin
2dd6c62bbf More leaders for the Khalifate in the AoH era. 2013-12-28 17:11:06 +01:00
fendrin
4f15c07d7b Fix the misspelled id of the AoH Khalifate era. 2013-12-28 13:18:20 +01:00
fendrin
c2c8fab4ad Renamed the file holding the khalifte default era factiondefinitions.
Just for consistency with the other files' names.
2013-12-28 13:15:05 +01:00
fendrin
c44e5fe776 Age of Heroes + Khalifate 2013-12-28 11:39:40 +01:00
fendrin
2709197594 Refactored the time of day schedule related images and macros.
This moves the after the fall schedule into core to grant that the
debian package wesnoth-editor does not depend on wesnoth-utbs.

Also, the images now life in their own subdirectories.

Wmllint has been updated to take care about the changed paths.
2013-12-22 07:32:12 +01:00
Alexander van Gessel
c825dd0e72 Merge branch 'master' of github.com:wesnoth/wesnoth-old 2013-12-22 04:16:09 +01:00
Alexander van Gessel
47e311ab9b Fix some image references in ANL
Found by wmlscope
2013-12-22 04:15:10 +01:00
Ignacio R. Morelle
060c35d82c wmlindent pass on mainline 2013-12-21 23:06:43 -03:00
Boldizsár Lipka
88dda7bedd Khalifate era description by happygrue. 2013-12-22 03:45:12 +01:00
Alexander van Gessel
725f9e398e wmlindent run 2013-12-22 02:04:58 +01:00