Jump to content

Getting lights to glow and cast light


Recommended Posts

Hello there. I need some help in getting the color of my lights to turn from (off) to (on) yellowish. The photos are down below
 

However, I am trying my best to follow tutorials and I cannot for the life of me get this to work with animations and exporting to KSP.
 

Thus receives this error. Is there something I am doing wrong? If you can give some pointers. Let me know, I am more of a visuals so pictures/video helps with me learning how to make a light.
Also I am on Unity 2019 for the 1.8 update.
 

Spoiler

[LOG 22:55:20.167] Load(Model): FoxDefenseContracts/BT7lights/Bt7Light
[ERR 22:55:20.196] File error:
Arg_InsufficientSpace
Parameter name: chars
  at System.Text.UTF8Encoding.InternalGetChars (System.Byte* bytes, Int32 byteCount, System.Char* chars, Int32 charCount, System.UInt32& leftOverBits, System.UInt32& leftOverCount, System.Object provider, System.Text.DecoderFallbackBuffer& fallbackBuffer, System.Byte[]& bufferArg, Boolean flush) [0x00000] in <filename unknown>:0 
  at System.Text.UTF8Encoding.InternalGetChars (System.Byte[] bytes, Int32 byteIndex, Int32 byteCount, System.Char[] chars, Int32 charIndex, System.UInt32& leftOverBits, System.UInt32& leftOverCount, System.Object provider, System.Text.DecoderFallbackBuffer& fallbackBuffer, System.Byte[]& bufferArg, Boolean flush) [0x00000] in <filename unknown>:0 
  at System.Text.UTF8Encoding.GetChars (System.Byte[] bytes, Int32 byteIndex, Int32 byteCount, System.Char[] chars, Int32 charIndex) [0x00000] in <filename unknown>:0 
  at System.IO.BinaryReader.ReadCharBytes (System.Char[] buffer, Int32 index, Int32 count, System.Int32& bytes_read) [0x00000] in <filename unknown>:0 
  at System.IO.BinaryReader.PeekChar () [0x00000] in <filename unknown>:0 
  at PartReader.ReadChild (System.IO.BinaryReader br, UnityEngine.Transform parent) [0x00000] in <filename unknown>:0 
  at PartReader.ReadChild (System.IO.BinaryReader br, UnityEngine.Transform parent) [0x00000] in <filename unknown>:0 
  at PartReader.ReadChild (System.IO.BinaryReader br, UnityEngine.Transform parent) [0x00000] in <filename unknown>:0 
  at PartReader.ReadChild (System.IO.BinaryReader br, UnityEngine.Transform parent) [0x00000] in <filename unknown>:0 
  at PartReader.ReadChild (System.IO.BinaryReader br, UnityEngine.Transform parent) [0x00000] in <filename unknown>:0 
  at PartReader.Read (.UrlFile file) [0x00000] in <filename unknown>:0 

[WRN 22:55:20.196] Model load error in 'C:\Users\mstar\Desktop\Kerbal Space Program\test\GameData\FoxDefenseContracts\BT7lights\Bt7Light.mu'

 

 

Link to comment
Share on other sites

Hi you need to use the color animation editor, that is part of the PartTools package,  you have not been able to animate emissives in the way you are trying for quite a while .  There's a tutorial elsewhere in this subform

 

Edited by SpannerMonkey(smce)
added forum link
Link to comment
Share on other sites

11 hours ago, SpannerMonkey(smce) said:

Hi you need to use the color animation editor, that is part of the PartTools package,  you have not been able to animate emissives in the way you are trying for quite a while .  There's a tutorial elsewhere in this subform

 

Thank you for this Spanner. I finally got it to work at the end of the night and just went to bed. I should've made an edit that I gotten it, but I was dead tired from trying to get it to work, then seeing it finally work. I just shut down the computer (work saved) and went to sleep.

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...