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:
@@ -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