πŸ›‘οΈ TA Archive

Mumbo (TAWF003) Render Control

Rapid Fire Laser Tank β€” from the unit’s FBI.

Live preview (JavaScript)

The loop is played live in your browser from the validated loop table (the same data the reference render below was made from); the badge on the player is its self-test (seam + motion probes). A pre-rendered GIF fallback is embedded for no-JS viewers.

COB-exact: timeline 1:1 from tawf003.cob (aim/fire (COB VM), disassembled with _cob_dis.py). Fire/hit/death/smoke scripts are engine-driven or firing-only and not part of this loop.

COB timeline (TAWF003.COB)

  • 0.00–0.40 s β€” Rest pose (3DO zero point)
  • 0.40–0.47 s β€” AimPrimary(8192, 3641): +45Β° yaw / +20Β° pitch at the COB aim speeds (concurrent)
  • 0.47–1.12 s β€” 4 shots at the TAWF103_weapon reloadtime (162 ms) β€” barrels/flares per the compiled script (gun1/gun2/gun3/gun4)
  • 4.19–4.19 s β€” AimPrimary(0, 0): back to the rest aim (the aim calls the engine sends next; RestoreAfterDelay pacing is engine-driven)
  • 4.19–4.79 s β€” rest again β€” loop restarts seam-clean (frame N = frame 0, pixel-verified)

Every stage duration equals its COB sleep exactly; values are raw COB units (turns: BAM 65536 = 360Β°, moves: elmo Γ— 163840). Renderer conversions follow the proven family conventions (_cob_anim.py).

Engine-side hooks & source notes

  • Drive wheels β€” StartMoving spins all six wheels at the literal COB rate 27305 BAM/s (150Β°/s), StopMoving stops them. Literal means literal: the script operand decides, the preview never calibrates these rates.
  • Four-barrel gatling rotation β€” FirePrimary cycles gun1 β†’ gun4 β†’ gun2 β†’ gun3 through its compiled rotation counter (static 1): each call fires the NEXT barrel β€” instant recoil (move-now βˆ’4 elmo) + a 120 ms flare window on its matching flare piece + the barrel slides home at 13500Β°/s. The rotation is the script's own state machine, replayed verbatim.
  • QueryPrimary β€” returns the CURRENT barrel's flare as the muzzle anchor (rotation-state out-parameter, store-arg 0; confirmed against QueryWeaponPiece in the TotalA.exe decompilation). AimFromPrimary: aim pivot = turret (piece 4).
  • SetMaxReloadTime(a) β€” the script stores a*2 as the restore delay (source-verified: the engine passes a = the longest weapon reload in ms). Create seeds a literal 3000 ms first; the loop's close stands in for the engine-paced restore.
  • HitByWeapon / SmokeUnit β€” engine callbacks (hook registry: 2 args from weapon code) and the engine smoke loop; deliberately outside the loop.