Thomas changed the topic of #Kopernicus to: #Kopernicus | Release 1.2.2-5 - https://git.io/v0Gg5 | Pictures: http://git.io/vWxD6 | List of packs: http://git.io/vWjiY | GitHub: http://git.io/vWAFE | Examples: http://git.io/vWAF9 | Visual Editor: http://git.io/vWAbq | Funny Quotes: https://git.io/vwsX1 | <Sigma88> how to politely tell people to shut up: link them a post that describes how to post a proper bug report
egg is now known as egg|zzz|egg
GalacticRaptor is now known as UmbralRaptor
Astronaut1 has joined #Kopernicus
<Astronaut1> Any1 on
<Astronaut1> as i need help
Astronaut1 has quit [Quit: Web client closed]
TonyC1 has joined #Kopernicus
TonyC_ has quit [Ping timeout: 204 seconds]
Raidernick has quit [Remote host closed the connection]
DuoDex is now known as dormantdex
Raidernick has joined #Kopernicus
TonyC_ has joined #Kopernicus
TonyC1 has quit [Ping timeout: 186 seconds]
JPLRepo has joined #Kopernicus
<Sigma88> thomas I thought you banned that guy
<Sigma88> :)
TwistedMinds has quit [Ping timeout: 180 seconds]
TwistedMinds has joined #Kopernicus
Norgg has joined #Kopernicus
Mead has joined #Kopernicus
TonyAirborne has joined #Kopernicus
ferram4 has quit [Ping timeout: 200 seconds]
TonyAirborne has quit [Ping timeout: 204 seconds]
ferram4 has joined #Kopernicus
<Sigma88> does anyone have the stock file with science defs?
<Sigma88> !wpn
* Qboid gives Sigma88 a finely-powdered adiabatic foil/tomahawk hybrid
Thomas|AWAY is now known as Thomas
<Thomas> Sigma88: As a german politician once said: You cannot ban silliness
Mead_ has joined #Kopernicus
<Sigma88> "but you can fine it pretty heavily" :D
TonyC_ has quit [*.net *.split]
Orkeren has quit [*.net *.split]
TonyC has quit [*.net *.split]
Mead has quit [*.net *.split]
Norgg has quit [*.net *.split]
Orkeren has joined #Kopernicus
TonyC_ has joined #Kopernicus
TonyC has joined #Kopernicus
Norgg has joined #Kopernicus
TonyAirborne has joined #Kopernicus
<Sigma88> thomas
<Sigma88> if I want to edit the cfg database
<Sigma88> after MM
<Sigma88> but before KSP reads from it
<Sigma88> specifically, the science definitions
<Sigma88> if I edit it at "MainMenu" is it too late?
<Thomas> Yes
<Thomas> You need to hook into the loading process, like mm does
<Thomas> but why after MM?
<Thomas> Just edit it with mm?
<Sigma88> but the science defs are stored somewhere right?
<Thomas> yes
<Sigma88> and do you know how they are assigned to the planets?
<Thomas> <bodyname>srf<situation><biome>
<Thomas> KerbinSrfLandedLaunchPad
<Sigma88> yes
<Sigma88> what I mean is
<Sigma88> when I run an experiment, does ksp just run through the list of all definitions and chooses one that fits the body/situation/biome ?
<Sigma88> or is there some list linked to the CB that contains only the definitions for that body
<Sigma88> ?
<Sigma88> I guess I'll have to test this myself :)
<Thomas> I'd say it builds an identifier (it connects the bodyname, srf, the situation (landed) and the biomename), checks if that identifier exists, and if not it uses the default
<Sigma88> so, hypotetically, if I were to add something to the list live and then re-run the experiment
<Sigma88> I should be able to get that def?
<Thomas> I am not sure
<Sigma88> don't worry
<Sigma88> I was asking just in case you knew
<Thomas> I think you would need to rebuild some kind of database
<Sigma88> I remember you worked on experiments and definitions when you added ground scatter science
<Sigma88> it's a shame that nobody uses that
<Thomas> typeof(ResearchAndDevelopment).GetFields(BindingFlags.Static | BindingFlags.NonPublic).First(f => f.FieldType == typeof(Dictionary<string, ScienceExperiments>)).SetValue(null, null);
<Thomas> This will trigger a reload of the experiment data
<Sigma88> oh, so I can change the ConfigNode and then do that?
<Thomas> yes
Sigma88 is now known as SigmaNote
<SigmaNote> !tell Sigma88 typeof(ResearchAndDevelopment).GetFields(BindingFlags.Static | BindingFlags.NonPublic).First(f => f.FieldType == typeof(Dictionary<string, ScienceExperiments>)).SetValue(null, null);
<Qboid> SigmaNote: I'll redirect this as soon as they are around.
<SigmaNote> damn
SigmaNote is now known as Sigma88
<Sigma88> !tell SigmaNote typeof(ResearchAndDevelopment).GetFields(BindingFlags.Static | BindingFlags.NonPublic).First(f => f.FieldType == typeof(Dictionary<string, ScienceExperiments>)).SetValue(null, null);
<Qboid> Sigma88: I'll redirect this as soon as they are around.
<Qboid> Sigma88: SigmaNote left a message for you in #Kopernicus [02.05.2017 15:51:26]: "typeof(ResearchAndDevelopment).GetFields(BindingFlags.Static | BindingFlags.NonPublic).First(f => f.FieldType == typeof(Dictionary<string, ScienceExperiments>)).SetValue(null, null);"
<Thomas> Just write an email? :D
<Sigma88> I did not think that through :D
<Sigma88> I have to open gmail :D
<Sigma88> I have to write a plugin that changes the name of the planet in the science defs, do you want it to be integrated in kopernicus?
<Thomas> what do you want to do?
<Sigma88> suppose you change the name of Duna to Mars
<Sigma88> but you want to keep the same science reports
<Sigma88> you can't change the keys with MM
<Sigma88> you can only change the values
<Sigma88> but with a plugin I can load all the keys, change their "type" eg: from DunaSrfLanded to MarsSrfLanded
<Sigma88> and then reload the database
<Thomas> Hmm, I dont think that should be in kopernicus
<Sigma88> I need it for SASS because there is an option to use stockalike names or the real names
<Sigma88> ok
<Sigma88> np
<Sigma88> I can make it a part of SASS
<Sigma88> or maybe even an independent plugin
UmbralRaptor is now known as NomalRaptor
regex has joined #Kopernicus
Sigma88 is now known as SigmaTrain
Olympic1 is now known as Olympic1|Nomz
Olympic1|Nomz is now known as Olympic1
NomalRaptor is now known as UmbralRaptor
SigmaTrain is now known as Sigma88
<Sigma88> 0/
<Thomas> \o
<Sigma88> do you have any good pictures of a kerbal head taken from one side?
Thomas is now known as Thomas|AWAY
Norgg has quit [*.net *.split]
Norgg has joined #Kopernicus
Norgg has quit [*.net *.split]
Norgg has joined #Kopernicus
regex has quit [Remote host closed the connection]
GregroxMun has joined #Kopernicus
<GregroxMun> o/