summaryrefslogtreecommitdiffstats
path: root/generate.sh
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2022-10-23 19:48:34 -0700
committeryum <yum.food.vr@gmail.com>2022-10-23 19:48:34 -0700
commit17ace0cb4ef65bda17dd36630da18dedaa8797b5 (patch)
treee3e1bdfe333044a0a84dc80010089293c90bf3f3 /generate.sh
parent0add404dee8124ec1d710416e5827ccef04bc00c (diff)
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
Diffstat (limited to 'generate.sh')
-rw-r--r--generate.sh21
1 files changed, 2 insertions, 19 deletions
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'