-
Posts
611 -
Joined
-
Last visited
Content Type
Profiles
Forums
Developer Articles
KSP2 Release Notes
Everything posted by Warezcrawler
-
[1.2.1] GTIndustries (Updated 24-11-2016)
Warezcrawler replied to Warezcrawler's topic in KSP1 Mod Development
Update [1.1] KSP Engine Switch 0.5.1-alpha Now it's possible to add a required technology for each engine propellant combination If no switch combination is available, the configuration in the original engine is used unchanged. -
Love this tool!!!!
-
[1.0.2] FTL Drive (Updates on development)
Warezcrawler replied to krh42's topic in KSP1 Mod Development
I sure hope you will update for the KSP 1.1 version. I just had a look. I think it can be updated be replacing the references with the new one, and the fixing the SoundManager. I think, according to Athlonic, that "panLevel" needs to be replaced by spatialBlend, which he did for Chatterer. After this the plugin compiles. Haven't tested if it behaves though. -
[1.0.2] Navball docking alignment indicator v7
Warezcrawler replied to mic_e's topic in KSP1 Mod Releases
I second Bizz Keryear. Will there be an update for 1.1? I would be very sad if not! -
[1.2.1] GTIndustries (Updated 24-11-2016)
Warezcrawler replied to Warezcrawler's topic in KSP1 Mod Development
Another update This release is where the core functionality is ready for use. There is still some development to do, I'm specifically going to look into FreeThinker's suggestion of incorporating different exhaust effects for every propellant. This should however not affect the functionality already implemented. [1.1] KSP Engine Switch 0.5-alpha Added support for atmChangeFlow useVelCurve useAtmCurve Engine thrust is not mandatory anymore Now only Fuels and ratios are mandatory settings Now module manager is distributed with Engine Switcher (version 2.6.21) -
Technology Level
Warezcrawler replied to Warezcrawler's topic in KSP1 C# Plugin Development Help and Support
Thanks Ser.... I was hoping for a function that would yield a bool value, but this should work as well. Initial test shows that it returns "Available" or "Unavailable", which should be fine for my needs. -
Technology Level
Warezcrawler replied to Warezcrawler's topic in KSP1 C# Plugin Development Help and Support
Thanks for replying. However, I'm not sure if I get the code you propose. So add some event callback for when a technology is researched? I'm not even sure what all the arguments are? As far as I can get from it, the callback will do a check of the tech just researched againt the one I would specify. However, how can I use this for my module when I later try and change the module behavior when flying around the Mün? -
I'm looking for a way to evaluate if a specific technology have been researched, so that I can have som module behavior depend on that information. However, I just can figure out exactly how to do that. I've tried thing like the following. ResearchAndDevelopment.Instance.GetTechState("basicRocketry") But all I get is null ref errors. Does anybody know how to get that information? Maybe even a list of all researched tech?
-
I love this mod.... Soooo happy you have updated it.... Long and large rockets are just so much easier when having this mod!
-
brilliant..... will change the code ASAP THANKS ---- I ended up with this if it can help anybody else UI_ChooseOption chooseOption = HighLogic.LoadedSceneIsFlight ? chooseField.uiControlFlight as UI_ChooseOption : chooseField.uiControlEditor as UI_ChooseOption; chooseOption.options = Options; //Options is an array with my options chooseOption.display = arrIntakeNames; //arrIntakeNames is an array of the names I want shown when the function is fixed chooseOption.onFieldChanged = selectIntake; //selectIntake is the currently selected option
-
I have observed something odd..... Which is great for thing thread I've created a UI_CHOOSEOPTION to change engine setup (thrust, fuel consumption etc.). Now when changing midair using my new UI_CHOOSEOPTION, all of a sudden the A + D buttons get linked to the functions for next and previous option. If I click somewhere else (closing the right click menu) then the "link" is reset, and A + D does not impact the choose option..... @taniwha Is this a bug that need being reported? Or is it intended. (I can say this. It has caused me to crash my plane )
-
Sounds great Another thing. I had some issues creating an UI_CHOOSEOPTION which worked in flight based on the description blowfish did. What I found was, that setting inFieldChanged and the options from code, I had to code specific for each (editor and flight). Is there some way to do it in one go? It's nice having the posibility to set it individually, but in my case they are to be symmetric. Is this a "feature" or is it an oversight or is it just me ? public override void OnStart(PartModule.StartState state) { var chooseField = Fields["ChooseOption"]; chooseField.guiName = "Choose Something"; //for VAB var chooseOptionEditor = chooseField.uiControlEditor as UI_ChooseOption; chooseOptionEditor.options = new string[3] { "1", "2", "3" }; chooseOptionEditor.onFieldChanged = UpdateFromGUI; //For inflight var chooseOptionFlight = chooseField.uiControlFlight as UI_ChooseOption; chooseOptionFlight.options = new string[3] { "1", "2", "3" }; chooseOptionFlight.onFieldChanged = UpdateFromGUI; }
-
[1.2.1] GTIndustries (Updated 24-11-2016)
Warezcrawler replied to Warezcrawler's topic in KSP1 Mod Development
UPDATE [1.1] KSP Engine Switch 0.4.1-alpha Fixed hardcoded resource switching when switching intakes Fixed null references in intake resources Now all resources in the intake part is deleted and replaced by a new one with specified spec. Thanks to Crzyrndm for advise and references regarding ConfigNode. Example MM files for Engine Switching and Intake Switch included in download. -
[1.2.1] GTIndustries (Updated 24-11-2016)
Warezcrawler replied to Warezcrawler's topic in KSP1 Mod Development
I've added an update with intake switching. This is very much WIP, and features will be added. Currently only the resource is switched, not any additional parameters. -
Confignode editing
Warezcrawler replied to Warezcrawler's topic in KSP1 C# Plugin Development Help and Support
Thanks... I will study this, and see if I can deduce what I need to know from the Happy coding!!! -
[1.2.1] GTIndustries (Updated 24-11-2016)
Warezcrawler replied to Warezcrawler's topic in KSP1 Mod Development
Thanks... I have considered the the effects. This should be possible in later development. I'll put it on the list. Currently I'm working on the intakes to supplement the engines. Like switching from IntakeAir to IntakeAtm, which is usable on Duna. -
Thanks. That's a great description. Is there really no way of calling a specific function when the UI_CHOOSEOPTION changes? That seems wierd.... I found this "onFieldChanged =" property, but I can't get it to work. The name seems as if this is want should be used when the user clicks for next option, does it not? @NathanKell Maybe you know if there is some natural way of calling a procedure when a new option is chosen?