gilbr0ther Posted September 5, 2014 Share Posted September 5, 2014 Hi! I made this model to replace the current model of the mech, but do not know how to configure it. if someone can help me? The download file has the model, difuse , normal and emissive texturesDONWLOAD Link to comment Share on other sites More sharing options...
rabidninjawombat Posted September 5, 2014 Share Posted September 5, 2014 I think ive seen HAL-MechJeb done several times, but this looks like the most well designed version i have seen yet.In regards to the configuring it.. do you just need a part config, or do you need help exporting it through unity? Link to comment Share on other sites More sharing options...
tg626 Posted September 5, 2014 Share Posted September 5, 2014 I'm sorry Jeb, I'm afraid I can't do that. Link to comment Share on other sites More sharing options...
gilbr0ther Posted September 6, 2014 Author Share Posted September 6, 2014 I think ive seen HAL-MechJeb done several times, but this looks like the most well designed version i have seen yet.In regards to the configuring it.. do you just need a part config, or do you need help exporting it through unity?I want to make the light work, but not the mech ligh, but using the emissive map when on and the default texture when off Link to comment Share on other sites More sharing options...
eygc Posted September 6, 2014 Share Posted September 6, 2014 The textures are gigantic for what it is. You could probably go down to 256 with no noticeable loss in quality. Even lower. Link to comment Share on other sites More sharing options...
JazeEyed Posted September 6, 2014 Share Posted September 6, 2014 I have no idea what HAL is? Link to comment Share on other sites More sharing options...
sgt_flyer Posted September 6, 2014 Share Posted September 6, 2014 @JazeEyed HAL 9000 is the computer / A.I. that controls the discovery one spacecraft in kubrick's 2001: a Space Odyssey. Link to comment Share on other sites More sharing options...
JazeEyed Posted September 6, 2014 Share Posted September 6, 2014 @JazeEyed HAL 9000 is the computer / A.I. that controls the discovery one spacecraft in kubrick's 2001: a Space Odyssey.I have no idea what Space Oddyssey is? Link to comment Share on other sites More sharing options...
Guest Posted September 6, 2014 Share Posted September 6, 2014 A movie. Go watch it. Link to comment Share on other sites More sharing options...
Tex_NL Posted September 6, 2014 Share Posted September 6, 2014 I have no idea what Space Oddyssey is?I hope this is an age related issue and you're not just trolling. 2001: A Space Odyssey is Stanley Kubrick's 1968 Sci-Fi masterpiece (co-written by Arthur C. Clarke).This movie is mandatory 'literature' for any sci-fi fan. Link to comment Share on other sites More sharing options...
ximrm Posted September 6, 2014 Share Posted September 6, 2014 I like it!It's simple, it has style.It's HAL! Link to comment Share on other sites More sharing options...
gilbr0ther Posted September 8, 2014 Author Share Posted September 8, 2014 I reduced the textures and create a animation to the light called light_emissive.I want to use as the basis Mechjeb AR202, but know nothing about how to create an API. I paste the Mechjeb AR202 code to the MonoDevelop, but do not know how to do now.I wish that when the green light AR202 turn on, initiates light_emissive animation and when the red light activates the animation stops.Below is the code AR202Thanks in advance and sorry for my english:sealed:[TABLE="class: highlight tab-size-8 js-file-line-container"][TR][TD="class: blob-code js-file-line"][B]using[/B] [COLOR=#555555]System[/COLOR];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][B]using[/B] [COLOR=#555555]System.Collections.Generic[/COLOR];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][B]using[/B] [COLOR=#555555]System.Linq[/COLOR];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][B]using[/B] [COLOR=#555555]System.Text[/COLOR];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][B]using[/B] [COLOR=#555555]UnityEngine[/COLOR];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][B]using[/B] [COLOR=#555555]MuMech[/COLOR];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][B]namespace[/B] MechJeb9000[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"]{[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]public[/B] [B]class[/B] MechJeb9000 : PartModule[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] MechJebCore core = [B]null[/B];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [COLOR=#999988][I]//light stuff[/I][/COLOR][/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]enum[/B] LightColor { NEITHER, GREEN, RED };[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] LightColor litLight = [COLOR=#009999]0[/COLOR];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] Shader originalLensShader;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] Shader lightShader;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] Color originalLensColor = [B]new[/B] Color([COLOR=#009999]0[/COLOR], [COLOR=#009999]0[/COLOR], [COLOR=#009999]0[/COLOR], [COLOR=#009999]0[/COLOR]);[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] Light greenLight;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] Light redLight;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] Transform greenLightTransform;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] Transform redLightTransform;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]public[/B] [B]override[/B] [B]void[/B] [COLOR=#990000][B]OnStart[/B][/COLOR](StartState state)[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] core = part.Modules.OfType<MechJebCore>().FirstOrDefault();[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]if[/B] (state != StartState.None && state != StartState.Editor)[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] InitializeLights();[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]public[/B] [B]void[/B] [COLOR=#990000][B]FixedUpdate[/B][/COLOR]()[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]if[/B] (!HighLogic.LoadedSceneIsEditor) HandleLights();[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]void[/B] [COLOR=#990000][B]InitializeLights[/B][/COLOR]()[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] greenLightTransform = [B]null[/B];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] redLightTransform = [B]null[/B];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] lightShader = [B]new[/B] Material(Encoding.ASCII.GetString(Properties.Resources.shader)).shader;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]foreach[/B] (Transform t [B]in[/B] GetComponentsInChildren<Transform>())[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]if[/B] (t.name.Equals([COLOR=#DD1144]"light_green"[/COLOR])) greenLightTransform = t;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]if[/B] (t.name.Equals([COLOR=#DD1144]"light_red"[/COLOR])) redLightTransform = t;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]if[/B] ((greenLightTransform != [B]null[/B]) && (greenLightTransform.light == [B]null[/B]))[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] originalLensShader = greenLightTransform.renderer.material.shader;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] greenLight = greenLightTransform.gameObject.AddComponent<Light>();[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] greenLight.transform.parent = greenLightTransform;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] greenLight.type = LightType.Point;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] greenLight.renderMode = LightRenderMode.ForcePixel;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] greenLight.shadows = LightShadows.None;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] greenLight.enabled = [B]false[/B];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] greenLight.color = Color.green;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] greenLight.range = [COLOR=#009999]1.5F[/COLOR];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]else[/B][/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] greenLight = greenLightTransform.light;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]if[/B] ((redLightTransform != [B]null[/B]) && (redLightTransform.light == [B]null[/B]))[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] originalLensShader = redLightTransform.renderer.material.shader;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] redLight = redLightTransform.gameObject.AddComponent<Light>();[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] redLight.transform.parent = redLightTransform;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] redLight.type = LightType.Point;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] redLight.renderMode = LightRenderMode.ForcePixel;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] redLight.shadows = LightShadows.None;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] redLight.enabled = [B]false[/B];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] redLight.color = Color.red;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] redLight.range = [COLOR=#009999]1.5F[/COLOR];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]else[/B][/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] redLight = redLightTransform.light;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]void[/B] [COLOR=#990000][B]HandleLights[/B][/COLOR]()[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]if[/B] (greenLight == [B]null[/B] || redLight == [B]null[/B]) InitializeLights();[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]if[/B] (core == [B]null[/B] || MapView.MapIsEnabled)[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] litLight = LightColor.NEITHER;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]else[/B][/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [COLOR=#445588][B]bool[/B][/COLOR] somethingEnabled = [B]false[/B];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]if[/B] (vessel.GetMasterMechJeb() == core)[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]foreach[/B] (DisplayModule display [B]in[/B] core.GetComputerModules<DisplayModule>())[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]if[/B] (display [B]is[/B] MechJebModuleMenu) [B]continue[/B];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]if[/B] (display.enabled && display.showInCurrentScene)[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] somethingEnabled = [B]true[/B];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] litLight = (somethingEnabled ? LightColor.GREEN : LightColor.RED);[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]switch[/B] (litLight)[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]case[/B] LightColor.GREEN:[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]if[/B] (!greenLight.enabled) TurnOnLight(LightColor.GREEN);[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]if[/B] (redLight.enabled) TurnOffLight(LightColor.RED);[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]break[/B];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]case[/B] LightColor.RED:[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]if[/B] (greenLight.enabled) TurnOffLight(LightColor.GREEN);[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]if[/B] (!redLight.enabled) TurnOnLight(LightColor.RED);[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]break[/B];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]case[/B] LightColor.NEITHER:[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]if[/B] (greenLight.enabled) TurnOffLight(LightColor.GREEN);[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]if[/B] (redLight.enabled) TurnOffLight(LightColor.RED);[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]break[/B];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]void[/B] [COLOR=#990000][B]TurnOnLight[/B][/COLOR](LightColor which)[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]switch[/B] (which)[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]case[/B] LightColor.GREEN:[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]if[/B] (greenLightTransform != [B]null[/B])[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] greenLightTransform.renderer.material.shader = lightShader;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] greenLightTransform.renderer.material.color = Color.green;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] greenLight.enabled = [B]true[/B];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]break[/B];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]case[/B] LightColor.RED:[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]if[/B] (redLightTransform != [B]null[/B])[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] redLightTransform.renderer.material.shader = lightShader;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] redLightTransform.renderer.material.color = Color.red;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] redLight.enabled = [B]true[/B];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]break[/B];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]void[/B] [COLOR=#990000][B]TurnOffLight[/B][/COLOR](LightColor which)[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]switch[/B] (which)[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]case[/B] LightColor.GREEN:[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]if[/B] (greenLightTransform != [B]null[/B])[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] greenLightTransform.renderer.material.shader = originalLensShader;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] greenLightTransform.renderer.material.color = originalLensColor;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] greenLight.enabled = [B]false[/B];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]break[/B];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"][/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]case[/B] LightColor.RED:[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]if[/B] (redLightTransform != [B]null[/B])[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] {[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] redLightTransform.renderer.material.shader = originalLensShader;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] redLightTransform.renderer.material.color = originalLensColor;[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] redLight.enabled = [B]false[/B];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] [B]break[/B];[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"] }[/TD][/TR][TR][TD="class: blob-num js-line-number, align: right"][/TD][TD="class: blob-code js-file-line"]}[/TD][/TR][/TABLE] Link to comment Share on other sites More sharing options...
fathed Posted September 9, 2014 Share Posted September 9, 2014 MODULE { name = MechJebCore MechJebLocalSettings { MechJebModuleCustomWindowEditor { unlockTechs = flightControl } MechJebModuleSmartASS { unlockTechs = flightControl } MechJebModuleManeuverPlanner { unlockTechs = advFlightControl } MechJebModuleNodeEditor { unlockTechs = advFlightControl } MechJebModuleTranslatron { unlockTechs = advFlightControl } MechJebModuleWarpHelper { unlockTechs = advFlightControl } MechJebModuleAttitudeAdjustment { unlockTechs = advFlightControl } MechJebModuleThrustWindow { unlockTechs = advFlightControl } MechJebModuleRCSBalancerWindow { unlockTechs = advFlightControl } MechJebModuleRoverWindow { unlockTechs = fieldScience } MechJebModuleAscentGuidance { unlockTechs = unmannedTech } MechJebModuleLandingGuidance { unlockTechs = unmannedTech } MechJebModuleSpaceplaneGuidance { unlockTechs = unmannedTech } MechJebModuleDockingGuidance { unlockTechs = advUnmanned } MechJebModuleRendezvousAutopilotWindow { unlockTechs = advUnmanned } MechJebModuleRendezvousGuidance { unlockTechs = advUnmanned } } }just put that in your part config, there's no need to fork mechjeb to make a new part.See this thread for reference:http://forum.kerbalspaceprogram.com/threads/77674-Small-MechJeb-touchscreen-case Link to comment Share on other sites More sharing options...
ximrm Posted September 9, 2014 Share Posted September 9, 2014 I just had a look at your maps. and I think you should add the outer rings of the Eye and it's bulge in the normalmap. Also, a specularity map would be very good for that part.(needs)Otherwise good job, I like the Quality. Link to comment Share on other sites More sharing options...
RushilP Posted December 28, 2015 Share Posted December 28, 2015 Is this going to be updated into a full part pack at any point or was the issue resolved for a personal save? Link to comment Share on other sites More sharing options...
Jimbodiah Posted December 28, 2015 Share Posted December 28, 2015 There is a plugin that adds mechjeb to every command pod/core, so no need to add the seperate module (or forget it). Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now