Jump to content

[1.7.x] Basic Procedural Textures


Tyko

Recommended Posts

What it does

A selection of Procedural Textures compatible with Procedural Parts and Decoupler Shroud. The colors are designed to work well with Stock parts, Making History and other mods including Tantares

4Do33Zx.png

xRbemx0.png


How to install

Download from GitHub

Download from SpaceDock

Also available on CKAN

Unzip the contents of "GameData" to your GameData folder, same as with most mods. (Note, requires ModuleManager.)

 


License info

MIT License

Some textures courtesy of  @Beale@MainSailor and Blackheart

Edited by Tyko
Link to comment
Share on other sites

  • 2 weeks later...

Great mod! I just downloaded procedural parts for the first time and honestly while some of the simpler standard textures are nice, a lot of the colour ones aren't very nice looking. These new textures are a fantastic addition. I especially like the orange and green ones.

Link to comment
Share on other sites

Nice Job! One quick note is that I just changed the textures in my mod from png to dds, and changed their names to avoid loading the png texture instead of the dds texture when the mod isn't installed cleanly. Because of this, if you do a clean install of the latest version of my mod, the top and inside textures of your pack are just white, since the textures it is referencing no longer exist under their old name

Link to comment
Share on other sites

  On 5/3/2018 at 4:08 PM, navot said:

Nice Job! One quick note is that I just changed the textures in my mod from png to dds, and changed their names to avoid loading the png texture instead of the dds texture when the mod isn't installed cleanly. Because of this, if you do a clean install of the latest version of my mod, the top and inside textures of your pack are just white, since the textures it is referencing no longer exist under their old name

Expand  

Thanks for the heads up. I'll take care of that tonight.

Link to comment
Share on other sites

  On 5/10/2018 at 7:34 PM, CodeFantastic said:

Do these textures work for procedural fairings (the mod)? 

Expand  

No.

But:
create a file GameData\BasicProceduralTextures\ProceduralFairingsTextures.cfg

@PART[KzProcFairingSide*]
{
    MODULE
    {
        name = FStextureSwitch2
        objectNames = model
        textureRootFolder = BasicProceduralTextures/
        textureNames = YellowStripe;TantaresLtGrey;TantaresDkGrey;TantaresGreen;StockDkGrey;StockOrange
        mapNames = Striped_NRM;Tank_NRM;Tank_NRM;Tank_NRM;Tank_NRM;Tank_NRM
        textureDisplayNames = Yellow Stripe;Tantares Light Grey Tank;Tantares Dark Grey Tank;Tantares Green Tank;Dark Grey;Orange

        switchableInFlight = false
        updateSymmetry = true
        showListButton = false
    }
}

This is using Firespitter, like most of these PF texture patches.

This should work besides other configs of that kind, so these fairing textures are added to them.
But I will test it, because I have my own (never released) config package of all these old PF textures that have been around the last years taylored together for my own use.

As it seems does this only work when it's the only config of its kind.

So to make it work with my own patch I have to merge them ...

 

Edit:

I'm still not sure if that will work because the textures are PNG not DDS and inside my pack all textures are DDS - and two textures inside the BasicProceduralTextures are 225x225 - I scrapped them.

When I make it work or not I will confirm.

Edit:

getting better, I was hindered by problems with the broken release of PF by @rsparkyc - I had to use the last repo by @Phineas Freak and also fiddle in there.
First proof, but not done yet:
6RxvHyd.png

Edit:

There is no real difference between normal and striped, so striped can be scrapped:
Tank
mnPuLMq.png

Striped
LJsqeiO.png

Interstage looks weird, can also be scrapped:
4tBlyOD.png

I will fix the config above.

Edited by Gordon Dry
edited the config again
Link to comment
Share on other sites

As an alternative, the MM patch below uses KSP's built-in ModulePartVariants option to try and do the same thing without requiring any external mods.

Caveat: I'm at work and can't test it, so there may be syntax errors and I'm just going off  my slightly wonky memory and the info in the post above. For example, I'm not 100% sure that the bump map line is correct. I'll test it later today.

  Reveal hidden contents

Edit: OK, so after some testing, the config above should work. The striped textures don't map well to the PF sides, so I didn't include them.

