Difference between revisions of "How to create new re-textured items"
Revision as of 00:57, 12 January 2011
- 1 Overview
- 2 Required tools
- 3 Preliminary work
- 4 Populate your project folder
- 5 Texture changes
- 6 Create a new plugin
- 7 Add your sword
- 8 Add your armor
- 9 Object enchantment
- 10 Object placement
- 11 Test the mod
- 12 Back-rev the plugin
- 13 Screenshots
- 14 Create a distribution folder
- 15 Readme file
- 16 Create a distribution archive
- 17 Create a RELz Thread
- 18 Related pages
- 19 References
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.
You need the following tools:
- 7-Zip (this allows you to compress your mod files into a single compressed file)
- BSA Commander (this will allow you to open Oblivion - Textures - Compressed.bsa and extract DDS Textures)
- DDS Converter 2 (this will allow you to convert DDS files into PSD Photoshop files and then back to DDS format when done)
- NifSkope (this updates the texture paths in the NIF files)
- Oblivion Mod Manager
- A Graphics Editor (such as Paint.NET, GIMP, GIMPShop, Paint Shop Pro or Adobe Photoshop)
- Determine a brief and descriptive name for your project. For this tutorial, we will use MyMod and pretend it is descriptive.
- Determine a unique abbreviation of your project name to be used as the prefix to every ID you use in the plugin. Example: MyMod.
- Install BSA Commander, DDS Converter 2 and NifSkope.
- Use BSA Commander and extract Oblivion BSA files to some place you have room.
- Install Oblivion to E:\Games\Oblivion\
- Install BSA Commander to E:\Games\Oblivion\BSA Commander\
- Extract the Oblivion meshes bsa file to E:\Games\Oblivion\BSA Commander\out\meshes\
- Extract the Oblivion texture bsa file to E:\Games\Oblivion\BSA Commander\out\textures\
Populate your project folder
- Pick a 3D object/mesh to modify. For example, let us say you want to modify the steel sword and fur cuirass.
- 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
- Copy them to your project folder in the Oblivion Data folder. Example:
- Open longsword.nif using NifSkope. Notice that the texture path points to textures\weapons\SteelLongsword02.dds
- 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:
- 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
- Go back to NifSkope and change the texture path to use your custom texture. Example:
- 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:
- 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:
- Use DDS Converter to convert all DDS files into Adobe Photoshop PSD files.
- Open the Diffuse PSD Texture files with your favorite graphics editor and make the visual changes that you want.
- Once finished changing the textures, you will need to create new normal maps (_n) files. I use GIMP and the normal map plugin.
- Now convert your changes to the PSD files back into DDS files using DDS Converter 2 with the options of DXT5 and Mipmaps enabled.
- You should be able to open your NIF files and see the new textures on your model.
Create a new plugin
- Start the Construction Set
- Create a new plugin by Selecting Oblivion.esm, set as Active and click OK.
- 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
- NOTE: It is not recommended to include a version number in your plugin name for many reasons.
Add your sword
- To add the longsword with Dwarven quality stats, expand the Items, Weapons and open WeapDwarvenLongSword
- Immediately change the ID from WeapDwarvenLongSword to MyModLongSword (using your Project ID as the prefix)
- Set the name to something such as MyMod Longsword
- Click the 1st button that has the path to Longsword.nif and make it point to your Longsword.nif in your project folder.
- Click the 2nd button that has the path to Longsword.dds icon and make it point to your iconLongsword.dds icon in your project folder.
- Click OK to close the dialog box and answer YES when asked to create a new form.
Add your armor
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.
- To add the custom fur cuirass with Dwarven quality stats, expand Items, Armor and open DwarvenCuirass
- Immediately change the ID from DwarvenCuirass to MyModCuirass (using your Project ID as the prefix)
- Set the name to something such as MyMod Cuirass
- Click the Male Biped Model button and set it to your male cuirass.nif in your project folder.
- Click the Female Biped Model button and set it to your female cuirass.nif in your project folder.
- Click the Male World Model button and set it to your male cuirass_gnd.nif in your project folder.
- Click the Female World Model button and set it to your female cuirass_gnd.nif in your project folder.
- Click the Male Icon Image button and set it to your male iconcuirass.dds icon in your project folder.
- Click the Female Icon Image button and set it to your female iconcuirass.dds icon in your project folder.
- Click OK to close the dialog box and answer YES to create a new form.
- Rinse, lather and repeat for all other pieces you have.
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
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 the mod
- Save your .esp plugin and exit the Construction Set.
- Be sure to enable your plugin the 1st time you create it: Oblivion Launcher, Data Files, checkmark beside MyMod.esp
- Start Oblivion, test your mod and make any adjustments as necessary.
Back-rev the plugin
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.
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
If everything is fine at this point, take some screenshots. Screenshots: A basic guideline
Create a distribution folder
- Create a temporary distribution folder to place all your files in such as C:/MyMod/
- You can manually copy all your files over or you can use a helpful utility called TES4Files (tutorial) that will do most of the work for you.
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
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.
Create a distribution archive
- Use 7-Zip and zip C:\MyMod\*.* into a single file. Example: C:\MyMod\MyMod.7z
- Open Oblivion Mod Manager to Create an OMOD - click Create, Add Archive, pick C:/MyMod/MyMod.7z
- Set all of the field names, add a short description in the description button, add a screenshot and click Create
- Now that we have an OMOD created, we need to Create 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.
- Take this new OMOD-Ready archive and related screenshots and upload it to TESNexus.com.
Create a RELz Thread
Go to various 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.
- The Nexus Oblivion Mod Talk Forums
- Bethsoft Oblivion Mods Forums
- TES Alliance WIPz / RELz Mods
- CanadianIce Oblivion Release Announcements
- Oblivion Mod Wiki
- Mods Reloaded Modding General Forum