Jump to content
Sign in to follow this  
Guest christian

I know what the answer is going to be,... but here goes

Recommended Posts

Guest

Sorry Arno but what is the last hex value for(0c74h?). And even more important does it have anything to do with my flag animation. Sorryfor all the questions but I am just a dumb pilot and wanabe modeler and I need to be told what each value controlssets since my flag animation is very different from rotating an object around a centralaxis and I have a feeling a lot more hand coding of the animation will be needed. Dan

Share this post


Link to post
Share on other sites

C74 is the variable that contains the wind direction, so this command rotates the entire object into the wind direction.By the way, I haven't tested the command Christian posted yet, but that seems easier to use to me. I just tried to translate the SCASM ones and this new command seems better.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites
Guest christian

Hmm, I was actually just guessing and haven't seen your answer before I posted. My command made sense to me at the time, but I dunno if it really can read the wind direction. Also, it should be 0c74h of course! There is an include file that translates all the hex variables to text. Makes it easier to read BGLC code (eg there should be something like 'wind_dir' which you can use)...Cheers, Christian

Share this post


Link to post
Share on other sites

Ok, just did a test. Sorry Christian, the command doesn't work :). The BGL_TRANSFORM_MAT command only want to take floating point values as argument, no variables.Here is the code again, but this time with the variable replaced with the more understandable name:[tt]POINT_VICALL OBJECT_0_BEGIN, 0, 0, 0, 0, 0, 0, 0, 0, global_winds_surface_directionBGL_RETURNdetail label word[/tt]Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites
Guest

There's a checkbox called "Check if you DO NOT wish to use emotion icons in your message". So check that one if you want to avoid such mishaps. :)Dave

Share this post


Link to post
Share on other sites
Guest

Hi Dan,Yes, I just did it, but I really don't know the answer, as mainly, I am not a Gmax expert, so I can't talk of what I don't know.....Thanks,Rafael>Hi Rafael could you take a look at my post to Arno re a >space warp >my animation would include two "morphs" one a melt (to >simulate the flag with no wind so it hangs down close to >it's pole) and then the space warp so that the flag looks >like it's blowing in the wind. >>>> Dan (thanks for takeing the time to answer)

Share this post


Link to post
Share on other sites
Guest

So if I understand you you got the animation into F.S? Dan

Share this post


Link to post
Share on other sites
Guest

Dan,No, not at all, I just don't see how that type of animation could work in FS, if ever can work.Rafael>So if I understand you you got the animation into F.S? >> Dan

Share this post


Link to post
Share on other sites
Guest

Thanks I didn't think it would due to the fact the animations in 2002are only done from the object level and not from the polly level.To bad as it looks way cool in 3DS max!!. Dan

Share this post


Link to post
Share on other sites

Dan, I think you can make it, although it will take some editing of the source. The exporter can not handle the animation as made in 3DS, but when you make different point tabels it should be possible to get the animation.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...