Randr, here you go. I took melons CFTBL 1.01 and modified the holo routines to allow you to run other animations (using images frame by frame). Might have to tweak the script more but this will get you going. Let me know if you need anything added
Script Usage:
Animation "a", 20 'will cycle through frames a1 through a20
Animation "movie", 40 ' will cycle through frames movie1 through movie40
Note: you can not use "ch" name as that is reserved for the original creature hologram name
You can test any animation from the debug window by opening the debug window, click on > then type Animation "a", 20, hit enter and then click on the playfield to see it run
Just open the current table script and replace the current CreatureMotorMirror and holotimer_timer subroutines with this code
Sub CreatureMotorMirror(enabled)
if enabled then
Playsound "Motor",-1
HPos=0
Hname = "ch"
posinc = 1
holotimer.enabled=1
else
Stopsound "Motor"
HPos=0
posinc = 1
holotimer.enabled=0
end if
End Sub
Dim Hname, Hsteps
Hname = "ch"
Sub holotimer_timer()
If Hname = "ch" Then 'Original Creature animation
HPos=HPos+posinc
CreatureAnim.alpha=LampSt
If Hpos<1 then Hpos=1
If Hpos>29 then hpos=29
CreatureAnim.image = "ch"& Hpos
CreatureAnim.triggerSingleUpdate
if HPos =29 then posinc = -1
if HPos =1 then posinc = 1
Else 'Other animations
HPos=HPos+posinc
CreatureAnim.alpha=1
If Hpos<1 then Hpos=1
If Hpos>Hsteps then hpos=Hsteps
CreatureAnim.image = Hname& Hpos
CreatureAnim.triggerSingleUpdate
if HPos >= Hsteps then 'Stop animation and default back to Original creature image
HPos = 0
holotimer.enabled = 0
CreatureAnim.image = "ch0"
CreatureAnim.alpha = 0
End if
end if
end Sub
Sub Animation(name, numframes)
Playsound "Motor",-1
HPos=0
HSteps = numframes
Hname = name
posinc = 1
holotimer.enabled=1
End Sub