Skip to content

Commit

Permalink
Campaign to load WC 4p
Browse files Browse the repository at this point in the history
  • Loading branch information
sevu committed Oct 27, 2021
1 parent 66cd8a0 commit ea1c1e6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions data/campaigns/World_Conquest/scenarios/WC_II_scenario.cfg
Expand Up @@ -10,6 +10,9 @@ _ "World Conquest 2p" #enddef
#define WC_II_CAMPAIGN_NAME_3P
_ "World Conquest 3p" #enddef

#define WC_II_CAMPAIGN_NAME_4P
_ "World Conquest 4p" #enddef

#define WC_II_CAMPAIGN_DESC_1P
_ "A randomly generated campaign for 1 player. It has 6 levels of difficulty.
(Expert level, 5 scenarios.)" #enddef
Expand All @@ -22,6 +25,10 @@ _ "World Conquest 3p" #enddef
_ "A randomly generated cooperative campaign for 3 players. It has 6 levels of difficulty.
(Expert level, 5 scenarios.)" #enddef

#define WC_II_CAMPAIGN_DESC_4P
_ "A randomly generated cooperative campaign for 4 players. It has 6 level of difficulties.
(Expert level, 5 scenarios.)" #enddef

#define WC2_HUMAN_DIFFICULTY IMAGE COLOR
"units/{IMAGE}.png~RC(magenta>{COLOR})"#enddef

Expand Down Expand Up @@ -74,6 +81,10 @@ _ "World Conquest 3p" #enddef
"misc/blank-hex.png~BLIT(units/drakes/armageddon-fire-se-4.png~RC(magenta>darkred)~CROP(10,0,72,72),-10,-10)~BLIT(units/goblins/spearman-ne-defend.png~FL()~RC(magenta>darkblue)~CROP(0,0,60,67),20,10)"
#enddef

#define ICON_FOUR
"misc/blank-hex.png~BLIT(units/dunefolk/herbalist/alchemist.png~RC(magenta>green),-10,-10)~BLIT(units/saurians/skirmisher/skirmisher-ne-throw9.png~FL(),20,5)"
#enddef

#define IMAGE_ONE
"data/campaigns/The_Rise_Of_Wesnoth/images/story/trow_story_04-Fall_of_Eldaric.jpg~SCALE_INTO(800,600)"
#enddef
Expand Down Expand Up @@ -237,6 +248,7 @@ _ "World Conquest 3p" #enddef
{WC2_CAMPAIGN_NEW 1 {ICON_ONE}}
{WC2_CAMPAIGN_NEW 2 {ICON_TWO}}
{WC2_CAMPAIGN_NEW 3 {ICON_THREE}}
{WC2_CAMPAIGN_NEW 4 {ICON_FOUR}}

#ifdef EDITOR
#ifndef SCHEMA_VALIDATION
Expand All @@ -256,4 +268,9 @@ _ "World Conquest 3p" #enddef
{WC2_SCENARIO_NEW scenario "WC_II_3p" {WC_II_CAMPAIGN_NAME_3P} 3}
#endif

#ifdef CAMPAIGN_WC_4P
{WC2_SCENARIO_NEW scenario "WC_II_4p" {WC_II_CAMPAIGN_NAME_4P} 4}
{WC2_SCENARIO_NEW scenario "WC_II_3p" {WC_II_CAMPAIGN_NAME_3P} 3}
#endif

#endif

0 comments on commit ea1c1e6

Please sign in to comment.