Commit Graph

253 Commits

Author SHA1 Message Date
jamie dale
296030749e Update existing code to use CollectSaveOverrides rather than PreSave to AddSaveOverride
#rb josh.may, scott.nelson, Yoan.StAmant
#rnx

[CL 34075985 by jamie dale in ue5-main branch]
2024-06-03 16:34:44 -04:00
ben hoffman
fa995f2781 Add "DeterminesOutputType" metadata on the GetBehaviorDefinition BP functions in the smart object subsystem.
#rb Yoan.StAmant
#rnx

[CL 33869831 by ben hoffman in ue5-main branch]
2024-05-23 14:39:41 -04:00
yoan stamant
47369fe7a4 [SmartObject] Validate definition asset on post load
- Enabled GameplayDebuggerCategory in Test builds
- Added debug labels when UE_DEBUG_DRAWING is not defined so at least we can have text at smartobject/slot locations
#jira UE-211487
#rb Mieszko.Zielinski, mikko.mononen

[CL 32853860 by yoan stamant in ue5-main branch]
2024-04-10 08:22:36 -04:00
james keeling
0195faee8d Change BP function library's Mark Slot as Occupied to return the result of the subsystem's Mark Slot As Occupied when it is called.
#rb mikko.mononen
#jira UE-211651

[CL 32795880 by james keeling in ue5-main branch]
2024-04-08 12:28:40 -04:00
yoan stamant
aed5727451 [WorldCondition] do not allow move or copy of FWorldConditionContext and FWorldConditionContextData
#rb mikko.mononen, jeff.rubin

[CL 32597651 by yoan stamant in ue5-main branch]
2024-03-28 18:06:32 -04:00
yoan stamant
73e3be5b16 Added unsafe type cast as warnings in AI related plugins/modules: StateTree, Mass, SmartObject. NavigationSystem, and ZoneGraph (partial)
#rb Mieszko.Zielinski, mikko.mononen

[CL 32398227 by yoan stamant in ue5-main branch]
2024-03-21 09:44:11 -04:00
yoan stamant
25f48711f6 [SmartObject] another tweak to the deprecation to replace blueprint compilation errors by warnings.
#rb Arciel.Rekman

[CL 32248367 by yoan stamant in ue5-main branch]
2024-03-14 12:28:05 -04:00
yoan stamant
fa692dde01 [SmartObject] updated deprecation by restoring previous property as deprecated and moving deprecation code from PostLoad to Serialize to fix issues where result differ when parent is fully loaded first or is loaded by a child.
Added some additional code as a workaround to the fact that Serialize is not called on CDO.
#rb mikko.mononen

[CL 32188938 by yoan stamant in ue5-main branch]
2024-03-12 15:36:22 -04:00
matt peters
cbc73af6cc SmartObjects: CookDeterminism: Replace GetTypeHash(FName) with GetTypeHash(FString) so that it uses persistent data for the hash rather than the ephemeral ComparisonId of the FName.
#rnx
#rb mikko.mononen

[CL 32082903 by matt peters in ue5-main branch]
2024-03-07 08:03:24 -05:00
mikko mononen
f736e66d88 SmartObject: Fix potential nullptr access in GetDefinitionData()
#rb Mieszko.Zielinski

[CL 31900579 by mikko mononen in ue5-main branch]
2024-02-29 02:59:29 -05:00
yoan stamant
9cbbe8793e [SmartObjects] provide owner actor to FindSmartObject in EQS query generator
#rb mikko.mononen

[CL 31803160 by yoan stamant in ue5-main branch]
2024-02-26 10:01:02 -05:00
steve robb
f8d47335a4 Replaced RemoveAt(N, 1, EAllowShrinking::*) with RemoveAt(N, EAllowShrinking::*).
[CL 31626444 by steve robb in ue5-main branch]
2024-02-19 16:51:58 -05:00
yoan stamant
d9bd829874 [SmartObjects] display options in the GameplayDebugger are now replicated to properly display their status on the client
#rb Aris.Theophanidis

