Jump to content

Flat-Bottom Shuttle Systems


Starlord Kerman

Recommended Posts

My understanding is that for Unity games - like KSP - .dds is *always* the smallest in use... because everything else will be converted to .dds internally.  So for anything else, you're just making the game engine store two versions.

Link to comment
Share on other sites

9 hours ago, Starlord Kerman said:

If I were to change it, would .tga be the smallest? I like the png because it's so easy to edit, someone could easily add a different color option or something. I guess if enough people feel the sizes are too big I could change that in the next update.

>tga is smaller

It's not all about size. .dds, as i understand, is a sort of a native video card format so video card is converting all images in .dds to use them. Of course, it increases RAM usage, so if images are in .dds already - video card don't need to convert them and it, obviously, reduses RAM usage, so not only mod with textures in .dds is lighter, it also runs much faster. 

>.pngs are easy to edit

Well, there are a lot of online image converters that support .png-.dds (and .dds-.png) convertation. If i personally want to change the texture of the part that is currently in .dds, i convert .dds to .png, edit texture and convert back (although I personally do not often need to change the textures, but it's not important). Also i believe that for majority of people enough to have a stockalike main texture and a couple extra kind-of-stockalike textures to match other color schemes - for Squad parts it's "stock", "black-and-white" and "soviet" textures, for a spaceplane it could be something like "stock", "dark" and "gray" textures maybe? I mean i believe not many people would use something like green, red or blue textures. Also if you really need easy changing of color schemes, you can use something like Textures Unlimited mod, but it's unstable and a lot of people have troubles with it.

Link to comment
Share on other sites

@Starlord Kerman DDS means "DirectDraw Surface" and is a raw format from the perspective of the GPU. DDS files contain "mipmaps" which are alternate sizes of the same texture, sampled from the actual texture and rendered when an object is different distances away (increasingly further = increasingly smaller) probably to optimize texture use for things that are far away and still in loading range. DDS files can be bigger than any other format due to the mipmaps but it's easier for the GPU to handle so it's preferred regardless of file size vs TGA or PNG (which a few of us have just said) which are converted to DDS on load, anyway. And in KSP's case, maybe the case for all Unity games, the non-DDS imagery are not unloaded after being converted.

PNGs are easier to edit up to a point. When you have a transparency gradient (any bits fading or with any opacity percentage other than 0% or 100%) or a lot of transparent bits around, it becomes miserable to edit for anyone who doesn't have the source PSD (and this is granted the given mod allows people to edit and retexture. Assuming this mod has a restrictive license that wouldn't be a problem as then nobody can or will try to retexture your parts).

I'm also gonna quote myself here, just in case you didn't notice. Please pardon me if you did.

On 3/30/2019 at 6:05 PM, JadeOfMaar said:

In addition to there being too many files in PNG format, too many of the textures are needlessly high resolution. Except for the wings, it is possible to get away with reducing all the textures to1024x1024 without noticeably losing quality (otherwise 2048x2048 for parts that are both rather big and rather detailed). Too many textures are 4096x4096 right now. Shrinking them down can shrink the download to 1/2, maybe 1/4 its current size.

Edited by JadeOfMaar
Link to comment
Share on other sites

I can't actually get these parts to fly. Just a few fuselage parts, command module, regular engines, and the wings, and it just doesn't fly.  It'll pull up but instead of taking off it just acts as its own speed brake, going down the runway with its nose pitched up but unable to lift off.  With brute force and overspeed it'll fly, but the roll is WAY too sensitive. Much more so than pitch.  You can get this thing to do 160rpm

Edited by Sabor
Link to comment
Share on other sites

12 hours ago, Sabor said:

I can't actually get these parts to fly. Just a few fuselage parts, command module, regular engines, and the wings, and it just doesn't fly.  It'll pull up but instead of taking off it just acts as its own speed brake, going down the runway with its nose pitched up but unable to lift off.  With brute force and overspeed it'll fly, but the roll is WAY too sensitive. Much more so than pitch.  You can get this thing to do 160rpm

I’m having the same issue, the wings are really difficult to attach and my craft just tries to plow into the ground. My center of gravity was really far back, but I didn’t have much luck even after trying to move it.

 

does anyone have functional craft files to share?

Link to comment
Share on other sites

