WoLD Archives Search About Contact

World of Level Design

Tutorials to Becoming the Best Level Designer and Game Environment Artist (since 2008)

Call of Juarez 2 Part 5: Custom Objects in ChromEd

Category: Call of Juarez 2
November 12, 2009

Call of Juarez 2 Part 4: Object Props

Part 5 covers:

Maya Exporter Installation
Setting Up Units
What you need to know before exporting
Textures
DDS Plugin
Material file creation
Setting LODs

CoJ2 Bound in Blood Video Notes:

Download Maya Exporter for Maya 2009 CoJModding.com (link is no longer active)

Call of Juarez: Bound In Blood

Install the Exporter

Place: ChromeExporter and userSetup

Into MyDocuments\maya\2009\scripts

Place: AnimConverter and chromeAnimexport.mll and chromemeshexport.mll

Into Maya2009 Installation Folder\bin\plug-ins

Launch Maya2009 and you should see Chrome pull-down menu

Call of Juarez: Bound In Blood

Set up proper units inside Maya. ChromEd uses centimeters.

Window --> Settings/Preferences --> Preferences

Call of Juarez: Bound In Blood

Under Settings/Working Units change it to centimeters

Call of Juarez: Bound In Blood

Scale

Call of Juarez: Bound In Blood

Before Exporting from Maya make sure to:

Proper Scale
Name: name your object objectname_0

Call of Juarez: Bound In Blood

0-3 = level of detail (LOD) that gets rendered

objectname_0
objectname_1
objectname_2
objectname_3

Create a simple collision for your object and name it collisionhull_0

This collisionhull_0 has to be placed in the same space as your objectname_0
(in the 0, 0, 0) - not shown below

Call of Juarez: Bound In Blood

UV your model and make sure no UVs intersect.

Call of Juarez: Bound In Blood

Triangulate all of your models. Select all of your models and go to

Mesh --> Triangulate

Call of Juarez: Bound In Blood

Delete History on all of your objects

Call of Juarez: Bound In Blood

Parent your collisionhull_0 to your objectname_0

Call of Juarez: Bound In Blood

Position your collisionhull_0 and objectname_0-3 at 0, 0, 0

Select everything except collisionhull_0

Call of Juarez: Bound In Blood

Chrome --> Export Mesh

Select Detect lods and set Mesh scale to 1.000

Call of Juarez: Bound In Blood

Hit Export selected objects
Save it as the same name of your object without the _0

Place the custom exported object into your maps directory. You can create subfolders if you want. Model browser will be able to read into any subfolders you create.

Textures:

Call of Juarez: Bound In Blood

Photoshop DDS Plug-in: Creates DDS textures.

Material Files:

You need to create the following material files. Use notepad to create them. Make sure that .mat file gets two breaking spaces after the last }. Just press enter twice.

objectname.skn

Skin("Custom Crate")

{
Replace("customcrate.mat", "customcrate.mat")
ReplaceSurface("Wood", "", "")
}

Call of Juarez: Bound In Blood

objectname.mat

import "templates.mtt"

sub material()
{
use mtt_objects(
s_clr = "objectname.dds",
s_nrm = "customcrate_nrm.dds",
s_shn = "customcrate_shn.dds",
f_shn_factor = 1.0,
f_nrm_factor = 1.0);
}

Call of Juarez: Bound In Blood

Place the custom exported objects and all of your textures and materials into your maps directory. You can create subfolders if you want. Model browser will be able to read into any subfolders you create.

Create a 96x96 png file named objectname_prvw.png

This is a preview that will show up in your model browser

Go to your model browser in ChromEd and under All, navigate into your map folder for your custom object. Place it into your map.

Call of Juarez: Bound In Blood

To set LOD distance at which our custom lods get switched over. In ChromEd go to

View --> Other Windows --> Mesh visibility params

Call of Juarez: Bound In Blood

Find your object and set LODs. Object must be placed into your map for this to work.

Call of Juarez: Bound In Blood

Call of Juarez 2: Bound in Blood Level Design Tutorial List

SUBSCRIBE & GET FREE UE5 PDF GUIDE

Subscribe to receive NEW/UPDATED and FREE "UE5 Beginner's Quick Start Guide" PDF (90 pages).

Subscribe and Get Free UE5 PDF Guide

Visit this page for more info about the guide...


Follow WoLD




UE5 FUNDAMENTALS VOL.1 COURSE


UE5: RETRO OFFICE PROJECT


MAYA FOUNDATION COURSE


SUBSTANCE PAINTER ESSENTIALS


LEARN THE PREPRODUCTION PROCESS


ABOUT WoLD & ALEXG

About World of Level Design

My name is AlexG. I am self-taught level designer, game environment artist and the creator of World of Level Design.com. I've learned everything I know from personal experimentation and decades of being around various online communities of fellow environment artist and level designers. On World of Level Design you will find tutorials to make you become the best level designer and game environment artist.

Read More »


Home Terms of Use/Trademarks/Disclaimers Privacy Policy Donate About Contact

All content on this website is copyrighted ©2008-2024 World of Level Design LLC. All rights reserved.
Duplication and distribution is illegal and strictly prohibited.

World of Level Design LLC is an independent company. World of Level Design website, its tutorials and products are not endorsed, sponsored or approved by any mentioned companies on this website in any way. All content is based on my own personal experimentation, experience and opinion. World of Level Design™ and 11 Day Level Design™ are trademarks of AlexG.

Template powered by w3.css