![](https://forum.kerbalspaceprogram.com/uploads/set_resources_17/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
![](https://forum.kerbalspaceprogram.com/uploads/set_resources_17/84c1e40ea0e759e3f1505eb1788ddf3c_default_photo.png)
xEvilReeperx
Members-
Posts
894 -
Joined
-
Last visited
Content Type
Profiles
Forums
Developer Articles
KSP2 Release Notes
Everything posted by xEvilReeperx
-
Noted, will add. There are a few additional config options you can specify by editing settings.cfg by hand; for instance, you can disable the clicks or bubbles there It's always available. Did you configure Blizzy's toolbar to show the button during flight? You will need to do this. Find the toolbar, left-click on the arrow next to it, select "Configure Visible Buttons" or similar and make sure "Science Alert" is checked
-
I thought about this, but I didn't want to outright automate science collection. There's a certain satisfaction in having the window pop up and seeing how much science you've gathered and what the description is. If there's enough call for it, I can add it later as an option though. This is already in, sort of. You can filter alerts with four filters: Unresearched (zero science), <50%, <90% and a flat "not maxed" if you want every drop of science. Configurable per individual experiment. The plugin considers all "known" (transmitted) science, plus science onboard the active vessel.
-
Note: ScienceAlert has been officially released! You can find the release thread here! Future versions will be posted there, but feel free to use either thread for comments, suggestions or bug reports Thanks to everyone who took a chance and tried it out in its in-development state. Your help is much appreciated! One of those small annoyances I have with KSP is the lack of feedback the game provides when it comes to science. How do you know when your Kerbals have spotted something interesting? When should you hop out and have a look around in EVA? Did you forget to run an experiment? If you're tired of mashing "crew report", doing Chinese fire drill-style EVA outings or repeatedly resetting an experiment to see if you've gone from a high orbit to low yet, this plugin is for you. Here's the mod in a nutshell: What it does: Monitors the vessel's situation and available onboard experiments. When you encounter a situation in which one applies, a short sound is played and the toolbar button lights up and animates. Clicking on the toolbar button will list all experiments that are available and match your assigned filter. You can deploy that experiment immediately (or in the case of eva, send a randomly selected crew member outside) using its associated button. Features: Audio and visual cue when science is available Option to temporarily store maneuver nodes when hopping between craft, as long as you stay in the flight scene. No worries about screwing up that carefully planned transfer when you hop out on eva! Configurable science filters for experiments Configurable option to stop warp when an experiment becomes available Known Bugs: Critical: experiment data multipliers aren't calculated correctly, sometimes resulting in incorrect alerts Fixed in 1.3 Critical: stopping warp on experiment discovery could sometimes affect orbit parameters Fixed in 1.2 if you transmit science report(s) using a transmitter's action menu, the reports queued for it won't be taken into account until transmission is complete positioning of experiment buttons isn't consistent when there's room both above and below the button's location There is some kind of problem with EVA reports not registering. Looking into it. Update: couldn't confirm it. If you can reproduce it, let me know Installation: Changelog: 1.3 (April 7) Critical: Fixed an issue that caused ScienceAlert to incorrectly determine science point values which could result in incorrect alerts Added a global warp option Added a global sound alert option Log spam on vessel modification reduced Experiments with biomeMask and situationMask set to zero will now be excluded from ScienceAlert options 1.2 (April 4) Critical: Fixed an issue that could cause the active vessel's orbital parameters to be changed when stopping warp using the "stop on discovery" option Improved biome detection again. There shouldn't be any more false alerts, even at low altitudes 1.1 (April 1) Added EVA condition warning Fixed issue where base function of ModuleScienceExperiment was called instead of the correct one Fixed issue where ScienceAlert would detect the wrong biome and flash the icon at the incorrect time Stock experiments no longer have "Assume onboard" option display by default (to reduce clutter) Temporarily added a debug menu, accessable by middle-mouse clicking the toolbar button Available experiment menu polished a little; will now appear in the same location consistently 1.0 (March 28) Initial public release Other: This plugin is licensed under GPLv3. Source is available
-
[0.23] Science Checklist in Spreadsheet Form
xEvilReeperx replied to mandydax's topic in KSP1 Tools and Applications
CelestialBody actually has a field called use_The_InName that might serve for a catch-all solution -
Determining Emitter Direction
xEvilReeperx replied to Firov's topic in KSP1 C# Plugin Development Help and Support
It's probable that whatever particleEffect and valveEffect are, they don't have rigid bodies attached to them. Just use their transforms instead -
Determining Emitter Direction
xEvilReeperx replied to Firov's topic in KSP1 C# Plugin Development Help and Support
Its local y axis in worldspace? According to the unity docs your way seems fine, although localVelocity has the qualifier "starting velocity". I would think rigidbody.transform.up or rigidbody.transform.rotation * Vector3.up would also give you correct results -
You will need to locate the part with the given name, in this case sensorThermometer. It will have a ModuleScienceExperiment with an experimentID. MODULE { name = ModuleScienceExperiment [B]experimentID = temperatureScan[/B] experimentActionName = Log Temperature resetActionName = Delete Data [snip] You can then find the experiment in ScienceDefs with the given ID EXPERIMENT_DEFINITION { [B]id = temperatureScan[/B] title = Temperature Scan }
-
OnSave/OnLoad seem to work, you should use those (after modifying R&D). Use OnLoad with an empty ConfigNode to load an initial state. Most of the time you'll just have to experiment. I will help you on this one but that's it. var saveRnd = new ConfigNode(); ResearchAndDevelopment.Instance.OnSave(saveRnd); Debug.Log(saveRnd.ToString()); ResearchAndDevelopment.Instance.OnLoad(new ConfigNode()); // reset tech tree
-
GetExperiment() returns ScienceExperiment. You could use the ScienceExperiment to get a ScienceSubject related to a particular experiment, but your case doesn't seem interested in specific subject + experiment + situation + body combinations. SubmitScienceData seems likely to me. Assuming OnSave/OnLoad didn't work for you?
-
R&D.Instance might not be available until a few frames have passed, so work in some way of waiting for it to exist before trying to use it. If you're really lucky, you might be able to get the game to do your heavy lifting for you by calling R&D.OnLoad/OnSave yourself. Otherwise, here's an example snippet that unlocks any parts that haven't been "bought" in tech nodes that have been unlocked. It might give you some ideas: foreach (var part in PartLoader.LoadedPartsList) { var techNode = ResearchAndDevelopment.Instance.GetTechState(part.TechRequired); if (techNode != null) if (ResearchAndDevelopment.GetTechnologyState(techNode.techID) == RDTech.State.Available) if (!ResearchAndDevelopment.PartModelPurchased(part) && !techNode.partsPurchased.Contains(part)) { techNode.partsPurchased.Add(part); ResearchAndDevelopment.Instance.SetTechState(techNode.techID, techNode); } }
-
[HELP] KSP alpha transparency
xEvilReeperx replied to CoffeeSE's topic in KSP1 Modelling and Texturing Discussion
You don't use an alpha map with this shader. It uses the alpha channel of the main texture to do the blending -
It's the main directory KSP is in. On my machine (steam/Win7), it's "C:\Program Files (x86)\Steam\SteamApps\common\Kerbal Space Program." So in my case, the DLLs you need to reference are located at "C:\Program Files (x86)\Steam\SteamApps\common\Kerbal Space Program\KSP_Data\Managed". You should not be looking in GameData
-
It does change the current working directory which I hadn't anticipated. Should be fixed in 1.1.a. Thanks for the report!
-
It's embedded somewhere in KSP's resources, out of reach under normal circumstances. If you want a fresh copy to edit yourself, install this plugin and enter the flight scene. A copy of the original texture will be made for you in the plugin's directory provided there is no navball.png there already.