Difference between revisions of "Adding custom level tutorial"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Models that work correct)
(Models that work correct)
Line 31: Line 31:
 
*prp_chair_01_0 - chair with collision.
 
*prp_chair_01_0 - chair with collision.
 
*prp_table_01_0 - table with collision.
 
*prp_table_01_0 - table with collision.
 +
*prp_tevbookshelf1_0 - bookshelf with collision.
 
*prp_dwfrug2_0 - rug.
 
*prp_dwfrug2_0 - rug.
  

Revision as of 17:29, 21 December 2015

Author: Ladyofpayne

  • 3ds max (gmax) no older than 2011 year - Eshme Import/Export DAO Tools doesn't work with new versions.
  • Eshme Import/Export DAO Tools - Script for 3s max
  • Dragon Age Origins
  • Dragon Age Toolset - install it in the same folder as the game
  • Adobe Photoshop
  • Nvidia DDS Plugin
  • mesh lightmap fixes - Install this project.
  • Engine won't work with models bigger than 45 000 polygons and 30 000 vertexes. Even if it works still make sure your model isn't too complex or big- Lightmapping render can be failed.

Article in development. Please don't delete it.

Script Settings

Watch where you install Eshme script - program files(x86) for 32 programs at 64 bit computers. Eshme script and the game have to be in one folder of program files.

Take Eshme Import/Export: Startup, YAGG and DAOTools -> put into C(ypur disc):/Program Files/Autodesk/3dsmax/Scripts -> scripts

If your installation is correct them when you first open 3d man you will see window with the settings

In Game Path HAVE to be folder of the game E:\Game\Dragon Age, in Export Path folder Override in folders C:\Users\your_NAME\Documents\BioWare\Dragon Age\packages\core\override.

You need to install Dragon Age Toolset and then you can begin your work in 3 d Max -> Run Script.

3d Max

Models that work correct

  • prp_painting_01_0 - painting on a wall with collision.
  • prp_chestornat01_0 - chest with collision.
  • prp_chair_01_0 - chair with collision.
  • prp_table_01_0 - table with collision.
  • prp_tevbookshelf1_0 - bookshelf with collision.
  • prp_dwfrug2_0 - rug.

Export

After your model will be exported put .MET files in C:\Users\User\Documents\BioWare\Dragon Age\AddIns\your module ID\core\data_tools

THE REST files have to be in folder in C:\Users\User\Documents\BioWare\Dragon Age\AddIns\your module ID\core\data. Each model has to be organised and be in it's own folder.

Lightmapping

Always leave colour intensity at 1. This number looks perfect in game.

If Render Lightmap fails you can find a model, that cause trouble, by isolating it. Change in Object inspector-> Lightmapping-> False. This can happen if your model too complex or too big.

Room

1. Ambient light. This ambient light will light the level but not the characters.

Right-click on "New Room" in top-left list > Insert > New Light anywhere in the room. Raise it up off the floor a little (e.g. Z = 2). In Object Inspector > "Light Type" Ambient - Baked > Colour 1,1,0.86

2. Character lights. You need them to light your characters. Copy and paste previous light or make a new one.

In Object Inspector > "Light Type" Point - Static > Affects Characters TRUE > Affects Level FALSE > Colour 0.70,0.70,0.65 > Point Radius 10000. Copy and paste until you have 3 static character lights and arrange them in a circle outside all of the rooms to make the characters be lighted from each side.

NOTE: Don't make more than 3 character lights- there will be problems.

3. Additional lights. Static or animated for tourches, fireplaces etc where necessary or wanted.

4. Light Probe. "New Room" in top-left list > Insert > New Light Probe. Position doesn't matter at all.

NOTE:Light Probe is final part in lightning your room. If you deside to change something in any of previous lights you have to create new light probe.

5. Click on button "Render Lightmap".


Export

1. Save your .LVL files in C:\Users\User\Documents\BioWare\Dragon Age\AddIns\ypur Module_ID\core\env. Make sure .ERF and .ERF.BACK are here too after you press "Do All Local post". 2. Add minimap. Right click, then select Minimap > Minimap Selection Tool. The default green box appears. Right click on the area again, Minimap > Post Minimap to Local. It's possible to handcraft or refine the minimap, as detailed under Custom minimaps. 3. Press Button "Render lightmaps". 4. Press button "Set Start point" for Pathfinding-> Press button "Generate pathfinding". 5. Press button "Do All Local post" - this will export your level and you can use it in your area.

Useful links