Jump to content

Jedi Academy turned 20 this year! We celebrated in a ton of different ways: mod contest, server event, podcast, etc. Thank you to all who have been a part of this game for the last two decades. Check out the anniversary content!

Read more

Welcome to JKHub

This community is dedicated to the games Star Wars: Jedi Outcast (2002) and Jedi Academy (2003). We host over 3,000 mods created by passionate fans around the world, and thousands of threads of people showcasing their works in progress and asking for assistance. From mods to art to troubleshooting help, we probably have it. If we don't, request or contribute!

Get started

This game turned 20 years old this year, and it is still one of the greatest Star Wars games of all time. If you're new or returning from a long hiatus, here are the basics of getting started with Star Wars Jedi Knight Jedi Academy in 2023.

Read more

MD3 Import/Export Using Blender 3.3


SomaZ

This is a short tutorial on how to import/export md3 models with the (currently) latest version of Blender which is 3.3.1.

 

Installation of the addon:

First of all you need to install the "Import id Tech 3 BSP" addon. You can download the lastest release here:
https://github.com/SomaZ/Blender_BSP_Importer/releases

If you want to utilize the addon to its full potential you need to extract the "models", "shaders", "textures" and "maps" folders from the games pk3 files into one seperate folder. If you only want to use the addon for exporting your models, you won't need to do that. In either case its needed to set the base path of your game install in the addons preferences. If you unpacked the folders I mentioned before, make sure the addon points to the folder where your files were extracted to.

  1. So, open Blender, go to 'Edit -> Preferences -> Add-ons'
  2. Click the 'Install...' button on the top right and navigate to the zip you downloaded, then click 'Install Add-on'
  3. Tick the checkbox next to 'Import-Export: Import id Tech 3 BSP' to enable the addon
  4. Open the addons properties with the arrowhead next to the checkbox and set your games basepath

Tb3WVgr.png
This is the default setting when installing the addon. Make sure the basepath is correct for your install.

 

Importing MD3 files:

Once you installed the addon, importing md3 files is as easy as opening the import dialog via the import menu entry and selecting a md3 file.

tob3kOz.png

If you want to skip importing md3 tags, you can untick the "Import Tags" checkbox on the right side of the import window. On default, the addon will merge all objects in a md3 file into one blender object. You can change that behaviour when you change the preset to "Objects".

 

SZJK6ET.png

The addon will look for valid shaders and textures for the imported md3. The addon will also add some control elements to the UI under the Q3 Shaders tab on the right side of the viewport to manipulate the lighting preview. If you want to use the model in a rendering, you can just select your models and hit the "Reload Cycles Shaders" button to get a shader without fixed lighting values.

 

Exporting MD3 files:

szjT7gu.png

Just open the export dialog via the menu. You can choose to only export the selected blender objects, or all meshes in the scene. The local space coordinates will export all models as if they are moved to the origin. Setting the start and end frame to different frames will result in exported vertex animations. The surfaces option will change the way the addon will export the model. If you choose the "From Materials" setting, the addon will create obejcts based on the used materials. You can use this with multimaterial blender objects like shown above. If you choose to export "From objects" you need to make sure your blender objects only have a single material. The addon won't split your model automatically then.

Material names are based on the blender material name. The custom property which was used in older blender addons is not supported anymore and is completely ignored.

 

Let me know if I forgot to explain something.

Langerd, Bad Dancer and biggs like this

User Feedback

Recommended Comments

Matrix

Posted

Whats a vertex animation?

SomaZ

Posted

On 6/4/2024 at 5:40 AM, Matrix said:

Whats a vertex animation?

Vertex animations store vertex information per animation frame. Means, you can assign a new position and vertex normal for every vertex at any animation frame. This is pretty nice if you have alot of ununiform movement. This is at the expense of data storage as it has to store alot of data for that.

In the raven jedi knight games though, theres no interpolation between animation frames so those animations are looking somewhat laggy. There are some instances in the game where it was used like the switch animation at the beginning of t1_rail, the bombs you have to defuse and I think the water pumps in vjun. Those aren't good examples to use vertex animations in general though.

Edit: MD3 vertex animations are SP only, in MP you can only force the game to show one of the animation frames

Dont download this

Posted

I don't recommend downloading this addon. At least in 3.1 Blender version. When I tried to enable the addon, hundereds of error pop-ups filled the screen and my entire computer froze. I rebooted the PC and tried to relaunch Blender but it kept not responding. I had to reinstall Blender ENTIRELY because of it. Be careful.

SomaZ

Posted

On 10/24/2024 at 11:12 AM, Dont download this said:

I don't recommend downloading this addon. At least in 3.1 Blender version. When I tried to enable the addon, hundereds of error pop-ups filled the screen and my entire computer froze. I rebooted the PC and tried to relaunch Blender but it kept not responding. I had to reinstall Blender ENTIRELY because of it. Be careful.

Uhm, okay. Never heard of this before. What version of the addon did you try to install? If you have instructions on how to recreate this issue, I could probably fix it, unless its a bug in the 3.1 release that the addon triggers by accident. Anyways, latest release (v0.9.96-pre) also works in more recent versions of blender like 4.2.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...