Difference between revisions of "How To Create New Re-Textured Items"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Qazaaq
m (tesdb -> tesnexus tutorial)
imported>Davidintel
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:


==Required Tools==
==Required Tools==
* [http://www.7-zip.org 7-Zip] (this allows you to compress your mod files into a single compressed file)
* [http://www.tesnexus.com/downloads/file.php?id=15579 7-Zip] (this allows you to compress your mod files into a single compressed file)
* [http://www.tesnexus.com/downloads/file.php?id=3311 BSA Commander] (this will allow you to open '''Oblivion - Textures - Compressed.bsa''' and extract DDS Textures)
* [http://www.tesnexus.com/downloads/file.php?id=3311 BSA Commander] (this will allow you to open '''Oblivion - Textures - Compressed.bsa''' and extract DDS Textures)
* [http://www.tesnexus.com/downloads/file.php?id=8698 DDS Converter 2] (this will allow you to convert DDS files into PSD Photoshop files and then back to DDS format when done)
* [http://www.tesnexus.com/downloads/file.php?id=8698 DDS Converter 2] (this will allow you to convert DDS files into PSD Photoshop files and then back to DDS format when done)
* [http://niftools.sourceforge.net/wiki/NifSkope NifSkope] (this updates the texture paths in the NIF files)
* [http://niftools.sourceforge.net/wiki/NifSkope NifSkope] (this updates the texture paths in the NIF files)
* [http://www.tesnexus.com/downloads/file.php?id=2097 Oblivion Mod Manager]
* [http://www.tesnexus.com/downloads/file.php?id=2097 Oblivion Mod Manager]
* A Graphics Editor (such as [http://www.tesnexus.com/downloads/file.php?id=11909 Paint.NET], [http://www.gimp.org GIMP], [http://www.tesnexus.com/downloads/file.php?id=11895 GIMPShop], [http://www.paintshoppro.com/ Paint Shop Pro] or [http://www.adobe.com/photoshop Adobe Photoshop])
* A Graphics Editor (such as [http://www.tesnexus.com/downloads/file.php?id=11909 Paint.NET], [http://www.tesnexus.com/downloads/file.php?id=14920 GIMP], [http://www.tesnexus.com/downloads/file.php?id=11895 GIMPShop], [http://www.paintshoppro.com/ Paint Shop Pro] or [http://www.adobe.com/photoshop Adobe Photoshop])


==Preliminary Work==
==Preliminary Work==
Line 119: Line 119:
# Click the Female Icon Image button and set it to your female cuirass.dds icon in your project folder.
# Click the Female Icon Image button and set it to your female cuirass.dds icon in your project folder.
# Click OK to close the dialog box and answer YES to create a new form.
# Click OK to close the dialog box and answer YES to create a new form.
# Rinse, lather and repeat for all other pices you have.
# Rinse, lather and repeat for all other pieces you have.


==Object Enchantment==
==Object Enchantment==
Line 125: Line 125:
You can enchant these items as well.  If you do so, I recommend creating two versions...one set enchanted and the other non-enchanted.  After creating the normal versions, you can quickly create enchanted versions by opening your item, such as '''MyModLongsword''' and changing the ID to '''MyModEnchLongsword''' and clicking OK and answering YES to create a new form.  Once you do this for all your items, you will have a new group of items with '''Ench''' in the ID to let you know which ones are to be enchanted.
You can enchant these items as well.  If you do so, I recommend creating two versions...one set enchanted and the other non-enchanted.  After creating the normal versions, you can quickly create enchanted versions by opening your item, such as '''MyModLongsword''' and changing the ID to '''MyModEnchLongsword''' and clicking OK and answering YES to create a new form.  Once you do this for all your items, you will have a new group of items with '''Ench''' in the ID to let you know which ones are to be enchanted.


Follow this tutorial for creating enchantments but you only need to read the section called '''Enchant the New Item''' since you have already done everything else: [http://www.tesnexus.com/downloads/tutorial.php?id=53 How To Add Items and Enchantments]
Follow this tutorial for creating enchantments but you only need to read the section called '''Enchant the New Item''' since you have already done everything else: [http://www.tesnexus.com/articles/article.php?id=53 How To Add Items and Enchantments]


==Object Placement==
==Object Placement==
Line 143: Line 143:
If you are using Construction Set version 1.0, the internal version number of the .esp plugins it creates is version 0.8 and has no requirement other than Oblivion 1.0.
If you are using Construction Set version 1.0, the internal version number of the .esp plugins it creates is version 0.8 and has no requirement other than Oblivion 1.0.


If you are using Construction Set version 1.2, the internal version number of the .esp plugins it creates is version 1.0 and requires at least Oblivion 1.1.511 before it even acts like the plugin is installed.  If you created a plugin that doesn\'t really require anything from Oblivion 1.1 or 1.2 patches, use a tool to back-rev the internal version number from 1.0 to 0.8 as the last thing you do before packaging your mod.
If you are using Construction Set version 1.2, the internal version number of the .esp plugins it creates is version 1.0 and requires at least Oblivion 1.1.511 before it even acts like the plugin is installed.  If you created a plugin that does not really require anything from Oblivion 1.1 or 1.2 patches, use a tool to back-rev the internal version number from 1.0 to 0.8 as the last thing you do before packaging your mod.


[http://www.tesnexus.com/downloads/file.php?id=11680 ESPluginCracker] does a good job at determining which version number your .esp plugin is at as well as setting it to 0.8 or 1.0.
[http://www.tesnexus.com/downloads/file.php?id=11680 ESPluginCracker] does a good job at determining which version number your .esp plugin is at as well as setting it to 0.8 or 1.0.
Line 182: Line 182:
==Create a RELz Thread==
==Create a RELz Thread==


Go to [http://www.bethsoft.com/bgsforums/index.php?showforum=25 The Elder Scrolls Mod Forums] and create a new topic to let the world know about your new mod.
Go to [http://forums.bethsoft.com/index.php?/forum/25-mods/ The Elder Scrolls Mod Forums] and create a new topic to let the world know about your new mod.


Title: '''[RELz] MyMod'''<br />
Title: '''[RELz] MyMod'''<br />
Line 188: Line 188:


==Reference==
==Reference==
[http://thenexusforums.com/index.php?showtopic=39399 TESNexus Tutorial]
[http://www.tesnexus.com/articles/article.php?id=66 TESNexus Tutorial]


[[Category:Tutorials]]
[[Category:Tutorials]]
[[Category:Tools_Tutorials]]
[[Category:Tools_Tutorials]]
[[Category:NifSkope Tutorials]]
[[Category:NifSkope Tutorials]]
[[Category:Modeling_and_Texturing_Tutorials]]
[[Category:Tutorials]]

Latest revision as of 23:57, 17 May 2010

Overview[edit | edit source]

This process basically involves taking existing 3D objects/meshes (NIF) and textures (DDS) that come with Oblivion, editing them, adding them to the game via the Construction Set and then posting them on the net.

Required Tools[edit | edit source]

Preliminary Work[edit | edit source]

  1. Determine a brief and descriptive name for your project. For this tutorial, we will use MyMod and pretend it is descriptive.
  2. Determine a unique abbreviation of your project name to be used as the prefix to every ID you use in the plugin. Example: MyMod.
  3. Install BSA Commander, DDS Converter 2 and NifSkope.
  4. Use BSA Commander and extract Oblivion BSA files to someplace you have room.
  • I installed my copy of Oblivion to E:\Games\Oblivion\
  • I installed BSA Commander to E:\Games\Oblivion\BSA Commander\
  • I extracted the Oblivion meshes bsa file to E:\Games\Oblivion\BSA Commander\out\meshes\
  • I extracted the Oblivion texture bsa file to E:\Games\Oblivion\BSA Commander\out\textures\

Populate Your Project Folder[edit | edit source]

1. Pick a 3D object/mesh to modify. For example, let us say you want to modify the steel sword and fur cuirass.

2. Find the related meshes which will be the following in this case:

E:\Games\Oblivion\BSA Commander\Out\Meshes\Armor\Fur\f\cuirass.nif
E:\Games\Oblivion\BSA Commander\Out\Meshes\Armor\Fur\f\cuirass_gnd.nif
E:\Games\Oblivion\BSA Commander\Out\Meshes\Armor\Fur\m\cuirass.nif
E:\Games\Oblivion\BSA Commander\Out\Meshes\Armor\Fur\m\cuirass_gnd.nif
E:\Games\Oblivion\BSA Commander\Out\Meshes\Weapons\Steel\longsword.nif

3. Copy them to your project folder in the Oblivion Data folder. Example:

E:\Games\Oblivion\Data\Meshes\Armor\MyMod\f\cuirass.nif
E:\Games\Oblivion\Data\Meshes\Armor\MyMod\f\cuirass_gnd.nif
E:\Games\Oblivion\Data\Meshes\Armor\MyMod\m\cuirass.nif
E:\Games\Oblivion\Data\Meshes\Armor\MyMod\m\cuirass_gnd.nif
E:\Games\Oblivion\Data\Meshes\Weapons\MyMod\longsword.nif

4. Open longsword.nif using NifSkope. Notice that the texture path points to

textures\weapons\SteelLongsword02.dds

5. Go back into the BSA Commander Out folder and find/copy the texture to your project folder. Also grab any files that have the same name but with a _n (Normal Map) or _g (Glow Map) at the end. Example:

E:\Games\Oblivion\Data\Textures\Weapons\MyMod\steellongsword02.dds
E:\Games\Oblivion\Data\Textures\Weapons\MyMod\steellongsword02_n.dds

6. I would recommend renaming the textures to match the name of the NIF file using them. Example:

steellongsword02.dds --> longsword.dds
steellongsword02_n.dds --> longsword_n.dds

7. Go back to NifSkope and change the texture path to use your custom texture. Example:

textures\weapons\MyMod\longsword.dds

8. Repeat this process of finding and copying the DDS textures for all NIF files in your project folder. An exception to this process are the body textures found under textures/characters which are normally left alone since you do not want to alter the skin of the player. Example:

E:\Games\Oblivion\Data\Textures\Armor\MyMod\f\cuirass.dds
E:\Games\Oblivion\Data\Textures\Armor\MyMod\f\cuirass_n.dds
E:\Games\Oblivion\Data\Textures\Armor\MyMod\m\cuirass.dds
E:\Games\Oblivion\Data\Textures\Armor\MyMod\m\cuirass_n.dds
E:\Games\Oblivion\Data\Textures\Weapons\MyMod\longsword.dds
E:\Games\Oblivion\Data\Textures\Weapons\MyMod\longsword_n.dds

9. You will also might want to create custom menu icons as well. At the beginning, you can create placeholders until you finish with your changes and create the custom icons. Find and copy existing menu icons to your project folder. Example:

Copy From:
E:\Games\Oblivion\BSA Commander\out\textures\menus\icons\armor\fur\f\cuirass.dds E:\Games\Oblivion\BSA Commander\out\textures\menus\icons\armor\fur\m\cuirass.dds E:\Games\Oblivion\BSA Commander\out\textures\menus\icons\weapons\steellongsword.dds
Copy To:
E:\Games\Oblivion\Data\textures\menus\icons\armor\MyMod\f\cuirass.dds
E:\Games\Oblivion\Data\textures\menus\icons\armor\MyMod\m\cuirass.dds
E:\Games\Oblivion\Data\textures\menus\icons\weapons\MyMod\longsword.dds

10. Use DDS Converter to convert all DDS files into Adobe Photoshop PSD files.

Texture Changes[edit | edit source]

  1. Open the Diffuse PSD Texture files with your favorite graphics editor and make the visual changes that you want.
  2. Once finished changing the textures, you will need to create new normal maps (_n) files. I use GIMP and the normal map plugin.
  3. Now convert your changes to the PSD files back into DDS files using DDS Converter 2 with the options of DXT5 and Mipmaps enabled.
  4. You should be able to open your NIF files and see the new textures on your model.

Create a New Plugin[edit | edit source]

  1. Start the Construction Set
  2. Create a new plugin by Selecting Oblivion.esm, set as Active and click OK.
  3. Once it loads the Construction Set, click Save and use the name of your project as the name of the ESP file. Example: MyMod.esp

Add Your Sword[edit | edit source]

  1. To add the longsword with Dwarven quality stats, expand the Items, Weapons and open WeapDwarvenLongSword
  2. Immediately change the ID from WeapDwarvenLongSword to MyModLongSword (using your Project ID as the prefix)
  3. Set the name to something such as MyMod Longsword
  4. Click the 1st button that has the path to Longsword.nif and make it point to your Longsword.nif in your project folder.
  5. Click the 2nd button that has the path to Longsword.dds icon and make it point to your Longsword.dds icon in your project folder.
  6. Click OK to close the dialog box and answer YES when asked to create a new form.

Add Your Armor[edit | edit source]

NOTE #1: If you do not have a female version, click the button respective female buttons and then ESC to clear the entry.

NOTE #2: If you do not have a male version, click the button respective male buttons and then ESC to clear the entry.

  1. To add the custom fur cuirass with Dwarven quality stats, expand Items, Armor and open DwarvenCuirass
  2. Immediately change the ID from DwarvenCuirass to MyModCuirass (using your Project ID as the prefix)
  3. Set the name to something such as MyMod Cuirass
  4. Click the Male Biped Model button and set it to your male cuirass.nif in your project folder.
  5. Click the Female Biped Model button and set it to your female cuirass.nif in your project folder.
  6. Click the Male World Model button and set it to your male cuirass_gnd.nif in your project folder.
  7. Click the Female World Model button and set it to your female cuirass_gnd.nif in your project folder.
  8. Click the Male Icon Image button and set it to your male cuirass.dds icon in your project folder.
  9. Click the Female Icon Image button and set it to your female cuirass.dds icon in your project folder.
  10. Click OK to close the dialog box and answer YES to create a new form.
  11. Rinse, lather and repeat for all other pieces you have.

Object Enchantment[edit | edit source]

You can enchant these items as well. If you do so, I recommend creating two versions...one set enchanted and the other non-enchanted. After creating the normal versions, you can quickly create enchanted versions by opening your item, such as MyModLongsword and changing the ID to MyModEnchLongsword and clicking OK and answering YES to create a new form. Once you do this for all your items, you will have a new group of items with Ench in the ID to let you know which ones are to be enchanted.

Follow this tutorial for creating enchantments but you only need to read the section called Enchant the New Item since you have already done everything else: How To Add Items and Enchantments

Object Placement[edit | edit source]

Now that you have custom objects, you can place them for sale or put then on custom NPCs that need killin, create quests to find them or simply place them on the ground somewhere.

Here is a tutorial that will show you how to place these items for sale at existing vendor shops and keep the mod compatible with others at the same time. How To Add Objects For Sale

Test Your Mod[edit | edit source]

  1. Save your .esp plugin and exit the Construction Set.
  2. Be sure to enable your plugin the 1st time you create it: Oblivion Launcher, Data Files, checkmark beside MyMod.esp
  3. Start Oblivion, test your mod and make any adjustments as necessary.

Back-Rev Plugin[edit | edit source]

If you are using Construction Set version 1.0, the internal version number of the .esp plugins it creates is version 0.8 and has no requirement other than Oblivion 1.0.

If you are using Construction Set version 1.2, the internal version number of the .esp plugins it creates is version 1.0 and requires at least Oblivion 1.1.511 before it even acts like the plugin is installed. If you created a plugin that does not really require anything from Oblivion 1.1 or 1.2 patches, use a tool to back-rev the internal version number from 1.0 to 0.8 as the last thing you do before packaging your mod.

ESPluginCracker does a good job at determining which version number your .esp plugin is at as well as setting it to 0.8 or 1.0.

Here is a tutorial for more information: How To Back-Rev Your Plugin

Screenshots[edit | edit source]

If everything is fine at this point, take some screenshots. Screenshots: A Basic Guideline

Create a Distribution Folder[edit | edit source]

  1. Create a temporary distribution folder to place all your files in such as C:\MyMod\
  2. You can manually copy all your files over or you can use a helpful utility called TES4Files that will do most of the work for you. (Tutorial: How To Prep Mod Files Using TES4Files)
C:\MyMod\Meshes\Armor\MyMod\
C:\MyMod\Meshes\Weapons\MyMod\
C:\MyMod\Textures\Armor\MyMod\
C:\MyMod\Textures\Weapons\MyMod\
C:\MyMod\Textures\Menus\Icons\Armor\MyMod\
C:\MyMod\Textures\Menus\Icons\Weapons\MyMod\
C:\MyMod\MyMod.esp

Readme File[edit | edit source]

Use the Readme Generator to create a readme file (use the OMOD-Ready template type) and name it something like MyMod Readme.txt and place it in the root of your distribution folder.

C:\MyMod\MyMod Readme.txt

Create a Distribution Archive[edit | edit source]

  1. Use 7-Zip and zip C:\MyMod\*.* into a single file. Example: C:\MyMod\MyMod.7z
  2. Open Oblivion Mod Manager and follow How To Create an OMOD - click Create, Add Archive, pick C:\MyMod\MyMod.7z
  3. Set all of the field names, add a short description in the description button, add a screenshot and click Create
  4. Now that we have an OMOD created, we need to follow How To Convert an OMOD to an OMOD-Ready Archive by right-clicking on the OMOD name and select Convert To Archive. Name it something like MyMod 1.0 OMOD-Ready.7z and then answer Yes to include OMOD Conversion Data.
  5. Take this new OMOD-Ready archive and related screenshots and upload it to TESNexus.com.

Create a RELz Thread[edit | edit source]

Go to The Elder Scrolls Mod Forums and create a new topic to let the world know about your new mod.

Title: [RELz] MyMod
Contents: Paste the contents of your readme file here. You can omit the install/uninstall section if you like. Be sure to include a link to the download location.

Reference[edit | edit source]

TESNexus Tutorial