summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2015-04-21 13:41:42 -0500
committerwushin <pasekei@gmail.com>2015-04-28 22:38:44 -0500
commit1351143686f340320315625737f833cc4bc15dae (patch)
tree3d603bc9ee2e4ff10736e0ea03518d25a45b4953
parent1f160054f89428ce3ef9159661d9446e1cdc9a5f (diff)
downloadclientdata-1351143686f340320315625737f833cc4bc15dae.tar.gz
clientdata-1351143686f340320315625737f833cc4bc15dae.tar.bz2
clientdata-1351143686f340320315625737f833cc4bc15dae.tar.xz
clientdata-1351143686f340320315625737f833cc4bc15dae.zip
Example quest with all the quest log effects
-rw-r--r--effects.xml4
-rw-r--r--graphics/particles/questdone.particle.xml18
-rw-r--r--graphics/particles/questup.particle.xml18
-rw-r--r--graphics/sprites/icons/quest-continue.xml9
-rw-r--r--graphics/sprites/icons/quest-indicators.pngbin0 -> 8362 bytes
-rw-r--r--graphics/sprites/icons/quest-start.xml9
-rw-r--r--paths.xml6
-rw-r--r--quests.xml194
8 files changed, 256 insertions, 2 deletions
diff --git a/effects.xml b/effects.xml
index eba8ddf4..47024c14 100644
--- a/effects.xml
+++ b/effects.xml
@@ -73,6 +73,10 @@
<effect id="42" particle="graphics/particles/magic-dark-explosion.particle.xml"/>
<effect id="43" particle="graphics/particles/monster-pumpkin-explosion.particle.xml"/>
<effect id="44" particle="graphics/particles/object-getitem.particle.xml"/>
+ <effect id="45" sprite="icons/quest-start.xml"/>
+ <effect id="46" sprite="icons/quest-continue.xml"/>
+ <effect id="47" audio="sfx/system/levelup.ogg" particle="graphics/particles/questup.particle.xml"/>
+ <effect id="48" audio="sfx/system/levelup.ogg" particle="graphics/particles/questdone.particle.xml"/>
<effect id="111" particle="graphics/particles/magic.shield-ends.xml"/>
<!-- <effect id="112" particle="graphics/particles/magic.haste-ends.xml"/>-->
<!-- <effect id="113" particle="graphics/particles/magic.barrier-ends.xml"/> -->
diff --git a/graphics/particles/questdone.particle.xml b/graphics/particles/questdone.particle.xml
new file mode 100644
index 00000000..c8b003c1
--- /dev/null
+++ b/graphics/particles/questdone.particle.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<!--
+Green stars which are supposed to engulf a character
+-->
+<effect>
+ <particle position-x="0" position-y="0" position-z="0" lifetime="128">
+ <emitter>
+ <property name="image" value="graphics/particles/star-medium.png|W:#000000,ffffff"/>
+ <property name="vertical-angle" value="90"/>
+ <property name="power" value="2"/>
+ <property name="lifetime" value="36"/>
+ <property name="output" min="-5" max="1"/>
+ <property name="position-x" min="-16" max="16"/>
+ <property name="position-y" min="-16" max="16"/>
+ <property name="position-z" min="0" max="32"/>
+ </emitter>
+ </particle>
+</effect>
diff --git a/graphics/particles/questup.particle.xml b/graphics/particles/questup.particle.xml
new file mode 100644
index 00000000..d4a59a75
--- /dev/null
+++ b/graphics/particles/questup.particle.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<!--
+Green stars which are supposed to engulf a character
+-->
+<effect>
+ <particle position-x="0" position-y="0" position-z="0" lifetime="128">
+ <emitter>
+ <property name="image" value="graphics/particles/star-medium.png|W:#009600,ffffff"/>
+ <property name="vertical-angle" value="90"/>
+ <property name="power" value="2"/>
+ <property name="lifetime" value="36"/>
+ <property name="output" min="-5" max="1"/>
+ <property name="position-x" min="-16" max="16"/>
+ <property name="position-y" min="-16" max="16"/>
+ <property name="position-z" min="0" max="32"/>
+ </emitter>
+ </particle>
+</effect>
diff --git a/graphics/sprites/icons/quest-continue.xml b/graphics/sprites/icons/quest-continue.xml
new file mode 100644
index 00000000..265eda76
--- /dev/null
+++ b/graphics/sprites/icons/quest-continue.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<sprite variants="1" variant_offset="1">
+ <imageset name="base" src="graphics/sprites/icons/quest-indicators.png" width="32" height="32"/>
+ <action name="stand" imageset="base">
+ <animation direction="default">
+ <frame index="1"/>
+ </animation>
+ </action>
+</sprite>
diff --git a/graphics/sprites/icons/quest-indicators.png b/graphics/sprites/icons/quest-indicators.png
new file mode 100644
index 00000000..a660c101
--- /dev/null
+++ b/graphics/sprites/icons/quest-indicators.png
Binary files differ
diff --git a/graphics/sprites/icons/quest-start.xml b/graphics/sprites/icons/quest-start.xml
new file mode 100644
index 00000000..485cbb65
--- /dev/null
+++ b/graphics/sprites/icons/quest-start.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<sprite variants="2" variant_offset="1">
+ <imageset name="base" src="graphics/sprites/icons/quest-indicators.png" width="32" height="32"/>
+ <action name="stand" imageset="base">
+ <animation direction="default">
+ <frame index="0"/>
+ </animation>
+ </action>
+</sprite>
diff --git a/paths.xml b/paths.xml
index 0317a270..fe2fbbbb 100644
--- a/paths.xml
+++ b/paths.xml
@@ -42,13 +42,15 @@ Also, don't forget to add the '/' path separator at the end of folder values.
<option name="minimaps" value="graphics/minimaps/"/>
<option name="maps" value="maps/"/>
<option name="sfx" value="sfx/"/>
- <option name="newQuestSfx" value="system/levelup.ogg"/>
- <option name="completeQuestSfx" value="system/levelup.ogg"/>
+ <!-- option name="newQuestSfx" value="system/levelup.ogg"/ -->
+ <!-- option name="completeQuestSfx" value="system/levelup.ogg"/ -->
<option name="attackSfxFile" value="weapons/knives/knife-hit1.ogg"/>
<option name="missSfxFile" value="fist-swish.ogg"/>
<option name="music" value="music/"/>
<option name="wallpapers" value="graphics/images/"/>
<option name="wallpaperFile" value="login_wallpaper.png"/>
+ <option name="newQuestEffectId" value="47"/>
+ <option name="completeQuestEffectId" value="48"/>
<!--
ManaPlus tries to load skillsFile first, then skillsFile2 if it failed.
In old versions, ea-skills.xml before skills.xml, now it is swapped.
diff --git a/quests.xml b/quests.xml
new file mode 100644
index 00000000..82d73a9d
--- /dev/null
+++ b/quests.xml
@@ -0,0 +1,194 @@
+<?xml version="1.0" encoding="utf-8"?>
+<quests>
+ <var id="1">
+ <effect map="029-2.tmx" npc="154" value="0" effect="45"/>
+ <effect map="029-2.tmx" npc="154" value="1,2,3" effect="46"/>
+ <effect map="029-2.tmx" npc="114" value="4,5,6,7" effect="46"/>
+ <quest name="Tutorial" group="Candor Island" incomplete="1">
+ <name>Welcome</name>
+ <text>Walk to the carpet</text>
+ <text/>
+ <text>Quest giver: Sorfina.</text>
+ <text>Coordinates: Candor Island Indoor (27,27)</text>
+ </quest>
+ <quest name="Tutorial" group="Candor Island" incomplete="2">
+ <name>Welcome</name>
+ <text>Retrieve items from the Chest</text>
+ <text/>
+ <text>Quest giver: Sorfina.</text>
+ <text>Coordinates: Candor Island Indoor (27,27)</text>
+ </quest>
+ <quest name="Tutorial" group="Candor Island" incomplete="3">
+ <name>Welcome</name>
+ <text>Open inventory and equip clothes (###keyWindowEquipment;)</text>
+ <text/>
+ <text>Quest giver: Sorfina.</text>
+ <text>Coordinates: Candor Island Indoor (27,27)</text>
+ </quest>
+ <quest name="Tutorial" group="Candor Island" incomplete="4">
+ <name>Welcome</name>
+ <text>Find Tanisha</text>
+ <text/>
+ <text>Quest giver: Sorfina.</text>
+ <text>Coordinates: Candor Island Indoor (27,27)</text>
+ </quest>
+ <quest name="Tutorial" group="Candor Island" incomplete="5">
+ <name>Welcome</name>
+ <text>Help Tanisha kill maggots</text>
+ <text/>
+ <text>Quest giver: Tanisha.</text>
+ <text>Coordinates: Candor Island Indoor (100,88)</text>
+ </quest>
+ <quest name="Tutorial" group="Candor Island" incomplete="6">
+ <name>Welcome</name>
+ <text>Help Tanisha kill maggots</text>
+ <text/>
+ <text>Quest giver: Tanisha.</text>
+ <text>Coordinates: Candor Island Indoor (100,88)</text>
+ </quest>
+ <quest name="Tutorial" group="Candor Island" incomplete="7">
+ <name>Welcome</name>
+ <text>Get reward from Tanisha</text>
+ <text/>
+ <text>Quest giver: Tanisha.</text>
+ <text>Coordinates: Candor Island Indoor (100,88)</text>
+ </quest>
+ <quest name="Tutorial" group="Candor Island" complete="8">
+ <name>Welcome</name>
+ <text>Complete.</text>
+ <text/>
+ <text>Quest giver: Tanisha.</text>
+ <text>Coordinates: Candor Island Indoor (100,88)</text>
+ </quest>
+ <quest name="Bully" group="Candor Island" incomplete="9">
+ <name>Hasan</name>
+ <text>Some guy named Hasan is picking on people</text>
+ </quest>
+ <quest name="Bully" group="Candor Island" incomplete="10">
+ <name>Trick</name>
+ <text>Hasan needs to be taught a lesson</text>
+ <text>Talk to sorfina.</text>
+ </quest>
+ <quest name="Bully" group="Candor Island" incomplete="11">
+ <name>Trick known</name>
+ <text>Hasan is afraid of scorpions</text>
+ </quest>
+ <quest name="Bully" group="Candor Island" incomplete="12">
+ <name>Scorpion</name>
+ <text>Goto Hasan and have Kaan summon a scorpion</text>
+ </quest>
+ <quest name="Bully" group="Candor Island" incomplete="13">
+ <name>Saved Hasan</name>
+ <text>Killed the scorpion</text>
+ </quest>
+ <quest name="Bully" group="Candor Island" complete="14">
+ <name>Talk to Hasan</name>
+ <text>Hasan changed his ways</text>
+ </quest>
+ </var>
+ <var id="2">
+ <effect map="029-1.tmx" npc="156" value="0" effect="45"/>
+ <effect map="029-1.tmx" npc="156" value="1,2,3,4,5,6" effect="46"/>
+ <quest name="Valon" group="Candor Island" incomplete="1">
+ <name>By order of the Council</name>
+ <text>Wild life needs to be culled</text>
+ </quest>
+ <quest name="Valon" group="Candor Island" incomplete="2">
+ <name>Maggots</name>
+ <text>Kill 10 Maggots</text>
+ </quest>
+ <quest name="Valon" group="Candor Island" incomplete="3">
+ <name>House Maggots</name>
+ <text>Kill 5 House Maggots</text>
+ </quest>
+ <quest name="Valon" group="Candor Island" incomplete="4">
+ <name>Tame Scropion</name>
+ <text>Kill 3 Tame Scoprions</text>
+ </quest>
+ <quest name="Valon" group="Candor Island" incomplete="5">
+ <name>Scorpion</name>
+ <text>Kill 1 Scropion</text>
+ </quest>
+ <quest name="Valon" group="Candor Island" complete="6">
+ <name>Complete</name>
+ <text>Complete</text>
+ </quest>
+ <quest name="Valon" group="Candor Island" complete="7">
+ <name>Complete</name>
+ <text>Complete</text>
+ </quest>
+ </var>
+ <var id="3">
+ <effect map="029-2.tmx" npc="355" value="0" effect="45"/>
+ <effect map="029-2.tmx" npc="355" value="1,2,3,4,5,6" effect="46"/>
+ <quest name="Magic Wand" group="Candor Island" incomplete="1">
+ <name>MIT Admissions</name>
+ <text>Met Morgan</text>
+ </quest>
+ <quest name="Magic Wand" group="Candor Island" incomplete="2">
+ <name>Learn #confringo</name>
+ <text>Learn the spell to use the wand</text>
+ </quest>
+ <quest name="Magic Wand" group="Candor Island" incomplete="3">
+ <name>Talk to Morgan</name>
+ <text>Cast the spell and ready to talk to Morgan.</text>
+ </quest>
+ <quest name="Magic Wand" group="Candor Island" complete="4">
+ <name>Confringo Learned</name>
+ <text>You learned a new spell #confringo</text>
+ </quest>
+ </var>
+ <var id="4">
+ <effect map="029-1.tmx" npc="165" value="0" effect="45"/>
+ <effect map="029-1.tmx" npc="165" value="1,2,3" effect="46"/>
+ <quest name="Bug Bomb" group="Candor Island" incomplete="1">
+ <name>Met Zegas</name>
+ <text>Needs help.</text>
+ </quest>
+ <quest name="Bug Bomb" group="Candor Island" incomplete="2">
+ <name>Find the bomb</name>
+ <text>Find the bug bomb in one of the barrels</text>
+ </quest>
+ <quest name="Bug Bomb" group="Candor Island" incomplete="3">
+ <name>Found it</name>
+ <text>Found the bug bomb in the barrel</text>
+ </quest>
+ <quest name="Bug Bomb" group="Candor Island" complete="4">
+ <name>Complete.</name>
+ <text>Complete.</text>
+ </quest>
+ </var>
+ <var id="5">
+ <effect map="029-1.tmx" npc="113" value="0" effect="45"/>
+ <effect map="029-1.tmx" npc="113" value="1" effect="46"/>
+ <quest name="Bugman" group="Candor Island" incomplete="1">
+ <name>Bug Legs</name>
+ <text>Vincent needs bug legs</text>
+ </quest>
+ <quest name="Bugman" group="Candor Island" complete="2">
+ <name>Complete</name>
+ <text>Complete.</text>
+ </quest>
+ </var>
+ <var id="6">
+ <effect map="029-1.tmx" npc="258" value="0" effect="45"/>
+ <effect map="029-1.tmx" npc="258" value="1,11,13,15,17,19,21,23,25,27,29,3,31,33,35,37,39,41,43,45,47,49,5,51,53,55,57,59,61,7,9,63" effect="46"/>
+ <effect map="029-1.tmx" npc="262" value="1,5,9,17,33,13,21,37,25,41,49,29,45,53,57,61" effect="46"/>
+ <effect map="029-1.tmx" npc="260" value="1,3,9,17,33,11,19,35,25,41,49,27,43,51,57,59" effect="46"/>
+ <effect map="029-1.tmx" npc="259" value="1,3,5,17,33,7,21,37,19,35,49,23,39,53,51,55" effect="46"/>
+ <effect map="029-1.tmx" npc="263" value="1,3,5,9,33,7,13,37,11,35,41,15,39,45,43,47" effect="46"/>
+ <effect map="029-1.tmx" npc="265" value="1,3,5,9,17,7,13,21,11,19,25,15,23,29,27,31" effect="46"/>
+ <quest name="Hide-n-seek" group="Candor Island" incomplete="1,11,13,15,17,19,21,23,25,27,29,3,31,33,35,37,39,41,43,45,47,49,5,51,53,55,57,59,61,7,9">
+ <name>Hide n Seek</name>
+ <text>Find my Friends</text>
+ </quest>
+ <quest name="Hide-n-seek" group="Candor Island" incomplete="63">
+ <name>Hide n Seek</name>
+ <text>Found Everyone</text>
+ </quest>
+ <quest name="Hide-n-seek" group="Candor Island" complete="127">
+ <name>Hide n Seek</name>
+ <text>Complete</text>
+ </quest>
+ </var>
+</quests>