The year is 2142 and the dawn of a new ice age has thrown the world into a panic. The soil not covered by ice can only feed a fraction of the Earth's population. The maths is simple and brutal: some will live, most will die. In Battlefield 2142, players choose to fight for one of two military superpowers - the European Union or the newly formed Pan Asian Coalition - in an epic battle for survival.

Report article RSS Feed Hierachies for 3DS/Gmax

Explaining hierarchies in 3DS Max/Gmax. Tutorial by [XWW2]mschoeldgen on BFSP Forums.

Posted by InSovietRussia on Nov 14th, 2010
Intermediate Client Side Coding.

Part 1

by [XWW2]mschoeldgen

I collected some hierarchies out of 3DS as a help to get your own right tongue.gif
Legend:
root_nnnnnMesh_myObject: PointHelper
geomN, lodN, nonvis_ : Dummy
Bones are represented by Pyramids
Everything else are meshes. Here we go....

A simple StaticObject:

A Static where i want to add children to from within the editor ( Bundle):

A destroyable object (Oiltank in this case).

A simple Car with Steering Wheel:

A tank with main turret and gun( 2 pictures. This tank has no additional hullgunner) :

A prop driven aircraft with landing gear and control surfaces:

The
aircraft needs explanation. If you watch cosely, there's a bone in the
rear wheel. This bone makes the rear suspension move with the wheel,
meaning the main mesh has a skin modifier.

A Rotor (this time its a propeller for the above BF109)

geom0 is the solid model , geom1 is 2 planes with opposing faces carrying the blurtexture

A boat with additional gunner and a moving enginedummy:

Note that any floatingBundles, Wings and the shipengine are later added with the editor.

A stationary AT gun with a rotating main gun (frame) on a stationary base:

Part 2:

Machine Gun handheld weapon. 1 = magazine, 2 = trigger, 3 = reload handle, 4 = shoulder holder:

Sniper Rifle handheld weapon. 1 = magazine, 2 = trigger, 3 = reload bar :

A visible projectile ( note that most small projectiles are code-only objects) . This here is a torpedo:

A particle ( used in destruction effects ):

Kits
hierarchy with 3 Infantry sets, a pilot and a tanker set, and 4 dropkit
geometries (4 pictures). Note that most of the second half is occupied
by the imported skeleton, starting at 'root_skeleton_3p_setup' . The
'ger_Kits__SimpleObject' is the headwear (helmet or cap):


Note
also, the name of the object is only chosen for congruency among the
objects. The bagpack of the pilot e.g. would really be a parachute,
while it is the vest for the tanker.... I did this to avoid problems
while exporting. The skeleton is a child of the soldier_root. This
worked best...

A sample hierarchy for a soldier (3 pictures ):

Again
, most of the hierarchy is occupied by the skeletons. (1P and 3P) 1P
primary mesh : Left Arm , mesh1 = Right Arm. 3P primary mesh : Body with
Legs, mesh1 : Arms , mesh2 : Head

A sample animation export
scene for 1P animation. Again, most of the hierachy is occupied by the
1P skeleton. mesh1 to mesh7 are my weapon parts:

A little explanation:

Hierachies
are necessary to bring the model into a structure the game understands.
Your model hierarchy will be exported to the .con file in text form and
of course is saved in the bundled-,skinned- or staticmesh.
Hierachies are created by two basic buttons in the toolbar of gmax and 3DS. The first is the common 'Select by Name' button:

This
opens the window where all of the above screenshots come from. Checking
'Display Subtree' in this window enables the above view.
The tool for parenting objects is the 'Select and Link' button in your toolbar :

Select the object you want to make a child then press the 'Select and
Link' button. This will open a window very similar to the 'Select by
Name' Window and lets you choose a parent. This process is called
'parenting an object' mostly in this forum.
The 'root' is just that :
The Parent to all other objects. From there on, the geoms are children
to the 'root', the lod's (level of detail) are children of the geoms.
These objects are purely for organizing the meshes which will be the
children of these basic 'tree' helper objects.

Hope that helps.

Post comment Comments
bobthedino
bobthedino May 11 2011, 10:33am says:

Thanks for the tut upload!

+2 votes     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Icon
Battlefield 2142
Platforms
Windows, Mac
Developer
DICE
Publisher
Electronic Arts
Engine
Refractor 2
Contact
Send Message
Official Page
Battlefield.ea.com
Release Date
Released Oct 17, 2006
Game Watch
Track this game
Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Games
Battlefield 2
Battlefield 2 Single & Multiplayer First Person Shooter
Battlefield 2142
Battlefield 2142 Single & Multiplayer First Person Shooter
Related Engines
Refractor 2
Refractor 2 Commercial Released Sep 9, 2002
Related Groups
DICE
DICE Developer & Publisher
Electronic Arts
Electronic Arts Developer & Publisher