Difference between revisions of "A beginner's guide, lesson 5 - Anatomy of a quest, part 2"

no edit summary
imported>RedFault
(→‎'''Stage 120''': Added a link to the next lesson; reworded slightly at the end to accommodate.)
Tag: Manual revert
 
(9 intermediate revisions by 9 users not shown)
Line 1: Line 1:
'''TES IV: Oblivion Modding for Beginners'''
{{ABGContents}}


'''B. Scripts, Quests and NPC's'''
==Preamble==
 
'''Lesson Five: Anatomy of a Quest. Part Two'''
 
'''Preamble'''


This is the fifth in a proposed series of ''Tutorial Lessons''
This is the fifth in a proposed series of ''Tutorial Lessons''
Line 17: Line 13:
they may find something of interest here.
they may find something of interest here.


'''Files'''
===Files===


I have uploaded some files which we will use to accompany the next few
I have uploaded some files which we will use to accompany the next few
Line 23: Line 19:


They include:
They include:
'''[http://www.tessource.net/files/cache/4865.html Download the following three files from here (external link)]'''


A. BGModTut4.esp:  
A. BGModTut4.esp:  
Line 42: Line 36:


C. A RTF document containing the text for the first 5 lessons (as requested).
C. A RTF document containing the text for the first 5 lessons (as requested).
'''[http://www.tesnexus.com/downloads/file.php?id=4865 Download the following three files from here]'''


=='''Introduction'''==
=='''Introduction'''==
Line 47: Line 43:
This is a continuation of our dissection of a quest. We are about to
This is a continuation of our dissection of a quest. We are about to
get a bit technical, and I am going to recommend a nice little utility
get a bit technical, and I am going to recommend a nice little utility
called "the script dumper". If you drag an '''esp''' or '''esm''' over the
called "[http://www.tesnexus.com/downloads/file.php?id=2938 the script dumper]". If you drag an '''esp''' or '''esm''' over the
executable file, it creates a folder containing the named scripts for
executable file, it creates a folder containing the named scripts for
that '''esp''' or '''esm'''. The scripts are produced in HTML form. And this is
that '''esp''' or '''esm'''. The scripts are produced in HTML form. And this is
Line 162: Line 158:
   
   
  '''set GhostGen to 1'''
  '''set GhostGen to 1'''
  ''(It is included in the '''if statement''' as being '''true''' if it is = 0.''
  ''(It is included in the '''if statement''' as being '''true''' if it is = 1.''
  ''This line set the value to 1.''
  ''This line set the value to 1.''
  ''(Note for Basic programmers: it uses "TO", not "=" to do this,  ie "set X to 1", not "set X=1 )''
  ''(Note for Basic programmers: it uses "TO", not "=" to do this,  ie "set X to 1", not "set X=1 )''
Line 258: Line 254:
  ''Look for the references in the render window.''
  ''Look for the references in the render window.''
  ''It also animates the Skeleton hand.''
  ''It also animates the Skeleton hand.''
  ''Among the objects enabled is '''Longren's Diary'''.''
  ''Among the objects enabled is '''Lorgren's Diary'''.''
  ''When the player picks this up in the game it activates this '''script attached to the diary'''.)''
  ''When the player picks this up in the game it activates this '''script attached to the diary'''.)''
   
   
Line 336: Line 332:
due to the new quest stage bump.
due to the new quest stage bump.


The first directs you to the '''Kings Arms.'''  The second, if you are
The first directs you to the '''Counts Arms.'''  The second, if you are
in the '''Kings Arms''', directs you to '''the Imperial City'''.  This
in the '''Counts Arms''', directs you to '''the Imperial City'''.  This
second dialogue also sets the stage to 50 in its results script.
second dialogue also sets the stage to 50 in its results script.


Line 414: Line 410:
will look at characters in the next lesson.
will look at characters in the next lesson.


'''Before we look at the script you may wish to look at the [http://cs.elderscrolls.com/constwiki/index.php/A_beginner%27s_guide_-_Appendix_3 A beginner's guide - Appendix 3],appendix to this lesson which looks at NPC Behaviour and AI packages. I have separated it out as it is quite a detailed look at this complex area. Read it and return here.'''   
'''Before we look at the script you may wish to look at the [http://cs.elderscrolls.com/A_beginner%27s_guide_-_Appendix_3 A beginner's guide - Appendix 3],appendix to this lesson which looks at NPC Behaviour and AI packages. I have separated it out as it is quite a detailed look at this complex area. Read it and return here.'''   


Back to the Script. Select the • • • next to Script
Back to the Script. Select the • • • next to Script
Anonymous user