[Wesnoth-commits] r10044 - in /trunk: data/campaigns/Heir_To_The_Throne/maps/ data/campaigns/Heir_To_The_Throne/scenarios/ images/items/ (February 10, 2006 - 23:16)

Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Headers

 

Author: scott
Date: Fri Feb 10 23:15:34 2006
New Revision: 10044

URL: http://svn.gna.org/viewcvs/wesnoth?rev=10044&view=rev
Log:
httt story enhancements, added armor.png placeholder image

Added:
    trunk/images/items/armor.png   (with props)
Modified:
    trunk/data/campaigns/Heir_To_The_Throne/maps/Swamp_Of_Dread
    trunk/data/campaigns/Heir_To_The_Throne/scenarios/A_Choice_Must_Be_Made.cfg
    trunk/data/campaigns/Heir_To_The_Throne/scenarios/Gryphon_Mountain.cfg
    trunk/data/campaigns/Heir_To_The_Throne/scenarios/Scepter_of_Fire.cfg
    trunk/data/campaigns/Heir_To_The_Throne/scenarios/Swamp_Of_Dread.cfg

Modified: trunk/data/campaigns/Heir_To_The_Throne/maps/Swamp_Of_Dread
URL: http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Heir_To_The_Throne/maps/Swamp_Of_Dread?rev=10044&r1=10043&r2=10044&view=diff
==============================================================================
--- trunk/data/campaigns/Heir_To_The_Throne/maps/Swamp_Of_Dread (original)
+++ trunk/data/campaigns/Heir_To_The_Throne/maps/Swamp_Of_Dread Fri Feb 10 23:15:34 2006
@@ -1,46 +1,46 @@
-dddwwrrrdwwwddrrdddwwwddwwwwwddddrrrrY
-wwwwddrrddwwwdrYrddwwwddwYwrrrdrdrrddd
-wwwwdNdrdrddwwrrrdddwddrrrrrrrrrrrdndd
-wwwwN2NrrrrrwwrdrwwwwrrdrdddwwrrYrn1nY
-wdwddddrrrrddwddddwwrwddddddwwwwrwnnnd
-dddrdrrrrddwwwwwddrrwwddYddrrwwwwwdddd
-dwrrrYrrrddwwwwwwwrrdwdddrrYrwwwwrrrdd
-dwrrrrrrrrddwwwwwdrrrwrrrrrrrwwwwrrrYr
-wwwrrrrrrrrrwwwrrdrrrwwwrrrwwwwwwdrddr
-wwwwrdrrrrrrwwrrrdddrrwwwrrwwwrddYdddd
-rwwwddddrdwwwrrrddddrrrrwwwrwwrddddddd
-rrwdddddddwwrrrrdddddrrwwwrrrwdwdddddd
-rrddddYdddwdrrrrrrddddrdwdYwwwwwdddddd
-rrdddddddddddrrYrrrrdddddddwwwwrdrdYdr
-rrrdddddddddrrrrrrrrdddddddwwrrrrrrrrr
-rrrrdrdwdwwwrrrddrrrwwdddddddrrrrrrrrr
-rrrrrwrrwwwwrrrddwwwwwwdddddrrYrrrddrr
-rrYrrwwwwwwwrdddwwwwwrdddddwrrrrddddrr
-rrrdddwdwrddddddwwwrrrrrrrwwwwrddddddr
-rwdddddddrddddddddddrYrrrrwwwwwddddddr
-wwwwwwdNdrrYdwdddddrrrrrrrwwwwwdddddrr
-wwwwwwN3Nrrwwwrrrrrrrrrdddddwwwddddwrr
-wwwwwddddwwwwwrrrrrrrrdddN6Ndrrrdrdwww
-wrwdddddwwwwwdrdrdrwwwddddNddrrrrrwwww
-rrrddddrrwwrddddddwwwwwddddddrYrrrwwwr
-rYrrdrrrrwwrddddddwwwwwdddddrrrrrdddrr
-rrrrrrrrwwrYdddddddrrrdddddwrwrdddddrr
-rdrdrwrwwwrrrddddrrrYrrrrrwwwwwwddddrr
-ddddddwwwwwrrrrrwwwwrrrdrdwwwwwwdddrrr
-ddddddwwwwwrrdrwwwwwrddddddrwwwddddrYr
-dddddddwwdddddddwwwwwddddrrrrddddrrrrw
-dddddrrrrrddddddrrwwwddddrrrdddwrwwwww
-rrdrrYrrrddddddddrrddddrrrrrrrrwwwwwww
-rwwrrrrrrdddddddrrrdddddrrrrYrrwwwrrwr
-wwwwrrrrrrdddddrrYrrdddddddrrrrrwwwwrr
-wwwwwdddrrrrrrrrrrrrrrdddddrrrrrrdwddr
-wrdddNdddrrrrrrdddddrrrwrrrrrddddddddr
-rrddN4NdwwrwrrddddddddwwwwrddddNdddddr
-rrddNNNdwwwwwdddddddddwwwwwwddN5Ndddrr
-rddddddrwwwwwdddddddddwwwwwdddddddddrr
-dddddrdrwwwwwdddddddddwwwrrddddddwwwrr
-dddrrrrrrrrrrddddddddrrrrrrrddddwwwwww
-rrdrrrYrrdrrrrdddYdddrrrrdrYrrdrwwwwww
-rwwwrrrdddddrrrwdwdrrrrrddddrdrrwwwwww
-rwwwwddddddddrwwwwwwrrrdddddddrrYrwwwr
-rrwwwddddddddrwwwwwwwrdddddddddrrrrrrr
+fYrrrrddddwwwwwddwwwdddrrddwwwdrrrwwddd
+ddddrrdrdrrrwYwddwwwddrYrdwwwddrrddwwww
+dddndrrrrrrrrrrrddwdddrrrwwddrdrdNdwwww
+dYn1nrYrrwwdddrdrrwwwwrdrwwrrrrrN2Nwwww
+ddnnnwrwwwwddddddwrwwddddwddrrrrddddwdw
+dddddwwwwwrrddYddwwrrddwwwwwddrrrrdrddd
+dddrrrwwwwrYrrdddwdrrwwwwwwwddrrrYrrrwd
+rrYrrrwwwwrrrrrrrwrrrdwwwwwddrrrrrrrrwd
+rrddrdwwwwwwrrrwwwrrrdrrwwwrrrrrrrrrwww
+dddddYddrwwwrrwwwrrdddrrrwwrrrrrrdrwwww
+ddddddddrwwrwwwrrrrddddrrrwwwdrddddwwwr
+dddddddwdwrrrwwwrrdddddrrrrwwdddddddwrr
+dddddddwwwwwYdwdrddddrrrrrrdwdddYddddrr
+rrdYdrdrwwwwdddddddrrrrYrrdddddddddddrr
+rrrrrrrrrrwwdddddddrrrrrrrrdddddddddrrr
+rrrrrrrrrrdddddddwwrrrddrrrwwwdwdrdrrrr
+rrrddrrrYrrdddddwwwwwwddrrrwwwwrrwrrrrr
+rrrddddrrrrwdddddrwwwwwdddrwwwwwwwrrYrr
+rrddddddrwwwwrrrrrrrwwwddddddrwdwdddrrr
+rrddddddwwwwwrrrrYrddddddddddrdddddddwr
+rrrdddddwwwwwrrrrrrrdddddwdYrrdNdwwwwww
+rrrwddddwwwdddddrrrrrrrrrwwwrrN3Nwwwwww
+wwwwdrdrrrdN6Ndddrrrrrrrrwwwwwddddwwwww
+wwwwwrrrrrddNddddwwwrdrdrdwwwwwdddddwrw
+rrwwwrrrYrddddddwwwwwddddddrwwrrddddrrr
+rrrdddrrrrrdddddwwwwwddddddrwwrrrrdrrYr
+rrrdddddrwrwdddddrrrdddddddYrwwrrrrrrrr
+rrrddddwwwwwwrrrrrYrrrddddrrrwwwrwrdrdr
+rrrrdddwwwwwwdrdrrrwwwwrrrrrwwwwwdddddd
+rrYrddddwwwrddddddrwwwwwrdrrwwwwwdddddd
+wwrrrrddddrrrrddddwwwwwdddddddwwddddddd
+wwwwwwrwdddrrrddddwwwrrddddddrrrrrddddd
+wwwwwwwwrrrrrrrrddddrrddddddddrrrYrrdrr
+rrwrrwwwrrYrrrrdddddrrrdddddddrrrrrrwwr
+rrrwwwwrrrrrdddddddrrYrrdddddrrrrrrwwww
+rrddwdrrrrrrdddddrrrrrrrrrrrrrrdddwwwww
+rrddddddddrrrrrwrrrdddddrrrrrrdddNdddrw
+rrdddddNddddrwwwwddddddddrrwrwwdN4Nddrr
+rrrdddN5NddwwwwwwdddddddddwwwwwdNNNddrr
+rrrdddddddddwwwwwdddddddddwwwwwrddddddr
+rrrwwwddddddrrwwwdddddddddwwwwwrdrddddd
+wwwwwwwddddrrrrrrrddddddddrrrrrrrrrrddd
+wwwwwwwrdrrYrdrrrrdddYdddrrrrdrrYrrrdrr
+wwwwwwwrrdrddddrrrrrdwdwrrrdddddrrrwwwr
+rrwwwrYrrdddddddrrrwwwwwwrddddddddwwwwr
+rrrrrrrrdddddddddrwwwwwwwrddddddddwwwrr

