Decaff's Garage

YSFlight addon development, questions, tutorials, & more!
User avatar
decaff_42
Legend
Legend
Posts: 3299
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX 10.11.3
Has thanked: 384 times
Been thanked: 1000 times
Contact:

Re: Decaff's Garage

Post by decaff_42 » Sun Aug 28, 2016 9:53 pm

Check out my website YSDecaff for all my tutorials and addon releases.

Feel free to ask me a question! I'll try to answer it as well as I can or recommend a more knowledgeable member if necessary.

User avatar
Swift
Veteran
Veteran
Posts: 694
Joined: Fri Jan 09, 2015 7:51 pm
Favorite Aircraft: Mig-41 Firefly, Mig-21, F/A-53A Foxtrot
Location: The Mün
OS: Windows 7 Ultimate
Has thanked: 69 times
Been thanked: 237 times
Contact:

Re: Decaff's Garage

Post by Swift » Mon Aug 29, 2016 12:23 am

oh my goodness those are gorgeous.
Image
Товарищ волк знает, кого кушать. Кушает, и никого не слушает, и слушать, судя по всему, не собирается.
Comrade wolf knows who to eat. He eats without listening to anybody and it seems he is not ever going to listen.

-Vladimir Putin

User avatar
decaff_42
Legend
Legend
Posts: 3299
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX 10.11.3
Has thanked: 384 times
Been thanked: 1000 times
Contact:

Re: Decaff's Garage

Post by decaff_42 » Mon Aug 29, 2016 2:35 am

A brief write up about how I found the weights of some weapons in YSFlight.
http://www.mediafire.com/download/2f2s8 ... 160221.pdf
Check out my website YSDecaff for all my tutorials and addon releases.

Feel free to ask me a question! I'll try to answer it as well as I can or recommend a more knowledgeable member if necessary.

User avatar
iqmal_97
Senior Veteran
Senior Veteran
Posts: 1735
Joined: Fri Mar 11, 2011 8:47 am
Favorite Aircraft: Sukhoi Su-30MKM
Location: Somewhere in Asia
OS: Windows 10
Has thanked: 707 times
Been thanked: 179 times
Contact:

Re: Decaff's Garage

Post by iqmal_97 » Mon Aug 29, 2016 6:47 am

Read the whole thing. Just want to say thank you for taking the time in making this. Even though the stuff results that came out wasn't unexpected or that surprising, it it certainly helps me in nailing down the limits of the 'simulation' part of YS is. Again, I appreciate it.

Also seeing the AIM-9X launch video was okay i guess...

jk I'm hyped af
Image
[N007HA]Nynaiqmal_97 <= My usual online callsign
Mein Imgur gallery. Feel free to use any of my screenshots (Crediting me is optional, but greatly appreciated)

User avatar
decaff_42
Legend
Legend
Posts: 3299
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX 10.11.3
Has thanked: 384 times
Been thanked: 1000 times
Contact:

Re: Decaff's Garage

Post by decaff_42 » Sat Sep 03, 2016 12:48 am

Progress on the F-35 goes well. I got on a bit of a Python tear this evening and decided to pick up my SRF to FLD converter again. I've been learning about classes in Python, which have been really handy for this project.

Image

Although this doesn't look like much, this is a big accomplishment for me. This is the first time I've gotten colors to stack on top of each other. Furthermore, the black is made up of two faces, which had to be placed on the same level as the other. In under 160 lines of code (including comments, readability spacing, etc) I can convert any size SRF into an FLD.

My idea with this is that a map maker would open up Blender and create a detailed component of the map that would be hard to do in Scenery Editor. By moving different meshes into vertical layers and then combining them all into a single object and exporting as SRF, the entire thing can be brought into Scenery Editor as an FLD after running through this python script.

This is not a very efficient way to make a full map, as there are 3 extra lines of FLD file for every face compared to what it would have been had it been created in scenery editor.
Check out my website YSDecaff for all my tutorials and addon releases.

Feel free to ask me a question! I'll try to answer it as well as I can or recommend a more knowledgeable member if necessary.

YSFan
Contributor
Contributor
Posts: 178
Joined: Sun Mar 29, 2015 9:04 am
Favorite Aircraft: Airbus A380
OS: Windows 7
Has thanked: 1 time
Been thanked: 15 times

Re: Decaff's Garage

Post by YSFan » Sat Sep 03, 2016 2:18 pm

How is the 747-8?

User avatar
decaff_42
Legend
Legend
Posts: 3299
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX 10.11.3
Has thanked: 384 times
Been thanked: 1000 times
Contact:

Re: Decaff's Garage

Post by decaff_42 » Sat Sep 03, 2016 2:19 pm

YSFan wrote:How is the 747-8?
Please stop asking about this. They will be done when they are done.
Check out my website YSDecaff for all my tutorials and addon releases.

Feel free to ask me a question! I'll try to answer it as well as I can or recommend a more knowledgeable member if necessary.

