joanna_hammond
joanna_hammond
SMSatisfactory Modding
Created by KnHawke on 1/22/2025 in #help-using-mods
universal machine
FYI, I did test in my own massive game. All machines where fine, any excess drained out and then it just worked 😄
22 replies
SMSatisfactory Modding
Created by KnHawke on 1/22/2025 in #help-using-mods
universal machine
Well I didn't want to break anyones setups, so I made it an option that you can turn on if you think it will help 😄
22 replies
SMSatisfactory Modding
Created by KnHawke on 1/22/2025 in #help-using-mods
universal machine
The new version of LFOB can autocalculate the correct buffer size for every machine, so you don't then have to worry about which recipe is the nasty one. Just enable to option in mod settings. When I said you needed to calculate the maximum recipe size I thought, why should you do that? I can do that for you 😄
22 replies
SMSatisfactory Modding
Created by KnHawke on 1/22/2025 in #help-using-mods
universal machine
The LFOB mod will just increase the buffer size so you can start the next cycle of production without going to idle (as happens with the default 50m3), typically you want the value to be 2x the max production batch value of your worst case recipe. But, during a production cycle you still need to empty that production. Slooping allows you to get more output for the same amount of incoming resources, as you will be aware. But when you start to go to larger productions you will need to underclock your machines so that the production cycle time is long enough to empty the buffer. To get more production, build more machines as in the end everything is limited by the 600m3 max flow rate of a pipe.
22 replies
SMSatisfactory Modding
Created by KnHawke on 2/28/2025 in #help-using-mods
Universal Machines Idling Themselves
ty
51 replies
SMSatisfactory Modding
Created by KnHawke on 2/28/2025 in #help-using-mods
Universal Machines Idling Themselves
true
51 replies
SMSatisfactory Modding
Created by KnHawke on 2/28/2025 in #help-using-mods
Universal Machines Idling Themselves
Yeah, Kibitz
51 replies
SMSatisfactory Modding
Created by KnHawke on 2/28/2025 in #help-using-mods
Universal Machines Idling Themselves
You really are pushing the game to it's limits though... LOL
51 replies
SMSatisfactory Modding
Created by KnHawke on 2/28/2025 in #help-using-mods
Universal Machines Idling Themselves
Of course I'll listen, don't want bugs 😄
51 replies
SMSatisfactory Modding
Created by KnHawke on 2/28/2025 in #help-using-mods
Universal Machines Idling Themselves
It can't even be backflow I would guess, fluids can't go back into the machine... lol
51 replies
SMSatisfactory Modding
Created by KnHawke on 2/28/2025 in #help-using-mods
Universal Machines Idling Themselves
true
51 replies
SMSatisfactory Modding
Created by KnHawke on 2/28/2025 in #help-using-mods
Universal Machines Idling Themselves
Well, let's see if Andre can see an issue with it. But it is a little confusing.
51 replies
SMSatisfactory Modding
Created by KnHawke on 2/28/2025 in #help-using-mods
Universal Machines Idling Themselves
hehe.
51 replies
SMSatisfactory Modding
Created by KnHawke on 2/28/2025 in #help-using-mods
Universal Machines Idling Themselves
Nothing else on the machine is changed.
51 replies
SMSatisfactory Modding
Created by KnHawke on 2/28/2025 in #help-using-mods
Universal Machines Idling Themselves
As you can see, it just replaces the existing stack with a new stack (AddArbitrarySlotSize) either adds at the index or replaces the current at the index.
51 replies
SMSatisfactory Modding
Created by KnHawke on 2/28/2025 in #help-using-mods
Universal Machines Idling Themselves
The code is silly simple, maybe Andre can see if he can see an issue......
if (not recipe)
{
UE_LOG(LogLFOB, Display, TEXT("Recipe not set, nothing to do."));
}
else
{
UFGInventoryComponent* inventory = self->GetOutputInventory();
FInventoryItem item;
FInventoryStack stack;

FLargeFluidOutputBuffersConfigurationStruct config = FLargeFluidOutputBuffersConfigurationStruct::GetActiveConfig(self->GetWorld());
int32 size = 1000 * config.OutputBufferSizeFluids;
TArray< FItemAmount > products = UFGRecipe::GetProducts(recipe);

for (int32 i = 0; i < products.Num(); i++)
{
TSubclassOf<class UFGItemDescriptor> itemClass = products[i].ItemClass;
EResourceForm form = UFGItemDescriptor::GetForm(itemClass);
FString itemDesc = UFGItemDescriptor::GetItemName(itemClass).ToString();
if (form == EResourceForm::RF_GAS || form == EResourceForm::RF_LIQUID)
{
UE_LOG(LogLFOB, Display, TEXT("Found %s Output '%s' at index %d, increasing buffer to %d m3"), (form == EResourceForm::RF_GAS ? TEXT("Gas") : TEXT("Fluid")), *itemDesc, i, config.OutputBufferSizeFluids);
inventory->AddArbitrarySlotSize(i, size);
}
}
}
if (not recipe)
{
UE_LOG(LogLFOB, Display, TEXT("Recipe not set, nothing to do."));
}
else
{
UFGInventoryComponent* inventory = self->GetOutputInventory();
FInventoryItem item;
FInventoryStack stack;

FLargeFluidOutputBuffersConfigurationStruct config = FLargeFluidOutputBuffersConfigurationStruct::GetActiveConfig(self->GetWorld());
int32 size = 1000 * config.OutputBufferSizeFluids;
TArray< FItemAmount > products = UFGRecipe::GetProducts(recipe);

for (int32 i = 0; i < products.Num(); i++)
{
TSubclassOf<class UFGItemDescriptor> itemClass = products[i].ItemClass;
EResourceForm form = UFGItemDescriptor::GetForm(itemClass);
FString itemDesc = UFGItemDescriptor::GetItemName(itemClass).ToString();
if (form == EResourceForm::RF_GAS || form == EResourceForm::RF_LIQUID)
{
UE_LOG(LogLFOB, Display, TEXT("Found %s Output '%s' at index %d, increasing buffer to %d m3"), (form == EResourceForm::RF_GAS ? TEXT("Gas") : TEXT("Fluid")), *itemDesc, i, config.OutputBufferSizeFluids);
inventory->AddArbitrarySlotSize(i, size);
}
}
}
51 replies
SMSatisfactory Modding
Created by KnHawke on 2/28/2025 in #help-using-mods
Universal Machines Idling Themselves
I can't think of anything that I could do to make it do something different. All the mod does is change the size of the output buffer from 50m3 to (your choice)m3
51 replies
SMSatisfactory Modding
Created by KnHawke on 2/28/2025 in #help-using-mods
Universal Machines Idling Themselves
for pipes.
51 replies
SMSatisfactory Modding
Created by KnHawke on 2/28/2025 in #help-using-mods
Universal Machines Idling Themselves
Strange, maybe it's something to do with being so close to the 600m3 max?
51 replies
SMSatisfactory Modding
Created by KnHawke on 2/28/2025 in #help-using-mods
Universal Machines Idling Themselves
277k m3 per minute?
51 replies