Thomas changed the topic of #kspmodding to: Welcome to #kspmodding - the channel for discussing, and learning about, modding Kerbal Space Program. Code of Conduct: https://git.io/vSQh6 | Always provide logs. | *** PSA: https://kerbalspaceprogram.com/api/index.html | <Red5> Guy was asked for a log file, he gave this link: http://pastebin.com/wfVarZPf | If you haven't read it yet: Logs :P
xEvilReeperx has joined #kspmodding
Sigma88 is now known as SigmaAway
NathanKell|Twitch is now known as NathanKell
NathanKell is now known as NathanKell|Twitch
SirKeplan is now known as SirKeplanzzz
<blowfish>
random question ... if you have a module that doesn't have to do anything in flight (after initialization) is it worth setting enabled = false to prevent Unity update methods from trying to run?
NathanKell|Twitch is now known as NathanKell
rsparkyc has joined #kspmodding
<taniwha>
blowfish: I think so
<taniwha>
I suspect unity checks enabled before checking the presence of update methods
<taniwha>
(certainly /I/ would code it something like if (c.enabled && c.Update) c.Update();)
rsparkyc has quit [Quit: Leaving.]
regex has joined #kspmodding
<blowfish>
yeah, that's kinda what I was wondering
<xShadowx>
the ksp side (isEnabled) is checked before running onFixedUpdate and onUpdate too, part calls those
<xShadowx>
(for partmodules, you said module so assumed)
<blowfish>
yeah, in this case PartModule
<blowfish>
and yes, I would probably do both
<blowfish>
although I doubt the KSP side of things would add much performance
<xShadowx>
even with both enables false, thats still wasted cpu to check potentially thousands of partmodules if enabled, wish was a more basic something just for adding fields to save for a part without having to writeyour own list to save part+data or something (something built into Part)
<xShadowx>
its small but it adds up :|
NathanKell is now known as NathanKell|NOMZ
regex has quit [Remote host closed the connection]
NathanKell|NOMZ is now known as NathanKell
Pap is now known as Pap|Sleep
NathanKell is now known as NathanKell|Twitch
xEvilReeperx has quit [Ping timeout: 180 seconds]
NathanKell|Twitch is now known as NathanKell
NathanKell is now known as NathanKell|AWAY
SigmaAway is now known as Sigma88
<Sigma88>
0/
<Sigma88>
0/
<Sigma88>
Here an interesting question
<Sigma88>
There's a texture I know is being used
<Sigma88>
But I don't know what uses it
<Sigma88>
How can I find out?
<Sigma88>
I tried: Resources.FindObjectsOfTypeAll<Material>()
<Sigma88>
But none of the materials have that texture as maintexture
<Sigma88>
If any of you have an alternative way, just ping me :)
<xShadowx>
Sigma88: atleast for parts this works - rename texture *.*_ (so prolly *.dds_ ) and it shouldnt lead, then browse ksp.log and search for the file name, or models loading crying texture not found :)
<xShadowx>
shouldnt load*
<xShadowx>
i did that a lot when trying to figure out wht part used what texture when folder had >1 part, poor names, and i wanted to cut out stuff :)
blowfish has quit [Quit: Leaving]
<Sigma88>
it's a builtin texture
<Sigma88>
but I can destroy it and see what happens I suppose
<Sigma88>
the only error I can see is this
<Sigma88>
The referenced script on this Behaviour (Game Object '<null>') is missing!
<Sigma88>
>_> not much info
smoke_fumus has joined #kspmodding
Technicalfool_ has joined #kspmodding
Technicalfool has quit [Ping timeout: 200 seconds]
<Sigma88>
that's not even an error from my plugin
<Sigma88>
>_>
<Sigma88>
I mean, the error is there even without my plugin
<Sigma88>
the texture I'm looking for is the "skybox" texture seen from the editor (VAB or SPH)
<Sigma88>
the blue sky
<Sigma88>
the name of the texture is "Sunny3_up"
<Sigma88>
there are 6 of them, one for each direction
<Sigma88>
I can get the texture itself, and if I destroy it the SPH exterior becomes black
<Sigma88>
but I want to replace it
<Sigma88>
fixed
<Sigma88>
:D
RoverDude has joined #kspmodding
Pap|Sleep has quit [Remote host closed the connection]
rsparkyc has joined #kspmodding
rsparkyc has quit [Client Quit]
<Sigma88>
do any of you have an idea of what KSP uses to color the ground outside KSC as seen from the VAB view?
Starwaster has quit [Ping timeout: 204 seconds]
Pap has joined #kspmodding
Pap has quit [Remote host closed the connection]
Pap has joined #kspmodding
rsparkyc has joined #kspmodding
rsparkyc has quit [Client Quit]
rsparkyc has joined #kspmodding
rsparkyc has quit [Client Quit]
rsparkyc has joined #kspmodding
<Sigma88>
sarbian could you ping me when you are online (and you have a minute to spare) :D
Pap has quit [Ping timeout: 204 seconds]
Ezriilc has joined #kspmodding
Starwaster has joined #kspmodding
regex has joined #kspmodding
SirKeplanzzz is now known as SirKeplan
blowfish has joined #kspmodding
rsparkyc has quit [Quit: Leaving.]
KevinStarwaster has joined #kspmodding
Starwaster has quit [Ping timeout: 204 seconds]
Pap has joined #kspmodding
KevinStarwaster is now known as Starwaster
rsparkyc has joined #kspmodding
egg|zzz|egg is now known as egg
Thomas is now known as Thomas|AWAY
blowfish has quit [Quit: Leaving]
BasharMilesTeg has quit [Ping timeout: 186 seconds]