@mostlydave @Sabor These points are likely the root of your problem:

  1. Your main (rear) gear causing the back of your shuttle to be elevated vs the front. This leads to negative lift or downforce and will unavoidably pin you to the runway as you gain speed. The immense lift ratings of this mod's wings cause the pinning to be far more intense.
  2. Your main gear are too far back from the CoM. They should be as close as possible because the aircraft pivots on them when nosing up. Too many airplane designers are not aware of this and suffer this like cattle walking into a slaughter machine.
  3. Sometimes your shuttle just needs canards near the nose or tail fins far behind the CoM to create the proper required deflection force to help nose up. This is if by whatever reason, this mod's elevons fail to produce enough deflection force on their own.
  4. Check thrust torque in KER, RCS Build Aid or whatever similar mod you use. If you use very powerful engines to push your shuttle, you might be thrusting over your CoM much more than under or through it. Your thrust and thrust torque together may be overpowering the elevons.

If somehow none of these apply to you, screenshots in the SPH with markers (CoM etc) and KER visible would be welcome. Then I can possibly tell you that you're just building your shuttles very wrong. (That said I only briefly used this mod so I can't give you a 100% answer.)

Link to comment
Share on other sites

With me it's none of those issues.  It basically acts exactly like an aircraft that's overweight trying to take off, if you've ever seen that. Rotating is no problem, but it'll just charge down the runway on its main gear with its nose in the air unable to lift off unless you're going a ridiculous take-off speed (140m/s+). And at that speed the roll is so sensitive you can't control it or stay level to save your life, and I use a controller with analog sticks.  Using stock MK2 parts and wings with the same engines and sort of design and overall weight, everything works as it should

I've been making shuttles/space planes forever, it's what I like most. And these parts are gorgeous and remind me a lot of the Delta Glider from Orbiter, so I'd really like to get them working correctly

Edited by Sabor
Link to comment
Share on other sites

Looks great. But something tells me that it will be bad to fly when FAR installed.

 

Actually It does not look very bad. You definitely need autopilot and precise speed control in FAR and Stock but it gonna make it to orbit.
 

Spoiler

screenshot1.pngscreenshot2.pngscreenshot5.pngscreenshot3.png

 

Edited by kremonia
Field Test Performed.
Link to comment
Share on other sites

  • 2 weeks later...

well, I can see why the textures shouldnt be converted to.dds...
I thought 129MB for this parts pack was high, with .pngs.
Converted them all to dds, and it comes out at 0.97 GIGAbytes :face_palm:

Looking at the textures, having the majority of them at 2K, and even some 4K textures, that seems a little excessive... vOv

Link to comment
Share on other sites

33 minutes ago, Stone Blue said:

well, I can see why the textures shouldnt be converted to.dds...
I thought 129MB for this parts pack was high, with .pngs.
Converted them all to dds, and it comes out at 0.97 GIGAbytes :face_palm:

Looking at the textures, having the majority of them at 2K, and even some 4K textures, that seems a little excessive... vOv

The majority of these textures were 4096x4096 when I looked the other day. They need to be kept by Starlord as part of a source package, and the release versions be down-scaled and still converted to DDS. KSP will process them into DDS anyway and likely keep the PNG version in memory. Better to pay the price in hard drive space than in RAM space.

Edited by JadeOfMaar
Link to comment
Share on other sites

1 hour ago, JadeOfMaar said:

The majority of these textures were 4096x4096 when I looked the other day. They need to be kept by Starlord as part of a source package, and the release versions be down-scaled and still converted to DDS. KSP will process them into DDS anyway and likely keep the PNG version in memory. Better to pay the price in hard drive space than in RAM space.

yeah... resizing the textures to 1k and 2k for the release package should at least about quarter the size of the mod, down to ~230MB ... still kinda "fat", but definately moar manageable for people on mid-line to potato computers, that dont have 8GB or moar of RAM, or high-end GPUs.

Edited by Stone Blue
Link to comment
Share on other sites

  • 2 weeks later...
On 4/24/2019 at 9:50 AM, Kilo60 said:

Having trouble with the attachment Nodes for the included wings to get them lined up.  Also the "Move/Tool" doesn't seem to work when trying to grab them to adjust manually.

 

Any ideas here? 

If you're building in the VAB with the front of the shuttle facing up, then it's best for the bottom of the shuttle to face one of the two side walls, rather than the front or back of the building. This is due to how KSP mirriors stuff.

In the SPH, I like to attach the wings mirrored using surface attach and use the move/tool. With C pressed for large increments, it should automatically place the Swept wings in the proper location. You have to use the small increments to align the other wings.

Link to comment
Share on other sites

Is this still alive? B9 throws a few scary error messages on start-up.