You can set the bump map in the TEXTURE nodes with "_Bump Map =", but for some reason they don't seem to actually show up in-game unless you use a different shader (e.g. Textures Unlimited). So I didn't include them either. (The only one that seems to map at all well onto the PF fairing sides is "Tank_NRM".)

Edited by UnanimousCoward
Link to comment
Share on other sites

Another way to achieve the same result is to use ModulePartVariants to apply a colour tint to the original PF fairings, rather than using the textures from this mod. I think the result looks a bit better.

The MM config below adds colour tints for all the colours used in this pack to the PF fairings. The "Yellow Stripe" option does pull the texture from this mod, though.

  Reveal hidden contents

 

Link to comment
Share on other sites

  On 5/11/2018 at 4:24 PM, UnanimousCoward said:

Another way to achieve the same result is to use ModulePartVariants to apply a colour tint to the original PF fairings, rather than using the textures from this mod. I think the result looks a bit better.

The MM config below adds colour tints for all the colours used in this pack to the PF fairings. The "Yellow Stripe" option does pull the texture from this mod, though.

  Reveal hidden contents

 

Expand  

Forgive my lack of knowledge, but where do paste in the config? 

 

Never mind, should have read the previous post

Edited by CodeFantastic
Link to comment
Share on other sites

  On 5/11/2018 at 4:27 PM, CodeFantastic said:

Forgive my lack of knowledge, but where do paste in the config? 

 

Never mind, should have read the previous post

Expand  

It's a ModuleManager patch file. You can paste the contents into a file, give it any name you like that ends in ".cfg", and put it anywhere in your GameData folder.

Link to comment
Share on other sites

  On 5/11/2018 at 12:49 AM, Gordon Dry said:

No.

But:
create a file GameData\BasicProceduralTextures\ProceduralFairingsTextures.cfg

@PART[KzProcFairingSide*]
{
    MODULE
    {
        name = FStextureSwitch2
        objectNames = model
        textureRootFolder = BasicProceduralTextures/
        textureNames = YellowStripe;TantaresLtGrey;TantaresDkGrey;TantaresGreen;StockDkGrey;StockOrange
        mapNames = Striped_NRM;Tank_NRM;Tank_NRM;Tank_NRM;Tank_NRM;Tank_NRM
        textureDisplayNames = Yellow Stripe;Tantares Light Grey Tank;Tantares Dark Grey Tank;Tantares Green Tank;Dark Grey;Orange

        switchableInFlight = false
        updateSymmetry = true
        showListButton = false
    }
}

This is using Firespitter, like most of these PF texture patches.

This should work besides other configs of that kind, so these fairing textures are added to them.
But I will test it, because I have my own (never released) config package of all these old PF textures that have been around the last years taylored together for my own use.

As it seems does this only work when it's the only config of its kind.

So to make it work with my own patch I have to merge them ...

 

Edit:

I'm still not sure if that will work because the textures are PNG not DDS and inside my pack all textures are DDS - and two textures inside the BasicProceduralTextures are 225x225 - I scrapped them.

When I make it work or not I will confirm.

Edit:

getting better, I was hindered by problems with the broken release of PF by @rsparkyc - I had to use the last repo by @Phineas Freak and also fiddle in there.
First proof, but not done yet:
6RxvHyd.png

Edit:

There is no real difference between normal and striped, so striped can be scrapped:
Tank
mnPuLMq.png

Striped
LJsqeiO.png

Interstage looks weird, can also be scrapped:
4tBlyOD.png

I will fix the config above.

Expand  

https://imgur.com/a/cqgNsqo

Looks great so far!

Link to comment
Share on other sites

  • 9 months later...
  • 4 weeks later...

@Tyko, and anyone else who may be interested, following on from a discussion I started in the Restock thread, here:

Restock, Decoupler Shroud, Basic Procedural Textures, and Procedural Fairings interactions

I've followed through on trying the mods listed above in combination. I've also used the FIRST method given, above, by @UnanimousCoward to make BPT work with PF.

The result is that all 4 mods, with the additional patch, all work great together. The additional textures all look great, and certainly do not look out of place. Having an increased choice of eyecandy is always good, IMO at least, so I recommend trying them all.

Thanks Tyko for a great mod, and thanks UnanimousCoward for the patch o7

 

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 months later...
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...