.DNM to Ysflight plane

YSFlight addon development, questions, tutorials, & more!
Post Reply
elpapi09
Newbie
Newbie
Posts: 18
Joined: Mon Mar 21, 2011 10:33 pm
Favorite Aircraft: A320, 767,
Location: New York

.DNM to Ysflight plane

Post by elpapi09 »

Hi, im having some trouble with blender, because i want to know how to turn the plane, just edited into a Ysflight flyable plane?
User avatar
Shiny Rice
57th Polyvalent Sq
57th Polyvalent Sq
Posts: 1388
Joined: Wed Apr 27, 2011 3:28 pm
Favorite Aircraft: Su-35
Has thanked: 28 times
Been thanked: 43 times

Re: .DNM to Ysflight plane

Post by Shiny Rice »

Don't understand your question.
CO of the 57th Cloud Rippers
"We rip those clouds apart so you can see the sun!"
Now 100% more decomissioned!
elpapi09
Newbie
Newbie
Posts: 18
Joined: Mon Mar 21, 2011 10:33 pm
Favorite Aircraft: A320, 767,
Location: New York

Re: .DNM to Ysflight plane

Post by elpapi09 »

Ok, sorry... but you see when you paint a plane with blender right, and you are done with it, and you want to fly it right, i will like to know how can i turn it from that file in blender to a flyable plane in Ysflight?
User avatar
Shiny Rice
57th Polyvalent Sq
57th Polyvalent Sq
Posts: 1388
Joined: Wed Apr 27, 2011 3:28 pm
Favorite Aircraft: Su-35
Has thanked: 28 times
Been thanked: 43 times

Re: .DNM to Ysflight plane

Post by Shiny Rice »

Oh, then if you have Vincent's scripts, click File-Export-Dynamodel. If you haven't, here's the link for the scripts: http://www.yspilots.com/yspf/viewtopic. ... 68a1e644ea
CO of the 57th Cloud Rippers
"We rip those clouds apart so you can see the sun!"
Now 100% more decomissioned!
elpapi09
Newbie
Newbie
Posts: 18
Joined: Mon Mar 21, 2011 10:33 pm
Favorite Aircraft: A320, 767,
Location: New York

Re: .DNM to Ysflight plane

Post by elpapi09 »

I have the scripts, and thankss
User avatar
Shiny Rice
57th Polyvalent Sq
57th Polyvalent Sq
Posts: 1388
Joined: Wed Apr 27, 2011 3:28 pm
Favorite Aircraft: Su-35
Has thanked: 28 times
Been thanked: 43 times

Re: .DNM to Ysflight plane

Post by Shiny Rice »

No problem buddy.
CO of the 57th Cloud Rippers
"We rip those clouds apart so you can see the sun!"
Now 100% more decomissioned!
elpapi09
Newbie
Newbie
Posts: 18
Joined: Mon Mar 21, 2011 10:33 pm
Favorite Aircraft: A320, 767,
Location: New York

Re: .DNM to Ysflight plane

Post by elpapi09 »

Bet, now i have another problem
Shutter

Re: .DNM to Ysflight plane

Post by Shutter »

Right, okay. You need a .dat, a .lst, a dnm (which is the plane you made) and a collision file. All are explained in reconfighters tutorial, I'm pretty sure. Look in the tut section, I'd wager it's there and if it isn't I'll remedy that now.
User avatar
Shiny Rice
57th Polyvalent Sq
57th Polyvalent Sq
Posts: 1388
Joined: Wed Apr 27, 2011 3:28 pm
Favorite Aircraft: Su-35
Has thanked: 28 times
Been thanked: 43 times

Re: .DNM to Ysflight plane

Post by Shiny Rice »

I have never understood the coll file. You can always get a .dat from other planes (the most used one is the stock F-16) for a quick test to know how the plane looks in YS. You can also copy a .lst, but make sure that you write in there you files' names.
CO of the 57th Cloud Rippers
"We rip those clouds apart so you can see the sun!"
Now 100% more decomissioned!
Shutter

Re: .DNM to Ysflight plane

Post by Shutter »

The collision is the extremeties of your model in srf form. It tells the game what part that gets hit that makes you crash. If you open a few coll files you'll get the idea.
elpapi09
Newbie
Newbie
Posts: 18
Joined: Mon Mar 21, 2011 10:33 pm
Favorite Aircraft: A320, 767,
Location: New York

Re: .DNM to Ysflight plane

