Recommended Posts

Posted (edited)

My vision for this mod is to create stock alike believable parts to build passenger planes with. It is inspired by Airplane Plus, and will be made to supplement it as well as the stock parts.

Here is an album with some concept art and work in progress screen shots: https://imgur.com/a/fAViy

And here is an album showing up the semi finished parts: https://imgur.com/a/ljyIgIH

4yIhMl5.png

Parts currently in the mod:

Spoiler

1.875m CRJ Cockpit

1.875m AN-24 Cockpit

1.875m DC-3 Cockpit

1.875m Passenger cabin 1+2 configuration

1.875m passenger door

1.875m tail cone

0.625m 2 nose cones

1.25m 6 nose cones

Conformal tanks for 1.875m, 2.5m, 3.125m and 3.75m

2.5m boeing 767/777 cockpit with adapters to 3.125m and 3.75m

2.5m DC-8/9 cockpit

2.5m Passenger cabin 2+2 configuration

3.125m A350 Cockpit with adapter for 3.75m

3.125m DC-10/11 Cockpit with adapter for 3.75m

3.125m Passenger cabin 3+3 configuration

3.75m Passenger cabin 2+3+2 configuration

1.875m CF6 with under wing pylon

0.9375m CF34 engines with side mount and under wing mount pylons

Modular Airliner wings

Modular Tail cone system

 

Download at: https://github.com/neistridlar/Neist-Airliner-Parts

Tweakscale patch by @TMasterson5https://www.dropbox.com/sh/g45l0djvbmypl3e/AABZ033reYyTd_6xV17txTR3a?dl=0

I am pretty new to modding in general, so if you have advise or suggestions you would like to offer, please do so. I do believe, however, that I have many of the skills required. My plan is to use Fusion 360 along with Blender for modeling, Gimp and Inkscape for image and graphics editing. I do know a little C++, python and matlab, which might come in handy, though I have never programmed anything with more than a command line interface, so I expect to have a few things to learn if I want to get into that side of modding.

