Difference between revisions of "A beginner's guide, lesson 7 - Using Scripts in Quests"
Jump to navigation
Jump to search
A beginner's guide, lesson 7 - Using Scripts in Quests (edit)
Revision as of 11:01, 2 August 2010
, 11:01, 2 August 2010→The Final Chamber: Editing English
imported>Pyrocow2 (→Factions: Editing English, creating new section) |
imported>Pyrocow2 (→The Final Chamber: Editing English) |
||
Line 616: | Line 616: | ||
==The Final Chamber== | ==The Final Chamber== | ||
This consists of a large chamber with two | This consists of a large chamber with two antechambers. In the first antechamber we create a cell by placing a door in the corridor. We can use this to house NPC BGBrown. I used the Bandit Boss as a model, but removed his factions. Remember, do not make Brown a member of the Red Rose faction. | ||
Finally, we create Blair. He is our Boss. I made his level offset +2. I am going to say very little about this NPC, because this is where you get to have the most fun making your own bad guy. Once created, add the cell door key to his inventory. Make the cell door locked, and set it to ‘Needs a key‘. | |||
Add the key | Add''BGTopViewKey'' (the key to the house) to Blair's inventory. Now create an "uncertified" deed and add this to his inventory. | ||
Deed text: | |||
<pre> | |||
<font face=5> | <font face=5> | ||
<BR> | <BR> | ||
Line 648: | Line 643: | ||
This document explains why we have to return to the Imperial City. | This document explains why we have to return to the Imperial City. | ||
Both Blair and Brown will need special | Both Blair and Brown will need special AI packages to get them to work properly. | ||
I also | I also want to make sure that the player, no matter how good they are at sneaking, will be forced to confront Blair. How do we do this? Easy, we script it. We will also design the quest so that you will have to kill Blair to move on to the next stage. | ||
How does the game know he is dead? Scripts of course. We can combine both functions into a single script. | How does the game know he is dead? Scripts of course. We can combine both functions into a single script. |