Sign in to follow this  
arno

CAT beta released

Recommended Posts

Hi all,First, no I have not started making some kind of zoo :D. I have finished the first beta version of my new Conditional Animation Tool or CAT for short.What can this tool do for you? It provides an easy way to make the kind of changes to your GMax source file that I describe in my Frequency Controlled Animation tutorial. So you don't need to spend hours tweaking it, it will only take you a few mouse clicks now.Besides that it also contains some new things I have "discovered" after I had finished the tutorial.You can for example display different animations depending on the value of a variable (for example if you make a gate you could display a different animation depending on the height of the aircraft). And each of these animations will still be triggered by another variable as before.Another option is to only display the animation when another variable has a certain value. In the gate example you could use this to only display the animation when you are at a certain range from the gate (to prevent all gates on the entire airport from moving at the same time).For more information and downloading the beta version please take a look here:http://home.wanadoo.nl/arno.gerretsen/cat.htmlAnd please remember it is still a beta version, so please report back all problems, suggestions, questions, etc :).

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

I downloaded it this morning, and it looks very interesting. Maybe I'm a tad dense (which is likely) but I'm still a little unsure as to how to use it to make my hangar doors open when triggered by a Nav2 frequency. My main challenge is that I've got 10 separate animations that have to run (a pair of 5-part folding doors), all of which are triggered by a frequency selection. Am I correct in assuming that this tool will not work for so many animations? I'm going to try it out with a simple one-animation project this morning and let you know how it turns out. Thanks for doing this!thanks,

Share this post


Link to post
Share on other sites

Yes, it should also work with more then one animation in your source file (I haven't tested it with 10, but with 2 it works fine). So I assume you should be able to process your hangar very fast with it :).If you only want to trigger for the frequency you don't need all options of the tool (not the animation condition and secondary condition), I hope the manual is clear enough there?

Share this post


Link to post
Share on other sites

Hi Arno thank's for this tool it will save me from having to hand code simple animations like hanger doors etc by not having to tweek the source by hand. Gee I might even try to make some simple ramp personel. Dan

Share this post


Link to post
Share on other sites

Okay, I officially don't get it. Here's what I'm trying to do: I've got a hangar with folding doors. There are two different asm files right now, one with the doors animating open, one with them animating shut. From reading the documentation, it looks as though I'm not trying to do any secondary condition checking, since all I want is for the doors to open when a certain Nav2 frequency is tuned to a given frequency and close when it's tuned to another frequency. There doesn't seem to be a way of entering what asm files I want the tool to use though unless I use the secondary conditions box. Can you give me a "for instance" on how a theoretical anim like this would be processed using CAT?thanks,

Share this post


Link to post
Share on other sites

One important tip: add letter "h" to the variable. For exaple 33Bh, 07C2h etc or You will encounter compilation problems.

Share this post


Link to post
Share on other sites

Hi Arno, I'm having a small problem. I assigned a freq. controller to my hangar door, but in FS09 the animation loops as it usually does. Is there a fix for it? Would You like to see the source files?

Share this post


Link to post
Share on other sites

You are correct about writing 07C2h, but did you also write the h behind the frequency? Otherwise it will not work. So if you want to check the frequency 112.00, you need to write 1200h.If that does not fix it, please send me the files so I can have a look.

Share this post


Link to post
Share on other sites

Hi Bill,You only need to enter the file with the opening animation. That was is automatically reversed and used for the closing when you deselect the frequency again.So what you would do is enter the trigger information in the appropriate boxes, load your file with the opening animation in the first file box and then save the new source.

Share this post


Link to post
Share on other sites

OK, I had a look at your files and it is the user variable. usrvr3 seems to be giving the trouble. So don't use that one. I will remove it from the list in the next version.

Share this post


Link to post
Share on other sites

Thanks for the reply, Arno. It sounds like it's even easier than I was making it. However, I'm trying a simple test animation of two cubes moving away from one another on setting 112.0 on Nav2 and although it's compiling fine in CAT, it's throwing errors when compiling in BGLC. I've attached screenies of what my CAT screen looks like before I create the new file, the error that's thrown by BGLC and the source asm files for before conversion (animTest.asm) and after (animtest_cat.asm). Any idea what's happening?thanks,

Share this post


Link to post
Share on other sites

Thanks, found a little bug in the code. I will upload the fixed version later this evening.

Share this post


Link to post
Share on other sites

Great, I'm glad it wasn't just me. Looking forward to the next version! By the way, just a thought but would it be possible to have a combo box in the "Variable" field under "Animation Trigger" that lists the common variables and their corresponding funtion? It'd make the process of selecting a variable that much faster. Just a thought.thanks,

Share this post


Link to post
Share on other sites

You are already the second person with that thought, so I can not just ignore it :D.I am thinking about it, but I want to prevent that you can only use the hardcoded variables, as that would limit the designer.

Share this post


Link to post
Share on other sites

I'm not sure what language you're using to program the tool (VB?) but I know that there is an interface element that allows for a combo box that can also be typed into like a text field. Maybe that's an option, I don't know. I never really liked that concept from a strictly UI standpoint, but this is one time it might be acceptable. Either that, or two options that must be chosen between: either a combo box with pre-filled variables, or a text field into which the user could type their own variable. You'd have to activate the method you'd be using via a radio button. It's a little clunky, but might work fine as an alternative. Sorry to make more work for you!thanks,

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this