倉庫/海外Site翻訳/NifTools/ChangeTexture

原文

NifSkope/Change texture Edit

This is a tutorial that teaches you how to use NifSkope to change the textures stored in NIF files. Some games don't store their textures in the NIF file, but most do and this will allow you to change them and create a new NIF file with different textures for those games.

Open the NIF file Edit

If you can't see any textures, make sure you have your texture directories set properly. You might also look under the Render menu and make sure Texturing is checked. Remember also, some games like DAOC often don't store the textures in the NIF file. Instead the game engine adds them. So it may not be possible to change the textures in these games using NifSkope.

If you can't see anything at all, make sure Render > Hide non textured is not checked and try zooming in and out and moving the camera around to try to see if the mesh is just somewhere outside the view area.

Select the Shape Edit

NIF files can contain more than one 3D shape, and more than one texture. You need to find the one that you want to change. There are two ways to do this; graphically or by finding it in the list.

 

Graphically Edit

Note that some objects may have more than one of these. The first one will usually be the "base" or "color" texture... that's the standard texture that you probably want to change. The following ones could be other types of textures like glow maps, gloss maps, etc. You can also change these using the same methods if you want, but usually it will be the first one you want to change.

 

Now continue on to the section about changing the texture file name.

 

Finding the Texture in the List Edit

If you know the name of the texture you want to change, you can try to find it in the list rather than searching for it graphically.

Change the Texture Filename Edit

Now that you have located the NiSourceTexture object that contains your texture, either graphically or by finding it in the list, you can now change the texture.

Some words on the texture path. The general rule is, if you have your texture folders set properly so you can see the textures in the 3D view, and have extracted your textures to a similar folder structure as is used by your game and have stored your new texture there, the flower icon will magically know the proper path to use. However, it does not have knowledge about your game, so if you did anything differently you will have to find out what kind of path your game uses to make sure you're doing it right. The easiest way to do this is to look at the path your changing and copy and paste it somewhere or write it down. If the original path starts with textures\, then your new path needs to start with textures\ too. Similarly, if the original path just contains the name of the texture file and no folder names, that's what your new path needs to do.

 

Never release a NIF file that has paths starting with the drive letter ( C:\, D:\, etc.). These will only work on your machine or others who have installed the game exactly the same way. Always make sure your paths follow the example of the original paths.

Nifskope_change_texture9.jpg

Enabling Alpha Edit

Sometimes you want to use a texture that has some see-through parts. Alpha-enabled objects are expensive for the game engine to calculate, so you are required to flag objects that use alpha with a NiAlphaProperty. Each 3D mesh in your NIF file that uses the see-through texture will need to be flagged with this property.

That's all there is to it! A new NiAlphaProperty with default settings will be created and selected in the Block List view. If you want to tweak the exact way that transparency is displayed, you can alter the values showing in the Block Detail window below, but this usually isn't necessary.

 

So now, all that remains is to repeat the steps above for any other 3D shapes in your NIF file that need to have Alpha enabled, and save the NIF file with a new name.


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2008-10-23 (木) 14:27:39