Difference between revisions of "A beginner's guide, lesson 7 - Using Scripts in Quests"

Jump to navigation Jump to search
→‎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 ante chambers. In the first ante chamber 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 faction.  
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.  


Final we create Blair. He is our Boss. I made him +2 above the PC. I am going to say very little about this PC, because here is where you get to have the most fun making your own bad guy. Once created
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 to Browns cell door. Make the cell door, locked and set it to ‘Needs a key‘.
Add''BGTopViewKey'' (the key to the house) to Blair's inventory. Now create an "uncertified" deed and add this to his inventory.  
 
You will also need to set up the Prize house.
Go to the interior cell BGmodtut4 which is the interior of the house. It has three door. One leads to the basement. The other two are linked to the exterior. Lock the exterior doors and set the ownership to our old buddy BGDummyPlayer.
Set the interior cell ownership to BGDummyPlayer as well.
Add the BGTopViewKey to the house to Blairs inventory. Now create a ’uncertified’ deed and add this to his inventory.
 
<pre>Deed Text.


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 AI’s to get them to work properly.  
Both Blair and Brown will need special AI packages to get them to work properly.  


I also wanted to make sure the player no matter how good a sneak is forced to confront Blair. How do we do this. Easy we script it. We also have set the adventure up so that you have to kill Blair to move the quest on.
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.
Anonymous user

Navigation menu