From 17ace0cb4ef65bda17dd36630da18dedaa8797b5 Mon Sep 17 00:00:00 2001 From: yum Date: Sun, 23 Oct 2022 19:48:34 -0700 Subject: Rewrite FX and animation generators * Fix bug where facial animations cause already-written letters to change (!!!) * Add libtastt.py to hold abstractions layered over libunity * Fix * libunity: Fix bug where integer equality state transition conditions ignored the threshold * libunity: Support placing animator states at different positions --- generate.sh | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'generate.sh') diff --git a/generate.sh b/generate.sh index e1a718c..923e3bb 100644 --- a/generate.sh +++ b/generate.sh @@ -6,28 +6,11 @@ set -o xtrace echo 'Generating animations' -./generate_animations.sh - -set +o xtrace -echo 'Tab into unity and wait for it to import animations, then press enter.' -echo -echo 'This is necessary because the FX layer will reference animations by ' -echo 'their Unity GUID, which is generated during import.' -set -o xtrace -read -r line - -set +o xtrace -echo 'Now that animations have been generated, close Unity again.' -echo 'Unity can only really handle importing the generated FX layer at startup.' -echo 'If it reimports it at runtime, it hangs for a long time. No idea why!' -echo -echo 'Press enter once Unity is closed again.' -set -o xtrace -read -r line +./libtastt.py gen_anims echo 'Generating FX layer' -./generate_fx.py > TaSTT_fx.controller +./libtastt.py gen_fx > TaSTT_fx.controller echo 'Generating parameters' -- cgit v1.2.3