About wing symmetry,I wonder if the problem is your wing's standard orientation. I notice that when I use WASD in the editor, they rotate differently than stock wings. Or maybe it has to be different than stock wings? Anyway, I made this:

flatbottom_symmetry.jpg

If the "kurvy" tanks can node-attach with proper symmetry, then there must be a way for your wings to do the same. Also, all wings (including yours) surface-attach nicely to the node-attached tanks.The sole exception are your control surfaces, which break symmetry.

Another thing: the cockpit looks as if a hatch was going into the cargo bay (always useful on shuttles), but I cannot make use of it.

Link to comment
Share on other sites

More:

Applying some MM patches in order to get it into RealismOverhaul, I stumbled over the "K-1 Classic" having a space in it's name. Totally solveable, but ouch.

More generally, it would be nice if all part names started with the same string, this would keep them together in default sorting. I also wonder how to make them available by sorting by manufacturer (it's set, after all).

For stock balance purposes, the TriCrew module holds too many people. 2t and four seats would be more apt. However, I really love the 8-seater in a rescaled context...

Link to comment
Share on other sites

1 hour ago, Laie said:

More:

Applying some MM patches in order to get it into RealismOverhaul, I stumbled over the "K-1 Classic" having a space in it's name. Totally solveable, but ouch.

More generally, it would be nice if all part names started with the same string, this would keep them together in default sorting. I also wonder how to make them available by sorting by manufacturer (it's set, after all).

For stock balance purposes, the TriCrew module holds too many people. 2t and four seats would be more apt. However, I really love the 8-seater in a rescaled context...

Filter Extensions can display by manufacturer, Janitor's Closet can filter by size, mod name, resources and part modules

Link to comment
Share on other sites

19 hours ago, Laie said:

Applying some MM patches in order to get it into RealismOverhaul, I stumbled over the "K-1 Classic" having a space in it's name. Totally solveable, but ouch.

To target all parts by manufacturer, do this. In MM language, the ? represents a single invalid character at that position (like spaces, and math operators):

@PART:HAS[#manufacturer[Brand?Name]] // All branded parts
{
	// stuff
}

@PART:HAS[#manufacturer[Brand?Name],#category[Engine]] // All of this brand's engines
{
	// stuff
}

@PART:HAS[#manufacturer[Brand?Name],#title[*Cockpit]] // All of this brand's cockpits
{
	// stuff
}

Another prominent spaceplane parts mod has the same problem and is horribly plagued by it. This is how I deal with it.

19 hours ago, Laie said:

More generally, it would be nice if all part names started with the same string, this would keep them together in default sorting. I also wonder how to make them available by sorting by manufacturer (it's set, after all).

To apply that name change (and not properly deprecate parts before this change) will break every craft file made with this mod but is wise and should be done ASAP. (That's on Starlord's shoulders, not yours.) Note that I mean the internal name that identifies the part, what KSP and the mod maker care about, not the part title, what the average player cares about. The title can change without any risk at all.

17 hours ago, linuxgurugamer said:

Filter Extensions

Assuming Filter Extensions is not installed or not configured for this mod, an agency config (it's pretty tiny/easy to do) and optionally but ideally, a logo image (in big and tiny sizes) are required for a mod's parts to be sorted by manufacturer. By consequence, the agency config can enable the manufacturer to appear in contracts in career mode.

Edited by JadeOfMaar
Link to comment
Share on other sites

15 minutes ago, JadeOfMaar said:

OPT Spaceplane Parts.

Ah, ok.

So I've been thinking about this problem, and had an idea:

  1. Rename the part
  2. Using a MM patch, make a copy of the part with the old name, mark it as deprecated by setting the category to None

Ideally it would be nice to be able to rename parts in a craft file, but that's not really doable for most people

Thoughts?

Link to comment
Share on other sites

1 minute ago, linuxgurugamer said:

Thoughts?

That two-step idea is just what I intend to use to employ a massive soft-deprecation process, actually.

At the point of editing craft files and maybe even persistence, it would be handy to have a batch file that you can drop documents onto to change all the important strings in one shot, or further than that, a mod that accepts semicolon-delimited pairs of strings per line <part.oldname;part.newname> or <part.newname;part.oldname> can be triggered at the KSC scene and which uses KSP itself to do the operations.

At some point soon™ I'd like to do such a big and save-breaking update for OPT. I know one guy who has epic OCD and would be happy to have a tool like this nearby when such update happens. :D

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...