Also I want to set this up so that it is easy for someone else to take over in the case that I should disappear (knowing my self I usually don't stay focused on one thing for more than 1-2 years at a time), so any suggestions as to how to accomplish this would be welcome.

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License http://creativecommons.org/licenses/by-nc-sa/4.0 

88x31.png 

Edited by neistridlar
  • Like 16

Share this post


Link to post
Share on other sites

Awesome!

Share this post


Link to post
Share on other sites
1 minute ago, Bottle Rocketeer 500 said:

@neistridlar Which variant of the CRJ? Also, maybe you instead of 3.75m make the larger size 3.125m, as 3.75m sounds a little too big compared to 2.5m

Reference image I used was supposed to be CRJ900, but I am not going for exact replica, just generic airliner cockpit. The big fuel tanks are 3.75m right? I want to be comopatible with the stock sizes, so that the parts can be used in as many combinations as possible. If you look in the concept art you can see how the 3.75 size looks. works with 3+3, 2+3+2, as well as 3+3/3+3 configurations. I am thinking it will be a A380 like cockpit for those. 3.125m is probably right for a 3+3 configuration though, nice for making 737 like aircraft.

Share this post


Link to post
Share on other sites
1 minute ago, Bottle Rocketeer 500 said:

@neistridlar For the a380, I think that mk3 would be better. Also, maybe 737-like stuff should be 2.5m, as you stated that you wanted coherency with Airplane Plus.

Both the mk3 and 2.5m sizes are unable to fit more than 2+2 configuration. That is why I am looking at the larger sizes. I have made some mock-ups in game with fuel tanks in stead of cabins, and Tweak scaled FAT wings. I think it looks appropriate for an A380 sized aircraft, and it still only needs two goliaths to get off the ground. Also, to begin with I want to make stuff in sizes that Airplane Plus does not offer, for the sake of maximizing variety. There is already a good amount of 2.5m parts, so it is not a priority for me.

  • Like 1

Share this post


Link to post
Share on other sites

Wow, some of those larger mock-ups are insane. Anything with that many kerbals existing in an IVA at the same time will absolutely tank the frame rate, though. So I would keep to the 2-story 5m fuselage when it comes around, and make the lower half a cargo bay. A half-cargo variant of the 3.75 m fuselage would be awesome too. Even better if the cargo floor lines up with the SXT Osaul parts, but that's for the future. :)

  • Like 1

Share this post


Link to post
Share on other sites

So far I like it!

8mAm1I1.png

5mhtXSF.png

Share this post


Link to post
Share on other sites
12 hours ago, theonegalen said:

Wow, some of those larger mock-ups are insane. Anything with that many kerbals existing in an IVA at the same time will absolutely tank the frame rate, though. So I would keep to the 2-story 5m fuselage when it comes around, and make the lower half a cargo bay. A half-cargo variant of the 3.75 m fuselage would be awesome too. Even better if the cargo floor lines up with the SXT Osaul parts, but that's for the future. :)

Yeah just opening the crew tab in the SPH with 200+ kerbals enrolled significantly slows down the game for me, and I can usually run 500 part ships just fine. I probably will not ever make that one, just wanted to see what was possible. Looking at pictures of cross sections from real aircraft suggest that the lower half of the fuselage is reserved for cargo and stuff like that, so I will probably not put the lowest floor much bellow center, and eventually have some kind of cargo bay bellow. 

Also, you wanted to try your hand at placing some props right? I think the cockpit is ready for that now, and I have tried to do some my self, but the seats are missing textures, and the other props don't show up when I load the part in game. Do you have a good method for sharing the files? I would love to see what you can do with them. Though I don't think it is time to put in a lot of work to get it all perfect still, just trying to get stuff to work right now.

Speaking of which I got an overlay mask to work on the cockpit, but when I did the same for the passenger cabin, the overlay mask just sits on the ground next to the ship, and the overlay shader hides the wrong stuff. When I move the ship, the overlay mesh does not move with the ship, it just stays in the same place.

vRFqmXi.png

JAOzpUl.png

  • Like 1

Share this post


Link to post
Share on other sites
Posted (edited)

I am in my last few weeks of classes at university while working nearly full time right now and won't be able to place any props until I graduate in three weeks.If anything changes about my availability before then, I will let you know. Lots of papers and finals right now. I can help you with any questions about Unity setup, however.

For the cockpit, don't integrate your seats with the model; this will allow us to put in moving seats. This is necessary because male and female Kerbals have different eye levels, and if the view is good for Jeb, Val will have trouble seeing over the dashboard.

I don't know anything about the overlay masks. Try @blackheart612, his are pretty good IIRC.

Edited by theonegalen

Share this post


Link to post
Share on other sites
47 minutes ago, theonegalen said:

I am in my last few weeks of classes at university while working nearly full time right now and won't be able to place any props until I graduate in three weeks.If anything changes about my availability before then, I will let you know. Lots of papers and finals right now. I can help you with any questions about Unity setup, however.

For the cockpit, don't integrate your seats with the model; this will allow us to put in moving seats. This is necessary because male and female Kerbals have different eye levels.

Right, I can totally see how university and placing props are incompatible right now. As for the seats I think all seats will be placed as props, since the seat transforms has to be placed manually anyways, might as well just put the seat prop as a child of that. That way you can see more easily where the seat transforms are as well.

I have been able to place props in unity. Initially they all came in without textures. Converting all textures in the squad/props folder to .png seems to have solved this issue for most of the props. When I place them in unity I can see them where I want them, but when I open up the parts in game the props are not there. All other changes appear though, so I am writing to the right file. Then there is the seat props, which still come in without textures, they just turn purple, and when I try to write I get this error message:

File error: Object reference not set to an instance of an object
  at KSPPartTools.PartWriter.WriteMaterial (System.IO.BinaryWriter bw, UnityEngine.Material mat) [0x00000] in <filename unknown>:0 
  at KSPPartTools.PartWriter.Write (System.String modelName, System.String filePath, UnityEngine.Transform target, TextureFormat textureFormat) [0x00000] in <filename unknown>:0 

UnityEngine.Debug:LogError(Object)
KSPPartTools.PartWriter:Write(String, String, Transform, TextureFormat)
KSPPartTools.PartToolsInspector:DrawWriterGUI()
KSPPartTools.PartToolsInspector:OnInspectorGUI()
PartToolsEditor:OnInspectorGUI() (at Assets/PartTools/Editor/PartToolsEditor.cs:18)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

If you have any Ideas about what is going on, that would be very helpful.

Share this post


Link to post
Share on other sites
Posted (edited)

There's a persistent error with the seat props included in the game, which is one reason it is so much easier to bake them into the model using Blender. They show up properly in game if you edit the internal .cfg to add them manually, but I've never gotten them to work properly in Unity post KSP v.1.1. Forgot to tell you that, sorry.

Blender will allow you to import your internal.mu, SeatPilot.mu, and SeatPassenger.mu. You can place the seats into your internal model that way, and export it with them included as long as the export includes the seat as a child of the interior.

Edited by theonegalen
  • Like 1

Share this post


Link to post
Share on other sites

I think I have found the method to use for placing seats now. Each seat is child of the seat transform, so you just have to adjust the first seat in relation to it's seat transform, then copy paste the seat transform. I think it should be quite doable even for a 200 seat configuration. Also I made my own seat model, which is not part of the cabin model. It needs some work still, but it is ok for now. The interior model is also updated. The interior textures are just marginally better though.

nXfhkJF.png

Also figured out the overlay mask issue. The overlay mask needs to be on the kerbal layer, or the game will just put it on the side of the runway. Added more pictures to the album in the OP. Also I will put a new sneak peak in the OP soon. I have made a 1+2 configuration as well, but for some reason that suddenly stopped working. Also to figure out how to do flag decals, I made a place anywhere flag part. Enjoy.

  • Like 2

Share this post


Link to post
Share on other sites
Posted (edited)

It's a great start! I like the overhead compartments.

I'm not a huge fan of the textures, but I figure they'll improve over time.

From a model standpoint, I think it would look better to extend the cockpit back another .5m and put the door there, rather than having it right below the pilot's seat. I'm sorry I didn't mention this before, but I didn't really see it clearly until the new screenshots. If you're going for an airliner vibe, I think that would feel more like an airliner to me.

Edited by theonegalen

Share this post


Link to post
Share on other sites

Yeah, don't forget to add the layers properly everytime, they cause the IVA to be wonky. Make sure your external cockpit export is properly oriented too, there's an issue where if it's not properly oriented, it will change it's orientation upon revert to launch. You can test it by, well, reverting to launch and see if it changes orientation using the navball.

Also, that looks like a Bombardier CRJ... I planned to add CRJ parts...

  • Like 3

Share this post


Link to post
Share on other sites

While you're still at this stage: Please, PLEASE, for the love of Krakensbane, do not integrate control surfaces into lifting surfaces they're part of, keep static surfaces and control surfaces as separate parts, integrating them makes them almost impossible to use with FAR. Thanks.

  • Like 1

Share this post


Link to post
Share on other sites
Posted (edited)
8 hours ago, m4ti140 said:

While you're still at this stage: Please, PLEASE, for the love of Krakensbane, do not integrate control surfaces into lifting surfaces they're part of, keep static surfaces and control surfaces as separate parts, integrating them makes them almost impossible to use with FAR. Thanks.

Thanks for pointing that out. I have been thinking about making a semi modular system for realistic looking wings. The Idea is to make something that looks like the stock FAT wings, but the trailing edge is cut off. Then make an assortment of control surfaces and non moving "filler" surfaces, so you can get that sleek looking trailing edge, like most real planes do, but still have flexibility in the control surface design. <edit> I just had to draw up some concept art for it. The cordlength for each segment correspond to the sizes currently in game, so 5m, 3.75m, etc. down to 0.925 at the tip. Each segment would have two nodes for easy allignement, but also be able to surface attach at the root, for flexibility. As it turns out there are two different lengths of segment with this approach, one being double the other, so that should work out nicely. </edit>

QwFRTgr.png

Would you mind testing the curvy tail with far? It is supposed to be a smooth curve all along the fuselage. That is good for transonic design right?

8 hours ago, blackheart612 said:

@Bottle Rocketeer 500 I don't know how to read. :D I just read the post I was tagged on and the issue, saw the awesome pics and replied. My bad.

Mission accomplished then! I am personally not quite happy with how the external model looks, as far as being a CRJ replica. From above the nose is to pointy, and form the side the curves are too "swoopy". The picture in the OP is kind of too far the other way, with completely straight edges. 

Right now I am focusing on figuring out a workflow to make stock alike textures though. For the last iteration I simply reused some textures from squad, and squished them into some shapes that I could use, but I am not quite happy with the results. Now I am thinking I will do the main design in Inkscape, then move to GIMP to add some grit and splotchynes to it.

Edited by neistridlar
Added concept art for modular wing
  • Like 1

Share this post


Link to post
Share on other sites

Made some textures from scratch today. Think I am on the right track for a stock alike look.

UnGQyDG.png

  • Like 4

Share this post


Link to post
Share on other sites

That cockpit is spot on for stockalike. The cabin... Eh, not so much. But, that's just my :funds:0.02... :wink: 

  • Like 1

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