[CL 31580641 by yoan stamant in ue5-main branch]
2024-02-16 16:28:56 -05:00
yoan stamant
2b2558905b [SmartObject] fix for slot condition activated multiple times
#rb Luciano.Ferraro

[CL 31568065 by yoan stamant in ue5-main branch]
2024-02-16 11:43:16 -05:00
yoan stamant
0afc38a0ac [SmartObject] fixed slot condition activation
#rb jason.hail

[CL 31534178 by yoan stamant in ue5-main branch]
2024-02-15 15:49:41 -05:00
yoan stamant
d923f77922 [SmartObject] adding support for SmartObjects on actor instances:
- mass tag, fragments to create/destroy smart objects for entities
- project specific interop component for instanced actors
#rb Mieszko.Zielinski, mikko.mononen

[CL 31484049 by yoan stamant in ue5-main branch]
2024-02-14 13:25:25 -05:00
yoan stamant
0d5635a910 Removed some headers dependencies on 'FHitResult' and 'FOverlapResult'
#rb Mieszko.Zielinski

[CL 31470741 by yoan stamant in ue5-main branch]
2024-02-14 09:15:30 -05:00
alex kahn
cdfd11e33e [Backout] - CL31425693 - CIS UE Error Backout 4/4
[FYI] Yoan.StAmant
Original CL Desc
-----------------------------------------------------------------
Removed some headers dependencies on 'FHitResult' and 'FOverlapResult'
#rb Mieszko.Zielinski

[CL 31440421 by alex kahn in ue5-main branch]
2024-02-13 14:37:03 -05:00
yoan stamant
00a0c5ac5d Removed some headers dependencies on 'FHitResult' and 'FOverlapResult'
#rb Mieszko.Zielinski

[CL 31425867 by yoan stamant in ue5-main branch]
2024-02-13 09:57:09 -05:00
yoan stamant
dcb2d8f110 [SmartObjects] key bindings need to be replicated
#rb Aris.Theophanidis

[CL 31351476 by yoan stamant in ue5-main branch]
2024-02-09 14:59:49 -05:00
yoan stamant
846104152a [SmartObject] owner component needs to be set before activating world conditions
#rb Luciano.Ferraro
#tests Juno

[CL 31335624 by yoan stamant in ue5-main branch]
2024-02-09 07:47:27 -05:00
yoan stamant
59d571f154 [SmartObject] added option "Slot Details" to be able to reduce the amount of replicated data for worlds with large amount of SmartObjects.
- This option is required to display annotations (i.e. turning it off will disable annotations and turning on Annotations will turn this one on)
- When turned off, a single shape will represent the SmartObject in the world
#rb mikko.mononen

[CL 31296784 by yoan stamant in ue5-main branch]
2024-02-08 13:42:02 -05:00
yoan stamant
e41fa34cc0 [SmartObject]
- allow smart object creation from definition, transform and owner descriptor struct that will use dynamic ids
- moved FSmartObjectHandleFactory to the SmartObjectTypes and added method to get a dynamic id
- replaced registration type `WithCollection` by `BindToExistingInstance` in USmartObjectComponent since it can also be used for objects not tied to a component lifetime created from CreateSmartObject
- allow subsystem component accessor to force hydrate the actor associated to a smart object.
- fixed automation test to use the right property to set a definition asset now that it has been renamed
#rb Mieszko.Zielinski, mikko.mononen
#tests QAGame, unit tests, Juno

[CL 31291768 by yoan stamant in ue5-main branch]
2024-02-08 10:15:55 -05:00
sebastien lussier
3204fd23a4 World Partition - Fixed minor typos in spelling Partition & Instance
* Partion
* Parition
* Partton
* Intance
* Instace
#rb JeanFrancois.Dube

[CL 31184663 by sebastien lussier in ue5-main branch]
2024-02-05 14:34:34 -05:00
yoan stamant
f01d228324 [SmartObjects] added option to toggle smart object annotations in GameplayDebugger
#rb Mieszko.Zielinski, mikko.mononen

[CL 31125706 by yoan stamant in ue5-main branch]
2024-02-02 10:39:19 -05:00