User avatar
Nodoka Hanamura
Veteran
Veteran
Posts: 892
Joined: Thu Apr 07, 2011 8:01 pm
Favorite Aircraft: Su-24, Mig-29, Su-27, F-18, F-15, ADF-01, Icon A5
Has thanked: 491 times
Been thanked: 258 times

Re: Decaff's Garage

Post by Nodoka Hanamura » Sat Sep 03, 2016 7:46 pm

decaff_42 wrote:
YSFan wrote:How is the 747-8?
Please stop asking about this. They will be done when they are done.
Don't rush things, YSFan. I don't keep bugging Lucas about the MAVA Fleet. I didn't bug Patrick about the Saabs.

Be patient.
Beware the ides of May.

User avatar
Flake
Staff
Staff
Posts: 3932
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Honda CBR600RR. Shit I mean Boeing F/A-18A.
Location: Newcastle, Australia
OS: Windows 10 (x64)
Has thanked: 640 times
Been thanked: 907 times

Re: Decaff's Garage

Post by Flake » Sat Sep 03, 2016 10:16 pm

"Anything I can do to help with the 747-8 release" may have been more tactful. :lol:

Oh well, next time.

User avatar
DuckFeet97LOR
Veteran
Veteran
Posts: 1030
Joined: Fri Dec 16, 2011 12:42 am
Favorite Aircraft: All
Has thanked: 1110 times
Been thanked: 435 times

Re: Decaff's Garage

Post by DuckFeet97LOR » Sun Sep 11, 2016 3:29 pm

Hey Decaff where did you get the navigation lights?
Are they from CHF 777s or yours, and you have them separated?
I would like to use on my little projects.
Thanks in advance. :)
Lucas

User avatar
u2fly
Veteran
Veteran
Posts: 1050
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 535 times
Been thanked: 227 times
Contact:

Re: Decaff's Garage

Post by u2fly » Tue Sep 13, 2016 7:36 pm

decaff_42 wrote:I got on a bit of a Python tear this evening and decided to pick up my SRF to FLD converter again. I've been learning about classes in Python, which have been really handy for this project.
...
My idea with this is that a map maker would open up Blender and create a detailed component of the map that would be hard to do in Scenery Editor. By moving different meshes into vertical layers and then combining them all into a single object and exporting as SRF, the entire thing can be brought into Scenery Editor as an FLD after running through this python script.

This is not a very efficient way to make a full map, as there are 3 extra lines of FLD file for every face compared to what it would have been had it been created in scenery editor.
Awesome! I also try learn Python (now I use 2.x, but try 3.x too) for making more usefull tools for YSFlight.

P.S.: Also, hope to make rewrited Orb server, that use Python and was created before OpenYS.
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost - we stand w/ them in their fight against #Putin's aggression”
http://pic.twitter.com/vkz0gdozVV
- John McCain, U.S. Senator for Arizona, Republican party
(31 DEC 2016)

User avatar
decaff_42
Legend
Legend
Posts: 3299
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX 10.11.3
Has thanked: 384 times
Been thanked: 1000 times
Contact:

Re: Decaff's Garage

Post by decaff_42 » Tue Sep 13, 2016 9:23 pm

Lucas1997 wrote:Hey Decaff where did you get the navigation lights?
Are they from CHF 777s or yours, and you have them separated?
I would like to use on my little projects.
Thanks in advance. :)
They are from CHF with a bit of reworking along the way.

@u2fly,
It was an interesting process. It also works in Python 2 and 3, although written principally for python 3
Check out my website YSDecaff for all my tutorials and addon releases.

Feel free to ask me a question! I'll try to answer it as well as I can or recommend a more knowledgeable member if necessary.

User avatar
Flake
Staff
Staff
Posts: 3932
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Honda CBR600RR. Shit I mean Boeing F/A-18A.
Location: Newcastle, Australia
OS: Windows 10 (x64)
Has thanked: 640 times
Been thanked: 907 times

Re: Decaff's Garage

Post by Flake » Tue Sep 13, 2016 11:29 pm

u2fly wrote:P.S.: Also, hope to make rewrited Orb server, that use Python and was created before OpenYS.
Go right ahead, very curious what you can come up with. You may want to cross reference with OYS every now and again as Orb only had some of the packets defined.

User avatar
plunderbird
Contributor
Contributor
Posts: 242
Joined: Thu Feb 17, 2011 7:05 pm
Favorite Aircraft: F5 A10 SR71
Location: Wellingborough England
OS: Windows 7
Has thanked: 17 times
Been thanked: 17 times
Contact:

Re: Decaff's Garage

Post by plunderbird » Tue Sep 13, 2016 11:49 pm

:o

