Sarbian 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.htm | Someone is writting a Phd dissertation on KSP modding please fill out this survey https://goo.gl/forms/1vrkPYH4az8l32sb2 - I have met him and it s legit
egg is now known as egg|zzz|egg
blowfish has joined #kspmodding
<xShadowx>
ProtoVessel is...the vessel data when vessel is unloaded? say seen in map view
NathanKell|AFK is now known as NathanKell
blowfish has quit [Quit: Leaving]
egg|zzz|egg is now known as egg
NathanKell is now known as NathanKell|AWAY
ferram4 has quit [Read error: Connection reset by peer]
ferram4 has joined #kspmodding
dpbk has joined #kspmodding
dpbk has left #kspmodding [#kspmodding]
Starwaster has quit [Ping timeout: 195 seconds]
Starwaster has joined #kspmodding
Ezriilc has joined #kspmodding
kmath has quit [Remote host closed the connection]
taniwha has joined #kspmodding
<Starwaster>
strange.... RCS can request from radially attached tanks using STAGE_PRIORITY_FLOW but a resource generator using the same flow mode can't fill radially attached tanks...
kmath has joined #kspmodding
<xShadowx>
if the resource generator is just requesting -amount it seems like it should :|
<xShadowx>
hmm...trying to twist my LS mod to run in non flight scenes (rather than play catchup), but no partset there, which i was using to divide kerbals into 'groups' based on resource pools, so guessing i need to analyze protovessel to see where stuff goes?
<xShadowx>
hmm i could save the groups when vessel unloads.....
<xShadowx>
b/c vessels would never be made / launched without a visit to flight scene to load them atleast once first right?
blowfish has joined #kspmodding
egg is now known as egg|nomz|egg
<Starwaster>
xshadowx yeah... other LS mods do calcs like that out of flight scene, take a look at them and see what they're doing
<Starwaster>
just don't go overboard with the calcs every frame.... on every vessel that doesn't have LS modules.... there is one like that and it could get laggy as hell because of it but he insisted on doing it anyway
<Starwaster>
I think he left and someone else took it over. Hopefully they did away with that nonsense
<Starwaster>
ok, now Ioncross allows its generators to specify resource specific flow modes
<xShadowx>
Starwaster: using a vesselmodule, so every vessel gets one, but then isEnabled=false when no crew, so at best some load delay, but not running delay :)
<Starwaster>
also too, how about just not running every frame? How about running one vessel per second? That should be fine, especially when they're going to be going unloaded for long periods of time
<xShadowx>
start analyzes vessel to form 'groups' for each resource pool based on flow, so electriccharge since i flows ful vessel gets 1 group, oxygen might be a resource that doesnt flow to other parts, so itd be 1 group per part, for each group store the kerbals effected by resource, and total usage (usage * kerbals in group), then every fixedupdate, loop groups, request(resource, usage)
<Starwaster>
what's a loop group? Would that be something like a generator that requires a resource created elsewhere to make another resource?
<xShadowx>
i mean foreach(group in groups)
<xShadowx>
it loops the groups to use the resource
<xShadowx>
and so far i dont handle generators, nothing in partmodules, i handle "what kerbals take in and out", ie take in oxygen, put out co2
<xShadowx>
fairly basic, just make groups of precalc usage, loop, request usage :)
<xShadowx>
just gotta figure how to analyze em for when ship not loaded heh
<xShadowx>
as for the 'update once per second' i think i will for unloaded stuff, but active vessel i want to keep instant, so it doesnt screw with the resource panel rates
<xShadowx>
tacls runs catchup style still?
<xShadowx>
hmm what ls mod still runs behind the cenes
egg|nomz|egg is now known as egg
Ezriilc_ has joined #kspmodding
Ezriilc has quit [Ping timeout: 186 seconds]
Ezriilc_ is now known as Ezriilc
CragnatharTheDestroyer has joined #kspmodding
NathanKell|AWAY is now known as NathanKell
Qboid was kicked from #kspmodding by *status [You have been disconnected from the IRC server]
Qboid has joined #kspmodding
Qboid was kicked from #kspmodding by *status [You have been disconnected from the IRC server]
Qboid has joined #kspmodding
rsparkyc has joined #kspmodding
blowfish has quit [Quit: Leaving]
NathanKell is now known as NathanKell|AFK
<Starwaster>
xshadowx can you do greenhouses that way?
stratochief is now known as stratochief|meeting
<xShadowx>
Starwaster: was planning to, why?
<Starwaster>
just curious as greenhouses should be an important life support component
<xShadowx>
as are co2 scrubbers ;p
<Starwaster>
it's too bad there's no mods that introduces a Kerbal wandering the KSC grounds, maybe as a night watchman or a janitor... and if you bring a Kerbal near him he tells them that he used to be an astronaut just like them....