diff --git a/Config/DefaultEngine.ini b/Config/DefaultEngine.ini index 09328d9..ed1aeca 100644 --- a/Config/DefaultEngine.ini +++ b/Config/DefaultEngine.ini @@ -70,7 +70,7 @@ r.AllowGlobalClipPlane=False r.GBufferFormat=1 r.MorphTarget.Mode=True r.GPUCrashDebugging=False -vr.InstancedStereo=False +vr.InstancedStereo=True vr.MultiView=False vr.MobileMultiView=False vr.MobileMultiView.Direct=False @@ -86,10 +86,10 @@ r.SupportAtmosphericFog=True r.SupportSkyAtmosphere=True r.SupportSkyAtmosphereAffectsHeightFog=False r.SkinCache.CompileShaders=False -r.Mobile.EnableStaticAndCSMShadowReceivers=True +r.Mobile.EnableStaticAndCSMShadowReceivers=False r.Mobile.EnableMovableLightCSMShaderCulling=True -r.Mobile.AllowDistanceFieldShadows=True -r.Mobile.AllowMovableDirectionalLights=True +r.Mobile.AllowDistanceFieldShadows=False +r.Mobile.AllowMovableDirectionalLights=False r.MobileNumDynamicPointLights=4 r.MobileDynamicPointLightsUseStaticBranch=True r.Mobile.EnableMovableSpotlights=False @@ -120,3 +120,4 @@ TargetedHardwareClass=Desktop AppliedTargetedHardwareClass=Desktop DefaultGraphicsPerformance=Maximum AppliedDefaultGraphicsPerformance=Maximum + diff --git a/Content/Asset/Geometry/Brake_shoe_rack/MI_brakeshoe.uasset b/Content/Asset/Geometry/Brake_shoe_rack/MI_brakeshoe.uasset new file mode 100644 index 0000000..51d31af Binary files /dev/null and b/Content/Asset/Geometry/Brake_shoe_rack/MI_brakeshoe.uasset differ diff --git a/Content/Asset/Geometry/Brake_shoe_rack/MI_brakeshoerack.uasset b/Content/Asset/Geometry/Brake_shoe_rack/MI_brakeshoerack.uasset new file mode 100644 index 0000000..1187697 Binary files /dev/null and b/Content/Asset/Geometry/Brake_shoe_rack/MI_brakeshoerack.uasset differ diff --git a/Content/Asset/Geometry/Brake_shoe_rack/SM_Brake_shoe.uasset b/Content/Asset/Geometry/Brake_shoe_rack/SM_Brake_shoe.uasset new file mode 100644 index 0000000..b57291e Binary files /dev/null and b/Content/Asset/Geometry/Brake_shoe_rack/SM_Brake_shoe.uasset differ diff --git a/Content/Asset/Geometry/Brake_shoe_rack/SM_brake_shoe_rack.uasset b/Content/Asset/Geometry/Brake_shoe_rack/SM_brake_shoe_rack.uasset new file mode 100644 index 0000000..e69726e Binary files /dev/null and b/Content/Asset/Geometry/Brake_shoe_rack/SM_brake_shoe_rack.uasset differ diff --git a/Content/Asset/Geometry/Brake_shoe_rack/T_Brake_shoe_BC.uasset b/Content/Asset/Geometry/Brake_shoe_rack/T_Brake_shoe_BC.uasset new file mode 100644 index 0000000..e8d921d Binary files /dev/null and b/Content/Asset/Geometry/Brake_shoe_rack/T_Brake_shoe_BC.uasset differ diff --git a/Content/Asset/Geometry/Brake_shoe_rack/T_Brake_shoe_N.uasset b/Content/Asset/Geometry/Brake_shoe_rack/T_Brake_shoe_N.uasset new file mode 100644 index 0000000..9ba078a Binary files /dev/null and b/Content/Asset/Geometry/Brake_shoe_rack/T_Brake_shoe_N.uasset differ diff --git a/Content/Asset/Geometry/Brake_shoe_rack/T_Brake_shoe_ORM.uasset b/Content/Asset/Geometry/Brake_shoe_rack/T_Brake_shoe_ORM.uasset new file mode 100644 index 0000000..bf3bd04 Binary files /dev/null and b/Content/Asset/Geometry/Brake_shoe_rack/T_Brake_shoe_ORM.uasset differ diff --git a/Content/Asset/Geometry/Brake_shoe_rack/T_Brake_shoe_rack_ORM.uasset b/Content/Asset/Geometry/Brake_shoe_rack/T_Brake_shoe_rack_ORM.uasset new file mode 100644 index 0000000..865ad23 Binary files /dev/null and b/Content/Asset/Geometry/Brake_shoe_rack/T_Brake_shoe_rack_ORM.uasset differ diff --git a/Content/Asset/Geometry/Brake_shoe_rack/T_brake_shoe_rack_BC.uasset b/Content/Asset/Geometry/Brake_shoe_rack/T_brake_shoe_rack_BC.uasset new file mode 100644 index 0000000..792edcd Binary files /dev/null and b/Content/Asset/Geometry/Brake_shoe_rack/T_brake_shoe_rack_BC.uasset differ diff --git a/Content/Asset/Geometry/Brake_shoe_rack/T_brake_shoe_rack_N.uasset b/Content/Asset/Geometry/Brake_shoe_rack/T_brake_shoe_rack_N.uasset new file mode 100644 index 0000000..9ea6b28 Binary files /dev/null and b/Content/Asset/Geometry/Brake_shoe_rack/T_brake_shoe_rack_N.uasset differ diff --git a/Content/Blueprints/Player/VR/BP_Hammer.uasset b/Content/Blueprints/Player/VR/BP_Hammer.uasset new file mode 100644 index 0000000..23732fa Binary files /dev/null and b/Content/Blueprints/Player/VR/BP_Hammer.uasset differ diff --git a/Content/Blueprints/Player/VR/BP_Manometr.uasset b/Content/Blueprints/Player/VR/BP_Manometr.uasset new file mode 100644 index 0000000..59ddb5a Binary files /dev/null and b/Content/Blueprints/Player/VR/BP_Manometr.uasset differ diff --git a/Content/Blueprints/Player/VR/BP_MotionController.uasset b/Content/Blueprints/Player/VR/BP_MotionController.uasset new file mode 100644 index 0000000..7fa052c Binary files /dev/null and b/Content/Blueprints/Player/VR/BP_MotionController.uasset differ diff --git a/Content/Blueprints/Player/VR/BP_Pirometer.uasset b/Content/Blueprints/Player/VR/BP_Pirometer.uasset new file mode 100644 index 0000000..9db8d51 Binary files /dev/null and b/Content/Blueprints/Player/VR/BP_Pirometer.uasset differ diff --git a/Content/Blueprints/Player/VR/Ipad.uasset b/Content/Blueprints/Player/VR/Ipad.uasset new file mode 100644 index 0000000..7bd6480 Binary files /dev/null and b/Content/Blueprints/Player/VR/Ipad.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/BeamMesh.uasset b/Content/Blueprints/Player/VR/Materials/BeamMesh.uasset new file mode 100644 index 0000000..0878e1b Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/BeamMesh.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/Colors.uasset b/Content/Blueprints/Player/VR/Materials/Colors.uasset new file mode 100644 index 0000000..9304d13 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/Colors.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/Ipad/Body_Diffuse_1.uasset b/Content/Blueprints/Player/VR/Materials/Ipad/Body_Diffuse_1.uasset new file mode 100644 index 0000000..6a49ae8 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/Ipad/Body_Diffuse_1.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/Ipad/Body_Diffuse_2.uasset b/Content/Blueprints/Player/VR/Materials/Ipad/Body_Diffuse_2.uasset new file mode 100644 index 0000000..e748b91 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/Ipad/Body_Diffuse_2.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/Ipad/Button.uasset b/Content/Blueprints/Player/VR/Materials/Ipad/Button.uasset new file mode 100644 index 0000000..1d065fb Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/Ipad/Button.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/Ipad/Ipad.uasset b/Content/Blueprints/Player/VR/Materials/Ipad/Ipad.uasset new file mode 100644 index 0000000..6474c27 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/Ipad/Ipad.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/Ipad/Ipad1.uasset b/Content/Blueprints/Player/VR/Materials/Ipad/Ipad1.uasset new file mode 100644 index 0000000..7bca0d1 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/Ipad/Ipad1.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/Ipad/M_Ipad.uasset b/Content/Blueprints/Player/VR/Materials/Ipad/M_Ipad.uasset new file mode 100644 index 0000000..7f2ebee Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/Ipad/M_Ipad.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/Ipad/M_Ipad_Btn.uasset b/Content/Blueprints/Player/VR/Materials/Ipad/M_Ipad_Btn.uasset new file mode 100644 index 0000000..2f10cfd Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/Ipad/M_Ipad_Btn.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/Ipad/M_Ipad_Front.uasset b/Content/Blueprints/Player/VR/Materials/Ipad/M_Ipad_Front.uasset new file mode 100644 index 0000000..13b66a7 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/Ipad/M_Ipad_Front.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/Ipad/M_Ipad_Screen.uasset b/Content/Blueprints/Player/VR/Materials/Ipad/M_Ipad_Screen.uasset new file mode 100644 index 0000000..b7bde48 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/Ipad/M_Ipad_Screen.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/Ipad/M_Ipad_back.uasset b/Content/Blueprints/Player/VR/Materials/Ipad/M_Ipad_back.uasset new file mode 100644 index 0000000..d3c1dbc Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/Ipad/M_Ipad_back.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/Ipad/M_NewIpad.uasset b/Content/Blueprints/Player/VR/Materials/Ipad/M_NewIpad.uasset new file mode 100644 index 0000000..db3f69c Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/Ipad/M_NewIpad.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/Ipad/Screen_Diffuse.uasset b/Content/Blueprints/Player/VR/Materials/Ipad/Screen_Diffuse.uasset new file mode 100644 index 0000000..02fc46c Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/Ipad/Screen_Diffuse.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/Ipad/T_M_Plastic_linsa_BaseMap.uasset b/Content/Blueprints/Player/VR/Materials/Ipad/T_M_Plastic_linsa_BaseMap.uasset new file mode 100644 index 0000000..494fae7 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/Ipad/T_M_Plastic_linsa_BaseMap.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/Ipad/T_M_Plastic_linsa_MaskMap.uasset b/Content/Blueprints/Player/VR/Materials/Ipad/T_M_Plastic_linsa_MaskMap.uasset new file mode 100644 index 0000000..3924d78 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/Ipad/T_M_Plastic_linsa_MaskMap.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/Ipad/T_M_Plastic_linsa_Normal.uasset b/Content/Blueprints/Player/VR/Materials/Ipad/T_M_Plastic_linsa_Normal.uasset new file mode 100644 index 0000000..ff79970 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/Ipad/T_M_Plastic_linsa_Normal.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/M_ArcEndpoint.uasset b/Content/Blueprints/Player/VR/Materials/M_ArcEndpoint.uasset new file mode 100644 index 0000000..fdc49f1 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/M_ArcEndpoint.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/M_SplineArcMat.uasset b/Content/Blueprints/Player/VR/Materials/M_SplineArcMat.uasset new file mode 100644 index 0000000..80c6038 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/M_SplineArcMat.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/M_TeleportPreviews.uasset b/Content/Blueprints/Player/VR/Materials/M_TeleportPreviews.uasset new file mode 100644 index 0000000..e43cc32 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/M_TeleportPreviews.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/NewController/ControllerGhost.uasset b/Content/Blueprints/Player/VR/Materials/NewController/ControllerGhost.uasset new file mode 100644 index 0000000..5555126 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/NewController/ControllerGhost.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/NewController/MI_NewController_left.uasset b/Content/Blueprints/Player/VR/Materials/NewController/MI_NewController_left.uasset new file mode 100644 index 0000000..09e00bc Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/NewController/MI_NewController_left.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/NewController/M_NewController.uasset b/Content/Blueprints/Player/VR/Materials/NewController/M_NewController.uasset new file mode 100644 index 0000000..a3c59eb Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/NewController/M_NewController.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/NewController/left_diff.uasset b/Content/Blueprints/Player/VR/Materials/NewController/left_diff.uasset new file mode 100644 index 0000000..8618a62 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/NewController/left_diff.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/NewController/left_spec.uasset b/Content/Blueprints/Player/VR/Materials/NewController/left_spec.uasset new file mode 100644 index 0000000..6707317 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/NewController/left_spec.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/NewController/oculus_rifts_controller_left.uasset b/Content/Blueprints/Player/VR/Materials/NewController/oculus_rifts_controller_left.uasset new file mode 100644 index 0000000..bdb7427 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/NewController/oculus_rifts_controller_left.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/NewController/oculus_rifts_controller_right.uasset b/Content/Blueprints/Player/VR/Materials/NewController/oculus_rifts_controller_right.uasset new file mode 100644 index 0000000..e631354 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/NewController/oculus_rifts_controller_right.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/NewController/right_diff.uasset b/Content/Blueprints/Player/VR/Materials/NewController/right_diff.uasset new file mode 100644 index 0000000..8288d9c Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/NewController/right_diff.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/NewController/right_spec.uasset b/Content/Blueprints/Player/VR/Materials/NewController/right_spec.uasset new file mode 100644 index 0000000..2d5e7c3 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/NewController/right_spec.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/T_VivePreController_EM.uasset b/Content/Blueprints/Player/VR/Materials/T_VivePreController_EM.uasset new file mode 100644 index 0000000..52fce0d Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/T_VivePreController_EM.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/VivePreControllerDiffuse.uasset b/Content/Blueprints/Player/VR/Materials/VivePreControllerDiffuse.uasset new file mode 100644 index 0000000..f38769c Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/VivePreControllerDiffuse.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/VivePreControllerMaterial.uasset b/Content/Blueprints/Player/VR/Materials/VivePreControllerMaterial.uasset new file mode 100644 index 0000000..58fcb57 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/VivePreControllerMaterial.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/VivePreControllerMesh.uasset b/Content/Blueprints/Player/VR/Materials/VivePreControllerMesh.uasset new file mode 100644 index 0000000..3835b18 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/VivePreControllerMesh.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/VivePreControllerSpec.uasset b/Content/Blueprints/Player/VR/Materials/VivePreControllerSpec.uasset new file mode 100644 index 0000000..8594dd2 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/VivePreControllerSpec.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/VivePreController_MasksA.uasset b/Content/Blueprints/Player/VR/Materials/VivePreController_MasksA.uasset new file mode 100644 index 0000000..931325b Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/VivePreController_MasksA.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/VivePreController_MasksB.uasset b/Content/Blueprints/Player/VR/Materials/VivePreController_MasksB.uasset new file mode 100644 index 0000000..174fa07 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/VivePreController_MasksB.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/avatar/M_Avatar.uasset b/Content/Blueprints/Player/VR/Materials/avatar/M_Avatar.uasset new file mode 100644 index 0000000..b447d25 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/avatar/M_Avatar.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/avatar/PackedMaterial0.uasset b/Content/Blueprints/Player/VR/Materials/avatar/PackedMaterial0.uasset new file mode 100644 index 0000000..2f95d8b Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/avatar/PackedMaterial0.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/avatar/SM_BaseballCap_01.uasset b/Content/Blueprints/Player/VR/Materials/avatar/SM_BaseballCap_01.uasset new file mode 100644 index 0000000..67e16ec Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/avatar/SM_BaseballCap_01.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/avatar/SM_Head.uasset b/Content/Blueprints/Player/VR/Materials/avatar/SM_Head.uasset new file mode 100644 index 0000000..be58eac Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/avatar/SM_Head.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/avatar/SM_ManEngineerBody_01.uasset b/Content/Blueprints/Player/VR/Materials/avatar/SM_ManEngineerBody_01.uasset new file mode 100644 index 0000000..55898a2 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/avatar/SM_ManEngineerBody_01.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/avatar/T_Skin.uasset b/Content/Blueprints/Player/VR/Materials/avatar/T_Skin.uasset new file mode 100644 index 0000000..417af5d Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/avatar/T_Skin.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/avatar/T_Uniform_BC.uasset b/Content/Blueprints/Player/VR/Materials/avatar/T_Uniform_BC.uasset new file mode 100644 index 0000000..5408da5 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/avatar/T_Uniform_BC.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/avatar/T_Uniform_E.uasset b/Content/Blueprints/Player/VR/Materials/avatar/T_Uniform_E.uasset new file mode 100644 index 0000000..a48c0a1 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/avatar/T_Uniform_E.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/avatar/T_Uniform_N.uasset b/Content/Blueprints/Player/VR/Materials/avatar/T_Uniform_N.uasset new file mode 100644 index 0000000..3e094e4 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/avatar/T_Uniform_N.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/avatar/T_Uniform_ORM.uasset b/Content/Blueprints/Player/VR/Materials/avatar/T_Uniform_ORM.uasset new file mode 100644 index 0000000..09bed28 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/avatar/T_Uniform_ORM.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/avatar/lambert3_001.uasset b/Content/Blueprints/Player/VR/Materials/avatar/lambert3_001.uasset new file mode 100644 index 0000000..892a0e7 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/avatar/lambert3_001.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/avatar/lambert4_001.uasset b/Content/Blueprints/Player/VR/Materials/avatar/lambert4_001.uasset new file mode 100644 index 0000000..5deb512 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/avatar/lambert4_001.uasset differ diff --git a/Content/Blueprints/Player/VR/Materials/shadowControllerMat.uasset b/Content/Blueprints/Player/VR/Materials/shadowControllerMat.uasset new file mode 100644 index 0000000..6914d73 Binary files /dev/null and b/Content/Blueprints/Player/VR/Materials/shadowControllerMat.uasset differ diff --git a/Content/Blueprints/Player/VR/MotionControllerHaptics.uasset b/Content/Blueprints/Player/VR/MotionControllerHaptics.uasset new file mode 100644 index 0000000..906c786 Binary files /dev/null and b/Content/Blueprints/Player/VR/MotionControllerHaptics.uasset differ diff --git a/Content/Blueprints/Player/VR/MotionControllerHapticsquick.uasset b/Content/Blueprints/Player/VR/MotionControllerHapticsquick.uasset new file mode 100644 index 0000000..0a1cd4c Binary files /dev/null and b/Content/Blueprints/Player/VR/MotionControllerHapticsquick.uasset differ diff --git a/Content/Blueprints/Player/VR/MotionControllerPawn.uasset b/Content/Blueprints/Player/VR/MotionControllerPawn.uasset new file mode 100644 index 0000000..226780d Binary files /dev/null and b/Content/Blueprints/Player/VR/MotionControllerPawn.uasset differ diff --git a/Content/Blueprints/Player/VR/action.uasset b/Content/Blueprints/Player/VR/action.uasset new file mode 100644 index 0000000..0f39232 Binary files /dev/null and b/Content/Blueprints/Player/VR/action.uasset differ diff --git a/Content/Blueprints/Player/VR/flashlight.uasset b/Content/Blueprints/Player/VR/flashlight.uasset new file mode 100644 index 0000000..3723ec8 Binary files /dev/null and b/Content/Blueprints/Player/VR/flashlight.uasset differ diff --git a/Content/Blueprints/Player/myGM.uasset b/Content/Blueprints/Player/myGM.uasset new file mode 100644 index 0000000..a4eb3bc Binary files /dev/null and b/Content/Blueprints/Player/myGM.uasset differ diff --git a/Content/Blueprints/Player/myGS.uasset b/Content/Blueprints/Player/myGS.uasset new file mode 100644 index 0000000..e4603db Binary files /dev/null and b/Content/Blueprints/Player/myGS.uasset differ diff --git a/Content/Blueprints/UI/imgs/1.uasset b/Content/Blueprints/UI/imgs/1.uasset new file mode 100644 index 0000000..1cb6d74 Binary files /dev/null and b/Content/Blueprints/UI/imgs/1.uasset differ diff --git a/Content/Blueprints/UI/imgs/2.uasset b/Content/Blueprints/UI/imgs/2.uasset new file mode 100644 index 0000000..a77abb6 Binary files /dev/null and b/Content/Blueprints/UI/imgs/2.uasset differ diff --git a/Content/Blueprints/UI/imgs/3.uasset b/Content/Blueprints/UI/imgs/3.uasset new file mode 100644 index 0000000..d858b0b Binary files /dev/null and b/Content/Blueprints/UI/imgs/3.uasset differ diff --git a/Content/Blueprints/UI/imgs/4.uasset b/Content/Blueprints/UI/imgs/4.uasset new file mode 100644 index 0000000..2e05bc7 Binary files /dev/null and b/Content/Blueprints/UI/imgs/4.uasset differ diff --git a/Content/Blueprints/UI/imgs/5.uasset b/Content/Blueprints/UI/imgs/5.uasset new file mode 100644 index 0000000..f5ae4c3 Binary files /dev/null and b/Content/Blueprints/UI/imgs/5.uasset differ diff --git a/Content/Blueprints/UI/imgs/6.uasset b/Content/Blueprints/UI/imgs/6.uasset new file mode 100644 index 0000000..6ffcd11 Binary files /dev/null and b/Content/Blueprints/UI/imgs/6.uasset differ diff --git a/Content/Blueprints/UI/imgs/7.uasset b/Content/Blueprints/UI/imgs/7.uasset new file mode 100644 index 0000000..0666ff3 Binary files /dev/null and b/Content/Blueprints/UI/imgs/7.uasset differ diff --git a/Content/Blueprints/UI/imgs/8.uasset b/Content/Blueprints/UI/imgs/8.uasset new file mode 100644 index 0000000..1dcaecb Binary files /dev/null and b/Content/Blueprints/UI/imgs/8.uasset differ diff --git a/Content/Blueprints/UI/imgs/elements/bkg_map.uasset b/Content/Blueprints/UI/imgs/elements/bkg_map.uasset new file mode 100644 index 0000000..afb4350 Binary files /dev/null and b/Content/Blueprints/UI/imgs/elements/bkg_map.uasset differ diff --git a/Content/Blueprints/UI/imgs/elements/btn_home.uasset b/Content/Blueprints/UI/imgs/elements/btn_home.uasset new file mode 100644 index 0000000..2e22f1e Binary files /dev/null and b/Content/Blueprints/UI/imgs/elements/btn_home.uasset differ diff --git a/Content/Blueprints/UI/imgs/elements/btn_home_howered.uasset b/Content/Blueprints/UI/imgs/elements/btn_home_howered.uasset new file mode 100644 index 0000000..47f050d Binary files /dev/null and b/Content/Blueprints/UI/imgs/elements/btn_home_howered.uasset differ diff --git a/Content/Blueprints/UI/imgs/elements/btn_home_normal.uasset b/Content/Blueprints/UI/imgs/elements/btn_home_normal.uasset new file mode 100644 index 0000000..175841b Binary files /dev/null and b/Content/Blueprints/UI/imgs/elements/btn_home_normal.uasset differ diff --git a/Content/Blueprints/UI/imgs/elements/btn_menu_active.uasset b/Content/Blueprints/UI/imgs/elements/btn_menu_active.uasset new file mode 100644 index 0000000..acf3e9e Binary files /dev/null and b/Content/Blueprints/UI/imgs/elements/btn_menu_active.uasset differ diff --git a/Content/Blueprints/UI/imgs/elements/btn_menu_documents_normal.uasset b/Content/Blueprints/UI/imgs/elements/btn_menu_documents_normal.uasset new file mode 100644 index 0000000..36444f7 Binary files /dev/null and b/Content/Blueprints/UI/imgs/elements/btn_menu_documents_normal.uasset differ diff --git a/Content/Blueprints/UI/imgs/elements/btn_menu_howered.uasset b/Content/Blueprints/UI/imgs/elements/btn_menu_howered.uasset new file mode 100644 index 0000000..4af9f15 Binary files /dev/null and b/Content/Blueprints/UI/imgs/elements/btn_menu_howered.uasset differ diff --git a/Content/Blueprints/UI/imgs/elements/btn_menu_map_normal.uasset b/Content/Blueprints/UI/imgs/elements/btn_menu_map_normal.uasset new file mode 100644 index 0000000..e30ac89 Binary files /dev/null and b/Content/Blueprints/UI/imgs/elements/btn_menu_map_normal.uasset differ diff --git a/Content/Blueprints/UI/imgs/elements/btn_menu_maps_normal.uasset b/Content/Blueprints/UI/imgs/elements/btn_menu_maps_normal.uasset new file mode 100644 index 0000000..1ee1b7f Binary files /dev/null and b/Content/Blueprints/UI/imgs/elements/btn_menu_maps_normal.uasset differ diff --git a/Content/Blueprints/UI/imgs/elements/btn_menu_neispravnosti_normal.uasset b/Content/Blueprints/UI/imgs/elements/btn_menu_neispravnosti_normal.uasset new file mode 100644 index 0000000..10a4ba6 Binary files /dev/null and b/Content/Blueprints/UI/imgs/elements/btn_menu_neispravnosti_normal.uasset differ diff --git a/Content/Blueprints/UI/imgs/elements/btn_neispravnoct.uasset b/Content/Blueprints/UI/imgs/elements/btn_neispravnoct.uasset new file mode 100644 index 0000000..d5d93f5 Binary files /dev/null and b/Content/Blueprints/UI/imgs/elements/btn_neispravnoct.uasset differ diff --git a/Content/Blueprints/UI/imgs/elements/btn_razdel_howered.uasset b/Content/Blueprints/UI/imgs/elements/btn_razdel_howered.uasset new file mode 100644 index 0000000..f872235 Binary files /dev/null and b/Content/Blueprints/UI/imgs/elements/btn_razdel_howered.uasset differ diff --git a/Content/Blueprints/UI/imgs/elements/btn_razdel_normal.uasset b/Content/Blueprints/UI/imgs/elements/btn_razdel_normal.uasset new file mode 100644 index 0000000..7b22bc1 Binary files /dev/null and b/Content/Blueprints/UI/imgs/elements/btn_razdel_normal.uasset differ diff --git a/Content/Blueprints/UI/imgs/elements/icon_home.uasset b/Content/Blueprints/UI/imgs/elements/icon_home.uasset new file mode 100644 index 0000000..241d635 Binary files /dev/null and b/Content/Blueprints/UI/imgs/elements/icon_home.uasset differ diff --git a/Content/Blueprints/UI/imgs/elements/icon_ok.uasset b/Content/Blueprints/UI/imgs/elements/icon_ok.uasset new file mode 100644 index 0000000..eaed9b6 Binary files /dev/null and b/Content/Blueprints/UI/imgs/elements/icon_ok.uasset differ diff --git a/Content/Blueprints/UI/imgs/elements/icon_train.uasset b/Content/Blueprints/UI/imgs/elements/icon_train.uasset new file mode 100644 index 0000000..d8f6edd Binary files /dev/null and b/Content/Blueprints/UI/imgs/elements/icon_train.uasset differ diff --git a/Content/Blueprints/UI/imgs/elements/icon_train_station.uasset b/Content/Blueprints/UI/imgs/elements/icon_train_station.uasset new file mode 100644 index 0000000..688e99d Binary files /dev/null and b/Content/Blueprints/UI/imgs/elements/icon_train_station.uasset differ diff --git a/Content/Blueprints/UI/imgs/elements/icon_wrong.uasset b/Content/Blueprints/UI/imgs/elements/icon_wrong.uasset new file mode 100644 index 0000000..9c8ce4d Binary files /dev/null and b/Content/Blueprints/UI/imgs/elements/icon_wrong.uasset differ diff --git a/Content/Blueprints/UI/imgs/elements/logo_decor.uasset b/Content/Blueprints/UI/imgs/elements/logo_decor.uasset new file mode 100644 index 0000000..8e0abfd Binary files /dev/null and b/Content/Blueprints/UI/imgs/elements/logo_decor.uasset differ diff --git a/Content/Blueprints/UI/imgs/elements/pointer.uasset b/Content/Blueprints/UI/imgs/elements/pointer.uasset new file mode 100644 index 0000000..3d79248 Binary files /dev/null and b/Content/Blueprints/UI/imgs/elements/pointer.uasset differ diff --git a/Content/Blueprints/UI/imgs/elements/razdel_zagolovok.uasset b/Content/Blueprints/UI/imgs/elements/razdel_zagolovok.uasset new file mode 100644 index 0000000..3de7bb1 Binary files /dev/null and b/Content/Blueprints/UI/imgs/elements/razdel_zagolovok.uasset differ diff --git a/Content/Blueprints/UI/imgs/elements/screen_map.uasset b/Content/Blueprints/UI/imgs/elements/screen_map.uasset new file mode 100644 index 0000000..6c378b2 Binary files /dev/null and b/Content/Blueprints/UI/imgs/elements/screen_map.uasset differ diff --git a/Content/Blueprints/UI/imgs/map.uasset b/Content/Blueprints/UI/imgs/map.uasset new file mode 100644 index 0000000..c5506d0 Binary files /dev/null and b/Content/Blueprints/UI/imgs/map.uasset differ diff --git a/Content/Blueprints/UI/imgs/radio.uasset b/Content/Blueprints/UI/imgs/radio.uasset new file mode 100644 index 0000000..d8efebc Binary files /dev/null and b/Content/Blueprints/UI/imgs/radio.uasset differ diff --git a/Content/Blueprints/Utils/0to1.uasset b/Content/Blueprints/Utils/0to1.uasset new file mode 100644 index 0000000..2e106b2 Binary files /dev/null and b/Content/Blueprints/Utils/0to1.uasset differ diff --git a/Content/Blueprints/Utils/GetSome.uasset b/Content/Blueprints/Utils/GetSome.uasset index ad827d5..53df544 100644 Binary files a/Content/Blueprints/Utils/GetSome.uasset and b/Content/Blueprints/Utils/GetSome.uasset differ diff --git a/Content/Blueprints/World/Spawners/WagonMesh.uasset b/Content/Blueprints/World/Spawners/WagonMesh.uasset new file mode 100644 index 0000000..e89df1e Binary files /dev/null and b/Content/Blueprints/World/Spawners/WagonMesh.uasset differ diff --git a/Source/TEM2.Target.cs b/Source/TEM2.Target.cs new file mode 100644 index 0000000..0855948 --- /dev/null +++ b/Source/TEM2.Target.cs @@ -0,0 +1,15 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +using UnrealBuildTool; +using System.Collections.Generic; + +public class TEM2Target : TargetRules +{ + public TEM2Target(TargetInfo Target) : base(Target) + { + Type = TargetType.Game; + DefaultBuildSettings = BuildSettingsVersion.V2; + + ExtraModuleNames.AddRange( new string[] { "TEM2" } ); + } +} diff --git a/Source/TEM2/Private/CPPGameInstance.cpp b/Source/TEM2/Private/CPPGameInstance.cpp new file mode 100644 index 0000000..b4baeb8 --- /dev/null +++ b/Source/TEM2/Private/CPPGameInstance.cpp @@ -0,0 +1,368 @@ +// Fill out your copyright notice in the Description page of Project Settings. + + +#include "CPPGameInstance.h" +#include "Networking/Public/Interfaces/IPv4/IPv4Address.h" +#include "SocketSubsystem.h" +#include "Engine/Engine.h" +#include "Serialization/JsonReader.h" +#include "Serialization/JsonSerializer.h" +#include "Misc/FileHelper.h" +#include "Misc/Paths.h" +#define WIN32_LEAN_AND_MEAN +#include + + +/* + * creates a map of all commands that come from the server + */ +void UCPPGameInstance::CreateMapCommand() +{ + CommandMap.Add(TEXT("waggonvelocity"), 0); + CommandMap.Add(TEXT("switchstate"), 1); + CommandMap.Add(TEXT("lightstate"), 2); + CommandMap.Add(TEXT("createwaggon"), 3); + CommandMap.Add(TEXT("teleportwaggon"), 4); + CommandMap.Add(TEXT("connectwagon"), 5); + CommandMap.Add(TEXT("destroywaggon"), 6); + CommandMap.Add(TEXT("init"), 99); + +} + + +int32 UCPPGameInstance::getNumberFunction(FString Command) +{ + + auto numberComand = CommandMap.Find(Command); + return *numberComand; +} + +void UCPPGameInstance::createwaggon_Implementation(const FString& value, int32 id) +{ +} + +void UCPPGameInstance::waggonvelocity_Implementation(int32 id, float speed, int32 idspline, + float offset) +{ +} + + +void UCPPGameInstance::teleportwaggon_Implementation(int32 id, int32 idspline, float offset) +{ +} +void UCPPGameInstance::destroywaggon_Implementation(int32 id) +{ +} + +void UCPPGameInstance::connectwagon_Implementation(int32 id, int32 idspline) +{ +} + + +bool UCPPGameInstance::StartWorkingAtSocket() +{ + + MySocket = ISocketSubsystem::Get(PLATFORM_SOCKETSUBSYSTEM)->CreateSocket(NAME_Stream, TEXT("default"), false); + MySocket->SetNonBlocking(true); + + // set address ad port socket + //FString address = TEXT("192.168.1.123"); + FIPv4Address ip; + //int32 port = 6000; + FIPv4Address::Parse(adress, ip); + //FIPv4Address ip(192, 168, 1, 165); + TSharedRef addr = ISocketSubsystem::Get(PLATFORM_SOCKETSUBSYSTEM)->CreateInternetAddr(); + addr->SetIp(ip.Value); + addr->SetPort(port); + bool connected = MySocket->Connect(*addr); + + /*FIPv4Address ip(127, 0, 0, 1); + TSharedRef addr = ISocketSubsystem::Get(PLATFORM_SOCKETSUBSYSTEM)->CreateInternetAddr(); + addr->SetIp(ip.Value); + addr->SetPort(6000); + bool connected = MySocket->Connect(*addr);*/ + + if (connected) + { + // if connected = true make 1 byte and send to socket + UE_LOG(LogTemp, Warning, TEXT("CONNCET")); + + uint8 b1 = 1; + int32 BytesSent = 0; + int32 size = 1; + + bool successful = MySocket->Send(&b1, size, BytesSent); + + if (successful) + { + UE_LOG(LogTemp, Warning, TEXT("PUSHED 1 byte")); + + int32 BufferSize = 1; + int32 BytesRead = 0; + uint8 Response = NULL; + + // wait response from server + bool read = false; + while (!read) + { + MySocket->Recv(&Response, BufferSize, BytesRead); + if (Response) + { + read = true; + } + } + + // if response = 3 server is running + if (Response == 3) + { + size = 8; + // revers bytes at number 4 + int64 next_size = (int64)4 << 56; + bool successful2 = MySocket->Send((uint8*)&next_size, size, BytesSent); + if (successful2) + { + UE_LOG(LogTemp, Warning, TEXT("PUSHED 4 INT 64")); + size = 4; + int32 b15 = 15; + bool successful3 = MySocket->Send((uint8*)&b15, size, BytesSent); + if (successful3) + { + UE_LOG(LogTemp, Warning, TEXT("PUSHED 15 INT 32")); + return true; + + } + else + { + UE_LOG(LogTemp, Warning, TEXT("NO PUSHED 15 INT 32")); + return false; + } + } + else + { + UE_LOG(LogTemp, Warning, TEXT("NO PUSHED 4 INT 64")); + return false; + } + } + else + { + UE_LOG(LogTemp, Warning, TEXT("Response != 3")); + //return false; + return false; + } + } + else + { + UE_LOG(LogTemp, Warning, TEXT(" NO PUSHED 1 byte")); + return false; + } + + } + else + { + UE_LOG(LogTemp, Warning, TEXT("NOT Connecting")); + return false; + } + +} + + +void UCPPGameInstance::cnctwagon_Implementation(int32 ideven, int32 idodd) +{ +} + + +bool UCPPGameInstance::SaveTxt(FString SaveTextB, FString FileNameB) +{ + return FFileHelper::SaveStringToFile(SaveTextB, *(FPaths::ProjectDir() + FileNameB)); +} + +bool UCPPGameInstance::LoadTxt(FString FileNameA, FString& SaveTextA) +{ + return FFileHelper::LoadFileToString(SaveTextA, *(FPaths::ProjectDir() + FileNameA)); +} + +void UCPPGameInstance::SetWinPos(int posX, int posY) +{ + SetWindowPos( + GetActiveWindow(), + HWND_TOP, + posX, + posY, + 0, + 0, + SWP_NOSIZE + ); +} + +void UCPPGameInstance::SetWinSize(int sizeX, int sizeY) +{ + SetWindowPos( + GetActiveWindow(), + HWND_TOP, + 0, + 0, + sizeX, + sizeY, + SWP_NOMOVE + ); +} + +/* + * the function listening socket server + * Parameters + * @param NumStatus status number that will be sent to the server + * 0 - wait initializing + * 1 - initialize client + * 2 - initializing at all clients + * 3 - in process working + * 4 - end working + */ +void UCPPGameInstance::listening(int32 NumberStatus,FString command) +{ + // push char 105 + char i = '\151'; + int32 size = 1; + int32 BytesSent = 0; + MySocket->Send((uint8*)&i, size, BytesSent); + + + int32 BufferSize = 1; + int32 BytesRead = 0; + uint8 Response = NULL; + + + bool read = false; + while (!read) + { + MySocket->Recv(&Response, BufferSize, BytesRead); + if (Response == 3) + { + //LAstServResp = Response; + break; + } + } + + SendStatus(NumberStatus,command); +} + + +void UCPPGameInstance::SendStatus(int32 NumberStatus,FString command) +{ + int32 BytesSentStatus = 0; + FString status = FString::Printf(TEXT("{\"status\":%d%s}"), NumberStatus,*command); // create string status client +// FString status = FString::Printf(TEXT("%s"), *command); // create string status client + if (!command.IsEmpty()) { + UE_LOG(LogTemp, Warning, TEXT("command sent")); + } + MySocket->Send((uint8*)TCHAR_TO_UTF8(*status), status.Len(), BytesSentStatus); + + int32 BytesRead = 0; + TArray Response; + uint32 BufferSize = 0; + bool read = false; + FString jsonString; + + // get json from server and make string json + while (!read) + { + read = MySocket->HasPendingData(BufferSize); + if (read) + { + Response.SetNumUninitialized(BufferSize); + MySocket->Recv(Response.GetData(), Response.Num(), BytesRead); + + + for (int i = 0; i < Response.Num(); i++) + { + //const TCHAR c = Response[i]; + jsonString.AppendChar(Response[i]); + } + + //GEngine->AddOnScreenDebugMessage(-1, 1.0f, FColor::Yellow, jsonString); + break; + } + } + + // make json object and parsing + JsonObject = MakeShareable(new FJsonObject); + TSharedRef> Reader = TJsonReaderFactory<>::Create(jsonString); + bool b1 = FJsonSerializer::Deserialize(Reader, JsonObject); + bool b2 = JsonObject.IsValid(); + SaveTxt(jsonString, "JSON.json"); + /*if ( JsonObject.IsValid() && NumberStatus == 3) + { + // get array all commands + TArray> JsonObjectArray = JsonObject->GetArrayField(TEXT("comandarray")); + + + for (int32 indx = 0; indx < JsonObjectArray.Num(); indx++) + { + + TSharedPtr value = JsonObjectArray[indx]; + TSharedPtr ObjectComand = value->AsObject(); + + //get name command + FString NameComand = ObjectComand->GetStringField(TEXT("comand")); + + int32 NumberComand = getNumberFunction(NameComand); + + switch (NumberComand) + { + case 0://waggonvelocity + { + waggonvelocity(ObjectComand->GetNumberField(TEXT("id")), + ObjectComand->GetNumberField(TEXT("speed")), + ObjectComand->GetNumberField(TEXT("idspline")), + ObjectComand->GetNumberField(TEXT("offset"))); + break; + } + case 1://switchstate + + break; + case 2://lightstate + + break; + case 3://createwaggon + { + FString typeTrain = ObjectComand->GetStringField(TEXT("value")); + createwaggon(typeTrain,ObjectComand->GetNumberField(TEXT("id"))); + break; + } + case 4://teleportwaggon + { + teleportwaggon(ObjectComand->GetNumberField(TEXT("id")), + ObjectComand->GetNumberField(TEXT("idspline")), + ObjectComand->GetNumberField(TEXT("offset"))); + break; + } + case 5://connectwagon + { + cnctwagon(ObjectComand->GetNumberField(TEXT("ideven")), + ObjectComand->GetNumberField(TEXT("idodd"))); + //cnctwagon(ObjectComand->GetNumberField(TEXT("ideven")), + //ObjectComand->GetNumberField(TEXT("idodd"))); + + break; + } + case 6: + { + destroywaggon(ObjectComand->GetNumberField(TEXT("id"))); + break; + } + default: + { + break; + } + + } + } + }else + { + return; + }*/ +} + +void UCPPGameInstance::runSelf(FString argument) +{ + FPlatformProcess::CreateProc(FPlatformProcess::ExecutableName(false), *argument, true, false, false, NULL, 0, NULL, NULL); +} \ No newline at end of file diff --git a/Source/TEM2/Public/CPPGameInstance.h b/Source/TEM2/Public/CPPGameInstance.h new file mode 100644 index 0000000..8dd3496 --- /dev/null +++ b/Source/TEM2/Public/CPPGameInstance.h @@ -0,0 +1,83 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +#pragma once + +#include "CoreMinimal.h" +#include "Engine/GameInstance.h" +#include "Sockets.h" +#include "TimerManager.h" +#include "Dom/JsonObject.h" +#include "CPPGameInstance.generated.h" + +/** + * + */ +UCLASS() +class TEM2_API UCPPGameInstance : public UGameInstance +{ + GENERATED_BODY() + +public: + FSocket* MySocket; + FTimerHandle timer; + UPROPERTY(BlueprintReadOnly,Category="Server responses") + FString LAstServResp; + UPROPERTY(BlueprintReadOnly, Category = "Server responses") + FString strjsonTest; + UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Server responses") + FString adress; + UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Server responses") + int32 port; + + + +protected: + + // map all commands + TMap CommandMap; + // json object + TSharedPtr JsonObject; + + + UFUNCTION(BlueprintCallable, Category = "Data") + void CreateMapCommand(); + UFUNCTION(BlueprintCallable, Category = "Data") + int32 getNumberFunction(FString Command); + UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Command server") + void waggonvelocity(int32 id, float speed, int32 idspline, float offset); + UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Command server") + void createwaggon(const FString& value, int32 id); + UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Command server") + void teleportwaggon(int32 id, int32 idspline, float offset); + UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Command server") + void connectwagon(int32 ideven, int32 idodd); + UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Command server") + void cnctwagon(int32 ideven, int32 idodd); + //UFUNCTION(BlueprintImplementableEvent, BlueprintCallable, Category = "Command server") + //void testWgn(int32 id,int32 idd); + + UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Command server") + void destroywaggon(int32 id); + +public: + + UFUNCTION(BlueprintCallable, Category = "Status client") + void listening(int32 NumberStatus, FString command); + UFUNCTION(BlueprintCallable, Category = "Status client") + void SendStatus(int32 NumberStatus, FString command); + + UFUNCTION(BlueprintCallable, Category = "Status client") + bool StartWorkingAtSocket(); + + UFUNCTION(BlueprintCallable, Category = "Custom", meta = (Keywords = "LoadTxt")) + static bool LoadTxt(FString FileNameA, FString& SaveTextA); + + UFUNCTION(BlueprintCallable, Category = "Custom", meta = (Keywords = "SaveTxt")) + static bool SaveTxt(FString SaveTextB, FString FileNameB); + UFUNCTION(BlueprintCallable, Category = "Custom") + static void SetWinPos(int posX, int posY); + UFUNCTION(BlueprintCallable, Category = "Custom") + static void SetWinSize(int sizeX, int sizeY); + UFUNCTION(BlueprintCallable, Category = "Custom",meta=(ToolTip="execute this app again with argument")) + static void runSelf(FString argument); +}; diff --git a/Source/TEM2/TEM2.Build.cs b/Source/TEM2/TEM2.Build.cs new file mode 100644 index 0000000..7236c0c --- /dev/null +++ b/Source/TEM2/TEM2.Build.cs @@ -0,0 +1,23 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +using UnrealBuildTool; + +public class TEM2 : ModuleRules +{ + public TEM2(ReadOnlyTargetRules Target) : base(Target) + { + PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; + + PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "Sockets", "Networking", "Json", "JsonUtilities" }); + + PrivateDependencyModuleNames.AddRange(new string[] { }); + + // Uncomment if you are using Slate UI + // PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" }); + + // Uncomment if you are using online features + // PrivateDependencyModuleNames.Add("OnlineSubsystem"); + + // To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true + } +} diff --git a/Source/TEM2/TEM2.cpp b/Source/TEM2/TEM2.cpp new file mode 100644 index 0000000..39c582c --- /dev/null +++ b/Source/TEM2/TEM2.cpp @@ -0,0 +1,6 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +#include "TEM2.h" +#include "Modules/ModuleManager.h" + +IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, TEM2, "TEM2" ); diff --git a/Source/TEM2/TEM2.h b/Source/TEM2/TEM2.h new file mode 100644 index 0000000..90aad9e --- /dev/null +++ b/Source/TEM2/TEM2.h @@ -0,0 +1,6 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +#pragma once + +#include "CoreMinimal.h" + diff --git a/Source/TEM2Editor.Target.cs b/Source/TEM2Editor.Target.cs new file mode 100644 index 0000000..ebfa114 --- /dev/null +++ b/Source/TEM2Editor.Target.cs @@ -0,0 +1,15 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +using UnrealBuildTool; +using System.Collections.Generic; + +public class TEM2EditorTarget : TargetRules +{ + public TEM2EditorTarget(TargetInfo Target) : base(Target) + { + Type = TargetType.Editor; + DefaultBuildSettings = BuildSettingsVersion.V2; + + ExtraModuleNames.AddRange( new string[] { "TEM2" } ); + } +} diff --git a/TEM2.uproject b/TEM2.uproject index a5a677f..d321c19 100644 --- a/TEM2.uproject +++ b/TEM2.uproject @@ -1,8 +1,15 @@ { "FileVersion": 3, - "EngineAssociation": "4.24", + "EngineAssociation": "4.25", "Category": "", "Description": "", + "Modules": [ + { + "Name": "TEM2", + "Type": "Runtime", + "LoadingPhase": "Default" + } + ], "Plugins": [ { "Name": "OculusVR",