Post by elpapi09 »

Ohh i see this, thnaks you!
Shutter

Re: .DNM to Ysflight plane

Post by Shutter »

no problem.
elpapi09
Newbie
Newbie
Posts: 18
Joined: Mon Mar 21, 2011 10:33 pm
Favorite Aircraft: A320, 767,
Location: New York

Re: .DNM to Ysflight plane

Post by elpapi09 »

Bet :D
User avatar
Dragon029
Veteran
Veteran
Posts: 601
Joined: Sun Feb 06, 2011 6:09 am
Favorite Aircraft: F-35A
Location: Australia
Has thanked: 42 times
Been thanked: 85 times
Contact:

Re: .DNM to Ysflight plane

Post by Dragon029 »

Also make sure you make your collision file as low-detail as you can - some planes just have a few triangles for their collision model - this is because the more edges and shapes you have on your collision file, the more calculations YS has to do when you're next to something you can collide with.

If you don't have a super-low detail collision file, carrier landings become hell.
Per Ardua Ad Astra
>>> Dragon Addon Pack <<<
(PAK-FA, F/A-52, F/A-36, MQ-21)
User avatar
Taskforce 58
Veteran
Veteran
Posts: 682
Joined: Thu Feb 10, 2011 9:06 pm
Favorite Aircraft: F-104, Tu-95, Piaggio Avanti
Location: YYZ VOR 062 radial, 17.5 DME
Has thanked: 53 times
Been thanked: 236 times
Contact:

Re: .DNM to Ysflight plane

Post by Taskforce 58 »

Speaking of collision file, also pay attention to the HTRADIUS setting in the DAT. This is maximum distance(*) from which YSflight will attempt collision detection. Imagine a sphere centred around your aircraft (centre at 0,0,0) with a radius equals to HTRADIUS. Make sure this sphere is large enough to enclose the entire model, but not so large that YSflight will be performing unnecessary calculations for collision detection when two objects are far enough apart that collision is impossible.

(*) YSflight will not perform collision detection if the distance between object A and object B is greater than the sum of their HTRADIUS.
Image
User avatar
Martin-Dutchie
Contributor
Contributor
Posts: 486
Joined: Sun Feb 06, 2011 5:13 pm
Favorite Aircraft: F-20A Tigershark
Location: Somewhere between the dykes
Has thanked: 56 times
Been thanked: 47 times

Re: .DNM to Ysflight plane

Post by Martin-Dutchie »

The HTRADIUS has also an effect on the preview. The larger the HTRADIUS, the further the camera is zoomed out.
Image
Grigor
Contributor
Contributor
Posts: 201
Joined: Wed Mar 16, 2011 7:57 am
Favorite Aircraft: Ball-Bartoe Jetwing
OS: Windows XP
Has thanked: 58 times
Been thanked: 122 times

Re: .DNM to Ysflight plane

Post by Grigor »

Dragon029 said: If you don't have a super-low detail collision file, carrier landings become hell.

Why EXACTLY is this so?
I only ask because most of my planes, when launched from a carrier as a WINGMAN, tend to blow up from too steep an angle of attack. Or maybe that's because they're all thrust-vectored with extreme handling characteristics. Ground launched wingmen don't have this problem as often.

Also: could this be why, when formation flying and when my wingmen get too close, the frame rate slows RIGHT down? This is due to an over-detailed collision .srf, yeah?
On the other hand, you don't want your coll.srf too crude, because then the shadow doesn't look right at certain times.
Any thoughts on all this?
User avatar
Taskforce 58
Veteran
Veteran
Posts: 682
Joined: Thu Feb 10, 2011 9:06 pm
Favorite Aircraft: F-104, Tu-95, Piaggio Avanti
Location: YYZ VOR 062 radial, 17.5 DME
Has thanked: 53 times
Been thanked: 236 times
Contact:

Re: .DNM to Ysflight plane

Post by Taskforce 58 »

Grigor wrote:Also: could this be why, when formation flying and when my wingmen get too close, the frame rate slows RIGHT down? This is due to an over-detailed collision .srf, yeah?
Correct.
Grigor wrote:On the other hand, you don't want your coll.srf too crude, because then the shadow doesn't look right at certain times.
Any thoughts on all this?
Not much you can do about it. YS use the full model to generate the shadow when the view point is close to the aircraft, then switches to using the collision file to generate the shadow when the view point is far away.
Image
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 13 guests