From bb40111a01b81964581b142d73ea8293aa8f7f64 Mon Sep 17 00:00:00 2001 From: Karl Arthur Date: Tue, 28 May 2024 16:51:07 +0300 Subject: [PATCH] Haptic feedback --- Config/DefaultEngine.ini | 48 ++++++++++++++++++--- Config/DefaultGame.ini | 4 ++ Config/DefaultGameplayTags.ini | 11 +++++ Content/Blueprints/BP_Bubble.uasset | 4 +- Content/Haptics/BubblePopFeedback.uasset | 3 ++ Content/Maps/MainGame.umap | 4 +- Content/Maps/MainMenu.umap | 4 +- Content/Prototype1/Prototype1.umap | 4 +- Content/Prototype2/Prototype2.umap | 4 +- Content/VRTemplate/Blueprints/VRPawn.uasset | 4 +- ReactionGame.uproject | 34 +++++++-------- 11 files changed, 88 insertions(+), 36 deletions(-) create mode 100644 Config/DefaultGameplayTags.ini create mode 100644 Content/Haptics/BubblePopFeedback.uasset diff --git a/Config/DefaultEngine.ini b/Config/DefaultEngine.ini index 37bd27f..77d746a 100644 --- a/Config/DefaultEngine.ini +++ b/Config/DefaultEngine.ini @@ -1,5 +1,3 @@ - - [/Script/Engine.RendererSettings] r.Mobile.DisableVertexFog=True r.Mobile.AllowDitheredLODTransition=False @@ -116,13 +114,10 @@ VisualizeCalibrationColorMaterialPath=None VisualizeCalibrationCustomMaterialPath=None VisualizeCalibrationGrayscaleMaterialPath=None r.Mobile.AntiAliasing=3 -r.Mobile.FloatPrecisionMode=2 +r.Mobile.FloatPrecisionMode=0 r.OpenGL.ForceDXC=0 - r.DynamicGlobalIlluminationMethod=1 - r.ReflectionMethod=1 - r.Shadow.Virtual.Enable=1 [/Script/HardwareTargeting.HardwareTargetingSettings] @@ -188,7 +183,7 @@ StoreVersionOffsetArm64=0 StoreVersionOffsetX8664=0 ApplicationDisplayName= VersionDisplayName=1.0 -MinSDKVersion=29 +MinSDKVersion=32 TargetSDKVersion=32 InstallLocation=InternalOnly bEnableGradle=True @@ -366,4 +361,43 @@ ManualIPAddress= [/Script/OculusXRHMD.OculusXRHMDRuntimeSettings] XrApi=NativeOpenXR MetaXRJsonPath=(FilePath="../../../../../../Users/mihke/Documents/Unreal Projects/meta_xr_simulator_v65/package/MetaXRSimulator/meta_openxr_simulator.json") +SystemSplashBackground=Black +bAutoEnabled=False +!SplashDescs=__ClearArray__ +ColorSpace=P3 +ControllerPoseAlignment=Default +bSupportsDash=True +bCompositesDepth=True +bHQDistortion=False +MPPoseRestoreType=Disabled +bDynamicResolution=False +PixelDensityMin=0.800000 +PixelDensityMax=1.200000 ++SupportedDevices=Quest2 +SuggestedCpuPerfLevel=SustainedLow +SuggestedGpuPerfLevel=SustainedHigh +FoveatedRenderingMethod=FixedFoveatedRendering +FoveatedRenderingLevel=Off +bDynamicFoveatedRendering=True +bSupportEyeTrackedFoveatedRendering=False +bCompositeDepthMobile=False +bFocusAware=True +bLateLatching=False +bRequiresSystemKeyboard=False +HandTrackingSupport=ControllersOnly +HandTrackingFrequency=LOW +HandTrackingVersion=Default +bInsightPassthroughEnabled=False +bAnchorSupportEnabled=False +bAnchorSharingEnabled=False +bSceneSupportEnabled=False +bBodyTrackingEnabled=False +bEyeTrackingEnabled=False +bFaceTrackingEnabled=False +FaceTrackingDataSource=() +bDeploySoToDevice=False +bIterativeCookOnTheFly=True +bSupportExperimentalFeatures=False +ProcessorFavor=FavorEqually +bTileTurnOffEnabled=True diff --git a/Config/DefaultGame.ini b/Config/DefaultGame.ini index 17e95ec..0e5bd32 100644 --- a/Config/DefaultGame.ini +++ b/Config/DefaultGame.ini @@ -6,3 +6,7 @@ bStartInVR=True [StartupActions] bAddPacks=True InsertPack=(PackSource="StarterContent.upack",PackName="StarterContent") + +[/Script/OpenXRHMD.OpenXRHMDSettings] +bIsFBFoveationEnabled=True + diff --git a/Config/DefaultGameplayTags.ini b/Config/DefaultGameplayTags.ini new file mode 100644 index 0000000..400a866 --- /dev/null +++ b/Config/DefaultGameplayTags.ini @@ -0,0 +1,11 @@ +[/Script/GameplayTags.GameplayTagsSettings] +ImportTagsFromConfig=True +WarnOnInvalidTags=True +ClearInvalidTags=False +AllowEditorTagUnloading=True +AllowGameTagUnloading=False +FastReplication=False +InvalidTagCharacters="\"\'," +NumBitsForContainerSize=6 +NetIndexFirstBitSegment=16 + diff --git a/Content/Blueprints/BP_Bubble.uasset b/Content/Blueprints/BP_Bubble.uasset index 6a4fe89..50e6d82 100644 --- a/Content/Blueprints/BP_Bubble.uasset +++ b/Content/Blueprints/BP_Bubble.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e6bb54b250eace088a86d398a05b2644f73047d3dc467ffb9cf58f818f6e008a -size 312371 +oid sha256:17f40352f9883e9e51a566f6152b2dad51bfcb2a49ebafe1218f8460dfc198bc +size 333569 diff --git a/Content/Haptics/BubblePopFeedback.uasset b/Content/Haptics/BubblePopFeedback.uasset new file mode 100644 index 0000000..e1bc005 --- /dev/null +++ b/Content/Haptics/BubblePopFeedback.uasset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f03186b0843b3c42db8bb54f1e34d48ae6142c48dfec3ac39532eb485c0fa9d1 +size 1846 diff --git a/Content/Maps/MainGame.umap b/Content/Maps/MainGame.umap index aae7cf7..a595186 100644 --- a/Content/Maps/MainGame.umap +++ b/Content/Maps/MainGame.umap @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f973db700514a8f72155c0d9902d3e4e688e25721f650b40910a08a95a4ed7f5 -size 80967 +oid sha256:f916b619bf02e4afe4e632ff58003f8c051751205b7b4d47ef3a96d74b7940d6 +size 77719 diff --git a/Content/Maps/MainMenu.umap b/Content/Maps/MainMenu.umap index 2957fb4..1efe7fd 100644 --- a/Content/Maps/MainMenu.umap +++ b/Content/Maps/MainMenu.umap @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8fbf12bc2d1988295e133cba4da508efa3b042fd9edbf0efcc3ab901adbe14df -size 93342 +oid sha256:153c2429254f33817cb88bf596d334111e908fbf75b10d00c457bbbe6aeffd97 +size 100134 diff --git a/Content/Prototype1/Prototype1.umap b/Content/Prototype1/Prototype1.umap index 2335f65..ba54cc1 100644 --- a/Content/Prototype1/Prototype1.umap +++ b/Content/Prototype1/Prototype1.umap @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:108236aeb4900ba8ccbd3e12cfea6035e366713ffad1e67de45d81b8e2b263d2 -size 69690 +oid sha256:9520211fa627bb96f7c9288ffc362f9c7b601b0171acfcaac54a6bbf5eeb5c0e +size 69367 diff --git a/Content/Prototype2/Prototype2.umap b/Content/Prototype2/Prototype2.umap index 1bb84d0..d3d28e9 100644 --- a/Content/Prototype2/Prototype2.umap +++ b/Content/Prototype2/Prototype2.umap @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d132a68dac09914a8c65b18073c639a8f04b8a956f614e3242d68b645752d66e -size 81610 +oid sha256:0ee88cbd1161e5ebfaaced6a10e47aaf224bdfc663738be711cab98dc3adc4f3 +size 77317 diff --git a/Content/VRTemplate/Blueprints/VRPawn.uasset b/Content/VRTemplate/Blueprints/VRPawn.uasset index 42ce34f..f547997 100644 --- a/Content/VRTemplate/Blueprints/VRPawn.uasset +++ b/Content/VRTemplate/Blueprints/VRPawn.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1e836979042b97e69c758557bf59bec49150b41f32a4a7c19cde9d5932f56c09 -size 871813 +oid sha256:a6a8ece374e2da9c2766b1a9dab59fad977ec27634a8c93838c0a10e962dbc65 +size 871005 diff --git a/ReactionGame.uproject b/ReactionGame.uproject index 75508b0..a37772b 100644 --- a/ReactionGame.uproject +++ b/ReactionGame.uproject @@ -14,6 +14,23 @@ } ], "Plugins": [ + { + "Name": "OculusXR", + "Enabled": true, + "MarketplaceURL": "com.epicgames.launcher://ue/marketplace/product/8313d8d7e7cf4e03a33e79eb757bccba", + "SupportedTargetPlatforms": [ + "Win64", + "Android" + ] + }, + { + "Name": "OculusPlatform", + "Enabled": true, + "SupportedTargetPlatforms": [ + "Win64", + "Android" + ] + }, { "Name": "OpenXR", "Enabled": true, @@ -40,23 +57,6 @@ "Linux", "Android" ] - }, - { - "Name": "OculusXR", - "Enabled": true, - "MarketplaceURL": "com.epicgames.launcher://ue/marketplace/product/8313d8d7e7cf4e03a33e79eb757bccba", - "SupportedTargetPlatforms": [ - "Win64", - "Android" - ] - }, - { - "Name": "OculusPlatform", - "Enabled": true, - "SupportedTargetPlatforms": [ - "Win64", - "Android" - ] } ], "TargetPlatforms": [