Sign in to follow this  
TouhouTorpedo

[0.25] TT's SPP MK2 Nose - Pointy front for your Spaceplane!

Recommended Posts

I've already found out what was the trouble - see above. Game engine just want some placeholder file before processing texture replacement.

Share this post


Link to post
Share on other sites
You'll want your folder to load after the Squad folder, so best have the folder in GameData start with a letter after S (or Sq).

@TouhouTorped,

The nose looks great. Don't suppose you'd be able to share the shader settings for it?

Just asked PorkJet about it on IRC, he's alright with the details being posted. The method you need for setting up the shader is as follows:

Select the Material in Unity

Material type is KSP\Bumped Specular (though if you don't have a bump map i suppose KSP\Specular is fine)

Change the "Specular Color" to 196 196 196.

at the top right of the screen is a small padlock, press the button to the right of that, then select the debug option.

Now under Floats>Element 0> the name should be "Shininess", set the number below that to 0.4406686

remember now to press that button next to the padlock again and set it to normal, else you won't be able to export your part.

And that's it! The "main colour" and "Rim fall off" apparently should be left alone and at the Unity default value.

Share this post


Link to post
Share on other sites
Just asked PorkJet about it on IRC, he's alright with the details being posted. The method you need for setting up the shader is as follows:

*snip*

Ta, I'll give it a go. Edit: Works great.

@ Dr. Jet,

I figured you'd done that step; so is the game fine swapping textures ahead of the Squad folder loading now? That used to cause some problems (hence SXT being named SXT).

Also, 1x1 texture should work fine (at least it does for me).

Edited by Lack

Share this post


Link to post
Share on other sites

@ Dr. Jet,

I figured you'd done that step; so is the game fine swapping textures ahead of the Squad folder loading now?

My mod is called "ChopShop" and textures swap properly, so alphabetical order is not the case. The only things really needed are a placeholder file and proper URLs.

Also, 1x1 texture should work fine (at least it does for me).

Everything smaller than 64x64 is resized to at least 64x64 on load (usually more)... thus sometimes it look quite weird when used as an actual texture (not a placeholder).

64x64 pure white PNG is 320 bytes only as exported by Unity. Doubt that 1x1 file will be much smaller. But 1x1 is viable, yes.

P.S. I haven't tried texture swapping with normal maps yet. KSP_Bumped_Specular often cause glitches when being fed something not marked as normal map by Unity. Don't know if it's true for placeholders.

P.P.S. Method works even with DDSLoader-processed Squad folder.

Edited by Dr. Jet

Share this post


Link to post
Share on other sites
Very nice! And very useful too.

What was that specular values you mentioned?

I'm currently working on some SPP parts too, but the "rear" ones:

http://s4.postimg.org/9bfn7zfu1/screenshot4.jpg

It's Mk2 Tricoupler and Mk2 Quintcoupler. Still without a proper collider though.

BTW, about noses. Both shorter nose and nose with inbuilt air intakes would be welcome.

nice to see some options for the rear, I've been looking for ways to attach more engines to my spaceplane.

Share this post


Link to post
Share on other sites

Brilliant, always wondered why that part wasn't in SP+ anyway. . . . seemed like an obvious oversight.

Share this post


Link to post
Share on other sites
Brilliant, always wondered why that part wasn't in SP+ anyway. . . . seemed like an obvious oversight.

It was actually in the works, along with several other parts used to terminate fuselage sections, but was put on hold once it was announced Squad would be including SPP, and also changing their shape. :)

Share this post


Link to post
Share on other sites

Cool part, but your archive is screwey:

$ unzip TT_SSP_MK2_Nose-0.2.zip 
Archive: TT_SSP_MK2_Nose-0.2.zip
extracting: GameData
checkdir error: GameData exists but is not directory
unable to process GameData/TouhouTorpedo/.
checkdir error: GameData exists but is not directory
unable to process GameData/TouhouTorpedo/TTSPPnose/.
checkdir error: GameData exists but is not directory
unable to process GameData/TouhouTorpedo/TTSPPnose/Cockpit.png.
checkdir error: GameData exists but is not directory
unable to process GameData/TouhouTorpedo/TTSPPnose/Cockpit_NRM.png.
checkdir error: GameData exists but is not directory
unable to process GameData/TouhouTorpedo/TTSPPnose/model.mu.
checkdir error: GameData exists but is not directory
unable to process GameData/TouhouTorpedo/TTSPPnose/part.cfg.
inflating: readme.txt

$ 7z x TT_SSP_MK2_Nose-0.2.zip 

7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
p7zip Version 9.20 (locale=en_NZ.UTF-8,Utf16=on,HugeFiles=on,8 CPUs)

Processing archive: TT_SSP_MK2_Nose-0.2.zip

Extracting GameData
Extracting GameData/TouhouTorpedo
Extracting GameData/TouhouTorpedo/TTSPPnose
can not open output file GameData/TouhouTorpedo/TTSPPnose/Cockpit.png
can not open output file GameData/TouhouTorpedo/TTSPPnose/Cockpit_NRM.png
can not open output file GameData/TouhouTorpedo/TTSPPnose/model.mu
can not open output file GameData/TouhouTorpedo/TTSPPnose/part.cfg
Extracting readme.txt

Sub items Errors: 4

UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.

Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip/ ;
see ftp://ftp.info-zip.org/pub/infozip/UnZip.html for other sites.

Compiled with gcc 4.8.2 for Unix (Linux ELF) on Apr 24 2014.

UnZip special compilation options:
ACORN_FTYPE_NFS
COPYRIGHT_CLEAN (PKZIP 0.9x unreducing method not supported)
SET_DIR_ATTRIB
SYMLINKS (symbolic links supported, if RTL and file system permit)
TIMESTAMP
UNIXBACKUP
USE_EF_UT_TIME
USE_UNSHRINK (PKZIP/Zip 1.x unshrinking method supported)
USE_DEFLATE64 (PKZIP 4.x Deflate64(tm) supported)
UNICODE_SUPPORT [wide-chars, char coding: UTF-8] (handle UTF-8 paths)
LARGE_FILE_SUPPORT (large files over 2 GiB supported)
ZIP64_SUPPORT (archives using Zip64 for large files supported)
USE_BZIP2 (PKZIP 4.6+, using bzip2 lib version 1.0.6, 6-Sept-2010)
VMS_TEXT_CONV
WILD_STOP_AT_DIR
[decryption, version 2.11 of 05 Jan 2007]

UnZip and ZipInfo environment options:
UNZIP: [none]
UNZIPOPT: [none]
ZIPINFO: [none]
ZIPINFOOPT: [none]

Edited by steve_v
Add unzip version info

Share this post


Link to post
Share on other sites

- Installs

- Excitedly uses new part

- "Oh THAT'S what people were talking about when they said SQUAD slightly changed the shape of all the Mk2 Parts in 0.25. . . "

Lesson: Excellent Mod but incompatible with KSP 0.24.2 + Spaceplane Plus mod.

Uggg I still don't know why squad had to subtly change all the Spaceplane Plus parts when they integrated them into the core game. Nowt wrong with them the way they were.

Share this post


Link to post
Share on other sites

The ability to flip cargo bays to use as bomb bays or VTOL engine bays was well worth it.

Share this post


Link to post
Share on other sites
The ability to flip cargo bays to use as bomb bays or VTOL engine bays was well worth it.

And for other purposes:

screenshot51_zpseb502432.jpg

Share this post


Link to post
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.

Sign in to follow this