Update: This code enhancement is now a part of OpenJK. If you are using a build past March 2015, you no longer need this mod to use the extended facial expressions. Go to http://builds.openjk.org/ to obtain the latest release.
This mod consists of custom built binaries (and libraries) that incorporate a facial expressions patch to extend the amount of available Icarus scriptable facial animations in the single-player game of Jedi Knight: Jedi Academy.
It is designed for single-player mods where the developer/author wishes to have more character facial expressions in cutscenes and otherwise scripted sequences than what the base game allows.
Include the custom binary (app) with your single-player mod as a launcher. Provide instructions for your users to place the launcher in the "GameData" folder (above the "base" folder) and use it instead of the default single-player app to launch your mod. You can rename the launcher to whatever you like.
Place the patched DLL file into your single-player mod folder.
The new facial expressions are accessible with the following commands in Icarus:
...and of course there's SET_FACEFROWN and the rest.
You can also combine any SET_FACE... animation with either of these SET_ANIM_BOTH head animations in Icarus for more variety and expression:
And use the character looking down with a solemn face for show of sorrow.
This mod was built using the OpenJK source: https://github.com/JACoders/OpenJK/
Special thanks to Asgarath83 and Eezstreet for their help.
THIS FILE IS NOT MADE, DISTRIBUTED, OR SUPPORTED BY ACTIVISION, RAVEN SOFTWARE, OR LUCASARTS ENTERTAINMENT COMPANY LLC. ELEMENTS™ & © LUCASARTS ENTERTAINMENT COMPANY, LLC AND/OR ITS LICENSORS.