Modified: trunk/data/campaigns/Heir_To_The_Throne/scenarios/A_Choice_Must_Be_Made.cfg
URL: http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Heir_To_The_Throne/scenarios/A_Choice_Must_Be_Made.cfg?rev=10044&r1=10043&r2=10044&view=diff
==============================================================================
--- trunk/data/campaigns/Heir_To_The_Throne/scenarios/A_Choice_Must_Be_Made.cfg (original)
+++ trunk/data/campaigns/Heir_To_The_Throne/scenarios/A_Choice_Must_Be_Made.cfg Fri Feb 10 23:15:34 2006
@@ -16,7 +16,7 @@
 
 	[story]
 		[part]
-		story= _ "The Scepter, initially dulled from decades of dust and debris, began to glow from the ruby's inner fire. Dwarvish runes on the golden handle gently started to pulsate blue. The heat and light were comforting in the pitch black."
+		story= _ "The Scepter, initially dulled from decades of dust and debris, began to glow from the ruby's inner fire. Dwarvish runes on the golden handle started to gently pulsate blue. The heat and light were comforting in the pitch black."
 		#background="maps/wesnoth.png"
 		show_title=no
 		[/part]

Modified: trunk/data/campaigns/Heir_To_The_Throne/scenarios/Gryphon_Mountain.cfg
URL: http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Heir_To_The_Throne/scenarios/Gryphon_Mountain.cfg?rev=10044&r1=10043&r2=10044&view=diff
==============================================================================
--- trunk/data/campaigns/Heir_To_The_Throne/scenarios/Gryphon_Mountain.cfg (original)
+++ trunk/data/campaigns/Heir_To_The_Throne/scenarios/Gryphon_Mountain.cfg Fri Feb 10 23:15:34 2006
@@ -320,6 +320,7 @@
 		variable=sleepy_gryphon_store[$i]
 		[/unstore_unit]
 		{NEXT i}