Gobsmacked!!!
Fliped out of the arena, again! :(

User avatar
decaff_42
Legend
Legend
Posts: 3299
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX 10.11.3
Has thanked: 384 times
Been thanked: 1000 times
Contact:

Re: Decaff's Garage

Post by decaff_42 » Thu Sep 15, 2016 12:37 am

Did some minor work on the 747-8 landing gear tonight in order to make them invisible when the landing gear doors are closed. This will hopefully make the model easier to render and thus be less computer intensive to fly, as now ~4k vertices are no longer being rendered when they do not have to be.

No pics because there is no way to show invisible gear when the doors are closed! :lol:
Check out my website YSDecaff for all my tutorials and addon releases.

Feel free to ask me a question! I'll try to answer it as well as I can or recommend a more knowledgeable member if necessary.

User avatar
Barracuz
Veteran
Veteran
Posts: 946
Joined: Wed Mar 28, 2012 8:49 pm
Favorite Aircraft: The Boeing 757
Location: Providence, Rhode Island
OS: Windows 10/Gentoo
Has thanked: 208 times
Been thanked: 184 times

Re: Decaff's Garage

Post by Barracuz » Thu Sep 15, 2016 1:55 am

decaff_42 wrote:Did some minor work on the 747-8 landing gear tonight in order to make them invisible when the landing gear doors are closed. This will hopefully make the model easier to render and thus be less computer intensive to fly, as now ~4k vertices are no longer being rendered when they do not have to be.

No pics because there is no way to show invisible gear when the doors are closed! :lol:
Very interesting!
Image
Beginner ATC for hire!
Current Projects:
-Pilatus PC12
-Mooney M20
-New England Scenery
Fine Print:
**Word of Caution**
My knowledge is limited. Anything I write in my posts may or may not be accurate. To be honest I think its all crap.

User avatar
decaff_42
Legend
Legend
Posts: 3299
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX 10.11.3
Has thanked: 384 times
Been thanked: 1000 times
Contact:

Re: Decaff's Garage

Post by decaff_42 » Thu Sep 15, 2016 2:34 am

Also...
Image
Check out my website YSDecaff for all my tutorials and addon releases.

Feel free to ask me a question! I'll try to answer it as well as I can or recommend a more knowledgeable member if necessary.

User avatar
u2fly
Veteran
Veteran
Posts: 1050
Joined: Fri Oct 02, 2015 9:27 am
Favorite Aircraft: Antonov An-225 Mriya
Location: Ukraine
OS: Linux
Has thanked: 535 times
Been thanked: 227 times
Contact:

Re: Decaff's Garage

Post by u2fly » Thu Sep 15, 2016 3:13 am

decaff_42 wrote:@u2fly,
It was an interesting process. It also works in Python 2 and 3, although written principally for python 3
I very interested in your Python experiments.
Today found this twits:
@rid_zak wrote:i started making maps on blender. i do not know is this going to work. what about you guys. #ysflight http://pic.twitter.com/cLxvgvs3yh
Image
@decaff_42 wrote:Interesting Idea! How are you converting the blender file to an FLD file?
Are you already heave some scripts for import/export FLD? And what Blender version planned to use for it?
Also, I interested in creating simple Python+Tkinter script for preview FLD map geometry.
/!\ READ YSFLIGHT HANDBOOK (.PDF) | updated 2017/05/03

“Spending #NewYearsEve w/ brave #Ukrainian Marines at a forward combat outpost - we stand w/ them in their fight against #Putin's aggression”
http://pic.twitter.com/vkz0gdozVV
- John McCain, U.S. Senator for Arizona, Republican party
(31 DEC 2016)

User avatar
NajmiCreative
Modding Team
Modding Team
Posts: 732
Joined: Thu Sep 04, 2014 9:14 am
Favorite Aircraft: MiG-29N,SU-30 MKM
Location: Shah Alam,Selangor,Malaysia
OS: Windows 7 Pro
Has thanked: 410 times
Been thanked: 410 times
Contact:

Re: Decaff's Garage

Post by NajmiCreative » Thu Sep 15, 2016 3:40 am

looking great on new house paint...wonder if you turn it into red/maroon-ish color version.. :D
EDIT:
dbd000 wrote:Lufthansa, Korean Air and Air China would be some good looking machines too.
and Cargolux too(especially Cutaway livery)
Last edited by NajmiCreative on Thu Sep 15, 2016 6:51 am, edited 1 time in total.
My official website
My Twitter NOTE:All my rework model are allowed for repaint and need to credit on publish..no need to PM me anymore
for modifications on my mods,please PM me first,and credit me and original creator(if my work were rework)
[/size]

User avatar
dbd000
Contributor
Contributor
Posts: 361
Joined: Wed Apr 09, 2014 4:32 am
Favorite Aircraft: So long as it isn't fictional, I like it
Location: Tauranga, New Zealand
OS: Mac OS X V10.7.3
Has thanked: 246 times
Been thanked: 126 times
Contact:

Re: Decaff's Garage

Post by dbd000 » Thu Sep 15, 2016 6:47 am

NajmiCreative wrote:looking great on new house paint...wonder if you turn it into red/maroon-ish color version.. :D
Lufthansa, Korean Air and Air China would be some good looking machines too.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests