• Home
  • Forums
  • Register
  • Login
  • Contact
ForumsGamesRPG and MMORPGFallout 3
 
  • Facebook
  • Twitter

Fallout 3 - 3DS Max - Exporting Custom Assets



Fallout 3





Topics and Discussions on the popular Fallout 3 game produced by Bethesda Softworks.
1 post • Page 1 of 1

Fallout 3 - 3DS Max - Exporting Custom Assets

Postby Webslug » June 25th, 2010, 3:24 pm

I found that the existing tutorials were outdated, because they were written with older versions of the exporters
and nifskope in mind. Now that the tools have gained support and functionality with working with the fallout 3 nif version, and the custom blocks Bethesda made for the game, I think it is time to start updating the instructions for getting custom assets in game, avoiding *most* of the unnecessary nifskope jiggery pokery. And hopefully
I have some useful tricks not often found in any of the guides as far as I have read.

The first object I am going to demonstrate is a helmet.

The aim: To explain the process I use for getting an unrigged helmet exported, ready for in game use. Including
export setup, exporting (nearly) straight from Max to the game, without using any vanilla assets to piggy back data from.

Tools:
Max 2009
Niftools Max plugin V3.5.5.4728, downloaded at niftools development forums
the Conformulator by Scanti
Nifskope V1.0.21.4884
Archive Invalidation Invalidated
FoMM
GECK

Pre Export:

Extract the contents of the Meshes.bsa, I used FOMM to do this.

Open your max scene with your custom helmet. delete everything you don't want exported.
Import the headhuman.nif and in the niftools importer dialog box tick the import skeleton. its default location is meshes\characters\_male\skeleton.nif. I also usually have the body mesh in scene as well, it just gives me an even better idea of proportion and placement for my helmet.

If you haven't already made your helmet fit the player model head. Do this now. Here is what I have in my Viewport.



I now make sure I have reset Xform on my helmet. again. Just to make sure. then collapse the modifier stack, or just right click and convert to editable poly.

Hide everything except the skeleton and the helmet.

Now you may have been wondering why I imported the skeleton at all, as I am not going to do any rigging. Well, this is how I get the helmet to align to the players head when it's in game. Instead of estimating where it'll sit on the players head, this method ensures it sits exactly on the player head in game, as it does in your viewport.

Select your helmet. In the hierarchy tab, select "affect pivot only". press shift+a to activate the quick align tool, Now select the Bip01 Head bone. Now your helmet is in the same position, but its pivot point is the same as the Bip01 Head bone.



Once done, deselect affect pivot only.

Now press W, and simply put 0 in xyz for the helmet.



**TIP** This works the same with all other meshes- I see a lot of tutorials telling you to mess with the translation of the mesh, and juggling your mesh around in nifskope. those are very outdated workflows. for anyone creating/converting their own assets, direct export to game is imo faster and more precise. For an oft used
example, a weapon mesh. you do still have to find a vanilla one that is close to your new mesh. so import that nif
into the same scene, move your mesh to sit right where you want, as close an approximation as you can get, particularly the grip and trigger areas. Set all the pivots to match the correct nodes. match all your objects
names to the donor weapons. then export. with just tweaking a couple minor setting in nifskope. it'll work and play animations.