+		{CLEAR_VARIABLE sleepy_gryphon_store}
 	[/event]
 
 	{campaigns/Heir_To_The_Throne/utils/deaths.cfg}

Modified: trunk/data/campaigns/Heir_To_The_Throne/scenarios/Scepter_of_Fire.cfg
URL: http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Heir_To_The_Throne/scenarios/Scepter_of_Fire.cfg?rev=10044&r1=10043&r2=10044&view=diff
==============================================================================
--- trunk/data/campaigns/Heir_To_The_Throne/scenarios/Scepter_of_Fire.cfg (original)
+++ trunk/data/campaigns/Heir_To_The_Throne/scenarios/Scepter_of_Fire.cfg Fri Feb 10 23:15:34 2006
@@ -3,16 +3,6 @@
 #textdomain wesnoth-httt
 name= _ "The Scepter of Fire"
 scenario_generation=cave
-
-#define BIGMAP_SCEPTER_OF_FIRE
-	[story]
-		[part]
-			background=maps/wesnoth.png
-			show_title=yes
-			{CROSS 406 72} 
-		[/part]
-	[/story]
-#enddef
 
 #
 # If you think this is laying it on a bit thick, I'm open to suggestions

Modified: trunk/data/campaigns/Heir_To_The_Throne/scenarios/Swamp_Of_Dread.cfg
URL: http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Heir_To_The_Throne/scenarios/Swamp_Of_Dread.cfg?rev=10044&r1=10043&r2=10044&view=diff
==============================================================================
--- trunk/data/campaigns/Heir_To_The_Throne/scenarios/Swamp_Of_Dread.cfg (original)
+++ trunk/data/campaigns/Heir_To_The_Throne/scenarios/Swamp_Of_Dread.cfg Fri Feb 10 23:15:34 2006
@@ -3,7 +3,7 @@
 	#textdomain wesnoth-httt
 	name= _ "Swamp Of Dread"
 	map_data="{campaigns/Heir_To_The_Throne/maps/Swamp_Of_Dread}"
