Arcane University: Nif implementation
| Implementation Departments |
| Quests |
| Nifs |
| Mechanics |
In Beyond Skyrim projects, 3D artists are expected to be able to export their own meshes to nifs, and textures to DDS, if they are simple enough. However, for more complex objects, like animated objects, or those with particle effects, it may fall on an implementer to bring this into Skyrim. Other partner projects of the AU may have the entire responsibility of bringing a mesh from fbx to in-game fall to the implementation team. Therefore, the first thing you should know is how to export to nif from a 3D program or from a predefined format like fbx. For the basic process of asset implementation, see Intro to Asset Implementation.
Contents
Reference pages
- NetImmerse Format: Overview of nif format
- BSLightingShaderProperty: Lighting Shader settings and flags
- Texture Slots: Details on texture slot usage
- BSEffectShaderProperty: Effect Shader settings and flags
- BSLightingShaderProperty: Lighting Shader settings and flags
- Collision and physics settings
- DDS Data Format: Overview of the DDS format Skyrim uses for textures
Tutorials
Weapons
Animated objects
- Exporting animated statics using ck-cmd
- Animating Crash Course - Basic Static Animations in Blender (video) by Hayden Price
Constraints
Importing/exporting
Software
There are various tools used for implementing nifs.
General
- NifSkope: NifSkope is the most important program for nif implementation. It is a program that allows you to open NIF files, view and alter NIFs properties and contents, and export NIF files into other file formats readable by other programs such as Blender. Nifskope is where you attach your textures to the NIF and specify shader settings for it to appear correctly in game. Nifskope also allows you to browse the Skyrim meshes BSA (archive) without using a BSA unpacker.
- Sniff: A batch operations tool for nif files. It includes many functions which you can read about on its Nexus page.
Texture Conversion
Skyrim uses the DDS file format for all textures. Here is some software which may be used to convert from the source files:
- Paint.NET: Easy to use since it provides a nice GUI, and supports DX10 formats. Not the most extensive editing tools however.
- Texconv: This is actually what most software uses under the hood. It is developed by Microsoft and is extremely flexible for command line use, but has no GUI.
- Cathedral Assets Optimizer: converts only TGA to DDS. Allows batch conversion.
- Nvidia Texture Tools Exporter: can be downloaded as standalone program, or as Photoshop plugin. Standalone program allows batch conversion.
- GIMP: Good for editing and creating combined textures like normal/gloss. Does not support DX10 formats, so is not recommended for conversion to DDS.
- Crunch: Good for extra compression, but does not support DX10 formats.
- Compressonator: Requires an AMD graphics card, but outputs good quality and has a nice GUI. Also supports command-line use. It does not provide a method of scaling.
Mesh Conversion
| NOTE: Special Edition uses a different nif format from Skyrim/Legendary Edition. However, nearly all Skyrim/LE nifs will work in SSE, and are easier to work with. SSE nifs are also less precise. For this reason, most projects use LE nifs. If you do need to convert either way, you can use Cathedral Assets Optimizer or SSE Nif Optimizer. |
There are a variety of methods to convert your mesh, including both software-specific plugins, and standalone converters that are software-agnostic:
- Sofware agnostic:
- ck-cmd: can convert both ways between .fbx and nif, including collision. Also can handle havok behaviors.
- Outfit Studio: can import .obj or .fbx, and export LE or SSE nifs. Also used for skinning armor, creatures, or npcs.
- Blender:
- Blender Niftools Addon: For Blender 2.8+, Export/Import tool between Blender and the Nif format.
- PyNifly: Export/Import tool between Blender and the Nif format. Supports SSE Meshes
- 3ds Max:
- 3DS Max Niftools Addon: Niftools Addon for 3DS Max. Might not work with versions after 2016
- Apenov 3DS Max Plugin: Another Plugin for 3DS Max, works with versions up to 2018. Supports some SSE Meshes
Collision
Most mesh conversion software handles collision now. There are a couple older programs which can be used to manipulate collision only, which are noted here:
- ChunkMerge: Can transfer collision from one nif to another, or convert TriShapes to compressed mesh shape collision
- Chunkmerge Utils: templates for use with ChunkMerge
Skyrim and Creation Kit
To view your asset in game you'll need the game. You can use Skyrim Legendary Edition, or Skyrim Special Edition.
- Creation Kit for the version of Skyrim you are modding for:
- TES V: Skyrim Creation Kit: cannot be linked to, but can still be downloaded via Steam app
- Skyrim Special Edition Creation Kit and Creation Kit Platform Extended