Forged Alliance Forever Forged Alliance Forever Forums 2016-10-17T21:19:12+02:00 /feed.php?f=41&t=13319 2016-10-17T21:19:12+02:00 2016-10-17T21:19:12+02:00 /viewtopic.php?t=13319&p=137353#p137353 <![CDATA[Re: Activate Animations]]> AnimationPermOpen is the effect I was going for, but I had no control over the animation speed (way too fast). Using the megalith method had it unfold nicely, but then fold back up (ugh)
I ended up using an altered version of the Aeon strat launcher and now it works beautifully :)

Statistics: Posted by Dudekahedron — 17 Oct 2016, 21:19


]]>
2016-10-17T21:00:18+02:00 2016-10-17T21:00:18+02:00 /viewtopic.php?t=13319&p=137350#p137350 <![CDATA[Re: Activate Animations]]> that way you dont need to have it in script to have it deploy.
you may need to have a specific unit class though, so theres a chance it wont work.

for an example we have the aeon sam bp, with an empty unit script:
AnimationPermOpen = '/units/UAB2304/UAB2304_Aopen.sca',

Statistics: Posted by Exotic_Retard — 17 Oct 2016, 21:00


]]>
2016-10-17T19:35:46+02:00 2016-10-17T19:35:46+02:00 /viewtopic.php?t=13319&p=137341#p137341 <![CDATA[Re: Activate Animations]]>

These are the guys who made it:

Author: Burnie222
Models: OrangeKnight, Brandon
Sounds: adamstrange
Coding: Domino

I just asked Burnie222 for permission to update and maintenance the mod, and he agreed.
While reworking the mod i fixed many things. Changelog is over 1300 lines long :)

Can't wait to see your first seraphim units hehe

Statistics: Posted by Uveso — 17 Oct 2016, 19:35


]]>
2016-10-17T17:35:10+02:00 2016-10-17T17:35:10+02:00 /viewtopic.php?t=13319&p=137338#p137338 <![CDATA[Re: Activate Animations]]>
You made total mayhem :o :!:
I'd love to be a part of it, I do have ideas for seraphim stuff and I intend to start working on them once I get my scripting abilities up to par - and to do that, I'm right now making a mod pack to increase faction diversity. I'll post when I get a decent enough unit list :D

Statistics: Posted by Dudekahedron — 17 Oct 2016, 17:35


]]>
2016-10-17T04:45:01+02:00 2016-10-17T04:45:01+02:00 /viewtopic.php?t=13319&p=137322#p137322 <![CDATA[Re: Activate Animations]]>

Btw, i like the unit. Looks great!
If you are building some Seraphim units like pointdefense or mobile units, tell me.
I could use some units for Total Mayhem, to make Seraphim more attractive :)

Statistics: Posted by Uveso — 17 Oct 2016, 04:45


]]>
2016-10-17T04:32:02+02:00 2016-10-17T04:32:02+02:00 /viewtopic.php?t=13319&p=137321#p137321 <![CDATA[Re: Activate Animations]]> I'm embarassed.
I forgot:
Code:
'/mods/'

Thanks for your help :oops:

Statistics: Posted by Dudekahedron — 17 Oct 2016, 04:32


]]>
2016-10-17T04:26:41+02:00 2016-10-17T04:26:41+02:00 /viewtopic.php?t=13319&p=137320#p137320 <![CDATA[Re: Activate Animations]]>
Maybe a wrong entry inside the blueprint ?
You are calling the animation from "Display.AnimationActivate"

Is there a line like this inside the display array with full mod folder path ?

Code:
AnimationActivate = '/mods/YOURMODNAME/units/xxx0000/xxx0000_AActivate.sca',

Statistics: Posted by Uveso — 17 Oct 2016, 04:26


]]>
2016-10-17T02:53:57+02:00 2016-10-17T02:53:57+02:00 /viewtopic.php?t=13319&p=137319#p137319 <![CDATA[Activate Animations]]> I'm having issues with the scripting of an activation animation (.sca already made):

Spoiler: show
While being built:
Image

Then I want it to unfold to this:
Image


I'm trying to take from the megalith code, but no animation occurs, and I don't get an error ?
Code:
    OnStartBeingBuilt = function(self, builder, layer)
        CStructureUnit.OnStartBeingBuilt(self, builder, layer)
        if not self.AnimationManipulator then
            self.AnimationManipulator = CreateAnimator(self)
            self.Trash:Add(self.AnimationManipulator)
        end
        self.AnimationManipulator:PlayAnim(self:GetBlueprint().Display.AnimationActivate, false):SetRate(0)
    end,
   
    OnStopBeingBuilt = function(self,builder,layer)
        CStructureUnit.OnStopBeingBuilt(self,builder,layer)
        if self.AnimationManipulator then
            self:SetUnSelectable(true)
            self.AnimationManipulator:SetRate(1)
           
            self:ForkThread(function()
                WaitSeconds(self.AnimationManipulator:GetAnimationDuration()*self.AnimationManipulator:GetRate())
                self:SetUnSelectable(false)
                self.AnimationManipulator:Destroy()
            end)
        end
    end,


Please help!

Statistics: Posted by Dudekahedron — 17 Oct 2016, 02:53


]]>