-	music="wesnoth-7.ogg"
+	music="wesnoth-3.ogg"
 	{TURNS 33 30 27}
 
 	next_scenario="North_Elves"
@@ -22,7 +22,11 @@
 		[objectives]
 		side=1
 			[objective]
-				description= _ "Defeat all enemy leaders"
+				description= _ "Defeat the Lich Lord Aimucasur"
+				condition=win
+			[/objective]
+			[objective]
+				description= _ "Defeat the Death Knights (Bonus)"
 				condition=win
 			[/objective]
 			[objective]
@@ -158,11 +162,167 @@
 		[/recall]
 		[message]
 		description=Delfador
-		message= _ "This land is cursed. The Liches have lived here for years amassing great armies and fortunes."
+		message= _ "This land is cursed. Liches have existed here for ages, luring adventurers and soldiers to their deaths and amassing great armies and fortunes."
 		[/message]
 		[message]
 		description=Konrad
-		message= _ "The Liches are all over this swamp. I hope I have made a wise choice in taking this path."
+		message= _ "Look there! The swamp is infested with all manner of skeletons, corpses, and worse. I hope I have made a wise choice in taking this path."
+		[/message]
+		[message]
+		description=Delfador
+		message= _ "These Death Knights appear to be minions enslaved by the Lich Lord. This one must be particularly powerful, since Death Knights are usually strong-willed spirits on their own."
+		[/message]
+		[message]
+		description=Kalenz
+		message= _ "I believe we can destroy the master and release the minions. There is much fighting to be done before we can pass through these swamps in peace. May our bones not join these fallen warriors who now oppose us."
 		[/message]
 	[/event]
