Difference between revisions of "A beginner's guide, lesson 1 - The Construction Set Primer"

no edit summary
imported>Wrye
m (object links)
Tag: Manual revert
 
(42 intermediate revisions by 20 users not shown)
Line 1: Line 1:
'''TES IV: Oblivion Modding for Beginners'''
{{ABGContents}}
 
'''A. BUILDINGS AND STRUCTURES'''
 
'''Lesson One: The Construction Set Primer'''


==Preamble==
This is the first in a proposed series of Tutorial Lessons aimed at teaching how to mod ''TES IV: Oblivion'' aimed at beginners. It will build up into a Complete Modding Course. Don't worry there  
This is the first in a proposed series of Tutorial Lessons aimed at teaching how to mod ''TES IV: Oblivion'' aimed at beginners. It will build up into a Complete Modding Course. Don't worry there  
are no exams, though there is some homework. It is not intended to aid the transfer of modders  
are no exams, though there is some homework. It is not intended to aid the transfer of modders  
Line 38: Line 35:




I suppose we should begin with the obvious question, what is a mod? A mod is an additional piece of programming that alters or modifies some aspect of the original game. Bethesda have made this process easier. They clearly recognize that games like TES thrive and gain extra longevity by encouraging mods. To aid this they have provided the interface software called the '''Construction Set'''.
I suppose we should begin with the obvious question, what is a mod? A mod is an additional piece of programming that alters or modifies some aspect of the original game. Bethesda has made this process easier. They clearly recognize that games like TES thrive and gain extra longevity by encouraging mods. To aid this they have provided the interface software called the '''Construction Set'''.




'''You will need to [[The Elder Scrolls Construction Set|download a copy]] of this before we can start.'''
'''You will need to [[The Elder Scrolls Construction Set|download a copy]] of this before we can start.''' While there are sometimes reasons to use the old v1.0 version of the CS, for this tutorial we'll use the v1.2 version. Also, make sure you have the latest patch for Oblivion; the patches can be found [http://elderscrolls.com/downloads/updates_patches.htm here]. Get the Shivering Isles version if you have the expansion, otherwise get the Oblivion version (you have to scroll down a bit). Make sure you get the correct version for your locality.




Line 89: Line 86:




In most of these lessons we will concern ourselves with just three file types. Don’t worry the CS writes all the files for you.
In most of these lessons we will concern ourselves with just three file types. Don’t worry, the CS writes all the files for you.


  <filename>.esm  
  <filename>.esm  
Line 102: Line 99:




