SirDigby
Explore posts from serversSMSatisfactory Modding
•Created by SirDigby on 12/14/2024 in #help-developing-mods
Replicated variable from Actor Component
I have a Blueprint Actor Component based on a custom cpp Actor Component I'm using with a SCS Hook. The component is set to replicate and it has 1 variable I set to replicate. I populate the variable in a Blueprint and access the variable in cpp.
It works fine in Single Player or for a MP host, but when I set the variable on a client and try to access it from the server it is null. Is what I'm trying just not possible or am I missing something?
27 replies
SMSatisfactory Modding
•Created by SirDigby on 12/13/2024 in #help-developing-mods
Input Action events
18 replies
SMSatisfactory Modding
•Created by SirDigby on 12/3/2024 in #help-developing-mods
Changing language causes widget to disappear
8 replies
SMSatisfactory Modding
•Created by SirDigby on 12/2/2024 in #help-developing-mods
Mod doesn't load after adding localization
10 replies
SMSatisfactory Modding
•Created by SirDigby on 10/29/2024 in #help-developing-mods
How to determine which side of a buildable a line trace hit
I know I can do
hitResult.ImpactNormal.Z
to determine if I hit the top of a buildable, but doing hitResult.ImpactNormal.Y
will give different results based on how the buildable is rotated. Is there any way I can determine "This hit the left side"?15 replies
SMSatisfactory Modding
•Created by SirDigby on 9/28/2024 in #help-developing-mods
How to properly close a widget
I have a reference to an open widget that I want to close, but how can I do so properly? I can remove it from the viewport with
Remove from Parent
but then the mouse is still in UI mode until I press Esc
.8 replies
SMSatisfactory Modding
•Created by SirDigby on 9/27/2024 in #help-developing-mods
Get location in front of player
How can I get the location just in front of the player? Ideally I'd want to make sure nothing occupies the space as well.
From past experience I'm guessing it has something to do with getting the player camera and the forward vector, but I'm not sure exactly.
45 replies
SMSatisfactory Modding
•Created by SirDigby on 9/25/2024 in #help-developing-mods
New Consumable
Is there any documentation or examples of creating a new consumable item (like berries or nuts)? I'm trying to figure out how/where to register it so it actually available in-game. I don't plan on making it craftable so adding it to a schematic with a recipe unlock doesn't make sense.
14 replies
❔ WinUI: Find element within data template item
I have a FlipView with bound data and a data template. I'm trying to get a reference to a named element for the selected item, but can't find anything that works with WinUI.
I found this which shows how to do it with WPF via
DataTemplate.FindName
, but that isn't an option in WinUI https://learn.microsoft.com/en-us/dotnet/desktop/wpf/data/how-to-find-datatemplate-generated-elements?view=netframeworkdesktop-4.8
For context, I'm trying to modify the WinUI 3 Gallery's 'Connected Animation' example to work going from a ListView to a FlipView2 replies