+
+#define VOID_ARMOR X_LOC Y_LOC
+	{PLACE_IMAGE items/armor.png ({X_LOC}) ({Y_LOC})}
+	[event]
+	name=moveto
+	first_time_only=no
+		[filter]
+		side=1
+		x,y={X_LOC},{Y_LOC}
+		[/filter]
+
+		[if]
+		[variable]
+		name=armor_taken
+		numerical_equals=0
+		[/variable]
+		[then]
+			[message]
+			speaker=narrator
+			image="items/armor.png"
+				message= _ "Do you want this unit to pick up the armor?"
+				[option]
+				message= _ "Yes"
+					[command]
+						{VARIABLE armor_taken 1}
+						[message]
+						speaker=narrator
+						message= _ "You struggle to lift and don the heavy plate. Once worn, however, it is amazingly comfortable. You have increased resistance to all physical damage!"
+						[/message]
+						[removeitem]
+						x={X_LOC}
+						y={Y_LOC}
+						[/removeitem]
+						[store_unit]
+						variable=armor_store
+							[filter]
+							x={X_LOC}
+							y={Y_LOC}
+							[/filter]
+						[/store_unit]
+						{VARIABLE_OP armor_store.modifications.resistance.pierce add 20}
+						{VARIABLE_OP armor_store.modifications.resistance.blade add 20}
+						{VARIABLE_OP armor_store.modifications.resistance.impact add 20}
+						[unstore_unit]
+						variable=armor_store
+						[/unstore_unit]
+						{CLEAR_VARIABLE armor_store}
+						[object]
+						id=void_armor
+						name= _ "Void Armor"
+						image="items/armor.png"
+						description= _ "A beautiful chest plate crafted from shimmering black steel, the Void Armor is virtually impenetrable to physical weapons!"
+						cannot_use_message= _ "Only a powerful warrior may don this armor!"
+						duration=forever
+							[filter]
+							side=1
+							x,y={X_LOC},{Y_LOC}
+							[/filter]
+							[effect]
+							[/effect]
+						[/object]
+					[/command]
+				[/option]
+				[option]
+				message= _ "No"
+				[/option]
+			[/message]
+		[/then]
+		[/if]
+	[/event]
+#enddef
+
+#define ENDOWED_KNIGHT NAME
+[event]
+name=die
+	[filter]
+	description={NAME}
+	[/filter]
+	[message]
+	speaker=narrator
+	message= _ "The Death Knight explodes into a cloud of dust as it is eradicated. Its armor, however, drops to the ground and remains intact. The heavy black steel is polished to a mirror shine."
+	[/message]
+	[message]
+	description=Li'sar
+	message= _ "Delfador... that breastplate... how did it end up here?"
+	[/message]
+	[message]
+	description=Delfador
+	message= _ "Its owner was surely a famous warrior in life. I wonder who it was. That plate must have a powerful enchantment to have resisted centuries of decay. Choose wisely who will bear it."
+	[/message]
+	{VARIABLE armor_taken 0}
+	{VOID_ARMOR ($x1) ($y1)}
+[/event]
+#enddef
+
+#
+# Give some great armor to one of the Death Knights - this does not work as of
+# v1.1.1 so the middle line is disabled
+#
+
+[event]
+name=prestart
+	{VARIABLE_OP armored_knight random (Clarustus,Merlunius,Secadius,Dafeis)}
+#	{ENDOWED_KNIGHT ($armored_knight)}
+	{CLEAR_VARIABLE armored_knight}
+[/event]
+
+#
+# Reward the player for killing all 4 Death Knights - right now, nothing really happens
+# except for a spiffy message and the Lich is weaker
+#
+[event]
+name=prestart
+	{VARIABLE dk_kill_count 0}
+[/event]
+[event]
+name=die
+first_time_only=no
+	[filter]
+	type=Death Knight
+	[/filter]
+	{VARIABLE_OP dk_kill_count add 1}
+
+	[if]
+	[variable]
+	name=dk_kill_count
+	numerical_equals=4
+	[/variable]
+	[then]
+		[message]
+		speaker=narrator
+		message= _ "As the last Death Knight falls, an ear-splitting screech escapes from the Lich. It is is clear that controlling such powerful spirits has drained it significantly, and it is seething in anger towards you."
+		[/message]
+		[store_unit]
+		variable=Lich_store
+			[filter]
+			type=Lich
+			[/filter]
+		[/store_unit]
+		{VARIABLE_OP Lich_store.hitpoints multiply 0.5}
+		[unstore_unit]
+		variable=Lich_store
+		[/unstore_unit]
+		{CLEAR_VARIABLE Lich_store}
+	[/then]
+	[/if]
+[/event]
+
 [/scenario]

Added: trunk/images/items/armor.png
URL: http://svn.gna.org/viewcvs/wesnoth/trunk/images/items/armor.png?rev=10044&view=auto
==============================================================================
Binary file - no diff available.

Propchange: trunk/images/items/armor.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



Related Mails




Powered by MHonArc, Updated Mon Feb 13 16:40:22 2006