Erwan
- bug fix in JGE++ audio (improve HBL compatibility) - Added new rewards in story mode: random card, card (either by "name" or id), specific set - Story mode: added possibility to choose music, and bg for duel. -- See "01. Where it all begins" for examples of new features
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
Binary file not shown.
@@ -2,6 +2,7 @@
|
||||
|
||||
<page id="start">
|
||||
<type>dialog</type>
|
||||
<music>_sfx/siege.mp3</music>
|
||||
<title>Welcome young adventurer...</title>
|
||||
<img>_gfx/shopkeeper.jpg</img>
|
||||
<text>So you want to become a sorcerer?</text>
|
||||
@@ -15,6 +16,7 @@
|
||||
<page id="tap_mana_intro">
|
||||
<type>dialog</type>
|
||||
<title>Tapping lands for mana</title>
|
||||
<reward type="unlockset" value="RV">I unlocked ${SET} for you</reward>
|
||||
<text>In your quests you will have to fight against other wizards.</text>
|
||||
<text>You will only have your brain and your spells to help you.</text>
|
||||
<text>The basic Energy to cast your spells in Wagic is called mana.</text>
|
||||
@@ -26,6 +28,7 @@
|
||||
|
||||
<page id="tap_mana">
|
||||
<type>duel</type>
|
||||
<bg>_gfx/back_green.jpg</bg>
|
||||
<onwin>tap_mana_ok</onwin>
|
||||
<onlose>tap_mana_try_again</onlose>
|
||||
</page>
|
||||
@@ -41,8 +44,10 @@
|
||||
|
||||
<page id="tap_mana_ok">
|
||||
<type>dialog</type>
|
||||
<music>none</music>
|
||||
<title>Well done...now let's cast a spell</title>
|
||||
<text>That was too easy for you!</text>
|
||||
<reward type="card" value="Forest (10E)">As a reward, I give you a ${CARD}</reward>
|
||||
<text>Now let's see if you can cast a spell...</text>
|
||||
<text>Spells have a cost represented by mana symbols on the top right corner</text>
|
||||
<text>of the card. For example, 2 white mana icons on the top right of the card</text>
|
||||
@@ -169,6 +174,7 @@
|
||||
<type>dialog</type>
|
||||
<title>Great!</title>
|
||||
<text>You now understand the basics of the combat phase</text>
|
||||
<reward type="unlockset" value="RV">I unlocked ${SET} for you</reward>
|
||||
<answer goto="first_duel_1">Continue</answer>
|
||||
</page>
|
||||
|
||||
|
||||
@@ -3,6 +3,9 @@ Documentation for the Basic campaign system in Wagic
|
||||
Each subfolder that contains a "story.xml" is considered as a "story". Stories appear in the menu and represent
|
||||
a series of dialogs and duels.
|
||||
|
||||
*: 0 to n
|
||||
?: 0 to 1
|
||||
|
||||
#################################
|
||||
1.Structure of story.xml:
|
||||
#################################
|
||||
@@ -20,6 +23,7 @@ Elements of the page node
|
||||
===========================================
|
||||
|
||||
type (dialog,duel,end)
|
||||
music ? (path to a music file)
|
||||
|
||||
|
||||
===========================================
|
||||
@@ -30,6 +34,7 @@ title *
|
||||
img *
|
||||
text *
|
||||
answer *
|
||||
reward *
|
||||
|
||||
title, img, text, answer have the following common attributes:
|
||||
x (optional - default 0)
|
||||
@@ -53,14 +58,22 @@ answer specific attributes:
|
||||
goto
|
||||
id of a page to go to
|
||||
|
||||
reward attributes:
|
||||
type
|
||||
unlockset , card, credits
|
||||
value
|
||||
number of credits, or name/id of the card (random if undef), or name of the set (random if undef)
|
||||
Additionally, the fowllowing variables can be used in the reward text : ${SET}, ${CARD}
|
||||
|
||||
===========================================
|
||||
Additional Elmts of the "page" node if type == dialog
|
||||
Additional Elmts of the "page" node if type == duel
|
||||
===========================================
|
||||
onwin
|
||||
id of a page to go to if duel lost
|
||||
onlose
|
||||
id of a page to go to if duel won
|
||||
|
||||
bg
|
||||
path to a background file
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user