Finally it will need information about any objects you add to the world. These are image files  
Finally it will need information about any objects you add to the world. These are image files called [[Glossary#N|NIF]]s, short for NetImmerse File format, which have the '''.nif''' extension. The game already knows about thousands of these objects, and we can use this library of image files to populate our world with stuff. For a beginning modder, the '''.nif''' files that are already contained in the CS will provide plenty of material to work with.  For now, you should simply be aware of their existence.  Later in the series we can look at changing and adding our own .nif files.
called [[Glossary#N|Nif|.nif's]], or NetImmerse File format. The game already knows about thousands of these objects, and we can use this library of image files to populate our world with stuff. For a beginning modder, the '''.nif''' files that are already contained in the CS will provide plenty of material to work with.  For now, you should simply be aware of their existence.  Later in the series we can look at changing and adding our own .nif files.




Line 117: Line 113:


To choose a file, double click on it. Do this to the ''oblivion.esm'' file. Leave any others  
To choose a file, double click on it. Do this to the ''oblivion.esm'' file. Leave any others  
unchecked - we don’t want to mess up their hard work. Select '''Done''', and a dialog warning box may pop  
unchecked - we don’t want to mess up their hard work. Select '''OK''', and a dialog warning box may pop  
up telling you that you haven’t selected an [[Active File|active file]].  For now, you may ignore this. Any changes that you make are stored by the CS until you save it. All changed information has an asterisk added to its name in the CS. When you save, you will need to tell the game the file to save the information to.  
up telling you that you haven’t selected an [[Active File|active file]].  For now, you may ignore this. Any changes that you make are stored by the CS until you save it. All changed information has an asterisk added to its name in the CS. When you save, you will need to tell the game the file to save the information to.  


Line 123: Line 119:




In this first tutorial you should only select the ''oblivion.esm'' file and click '''Done'''. At the warning,  
In this first tutorial you should only select the ''oblivion.esm'' file and click '''oK'''. At the warning,  
click '''Yes'''. We now have no [[Active File|active file]].
click '''Yes'''. We now have no [[Active File|active file]].


Line 139: Line 135:
=== The Object Window ===
=== The Object Window ===
The [[Object Window|object window]] contains a list of all the [[Glossary#B|base objects]] in the game. These are sorted into  
The [[Object Window|object window]] contains a list of all the [[Glossary#B|base objects]] in the game. These are sorted into  
categories, depending on the object's function. '''World Objects/Static/Armor''', for example, contains objects  
categories, depending on the object's function. '''Items/Armor''', for example, contains objects  
that provide combat protection in the game. We will cover each group as and when we use them. The objects can be edited and customized but we will stick to the standard objects for now.  
that provide combat protection in the game. We will cover each group when and as we use them. The objects can be edited and customized but we will stick to the standard objects for now.
 


=== The Cell View Window ===
=== The Cell View Window ===
Line 160: Line 155:




The [[Render Window|render window]] is your view into the world you are creating or changing. When you click again on the Wawnetinn Tavern cell the picture should appear in the '''render window'''. It is likely to be a small block in the lower left of the window.
The [[Render Window|render window]] is your view into the world you are creating or changing. When you double click on the Wawnetinn Tavern cell the picture should appear in the '''render window'''. It is likely to be a small block like structure in the window.
 
It may be so small, in fact, that you will need to zoom in with your mouse wheel to see what you're doing-- but beware! The window is huge and the object is small, so you can easily lose it. Selecting another cell in the [[Object Window|object window]], then re-selecting the Wawnetinn Tavern, will put the object back in its starting position in the window. In practice, you will need to combine the navigation commands described below with zooming in, in order to keep the object centered in the visible part of the window.




Line 200: Line 197:




Now select the Wawnet object. A multi-coloured box will appear around the little block. The box  
Now select the Wawnet object (you can select by clicking or by dragging a box around the desired object). A multi-coloured box will appear around the little block. The box  
defines the area of the object in its three dimensions. It is used in '''collision detection''' and  
defines the area of the object in its three dimensions. It is used in '''collision detection''' and  
'''Havok''' physics.
'''Havok''' physics.
Line 251: Line 248:


===== Deleting/Cutting =====
===== Deleting/Cutting =====
Turn your focus to the bar. It is good practice in using the camera. Now select an object on the bar. Any will do. We can now look at the cell content list on the right of the [[Cell View Window|cell view window]]. Scroll down and you should find the object highlighted. Right clicking on it brings up a menu. Select delete. The object disappears. You can reverse this by selecting '''Edit''' > [[Undo|Undo]] from the CS's menu bar at the top of the window.
Turn your focus to the bar. It is good practice in using the camera. Now select an object on the bar. Any will do. We can now look at the cell content list on the right of the [[Cell View Window|cell view window]]. Scroll down and you should find the object highlighted. Right clicking on it brings up a menu. Select delete. The object disappears. You cannot reverse this by selecting '''Edit''' > [[Undo|Undo]] from the CS's menu bar at the top of the window, however!


To delete an object you can also select it and press ''Delete'' on your keyboard.
You can also select the reference in the Render Window and press ''Delete'' on your keyboard. '''This''' method of deleting ''can'' be Undone.


To '''Cut''' an object simply select it and press CTRL + X, or select '''Edit''' > '''Cut'''.  This removes an object from the '''Render Window''' and adds it to your operating system's ''clipboard''.
To '''Cut''' an object simply select it and press CTRL + X, or select '''Edit''' > '''Cut'''.  This removes an object from the '''Render Window''' and adds it to your operating system's ''clipboard''.


===== Selecting Multiple Objects =====
===== Selecting Multiple Objects =====
Line 269: Line 265:
Altering the size of an object, called '''scaling''', is a good way to add a bit of variety to your mods.  Note, however, the general rule that most objects do not look as good when scaled to less than half or more than double their original size.
Altering the size of an object, called '''scaling''', is a good way to add a bit of variety to your mods.  Note, however, the general rule that most objects do not look as good when scaled to less than half or more than double their original size.


===Standard Tasks===
====Creating an empty interior cell====
'''Method 1:'''
#In the [[Cell View Window]], select "Interior" from the Drop-Down box
#Select "TestQuest01" from the left list
#Right-click it and select "Duplicate Cell"
#The new cell should appear below "TestQuest01", select it
#Slowly double-click it so you can change the EditorID, give it a new name
'''Method 2:'''
#Open the Cell window by going through the World>Cells menu
#Be sure that the Worldspace "Interiors" is selected
#Right click in the list of EditorIDs and select "New"
#Enter the name for your new cell and click "Ok"
=====Notes=====
*For storing remote containers and [[Remote Activators|activators]] you can leave it floor-less without a problem.
*Method 1 gives you an empty cell, rather than some vanilla interior.
====Creating a New Persistent Reference====
Generally, giving a thing a persistent reference is necessary when you want some process to be able to refer to that thing from somewhere else. Specifically, flagging a reference as persistent means that Oblivion will always keep it in memory (it persists.)  The advantage to being flagged persistent is that scripts, quests or AI packages can use that reference even when the player is in a different cell. If a script, a quest, or an AI package, will possibly need the thing outside of the cell in which it is given its reference, then that reference needs to be a persistent reference. Oblivion only loads a certain number of cells at a time, and calling upon anything that is not loaded or persisting in memory will cause a crash.  The disadvantage to making all references persistent is that the persistent references occupy memory. If 500,000 references that did not need to persist were, in fact, made persistent and each used 4 bytes that would require about 2 MB of memory and a corresponding use of disk space for each save.  After all, to persist they must be reloaded upon resumption of the game.
The plan is get something you'll use in your scripts, hence the persistent reference.
#Open the cell you wish to add the Persistent Reference to, so you can see it in the [[Render Window]]
#*Double-click the cell in the [[Cell View Window]]
#Select the base object from the [[Object Window]]
#* Temporarily in the [[Object Window]] you could try:  Items > Armor > Glass > and in the right hand side of the window scroll down to: EnchGlassCuirassCameleon
#Drag the base object into the '''Render Window'''
#* You should have a cool cuirass in your renamed TestQuest01 '''Render Window'''
#Double-click the new reference in the '''Render Window'''
#Give it a "Reference EditorID" (top bar of the Edit window)
#*This is the name you'll use in your scripts, so give it a name you'll remember
#*'''Do not''' start the Reference EditorID name with a number as this will cause you a lot of problems down the road
#Flag the object as '''Persistent''' (top-left of the 6 check-boxes at the bottom)
==== Creating a New Base Object ====
There are 2 ways to create a new base object:
#New object - if you want an icon and/or model, the file will need to be unpacked from the .bsa
#Copy another object
=====New Object=====
#In the [[Object Window]], select the type of object you want from the treed-list on the left (i.e., Activator, Spell, Key)
#Press '''Insert''' or right-click in the right window and select New
=====Copy Object=====
Changing the EditorID will allow you to copy a base object
<ol>
<li>Select the base object with the icon and model you would like your new base object to have
*You can check the icon and model by double-clicking the base object</li>
<li>"Change" the EditorID of the base object
*Slowly double-click the EditorID of the base object, give it a new EditorID and press '''Enter'''
*You can also change it in the Edit menu
*#Right-click on it and select edit or double-click it
*#Once in the edit menu, change the EditorID and press OK</li>
<li>You should see the dialogue
<pre>Create a new object?
No will rename this object</pre>
*Select "Yes"</li>
<li>If necessary, make any further changes to the new base object through the Edit Menu
</ol>
== Making Some Practical Changes ==
== Making Some Practical Changes ==


Line 336: Line 395:


=== Rotating Objects ===
=== Rotating Objects ===
The final part of this first lesson involves rotating objects. Select an object that will clearly show that rotation has occurred. A mug with a handle will do. You rotate using the right hand mouse button (usually referred as Right Mouse Button, RMB). But here is the thing: rotation occurs only in the z axis. This is the most common type of rotation and is the easiest to perform.
The final part of this first lesson involves rotating objects. Select an object that will clearly show that rotation has occurred. A mug with a handle will do. You rotate using the right mouse button (RMB). But here is the thing: rotation occurs only in the z axis. This is the most common type of rotation and is the easiest to perform.


To rotate in the x axis, use x + RMB.
To rotate in the x axis, use x + RMB.


To rotate in the y axis use y + RMB.
To rotate in the y axis use y + RMB.
:'''N.B.''' Some people have found that rotating in y axis was the default, and rotating on the z axis required z + RMB


You can also use the rotation boxes in the object's pop up dialog box. This is best if you want precise angles like 90, 180 and 270 etc.
You can also use the rotation boxes in the object's pop up dialog box. This is best if you want precise angles like 90, 180 and 270 etc.
Line 346: Line 407:
Practice doing this.
Practice doing this.


You may also place your cursor in any of the position or rotation boxes and use the up down arrows on your keyboard to make very small incremental movements.


Finally a couple of extra bits:  
Finally a couple of extra bits:  
Line 352: Line 414:


Holding Y when dragging an object restricts movement to the y axis only. (Very handy for stocking shelves).
Holding Y when dragging an object restricts movement to the y axis only. (Very handy for stocking shelves).


== Testing Your Mod ==
== Testing Your Mod ==
Line 369: Line 430:


  '''Camera'''
  '''Camera'''
  Centre Wheel Scroll Zoom
  Centre Wheel Hold + mouse Pan
  Centre Wheel Hold Move
  Spacebar + mouse Pan
  Shift + LMB - Rotate
  Shift + mouse - Rotate
Centre Wheel Scroll – Zoom, stepped
V + mouse – Zoom, fine
  C – Centre On selected
  C – Centre On selected
  T – Top View selected
  T – Top View selected
   
   
  '''Object'''
  '''Object'''
LMB + mouse – move on x and y axis
Z + LMB + mouse - move on z axis
X + LMB + mouse - move on x axis
Y + LMB + mouse - move on y axis
S + mouse - scale size
RMB + mouse – rotate about z axis
Y + RMB + mouse - rotate about y axis
X + RMB + mouse - rotate about x axis
  D – De-select
  D – De-select
LMB – move: x, y
Z + LMB move: z only
X + LMB move: x only
Y + LMB move: y only
  F – Fall
  F – Fall
  CTRL x – cut
  CTRL x – cut
Line 386: Line 453:
  CTRL v – paste
  CTRL v – paste
  CTRL d – copy and paste in present position (duplicate)
  CTRL d – copy and paste in present position (duplicate)
  LMB (with nothing selected) select multi-objects
  LMB (with nothing selected) + frame - select multi-objects
  S - "Scale": drag mouse to edit size
  CTRL + LMB – add to selection list
RMB – rotate about z
RMB + y rotate about y
RMB + x rotate about x
   
   
  '''Misc'''
  '''Misc'''
  A - Toggle Bright Light
  A - Illuminate (Toggle Bright Light)




Line 404: Line 468:


[[Category:A beginner's guide]]
[[Category:A beginner's guide]]
==See Also==
[[Useful settings in ConstructionSet.ini]]
Anonymous user