If you want to export pivot rotations you have to manually (why can't align tool do this in 2 clicks :roll:

Set them up with with affect pivot only enabled. Also you have to untick Zero Transforms in the export dialog to
get them to export.

Material Setup:

So press "M". and drag your textures from your explorer window, to the appropriate map slots. diffuse(color) map,
and a normal map are what you will need to set up 99% of the time. Don't worry about setting up the normal bump
like you would normally in max, just putting it into the bump slot works fine for export. Set up the spec, emissive and gloss parameters however you wish.



Now just drag that material from the editor onto your mesh.

For completeness sake, you can now delete the materials name, materials do not have names in F3, it's a good idea to always clear them, before export or in nifskope. exporting them will just add another string name to the index array.



Export:

Hide everything except your helmet mesh. or delete everything else. At this point I will double check everything looks good.

Here are my exporter dialog settings I used. Under Game, make sure to select Fallout 3 from the drop down.



I also exported it as a NiTriStrip. By ticking the generate strips box. If this model used alpha transparency(or was rigged), I would have unticked that box, as very often stripifying causes alpha sorting problems.



As a general rule, I export as NiTriShapes for everything that is skinned or has alpha transparency. For everything else I export as NiTriStrips as they are more optimized and draw faster.

**TIP** - Read the breakdown of exporter dialog options on the niftools website if you want to know what everything actually does, or at least have a better understanding of it.

Post Export:

We need to do a few things to get our helmet working correctly. Open it in nifskope. check triangulation briefly, give it a once over, fix any issues and reexport if necessary.

1: First is to go into the BSShaderPPLightingProperty. Untick all the shaders except SF_EMPTY and SF_Unknown_31.
We can add some back for special shaders later without any harm.



2: Spells> Batch> update tangent space

3: Add a Prn extrastringdata node to the Scene Root, right click>node>attach extra data>NiStringExtraData. In block details change its name to "Prn" and its String to "Bip01 Head". this is what attaches your helmet to the head bone, as if is was rigged to the specified bone.




4: Save

Move the Mesh and textures to your fallout3 data folder.
Open your exported nif in in the GECK model viewer, right click>open with> GECK. If it doesn't crash then you probably did everything right. You can check your shaders and textures here. Though the lighting renderer looks slightly different than in game, it is a fairly good representation of your asset.

Making an egm-
If I am happy with the asset and do not need to reexport the nif for any reason, I make the egm now. If you end up having to reexport you'll probably have to create a new egm. So I leave it for last.

Follow the instructions with the conformulator for making an egm, it won't accept F3 nifs, or at least reportedly so, I always export an obj from my final helmet nif (done from nifskope) to use as the mesh input anyway. Just an old habit from using the first versions of the conformulator that couldn't read nifs.

**Note I was told by scanti, the creator of the conformulator, that rigged objects, and nifs with multiple objects won't or may not conformulate correctly. this is actually evidenced in a lot of what bethesda has done in oblivion, though there are egms for rigged helmets in F3, though I believe they are just bloat files. But the hair nifs have 2 objects in them, nohat and hat versions, which certainly must have working egms, so it's definitely possible, whether the conformulator can do so now... I don't know. So when planning your helmet, it maybe wise to try to keep everything onto one texture sheet if it is an openned face style helmet. if the helmet is closed and cover the whole head and neck, then facegen is a non issue, and it can safely be multiple objects using different textures.

Set up your new helmet in the GECK, you do need to update facegen model availibilty. under the characters menu, hit update facegen model availability. or else your headgear will be misaligned in game.

Save your plugin.

Test in game.

Kudos:

saidenstorm
XMS
ThrottleKitty
Niftools team

I recommend reading saidenstorms collision tutorial, found on his google pages, to learn how to set up and export a collision model from 3dsmax.
Please remember to comment, it helps to encourage modders with their work.

Image
User avatar
Webslug
1.0
1.0
 
Posts: 1054
Location: England
Uploads: 18
Kudos: 16   
Motherboard: Gigabyte EP41
CPU: Intel Core 2 Duo
GPU: Nvidia 9800 GTX PCI
RAM: 2048 RAM DDR 2
  • Website
  • Uploads
Top

1 post • Page 1 of 1

Return to Fallout 3

 


  • Related topics
    Replies
    Views
    Last post
  • Fallout 3 Making a custom weapon tutorial
    1, 2by Exorince » January 25th, 2009, 12:28 am
    6 Replies
    2440 Views
    Last post by PsyclopS View the latest post
    March 26th, 2009, 9:34 am
  • Blender - Adjusting And Exporting Weapon Meshes
    by PsyclopS » June 25th, 2010, 4:10 pm
    0 Replies
    852 Views
    Last post by PsyclopS View the latest post
    June 25th, 2010, 4:10 pm
  • Your Fallout 3 Character
    1, 2, 3by Webslug » January 25th, 2009, 4:51 pm
    14 Replies
    1278 Views
    Last post by Strange Angel View the latest post
    June 29th, 2009, 10:04 pm
  • Fallout 3 - the first DLC
    1, 2by Webslug » January 27th, 2009, 3:36 pm
    6 Replies
    451 Views
    Last post by Exorince View the latest post
    March 10th, 2009, 11:17 pm
  • Fallout 3 DLC: What are you going to do about it?
    1, 2by Darwin Machiavelli » February 21st, 2009, 11:27 pm
    7 Replies
    536 Views
    Last post by Strange Angel View the latest post
    June 29th, 2009, 9:33 pm
  • Me Thinks I'm going to do a little Fallout 3
    by Strange Angel » August 29th, 2009, 11:51 am
    1 Replies
    256 Views
    Last post by Webslug View the latest post
    October 1st, 2009, 8:23 am
  • Fallout 3 Grey Sky
    by Dark Mayu » June 10th, 2009, 5:27 pm
    0 Replies
    207 Views
    Last post by Dark Mayu View the latest post
    June 10th, 2009, 5:27 pm
  • BSA Commander for Fallout 3
    1, 2by Darwin Machiavelli » February 22nd, 2009, 3:09 am
    7 Replies
    1932 Views
    Last post by LHammonds View the latest post
    March 17th, 2009, 3:42 pm



    Search

    • FAQ
    • Games
    • Top 100
    • New Uploads
    • New posts
    • Active topics
    • Unanswered posts
    • Members
    • Register
    • Login

    New posts

    • Dead Nvidia 9800GT fan
    • UnikGamer: ranking of the Video games
    • Darwin's ME3 pics
    • I.m Australian so don't hold that against me.
    • Chrono here.
    • International Day Against Homophobia and Transphobia
    • HELLO!! =)
    • greetings and merry meet
    • The Internet Kill Switch With Global Wiretapping Capability
    • Derek by Ricky Gervais

    Login

    Style

    0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14
    Top