Jump to content

Resource flow types


Recommended Posts

I'm looking for some documentation on the resource flow types:

STAGE_PRIORITY_FLOW

STACK_PRIORITY_SEARCH

ALL_VESSEL

NO_FLOW

Primarily the first two.

The wiki is out of date and I can't find anything anywhere else.

Is anybody able to help with the logic of each option?

Link to comment
Share on other sites

NO_FLOW, no flow, ALL_VESSEL, all flow

STACK_PRIORITY_FLOW will draw resource from the furthest part which can be accessed via stack joints; or by fuel ducts; fuel duct paths take priority

STAGE_PRIORITY_SEARCH is the same, but it's blocked by stack decouplers; the result being that your lifter engines will not burn fuel from your orbiter stage

Link to comment
Share on other sites

  • 4 years later...
On 7/27/2014 at 5:37 AM, Greys said:

Confirmed, Stage_PRI is ALL_VESSEL but limited to what it considers the current stage to be

I know this might be considered a grave dig, but I could not find anything else on this subject. So Why Do you mean mean by Stage_PRI ?

Only thing I found was the often quoted text

Quote

"Flow Overhaul

Rewrote resource flow entirely. Now just four flow modes. Can set per-tank priority for all but AllVessel and NoFlow. Surface crossfeed for rocket engines as well as jets. Fixed priority issues. Much faster. PartResources no longer MonoBehaviours. Can set crossfeed per attach node. Electric Charge now uses STAGE_PRI so can be prioritized. Resource transfer in flight can be set to require valid crossfeed for those resources which obey crossfeed. With Advanced Tweakables on, can see flow graph in VAB/SPH (right-click on a part)."

However, According to the code (and Squad resource definition) only the following FlowModes are valid:

public enum ResourceFlowMode
{
	NO_FLOW = 0,
	ALL_VESSEL = 1,
	STAGE_PRIORITY_FLOW = 2,
	STACK_PRIORITY_SEARCH = 3,
	ALL_VESSEL_BALANCE = 4,
	STAGE_PRIORITY_FLOW_BALANCE = 5,
	STAGE_STACK_FLOW = 6,
	STAGE_STACK_FLOW_BALANCE = 7,
	NULL = 8,
}

So what is it exactly and where and when can it be used?

Edited by FreeThinker
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...