Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » attention weapons modelers
attention weapons modelers [message #-987281] Tue, 07 January 2003 21:34 Go to previous messageGo to previous message
Anonymous
ok, basicly, the only thing in f_skelleton.w3d is a heirarchy (which is what I expected)
Bones are named as folows:
ROOTTRANSFORM (I think this is common to all w3d files, represents the center point of the model)
F_ L FOREARM
F_ L HAND
F_ L FINGER0
F_ L FINGER01
F_ L FINGER1
F_ L FINGER11
F_ L FINGER2
F_ L FINGER21
F_ L FINGER3
F_ L FINGER31
F_ L FINGER4
F_ L FINGER41
CLIPBONE
F_ R FOREARM
F_ R HAND
F_ R FINGER0
F_ R FINGER01
F_ R FINGER1
F_ R FINGER11
F_ R FINGER2
F_ R FINGER21
F_ R FINGER3
F_ R FINGER31
F_ R FINGER4
F_ R FINGER41
GUNBONE
Those are the exact bone names from the w3d file.
Now for the hands (havocs).
The actual 3d mesh data doesnt concern us, the "link" between the mesh data and the bones are kept in the W3D_CHUNK_VERTEX_INFLUENCES. Basicly, each vertex in the 3d data has a reference to a bone.

Now, an analysis of a weapon (the rifle in this case):
F_CM_RIFL.w3d is the clip. Nothing to see here, just regular 3d data.
F_GM_RIFL.w3d is the gun itself. Contains bones labeled EJECT, F_GM_RIFL, MUZZLEA0, F_CM_RIFL and ROOTTRANSFORM. It pulls in MZ_RIFL1.w3d (some kind of muzzle related thing)

The key is in the animation files.
the f_gh_rifl_xxxx.w3d files controll the movement of the gun and clip when different actions happen.
the f_ha_rifl_xxxx.w3d files on the other hand controll the position of the hands when different actions happen. The key is to figure out how to re-create these (I dont think its going to be doable without some kind of gmax file containing the skelleton ready to use as the base for the animation (you then point the exporter at the w3d file skelleton when you export I guess)

But basicly, the animation files basicly script the hand movements of the hands.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Reload Aniamtions, Working fully and properly!
Next Topic: This mod maker is a total n00b and needs help!
Goto Forum:
  


Current Time: Thu Dec 19 01:52:01 MST 2024

Total time taken to generate the page: 0.01186 seconds