Supreme Commander FA Modding - Coding Rotator Animations

9 months ago
83

This was briefly covered in my 3D modelling video (https://youtu.be/dZyEMWtGAiI) but it was meant as a quick demo of what's possible, not how to do it. This expands on it with a little more details. I tried to keep it simple so even non-programmers can follow along.

Here I've created a unit with different animations which wouldn't work with a simple anim file. It's a flying unit with blades that rotate at different speeds based on height and engines which rotate to simulate forward thrust. I tried doing left and right animations but couldn't figure it out.

All animations are coded in LUA. No animation files are used. I'm using 3DS Max r9 from 2006, not Blender.

Links:
- n/a

Assets
- All examples and mod info:
-- https://drive.google.com/file/d/139fYD7g9oXxAdZ3JHIP5tIGRhmytoxSE

Chapters:
00:00 (1)Intro to orientations and the test model
04:55 Setting up folders for test (skippable)
07:09 Explaining test unit and debug commands
10:55 (2)Simple blade rotations
15:36 (3)Blades gradually speed up
17:03 (4)Blade speed based on height
28:58 (5)Engines rotate for forward thrust
35:43 (6)Better thrust engines
39:05 Things I couldn't do, wrapping up

Loading comments...