Wednesday, May 20, 2020

Backporting JK3 models to JK2

 This is meant as a small guide to learn the porting process from Jedi Academy models to Jedi Outcast. I had some problems while doing it so this is some kind of memo of my notes.

Tools you are going to need:

  • Blender 2.69.
  • The plugin suite that can be found here: https://jkhub.org/files/file/1413-blender-264-jedi-academy-plugin-suite/
  • An already rigged JKA model.

We install the plugins by selecting User Preferences > Addons > Install from file and select the .zip file that we downloaded.

We now need to import our models, we are going to import first the JKA one first, do not import the second one yet. We do so by pressing space and using the .GLM JA import:


Before importing the JKO skeleton, we need to rename the JKA one so that it’s not overwritten by the import addon. Do so by changing the name in both circles.


skeleton = bpy.data.objects[‘skeleton_root’]
for object in bpy.data.objects:
… if ‘skin’ in object.modifiers:
… object.modifiers[‘skin’].object = skeleton
… print(object.modifiers)


Saturday, May 2, 2020

JK2: Adding GLM objects to NPC bones

 We can add objects to NPCs as long as they are GLM with an undocumented param. We can use the SET_ADDRHANDBOLD_MODEL comand to specify a GLM.

//(BHVD)

set ( /@SET_TYPES/ "SET_ADDRHANDBOLT_MODEL", "models/map_objects/nar_shaddar/beerglass.glm" );

End result


2023

Every year I start writing about a wrap-up of my year but I never end up finishing it. Hope this year is different. I'm starting with th...