Animated Flags (FS9).

Discussion, tutorials,hints and tips relating to designing military ai aircraft.
Post Reply
mins
First Lieutenant
First Lieutenant
Posts: 180
Joined: 21 Mar 2008, 04:54
Version: FS9

Animated Flags (FS9).

Post by mins » 02 Oct 2019, 06:15

Hello.

I know that great Developers are building great airplanes(FS9) with FSDS.

I'm interested in FS9 adding an animation flag and think the process will be similar.

I'm waiting for the Developer's to help me.

Many thanks.
Attachments
15-2.png
8.jpg

User avatar
John Young
MAIW Developer
MAIW Developer
Posts: 2498
Joined: 12 Jul 2008, 15:15

Re: Animated Flags (FS9).

Post by John Young » 02 Oct 2019, 14:25

Hi Mins,

I think this methodology should work for the second scenario:

Trailed flag below the aircraft:

Animate the flag as you would for a "remove before flight" ribbon, ie oscillating movements over 100 frames or 200 frames. Call the part "tick18_trailed_flag".

Link this part to a small hidden cube with the part name "Viz_trailed_flag"

Use this xml code to switch the flag on or off according to the aircraft radio altitude (in this case between 200ft and 1000ft, but amend to whatever you want):

<part>
<name>Viz_trailed_flag</name>
<visible_in_range>
<parameter>
<code>
200 1000 (A:RADIO HEIGHT, feet) rng 100 *
</code>
</parameter>
<minvalue>1</minvalue>
</visible_in_range>
</part>

Flag flown from the cockpit


I don't have any code for the first scenario (Flag flown from the cockpit) , but I think Steve or Kevin could post a block very easily, using the two visibility conditions:

"Nav lights on"
"Strobe lights off"

This should enable the flag to be flown between 15 minutes before departure until reaching the runway hold, when the strobes come on.

Animate the flag as for the first example and call it "tick18_cockpit_flag"

Link this part to a small hidden cube called "Viz_cockpit_flag" which should match the name in the new xml block as soon as we have it.

Hope that helps,

John

mins
First Lieutenant
First Lieutenant
Posts: 180
Joined: 21 Mar 2008, 04:54
Version: FS9

Re: Animated Flags (FS9).

Post by mins » 02 Oct 2019, 15:18

Dear John.

Thank you for your kind accurate and quick reply.

Of course I want to know xml code, too.

But basically, I'm curious to know how to make an animate flag like the link below.



Thank you again for always giving me a lot of help.

User avatar
John Young
MAIW Developer
MAIW Developer
Posts: 2498
Joined: 12 Jul 2008, 15:15

Re: Animated Flags (FS9).

Post by John Young » 02 Oct 2019, 16:39

The flag in 3DMax seems use "Garment Maker" to create hundreds of points on the flag and "Wind Forces" to produce a very complex animation. Nether of those facilities are available in Gmax and I wouldn't expect them to be in FSDS. Whether the simulator can respond to the animation of individual nodes is beyond me Mins. It's not something I would ever want to consider doing myself.

John

mins
First Lieutenant
First Lieutenant
Posts: 180
Joined: 21 Mar 2008, 04:54
Version: FS9

Re: Animated Flags (FS9).

Post by mins » 04 Oct 2019, 06:06

Dear John.

You have given me a lot of help.

Below is the best I can do.

Thank you.
Attachments
-2019-oct-4-015.jpg
1.gif
1.gif (252.87 KiB) Viewed 141 times

User avatar
John Young
MAIW Developer
MAIW Developer
Posts: 2498
Joined: 12 Jul 2008, 15:15

Re: Animated Flags (FS9).

Post by John Young » 04 Oct 2019, 06:33

That's a good job Mins. Designing is often a compromise because of limitations in the sim, but that works very well.

John

User avatar
gsnde
MAIW Staff
MAIW Staff
Posts: 3433
Joined: 05 Apr 2007, 08:13
Version: P3D
Location: South-West Germany
Contact:

Re: Animated Flags (FS9).

Post by gsnde » 04 Oct 2019, 09:08

Mins, that looks really good!!

From mobile hence short

Cheers,
Martin
________________________________________
ImageThe Owl's Nest * Military Aircraft Reference * ICAO Reference * Distance Calculator * MAIW, Military AI & UKMil Reference

Post Reply