diff --git a/Jusin154_Team3D/Client/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl b/Jusin154_Team3D/Client/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl
index 5495075f9..60c0ef454 100644
--- a/Jusin154_Team3D/Client/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl
+++ b/Jusin154_Team3D/Client/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl
@@ -2426,6 +2426,100 @@ PS_OUT PS_BoosterHpBar(PS_IN In)
return Out;
}
+PS_OUT PS_DialogueChoice(PS_IN In)
+{
+ PS_OUT Out = (PS_OUT) 0;
+ float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha;
+ float4 Color = float4(1.f, 1.f, 1.f, 0.f);
+ float2 uv = In.vTexcoord;
+ float2 CurrentPixelPosition = uv * g_fCurrent_Size;
+ float OriginLeft = g_fNine_Slice.x;
+ float OriginRight = g_fNine_Slice.y;
+ float OriginTop = g_fNine_Slice.z;
+ float OriginBottom = g_fNine_Slice.w;
+
+ float CurrentLeft = OriginLeft;
+ float CurrentRight = g_fCurrent_Size.x - (g_fOrigin_Size.x - OriginRight);
+ float CurrentTop = OriginTop;
+ float CurrentBottom = g_fCurrent_Size.y - (g_fOrigin_Size.y - OriginBottom);
+
+ float2 Finaluv = In.vTexcoord;
+
+ if (CurrentPixelPosition.x < CurrentLeft)
+ {
+ Finaluv.x = CurrentPixelPosition.x / g_fOrigin_Size.x;
+ }
+ else if (CurrentPixelPosition.x > CurrentRight)
+ {
+ float dist = CurrentPixelPosition.x - CurrentRight;
+ Finaluv.x = (OriginRight + dist) / g_fOrigin_Size.x;
+ }
+ else
+ {
+ float scale = (CurrentPixelPosition.x - CurrentLeft) / (CurrentRight - CurrentLeft);
+ Finaluv.x = (OriginLeft / g_fOrigin_Size.x) + scale * ((OriginRight - OriginLeft) / g_fOrigin_Size.x);
+ }
+
+ if (CurrentPixelPosition.y < CurrentTop)
+ {
+ Finaluv.y = CurrentPixelPosition.y / g_fOrigin_Size.y;
+ }
+ else if (CurrentPixelPosition.y > CurrentBottom)
+ {
+ float dist = CurrentPixelPosition.y - CurrentBottom;
+ Finaluv.y = (OriginBottom + dist) / g_fOrigin_Size.y;
+ }
+ else
+ {
+ float scale = (CurrentPixelPosition.y - CurrentTop) / (CurrentBottom - CurrentTop);
+ Finaluv.y = (OriginTop / g_fOrigin_Size.y) + scale * ((OriginBottom - OriginTop) / g_fOrigin_Size.y);
+ }
+
+
+ if (g_iHover != 0)
+ {
+ float4 tex = g_Texture.Sample(ClampSampler, Finaluv);
+ Color = tex;
+
+ float2 ImgaePos1 = g_fImageSipos1.xy;
+ float2 ImgaeSize1 = g_fImageSipos1.zw;
+ float2 ImgaePixel = Finaluv * g_fOrigin_Size;
+ float2 localUV = (ImgaePixel - ImgaePos1) / ImgaeSize1;
+ bool inside = all(localUV >= 0.0f && localUV <= 1.0f);
+ if (inside)
+ {
+ float4 tex2 = g_Texture1.Sample(ClampSampler, localUV);
+ Color = lerp(Color, tex2, tex2.a);
+ }
+
+ float2 ImgaePos2 = g_fImageSipos2.xy;
+ float2 ImgaeSize2 = g_fImageSipos2.zw;
+ float2 ImgaePixe2 = Finaluv * g_fOrigin_Size;
+ float2 ReverseUV = (ImgaePixe2 - ImgaePos2) / ImgaeSize2;
+ bool inside2 = all(ReverseUV >= 0.0f && ReverseUV <= 1.0f);
+ if (inside2)
+ {
+ ReverseUV.y = 1.f - ReverseUV.y;
+ float4 tex2 = g_Texture1.Sample(ClampSampler, ReverseUV);
+ Color = lerp(Color, tex2, tex2.a);
+ }
+ }
+
+ float2 ImgaePos3 = g_fImageSipos3.xy / g_fCurrent_Size;
+ float2 ImgaeSize3 = g_fImageSipos3.zw / g_fCurrent_Size;
+ float2 localUV2 = (In.vTexcoord - ImgaePos3) / ImgaeSize3;
+ bool inside3 = all(localUV2 >= 0.0f && localUV2 <= 1.0f);
+ if (inside3)
+ {
+ float4 tex2 = g_Texture2.Sample(ClampSampler, localUV2);
+ Color = lerp(Color, tex2, tex2.a);
+ }
+
+ Color.a *= Alpha;
+ Out.vColor = Color;
+ return Out;
+}
+
struct VS_IN3D
{
float3 vPosition : POSITION;
@@ -3206,6 +3300,16 @@ technique11 PosTexTechnique11
PixelShader = compile ps_5_0 PS_BoosterHpBar();
}
+ pass DialogueChoice
+ {
+ SetRasterizerState(RS_Nocull);
+ SetDepthStencilState(DSS_Default, 0);
+ SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
+ VertexShader = compile vs_5_0 VS_MAIN();
+
+ PixelShader = compile ps_5_0 PS_DialogueChoice();
+ }
+
pass Enemy_Detection
{
SetRasterizerState(RS_Nocull);
diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj b/Jusin154_Team3D/Client/Default/Client.vcxproj
index c7269a002..d01abc9f0 100644
--- a/Jusin154_Team3D/Client/Default/Client.vcxproj
+++ b/Jusin154_Team3D/Client/Default/Client.vcxproj
@@ -176,6 +176,7 @@ call Update_Resources.bat
+
@@ -203,6 +204,7 @@ call Update_Resources.bat
+
@@ -221,6 +223,7 @@ call Update_Resources.bat
+
@@ -463,6 +466,7 @@ call Update_Resources.bat
+
@@ -492,6 +496,7 @@ call Update_Resources.bat
+
@@ -510,6 +515,7 @@ call Update_Resources.bat
+
diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
index fc04acf0e..8be877e86 100644
--- a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
+++ b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
@@ -863,9 +863,11 @@
02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_DeadImpact
-
- 02.GameObjects\NPC\Hostile\Human_Duelist
-
+
+ 02.GameObjects\NPC\Hostile\Human_Duelist
+
+
+
02.GameObjects\Effect\Effects\NomalJap\Duelist_NormalJap
@@ -881,6 +883,12 @@
02.GameObjects\Item\ThestralCarriage
+
+ 03.InfoInstance\04.CutSceneInfo
+
+
+ 04.Mechanic\TimeSocket
+
@@ -930,15 +938,6 @@
{a7d0a3fa-b3dc-40c6-b258-ffcde49b05c1}
-
- {b5bef783-5315-4488-ac64-cb98d16a84a9}
-
-
- {31681680-d5de-43c9-bc2d-2c91ca58a593}
-
-
- {1bfec6dc-f008-4d18-87d6-be38824b1272}
-
{2b209526-b728-4fba-a184-b9224d72903a}
@@ -1017,30 +1016,6 @@
{dc05dfc9-22e5-4a2a-b016-c55b215c0c68}
-
- {0834c76d-83d8-4ef5-9d19-7277686d28c5}
-
-
- {017fc692-bac0-4635-843c-02fb59009f5b}
-
-
- {349939a0-8b9a-4a1a-8f0a-ca5014cd4e18}
-
-
- {5fa1e5a9-acd8-499d-90ee-9cf17441b3a5}
-
-
- {41d2e34e-5280-4b3c-961e-064484f1449d}
-
-
- {1034dd61-dd17-456a-990b-628c45f74b51}
-
-
- {2999d0c5-81e4-44d6-99b3-4801e6f84dd7}
-
-
- {0a3f9629-27d1-411c-806e-b550af8f1ca1}
-
{23fc95c4-0db3-4569-bd37-4d9bc32938ba}
@@ -1164,12 +1139,6 @@
{6bc9fd95-31bc-40f3-83cc-15ebb756b04a}
-
- {c5b61cb3-bc5f-4429-8715-b309dcf054b2}
-
-
- {2bc5b43e-0e24-49d4-95b0-549ad4428201}
-
{f3f219aa-034f-4aa2-9f2e-d75d15bd1f4a}
@@ -1245,48 +1214,18 @@
{9cc8fea6-837e-4f68-b116-134c9dc68a26}
-
- {5a7e32b1-6fa9-44e2-8d6e-b117c3454d5b}
-
-
- {46e41554-f9a0-41c5-992c-f736ef1a333f}
-
-
- {039f471d-9623-4026-9493-5bb52c6a8cd3}
-
{837ff377-2bcd-4a54-baf2-18b1be9d90a0}
{7d6fe51e-3d6d-4fed-9e5d-27e257672e01}
-
- {f109c973-c532-4549-9680-d0d6495b0fa8}
-
{b8c7e12b-da04-4d49-bc61-104649975d0b}
{17eaf081-6fbf-4965-b04d-10749e6032c6}
-
- {75479637-e795-4656-a4ef-3772d8a6d007}
-
-
- {27d5a2b8-98db-4dbf-9916-0806cfa97c9c}
-
-
- {a7f11f50-5740-4670-ad9e-d21640b2cca7}
-
-
- {12ff4f09-ec6c-4b98-966a-0d84c9ad253c}
-
-
- {7bb8a04a-00a0-4864-9781-8069d84806ca}
-
-
- {e68261eb-a581-4bf5-b48d-b47cc81f7406}
-
{7e641382-9dfa-4da7-a8c8-a3ee06360e7a}
@@ -1317,9 +1256,6 @@
{c584798b-d7aa-4cb0-b6e8-c2aff73757ce}
-
- {0ed6a11e-5d22-4b9f-a39c-f2319c27caf4}
-
{5973b96c-42c3-4cda-9627-f741e12124cd}
@@ -1392,24 +1328,12 @@
{14ad0431-680b-4c8b-93d7-601aee5ce435}
-
- {22207d12-6fd2-4692-9329-b0ea0e19ca84}
-
{1d1dc743-5cf2-4b8f-a80e-16b16437c7aa}
-
- {81add99f-7450-4730-8d3f-bf1de06b2b8d}
-
-
- {2e2a53dc-9ea6-427f-88b3-d8857193d432}
-
{967d1741-2780-40b7-b55e-9fd58e931ef7}
-
- {36962dce-8c99-4c54-9189-2a49785a211e}
-
{13977e62-6b05-41de-9919-20a06cd336e5}
@@ -1428,15 +1352,6 @@
{c9370e36-317e-45e7-a8c7-98a623864824}
-
- {48b905c1-b91e-44ca-a61b-86633826768b}
-
-
- {d6be355f-c860-4323-9967-583265749698}
-
-
- {51b299f6-ebb0-4f58-9620-5e1dc24a2e60}
-
{b49a3671-96d0-47b8-833f-28190d549b0f}
@@ -1458,9 +1373,6 @@
{34a4beb9-ccb9-4847-ae45-af4e7dc25d94}
-
- {fd4a0869-2491-4fec-9df9-3aedbac96171}
-
{02cb243a-f63e-4e55-9d55-b47e31a4c13e}
@@ -1500,9 +1412,6 @@
{7c8b3162-a6d5-441f-84ae-cfb4bf779dfa}
-
- {2326c134-a2bb-45f1-8452-2dd49bf42697}
-
{6ffe4bf3-60e2-4dd3-beef-cc7cf7b50328}
@@ -1515,60 +1424,18 @@
{9e8bccb6-c491-4f3a-bdb8-5f03f13ad84d}
-
- {fe64513c-fbb3-4577-b424-82d99c9075a3}
-
{08163c4a-63c9-4cc2-97b4-97bb2f9467ff}
{bffcced5-6951-4db4-9df1-44b33b52ece7}
-
- {35a6cb6f-4bbb-47fb-8f7a-63615128dece}
-
{6bbfb8f0-c71a-4769-b1e6-efd5d863ba7f}
{7672784a-86a8-4485-a4de-a979bd0c8f52}
-
- {24f6903f-8f6b-46ff-a387-ecb44d673887}
-
-
- {f24321bb-6750-4baa-b19a-bf5a3c2a8909}
-
-
- {cbb70230-b830-4554-a678-c571d5a87176}
-
-
- {77fc199c-dd8f-4b36-8869-161a4998c189}
-
-
- {70ff75c1-3309-4db7-9f5c-51573046df9e}
-
-
- {5fa641cd-bc30-4ab6-a8d4-26a9785ef4ae}
-
-
- {c69a2485-7f6e-4e22-81b4-1410fdae9d57}
-
-
- {2c39ba68-2f23-4bc9-a277-b6e9295c11a0}
-
-
- {9e2863cd-1a30-4a27-a076-5e1baff3dee8}
-
-
- {2fd96fb0-dbc3-4486-afda-82b3b1b63060}
-
-
- {ee880571-e18c-4206-80ea-448cadd04d9a}
-
-
- {cef80506-72c7-4bb9-a691-760f0a576eb7}
-
{c3b86f00-da19-47ad-a26e-7ff641e2c4d4}
@@ -1596,15 +1463,9 @@
{7d84f56c-9d2f-483e-9ee1-2637d35ccb7d}
-
- {69f95207-1e94-42f2-9690-d3e34e4ff5a9}
-
{262cc240-d062-406a-9d47-36702fe6b9f3}
-
- {785b1fd0-ef6f-43ab-96fc-e233cd93b29d}
-
{87b1db75-938f-462f-a288-fe9c8d6c689e}
@@ -1638,9 +1499,6 @@
{b265ac30-97f5-4dac-bc6b-b11fba1c5ad8}
-
- {b85f80a2-d88e-4eb0-91af-da93b49bfa09}
-
{f9c3f711-4032-4455-9d70-b81c5320f8c8}
@@ -1653,9 +1511,6 @@
{09764279-bf54-48e4-853a-45b5a65c92a7}
-
- {11c35878-12b4-4c55-b872-004fed9a4fb2}
-
{74f21f9b-30bf-412e-ba4e-526958ab2a52}
@@ -1677,9 +1532,6 @@
{a24f4687-f540-44e5-ae47-fe176c4c9042}
-
- {b03591a7-a14e-425a-8a3f-2a6a054c884a}
-
{a94e24d2-0f61-4263-b834-bfdf9f6c06ae}
@@ -1692,15 +1544,6 @@
{db12252c-8c0d-40bc-9466-e76ec60e2509}
-
- {0736f27e-2722-483b-88b6-30471ad70835}
-
-
- {27251db2-19f2-4492-a3a4-32c11526f413}
-
-
- {6d1f0862-40a4-4c0b-9921-87fe6af2008b}
-
{0c62f4f7-a0e6-4ff2-a4dd-25e3dd79709e}
@@ -1752,9 +1595,6 @@
{fd036f05-4c10-4322-b0c2-aac65e7011a1}
-
- {99712e38-b76a-4c04-8ba3-16ddaac72679}
-
{5bf233fa-6f9c-40d5-85c6-adbc7fcf7d28}
@@ -1812,6 +1652,12 @@
{e1fcb75d-6e7a-4adb-9835-6913ac6f44b6}
+
+ {77cbc828-2eec-4c0e-8425-d9fdf8c4c797}
+
+
+ {95a34fdb-ac6d-4312-8d28-1931f95c4f4c}
+
{09b5e5b3-c1fe-4399-b2d3-96d652255bb5}
@@ -1821,9 +1667,183 @@
{5351494b-8047-488a-ba2b-59a88dae4534}
+
+ {41ab19cd-5fd6-48e8-b920-cf6d034c5677}
+
+
+ {b5bef783-5315-4488-ac64-cb98d16a84a9}
+
+
+ {31681680-d5de-43c9-bc2d-2c91ca58a593}
+
+
+ {1bfec6dc-f008-4d18-87d6-be38824b1272}
+
+
+ {0834c76d-83d8-4ef5-9d19-7277686d28c5}
+
+
+ {5fa1e5a9-acd8-499d-90ee-9cf17441b3a5}
+
+
+ {41d2e34e-5280-4b3c-961e-064484f1449d}
+
+
+ {1034dd61-dd17-456a-990b-628c45f74b51}
+
+
+ {ee880571-e18c-4206-80ea-448cadd04d9a}
+
+
+ {b85f80a2-d88e-4eb0-91af-da93b49bfa09}
+
+
+ {99712e38-b76a-4c04-8ba3-16ddaac72679}
+
+
+ {017fc692-bac0-4635-843c-02fb59009f5b}
+
+
+ {039f471d-9623-4026-9493-5bb52c6a8cd3}
+
+
+ {f109c973-c532-4549-9680-d0d6495b0fa8}
+
+
+ {75479637-e795-4656-a4ef-3772d8a6d007}
+
+
+ {12ff4f09-ec6c-4b98-966a-0d84c9ad253c}
+
+
+ {e68261eb-a581-4bf5-b48d-b47cc81f7406}
+
+
+ {22207d12-6fd2-4692-9329-b0ea0e19ca84}
+
+
+ {81add99f-7450-4730-8d3f-bf1de06b2b8d}
+
+
+ {fd4a0869-2491-4fec-9df9-3aedbac96171}
+
+
+ {cbb70230-b830-4554-a678-c571d5a87176}
+
+
+ {77fc199c-dd8f-4b36-8869-161a4998c189}
+
+
+ {70ff75c1-3309-4db7-9f5c-51573046df9e}
+
+
+ {c69a2485-7f6e-4e22-81b4-1410fdae9d57}
+
+
+ {2c39ba68-2f23-4bc9-a277-b6e9295c11a0}
+
+
+ {2fd96fb0-dbc3-4486-afda-82b3b1b63060}
+
+
+ {cef80506-72c7-4bb9-a691-760f0a576eb7}
+
+
+ {785b1fd0-ef6f-43ab-96fc-e233cd93b29d}
+
+
+ {0736f27e-2722-483b-88b6-30471ad70835}
+
{b50fed80-37dd-4adb-afd4-ba153cef8a92}
+
+ {349939a0-8b9a-4a1a-8f0a-ca5014cd4e18}
+
+
+ {2999d0c5-81e4-44d6-99b3-4801e6f84dd7}
+
+
+ {0a3f9629-27d1-411c-806e-b550af8f1ca1}
+
+
+ {a7f11f50-5740-4670-ad9e-d21640b2cca7}
+
+
+ {0ed6a11e-5d22-4b9f-a39c-f2319c27caf4}
+
+
+ {5fa641cd-bc30-4ab6-a8d4-26a9785ef4ae}
+
+
+ {9e2863cd-1a30-4a27-a076-5e1baff3dee8}
+
+
+ {27251db2-19f2-4492-a3a4-32c11526f413}
+
+
+ {6d1f0862-40a4-4c0b-9921-87fe6af2008b}
+
+
+ {5a7e32b1-6fa9-44e2-8d6e-b117c3454d5b}
+
+
+ {46e41554-f9a0-41c5-992c-f736ef1a333f}
+
+
+ {27d5a2b8-98db-4dbf-9916-0806cfa97c9c}
+
+
+ {7bb8a04a-00a0-4864-9781-8069d84806ca}
+
+
+ {2e2a53dc-9ea6-427f-88b3-d8857193d432}
+
+
+ {48b905c1-b91e-44ca-a61b-86633826768b}
+
+
+ {d6be355f-c860-4323-9967-583265749698}
+
+
+ {51b299f6-ebb0-4f58-9620-5e1dc24a2e60}
+
+
+ {2326c134-a2bb-45f1-8452-2dd49bf42697}
+
+
+ {24f6903f-8f6b-46ff-a387-ecb44d673887}
+
+
+ {f24321bb-6750-4baa-b19a-bf5a3c2a8909}
+
+
+ {c5b61cb3-bc5f-4429-8715-b309dcf054b2}
+
+
+ {2bc5b43e-0e24-49d4-95b0-549ad4428201}
+
+
+ {69f95207-1e94-42f2-9690-d3e34e4ff5a9}
+
+
+ {36962dce-8c99-4c54-9189-2a49785a211e}
+
+
+ {fe64513c-fbb3-4577-b424-82d99c9075a3}
+
+
+ {35a6cb6f-4bbb-47fb-8f7a-63615128dece}
+
+
+ {11c35878-12b4-4c55-b872-004fed9a4fb2}
+
+
+ {b03591a7-a14e-425a-8a3f-2a6a054c884a}
+
+
+ {ca386d46-aca6-44a4-94cc-15610e1a878e}
+
{d07bd195-0cdf-4a47-8c50-e3a88361352f}
@@ -2646,6 +2666,9 @@
02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_Swipe
+
+ 02.GameObjects\Effect\MonsterEffect\Ranrok\Ranrok_Prop
+
02.GameObjects\Effect\Effects\NomalJap\Duelist_NormalJap
@@ -2661,6 +2684,12 @@
02.GameObjects\Item\ThestralCarriage
+
+ 03.InfoInstance\04.CutSceneInfo
+
+
+ 04.Mechanic\TimeSocket
+
diff --git a/Jusin154_Team3D/Client/Private/Avadakedavra.cpp b/Jusin154_Team3D/Client/Private/Avadakedavra.cpp
index a97807474..80e3b6977 100644
--- a/Jusin154_Team3D/Client/Private/Avadakedavra.cpp
+++ b/Jusin154_Team3D/Client/Private/Avadakedavra.cpp
@@ -83,7 +83,7 @@ void CAvadakedavra::Late_Update(_float fTimeDelta)
if (false == m_bHit) {
_vector vStartPos = XMLoadFloat4(&m_vStartPos);
_vector vEndPos = XMLoadFloat4(&m_vEndPos);
- ON_COLLISION_INFO CollisionInfo = SweepTarget(vStartPos, vEndPos, 0.002f);
+ ON_COLLISION_INFO CollisionInfo = SweepTarget(vStartPos, vEndPos, 0.02f);
OnCollision(this, &CollisionInfo);
}
@@ -117,7 +117,7 @@ HRESULT CAvadakedavra::Pre_Setting(CGameObject* pObject, void* pArg)
if (nullptr != m_Info.pUnit) {
- XMStoreFloat4(&m_vTargetPos, m_Info.pUnit->Get_LockOnPos());
+ XMStoreFloat4(&m_vTargetPos, Get_UnitPos(m_Info));
XMStoreFloat3(&m_vCameraLook, XMVector3Normalize(XMLoadFloat4(&m_vTargetPos) - XMLoadFloat4(&m_vStartPos)));
}
diff --git a/Jusin154_Team3D/Client/Private/Bombard.cpp b/Jusin154_Team3D/Client/Private/Bombard.cpp
index 5b57f7d1e..a4a25c5e6 100644
--- a/Jusin154_Team3D/Client/Private/Bombard.cpp
+++ b/Jusin154_Team3D/Client/Private/Bombard.cpp
@@ -44,7 +44,10 @@ HRESULT CBombard::Initialize(void* pArg)
m_wstrEffectName = L"Bombard";
m_pLight_Projectile = Get_PartObject("Bombard_Projectile");
+ m_pWand_Light_B = Get_PartObject("Wand_Light_B");
+
SAFE_ADDREF(m_pLight_Projectile);
+ SAFE_ADDREF(m_pWand_Light_B);
m_fDuration = 2.5f;
@@ -72,6 +75,13 @@ void CBombard::Update(_float fTimeDelta)
pPJTransform->Translation( XMLoadFloat3(&m_vCameraLook) * m_fLinearSpeed);
+ CWand* pWand = static_cast(m_pOwner)->Get_PartObject();
+
+ if (pWand == nullptr)
+ return;
+
+ m_pWand_Light_B->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
+
}
void CBombard::Late_Update(_float fTimeDelta)
@@ -110,13 +120,15 @@ HRESULT CBombard::Pre_Setting(CGameObject* pObject, void* pArg)
CPartObject* pShootPt = Get_PartObject("Bombard_Shoot_Pt");
CPartObject* pCircle0 = Get_PartObject("Bombard_Circle0");
-
pShootPt->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
m_pLight_Projectile->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
pCircle0->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
+ m_pWand_Light_B->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
pCircle0->Set_Visible(true);
pShootPt->Set_Visible(true);
+ m_pWand_Light_B->Set_Visible(true);
+
m_pLight_Projectile->Set_Visible(true);
@@ -212,7 +224,7 @@ void CBombard::OnCollision(CGameObject* pOther, void* pDesc)
pShootPt->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
pCircle0->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
-
+ m_pWand_Light_B->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
m_pLight_Projectile->Set_Visible(false);
@@ -230,7 +242,7 @@ void CBombard::Free()
__super::Free();
SAFE_RELEASE(m_pLight_Projectile);
-
+ SAFE_RELEASE(m_pWand_Light_B);
}
#ifdef _DEBUG
void CBombard::Describe_Entity()
diff --git a/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp b/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp
index d08b64b3f..34579c4d0 100644
--- a/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp
+++ b/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp
@@ -59,6 +59,70 @@ void CBroomRaceManager::Update(_float fTimeDelta)
{
__super::Update(fTimeDelta);
+ if (m_pGameInstance->Key_Up(DIK_PGUP))
+ {
+ m_eRaceState = ENUM_CLASS(RACE_STATE::READY);
+ const _float SPAWN_DISTANCE = 80.f;
+
+ if (FAILED(Load_RaceRing()))
+ {
+ MSG_BOX("Failed Load RaceRing");
+ }
+ CBroomRacerAI::RacerDesc Desc = {};
+ for (_uint i = 1; i < 4; i++)
+ {
+ Desc.pRacerManager = this;
+ Desc.iIndex = i;
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_RACERAI, &Desc)))
+ return;
+ }
+ m_pGameInstance->Get_Layer(NEXT_LEVEL, LAYER_PLAYER)->Get_Object()->Set_RaceInfo();
+
+ for (auto& racer : m_Racers)
+ {
+ CTransform* pRingTransform =
+ m_pRaceRings[0]->Get_Component();
+
+ _vector ringPos = pRingTransform->Get_State(STATE::POSITION);
+ _vector ringLook = pRingTransform->Get_State(STATE::RIGHT);
+ ringLook = XMVector3Normalize(ringLook);
+
+ _vector spawnPos = ringPos - ringLook * SPAWN_DISTANCE;
+
+ if (racer.pAI)
+ {
+ CTransform* pTransform =
+ racer.pAI->Get_Component();
+ _float fRand = m_pGameInstance->Real_Random_Float(-10.f, 10.f);
+ spawnPos.m128_f32[2] += fRand;
+
+ pTransform->Set_State(STATE::POSITION, spawnPos);
+ pTransform->LookAt(pRingTransform->Get_State(STATE::POSITION));
+
+ racer.pAI->Get_Broom()->Set_Move(false);
+ }
+ else if (racer.pRacer)
+ {
+ CTransform* pTransform =
+ racer.pRacer->Get_Component();
+ pTransform->Set_State(STATE::POSITION, spawnPos);
+ pTransform->LookAt(pRingTransform->Get_State(STATE::POSITION));
+ racer.pRacer->Get_Component()->Change_State(FSMSTATE::BROOM_RIDE);
+ racer.pRacer->Get_Broom()->Set_Move(false);
+ }
+ }
+ }
+
+ if (m_pGameInstance->Key_Up(DIK_PGDN))
+ {
+ if (m_eRaceState == ENUM_CLASS(RACE_STATE::READY))
+ {
+ m_pInfoInstance->Event_CallBack(TEXT("Ready_Race"));
+ m_eRaceState = ENUM_CLASS(RACE_STATE::COUNTDOWN);
+ }
+ }
+
+
if (m_eRaceState == ENUM_CLASS(RACE_STATE::RACING))
{
if (m_iLastRing < m_pRaceRings.size())
@@ -192,7 +256,7 @@ void CBroomRaceManager::Describe_Entity()
CTransform* pTransform =
racer.pAI->Get_Component();
_float fRand = m_pGameInstance->Real_Random_Float(-10.f, 10.f);
- spawnPos.m128_f32[0] += fRand;
+ spawnPos.m128_f32[2] += fRand;
pTransform->Set_State(STATE::POSITION, spawnPos);
pTransform->LookAt(pRingTransform->Get_State(STATE::POSITION));
@@ -201,9 +265,11 @@ void CBroomRaceManager::Describe_Entity()
}
else if (racer.pRacer)
{
- CTransform* pTransform =
- racer.pRacer->Get_Component();
- pTransform->Set_State(STATE::POSITION, spawnPos);
+ CCharacter_Controller* pCharacter = racer.pRacer->Get_Component();
+ pCharacter->Set_Position(spawnPos);
+ CTransform* pTransform = racer.pRacer->Get_Component();
+
+// pTransform->Set_State(STATE::POSITION, spawnPos);
pTransform->LookAt(pRingTransform->Get_State(STATE::POSITION));
racer.pRacer->Get_Component()->Change_State(FSMSTATE::BROOM_RIDE);
racer.pRacer->Get_Broom()->Set_Move(false);
diff --git a/Jusin154_Team3D/Client/Private/Broom_States.cpp b/Jusin154_Team3D/Client/Private/Broom_States.cpp
index fccbe1dd3..e9d57c1dc 100644
--- a/Jusin154_Team3D/Client/Private/Broom_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Broom_States.cpp
@@ -449,7 +449,7 @@ HRESULT CBroom::Behavior_Broom_FlyExitCheck(_float fTimeDelta)
m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.4f);
}
else {*/
- m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.2f);
+ m_pTransformCom->Turn(-m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.3f);
//}
}
else if (vInput.x > 0.f)
@@ -459,7 +459,7 @@ HRESULT CBroom::Behavior_Broom_FlyExitCheck(_float fTimeDelta)
m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.4f);
}
else {*/
- m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.2f);
+ m_pTransformCom->Turn(m_pTransformCom->Get_State(STATE::UP), fTimeDelta * 0.3f);
//}
}
diff --git a/Jusin154_Team3D/Client/Private/CallBack_Ranrok_HitReport.cpp b/Jusin154_Team3D/Client/Private/CallBack_Ranrok_HitReport.cpp
index d89f0b92a..79daeb50a 100644
--- a/Jusin154_Team3D/Client/Private/CallBack_Ranrok_HitReport.cpp
+++ b/Jusin154_Team3D/Client/Private/CallBack_Ranrok_HitReport.cpp
@@ -103,11 +103,19 @@ void CCallBack_Ranrok_HitReport::onControllerHit(const PSX::PxControllersHit& hi
PSX::PxController* pOtherController = hit.other; // 다른 컨트롤러
PSX::PxActor* pActor = pOtherController->getActor();
- ON_COLLISION_INFO CollisionDesc = {};
+
if (nullptr != pController && nullptr != pOtherController) {
PHYSX_USERDATA* pTargetActorData = static_cast(pActor->userData);
PHYSX_USERDATA* pOwnerActorData = static_cast(pController->getActor()->userData);
+
+ ON_COLLISION_INFO CollisionDesc = {};
+
+ _vector vHitDir = pTargetActorData->pCharacter->Get_Owner()->Get_WorldPostion() - m_pController->Get_Owner()->Get_WorldPostion();
+ vHitDir = XMVector3Normalize(vHitDir);
+ XMStoreFloat4(&CollisionDesc.vHitDir, vHitDir);
+ CollisionDesc.eHitType = ENUM_CLASS(HIT_TYPE::HIT_HEAVY);
+ CollisionDesc.fDamage = 30.f;
assert(nullptr != pTargetActorData); // missing user data
switch (pTargetActorData->eKind)
@@ -129,7 +137,6 @@ void CCallBack_Ranrok_HitReport::onControllerHit(const PSX::PxControllersHit& hi
if (pOwner->Get_AnimInfo(STATEANIM::RUSH_LOOP).first == iAnimIndex) {
if (false == *m_pCollisionPlayer) {
*m_pCollisionPlayer = true;
- pTargetActorData->pCharacter->Get_Owner()->Get_Component()->Get_Damage(30.f);
pTargetActorData->pCharacter->Get_Owner()->OnCollision(pOwner);
}
}
diff --git a/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp b/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp
index a93dc7f28..bd50d7874 100644
--- a/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp
+++ b/Jusin154_Team3D/Client/Private/CamPosition_Shoulder.cpp
@@ -74,7 +74,9 @@ void CCamPosition_Shoulder::Priority_Update(_float fTimeDelta)
if (true == m_bMovable) {
m_vAccRotDegrees.y += m_pGameInstance->Get_MouseMove().x * m_fMouseSensor;
m_vAccRotDegrees.x += m_pGameInstance->Get_MouseMove().y * m_fMouseSensor;
- CMyTools::AdjustAccumulateDegreePitchYawDegree(m_vAccRotDegrees);
+ _float2 vAccRotDegree = m_pBinded_Camera->Get_RotDegreeVerticalLock();
+ CMyTools::AdjustAccumulateDegreePitchYawDegree(m_vAccRotDegrees, vAccRotDegree.x, vAccRotDegree.y);
+ m_pBinded_Camera->Set_RotDegreeVerticalLock(vAccRotDegree);
}
{
_vector vLookTargetPos = Calc_LookTargetPos();
@@ -466,7 +468,6 @@ void CCamPosition_Shoulder::Describe_Entity()
GUI::Begin("CAMERA", 0, IMGUI_GLOBAL_BEGIN_FLAG);
if (GUI::CollapsingHeader("Cam_Shoulder")) {
m_pTransformCom->Describe_Entity();
-
GUI::Text("fMouseSensor : %.1f", m_fMouseSensor);
GUI::SliderFloat("m_fFollowTargetIncludedAngleDegree", &m_fFollowTargetIncludedAngleDegree, -360.f, 360.f, "%.1f");
GUI::SliderFloat("m_fDefaultCameraBackToFrontRatio", &m_fDefaultCameraBackToFrontRatio, -1.f, 1.f);
@@ -485,6 +486,7 @@ void CCamPosition_Shoulder::Describe_Entity()
GUI::TreePop();
}
+ m_pBinded_Camera->Describe_Entity();
}
GUI::End();
}
diff --git a/Jusin154_Team3D/Client/Private/Camera_Gaze.cpp b/Jusin154_Team3D/Client/Private/Camera_Gaze.cpp
index b4624fb49..5b6d26d31 100644
--- a/Jusin154_Team3D/Client/Private/Camera_Gaze.cpp
+++ b/Jusin154_Team3D/Client/Private/Camera_Gaze.cpp
@@ -208,6 +208,8 @@ void CCamera_Gaze::Describe_Entity()
GUI::Text("LOOK_DST %.2f, %.2f, %.2f", m_vLookPos_Dest.x, m_vLookPos_Dest.y, m_vLookPos_Dest.z);
GUI::Text("FOLLOW_SRC %.2f, %.2f, %.2f", m_vFollowPos_Src.x, m_vFollowPos_Src.y, m_vFollowPos_Src.z);
GUI::Text("FOLLOW_DST %.2f, %.2f, %.2f", m_vFollowPos_Dest.x, m_vFollowPos_Dest.y, m_vFollowPos_Dest.z);
+
+ GUI::DragFloat2("VerticalAngle", (_float*)&m_vAccRotDegree_VerticalLocks, 1.f, 0.f, 89.f);
GUI::Checkbox("TransitionLerp", &m_bEnable_TransitionLerp);
if (true == m_bEnable_TransitionLerp) {
GUI::SameLine(); GUI::Text("Translation : %.1f %.1f", m_vTransitionTime.x, m_vTransitionTime.y);
diff --git a/Jusin154_Team3D/Client/Private/CutSceneInfo.cpp b/Jusin154_Team3D/Client/Private/CutSceneInfo.cpp
new file mode 100644
index 000000000..4ec4f9475
--- /dev/null
+++ b/Jusin154_Team3D/Client/Private/CutSceneInfo.cpp
@@ -0,0 +1,151 @@
+#include "pch.h"
+#include "CutSceneInfo.h"
+#include "GameInstance.h"
+#include "InfoInstance.h"
+#include "Monster.h"
+#include "Layer.h"
+#include "Player.h"
+#include "TimeSocket.h"
+
+CCutSceneInfo::CCutSceneInfo()
+{
+}
+void CCutSceneInfo::Update(_float fTimeDelta)
+{
+ _float fRatio = 0.f;
+ for (map<_string, TimeLine>::iterator iter = m_funcActiveEvents.begin(); iter != m_funcActiveEvents.end();) {
+ list* pSockets = &iter->second.m_Sockets;
+ iter->second.m_vTimer.x += fTimeDelta;
+ fRatio = CMyTools::Saturate(iter->second.m_vTimer.x / iter->second.m_vTimer.y);
+
+ for (list::iterator socketIter = pSockets->begin(); socketIter == pSockets->end();) {
+ if (false == (*socketIter)->Trigger(fRatio)) {
+ socketIter++;
+ break;
+ }
+ else {
+ socketIter = pSockets->erase(socketIter);
+ }
+ }
+ if (pSockets->empty()) {
+ iter = m_funcActiveEvents.erase(iter);
+ }
+ else {
+ iter++;
+ }
+ }
+}
+
+void CCutSceneInfo::Change_Level()
+{
+ _uint iLevel = m_pGameInstance->Get_NextLevelID();
+
+ Clear_ActiveEvents();
+}
+
+void CCutSceneInfo::Active_Event(_string& strKey)
+{
+ map<_string, TimeLine>::iterator iter = m_funcWaitEvents.find(strKey);
+ if (iter != m_funcWaitEvents.end()) {
+ m_funcActiveEvents.emplace(iter->first, iter->second);
+ m_funcWaitEvents.erase(iter);
+ }
+}
+
+HRESULT CCutSceneInfo::DeActive_ActiveEvent(_string& strKey)
+{
+ map<_string, TimeLine>::iterator iter = m_funcActiveEvents.find(strKey);
+ if (iter != m_funcActiveEvents.end()) {
+
+ for (list::iterator socketIter = (*iter).second.m_Sockets.begin();
+ socketIter == (*iter).second.m_Sockets.end(); ++iter) {
+ SAFE_RELEASE((*socketIter));
+ }
+ m_funcActiveEvents.erase(iter);
+ }
+ return S_OK;
+}
+
+void CCutSceneInfo::Load_Events(LEVEL eLevel)
+{
+ switch (eLevel)
+ {
+ case Client::LEVEL::STATIC:
+ break;
+ case Client::LEVEL::LOADING:
+ break;
+ case Client::LEVEL::LOGO:
+ break;
+ case Client::LEVEL::INTRO:
+ break;
+ case Client::LEVEL::GAMEPLAY:
+ break;
+ case Client::LEVEL::FIELD:
+ break;
+ case Client::LEVEL::RESTART:
+ break;
+ case Client::LEVEL::END:
+ break;
+ default:
+ break;
+ }
+}
+
+HRESULT CCutSceneInfo::Initialize(ID3D11Device* pDevice, ID3D11DeviceContext* pContex)
+{
+ m_pGameInstance = CGameInstance::GetInstance();
+ m_pInfoInstance = CInfoInstance::GetInstance();
+ m_pDevice = pDevice;
+ m_pContext = pContex;
+
+ SAFE_ADDREF(m_pGameInstance);
+ SAFE_ADDREF(m_pInfoInstance);
+ SAFE_ADDREF(m_pDevice);
+ SAFE_ADDREF(m_pContext);
+
+ return S_OK;
+}
+HRESULT CCutSceneInfo::Clear_ActiveEvents()
+{
+ return Clear_Events(m_funcActiveEvents);
+}
+HRESULT CCutSceneInfo::Clear_Events(map<_string, TimeLine>& Events)
+{
+ map<_string, TimeLine>::iterator iter = Events.begin();
+ for (; iter != Events.end();) {
+
+ for (list::iterator socketIter = (*iter).second.m_Sockets.begin();
+ socketIter == (*iter).second.m_Sockets.end(); ++iter) {
+ SAFE_RELEASE((*socketIter));
+ }
+ iter = Events.erase(iter);
+ }
+ return S_OK;
+}
+HRESULT CCutSceneInfo::Clear_AllEvents()
+{
+ Clear_Events(m_funcActiveEvents);
+ Clear_Events(m_funcWaitEvents);
+
+ return E_NOTIMPL;
+}
+CCutSceneInfo* CCutSceneInfo::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContex)
+{
+ CCutSceneInfo* pInstance = new CCutSceneInfo();
+
+ if (FAILED(pInstance->Initialize(pDevice, pContex))) {
+ SAFE_RELEASE(pInstance);
+ }
+ return pInstance;
+}
+void CCutSceneInfo::Free()
+{
+ __super::Free();
+
+ Clear_AllEvents();
+
+ SAFE_RELEASE(m_pGameInstance);
+ SAFE_RELEASE(m_pInfoInstance);
+ SAFE_RELEASE(m_pDevice);
+ SAFE_RELEASE(m_pContext);
+}
diff --git a/Jusin154_Team3D/Client/Private/Dialogue.cpp b/Jusin154_Team3D/Client/Private/Dialogue.cpp
index aa0095f1a..861f45413 100644
--- a/Jusin154_Team3D/Client/Private/Dialogue.cpp
+++ b/Jusin154_Team3D/Client/Private/Dialogue.cpp
@@ -181,7 +181,6 @@ void CDialogue::SizeUpdate(_wstring pName, _wstring pText)
void CDialogue::Set_Time(_float fTime)
{
- m_bHover = true;
m_fTime = fTime;
}
diff --git a/Jusin154_Team3D/Client/Private/Dialogue_Data.cpp b/Jusin154_Team3D/Client/Private/Dialogue_Data.cpp
index f71bc98f4..ce8d72c9f 100644
--- a/Jusin154_Team3D/Client/Private/Dialogue_Data.cpp
+++ b/Jusin154_Team3D/Client/Private/Dialogue_Data.cpp
@@ -44,9 +44,7 @@ HRESULT CDialogue_Data::Load_SpellInfo(const _char* pFilePath)
DialogueInfo line{};
pLine->QueryIntAttribute("ID", &line.iLineID);
- int type = 0;
- pLine->QueryIntAttribute("Type", &type);
- line.bType = (type == 1);
+ pLine->QueryIntAttribute("Type", &line.iTextType);
const char* text = pLine->Attribute("Text");
if (text) line.pText = CMyTools::ToWstring(text);
@@ -81,7 +79,7 @@ HRESULT CDialogue_Data::Load_SpellInfo(const _char* pFilePath)
return S_OK;
}
-const NPCDIALOGUEINFO& CDialogue_Data::Get_Info(_wstring NpcName) const
+const CURRENTDIALOGUEINFO& CDialogue_Data::Get_Info(_wstring NpcName, _int iTextID) const
{
auto iter = m_DialogueInfo.find(NpcName);
if (iter == m_DialogueInfo.end())
@@ -89,7 +87,13 @@ const NPCDIALOGUEINFO& CDialogue_Data::Get_Info(_wstring NpcName) const
return Dummy;
}
- return iter->second;
+ auto Text = iter->second.Info.find(iTextID);
+ if (Text == iter->second.Info.end())
+ {
+ return Dummy;
+ }
+
+ return Text->second;
}
CDialogue_Data* CDialogue_Data::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
diff --git a/Jusin154_Team3D/Client/Private/Dialogue_Font.cpp b/Jusin154_Team3D/Client/Private/Dialogue_Font.cpp
index 6ce9e85f9..a3ed45d57 100644
--- a/Jusin154_Team3D/Client/Private/Dialogue_Font.cpp
+++ b/Jusin154_Team3D/Client/Private/Dialogue_Font.cpp
@@ -23,9 +23,9 @@ HRESULT CDialogue_Font::Initialize_Prototype()
HRESULT CDialogue_Font::Initialize(void* pArg)
{
m_pInfoInstance->Add_Event(TEXT("Dialogue"), [this](void* p) {this->Add_Text(p); });
-
m_pInfoInstance->Add_Event(TEXT("NpcInteract"), [this](void* p) {this->NpcInteract(*reinterpret_cast<_bool*>(p)); });
m_pInfoInstance->Add_Event(TEXT("NPCInteractionOn"), [this](void* p) {this->NpcInfo(p); });
+ m_pInfoInstance->Add_Event(TEXT("NPCDialogue"), [this](void* p) {this->NpcDialogue(reinterpret_cast(p)); });
for (_int i = 0; i < 5; ++i)
{
@@ -46,6 +46,38 @@ void CDialogue_Font::Priority_Update(_float fTimeDelta)
void CDialogue_Font::Update(_float fTimeDelta)
{
+ if (m_bNpcInteract == false)
+ {
+ if (m_bCurrentInteract == true)
+ m_bCurrentInteract = false;
+ }
+
+ if (m_bNpcInteract != m_bCurrentInteract)
+ {
+ m_bCurrentInteract = m_bNpcInteract;
+ NpcDialogue();
+ Npc_Dialogue(m_Info);
+ }
+
+ if (m_bCurrentInteract == true)
+ {
+ if (m_pGameInstance->Key_Down(DIK_RETURN))
+ {
+ switch (m_iType)
+ {
+ case 0:
+ NextText();
+ break;
+ case 1:
+ CHoice();
+ break;
+ default:
+ break;
+ }
+ }
+
+ }
+
if (!m_pCurrentDialogue.empty())
{
for (auto it = m_pCurrentDialogue.begin(); it != m_pCurrentDialogue.end();)
@@ -62,24 +94,11 @@ void CDialogue_Font::Update(_float fTimeDelta)
}
}
}
-
- if (m_bNpcInteract != m_bCurrentInteract)
- {
- m_bCurrentInteract = m_bNpcInteract;
- m_pInfoInstance->Get_Dialogue(m_pNpcName);
- }
-
- if (m_bNpcInteract == false)
- {
- if (m_bCurrentInteract == true)
- m_bCurrentInteract = false;
- }
-
}
void CDialogue_Font::Late_Update(_float fTimeDelta)
{
- if (!m_DialoguInfo.empty())
+ if (!m_pCurrentDialogue.empty())
{
m_pGameInstance->Add_RenderGroup(RENDER::UI_OVERLAY, this);
}
@@ -136,6 +155,35 @@ void CDialogue_Font::Add_Text(void* pArg)
Dialogue->SizeUpdate(pInfo.pName, pInfo.pText);
Dialogue->Visible(true);
Dialogue->Set_Time(pInfo.fTime);
+ Dialogue->Set_Hover(true);
+
+ m_pCurrentDialogue.push_front(Dialogue);
+}
+
+void CDialogue_Font::Npc_Dialogue(DIALOGUEINFO Info)
+{
+ if (m_DialoguInfo.empty() == true)
+ return;
+
+ if (m_pCurrentDialogue.size() >= 5)
+ {
+ CDialogue* old = m_pCurrentDialogue.back();
+ m_pCurrentDialogue.pop_back();
+ m_DialoguInfo.push_back(old);
+ }
+
+ CDialogue* Dialogue = m_DialoguInfo.back();
+ m_DialoguInfo.pop_back();
+
+ for (auto& it : m_pCurrentDialogue)
+ {
+ it->Up();
+ }
+
+ Dialogue->SizeUpdate(Info.pName, Info.pText);
+ Dialogue->Visible(true);
+ Dialogue->Set_Time(Info.fTime);
+ Dialogue->Set_Hover(true);
m_pCurrentDialogue.push_front(Dialogue);
}
@@ -152,6 +200,63 @@ void CDialogue_Font::NpcInteract(_bool bInteract)
m_bNpcInteract = bInteract;
}
+void CDialogue_Font::NpcDialogue()
+{
+ auto Info = m_pInfoInstance->Get_Dialogue(m_pNpcName, m_iTextID);
+ m_Info.pName = m_pNpcName;
+ m_Info.pText = Info.pText;
+ m_Info.fTime = 99999.f;
+ m_iType = Info.iTextType;
+ m_iNextID = Info.NextTextID;
+}
+
+void CDialogue_Font::NpcDialogue(CNPCStat* Stat)
+{
+ auto Info = m_pInfoInstance->Get_Dialogue(Stat->Get_Stat().pName, 0);
+ m_Info.pName = Stat->Get_Stat().pNpc_Name;
+ m_Info.pText = Info.pText;
+ m_Info.fTime = 3.f;
+ m_iType = Info.iTextType;
+ m_iNextID = Info.NextTextID;
+ Npc_Dialogue(m_Info);
+}
+
+void CDialogue_Font::CHoice()
+{
+ auto Info = m_pInfoInstance->Get_Dialogue(m_pNpcName, m_iTextID);
+ // Info.ChoiceInfo.size();
+}
+
+void CDialogue_Font::Shop()
+{
+}
+
+void CDialogue_Font::SpellLearn()
+{
+}
+
+void CDialogue_Font::NextText()
+{
+ if (m_iNextID == -1)
+ {
+ m_pCurrentDialogue[0]->Set_Hover(false);
+ _bool Interact = false;
+ m_pInfoInstance->Event_CallBack(TEXT("NpcInteract"), &Interact);
+ m_pCurrentDialogue[0]->Set_Hover(true);
+ }
+ else
+ {
+ m_pCurrentDialogue[0]->Set_Hover(false);
+ m_iTextID = m_iNextID;
+ NpcDialogue();
+ Npc_Dialogue(m_Info);
+ if (m_iNextID == -1)
+ {
+ m_bEndText = true;
+ }
+ }
+}
+
CDialogue_Font* CDialogue_Font::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
{
CDialogue_Font* pInstance = new CDialogue_Font(pDevice, pContext);
diff --git a/Jusin154_Team3D/Client/Private/Duelist_NormalJap.cpp b/Jusin154_Team3D/Client/Private/Duelist_NormalJap.cpp
index e4b8f68f3..7bb28d635 100644
--- a/Jusin154_Team3D/Client/Private/Duelist_NormalJap.cpp
+++ b/Jusin154_Team3D/Client/Private/Duelist_NormalJap.cpp
@@ -7,6 +7,7 @@
#include "EffectParts.h"
#include "TrailObject.h"
#include "Human_Duelist.h"
+#include "Player.h"
CDuelist_NormalJap::CDuelist_NormalJap(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
@@ -112,13 +113,6 @@ void CDuelist_NormalJap::Update(_float fTimeDelta)
XMStoreFloat4(&m_vEndPos, m_pProjectile->Get_WorldPostion());
_vector vDir = XMLoadFloat4(&m_vEndPos) - XMLoadFloat4(&m_vStartPos);
-
- if (true == m_pGameInstance->SphereCast(0.25f, XMLoadFloat4(&m_vStartPos), XMVector3Normalize(vDir), XMVectorGetX(XMVector3Length(vDir))
- , PSX::PxHitFlag::ePOSITION | PSX::PxHitFlag::eNORMAL, PSX::PxQueryFlag::eDYNAMIC | PSX::PxQueryFlag::eSTATIC, m_Hitbuffer))
- {
- OnCollision(this);
- }
-
}
@@ -130,7 +124,9 @@ void CDuelist_NormalJap::Late_Update(_float fTimeDelta)
if (false == m_bHit) {
_vector vStartPos = XMLoadFloat4(&m_vStartPos);
_vector vEndPos = m_pProjectile->Get_WorldPostion();
- MonsterSweepTarget(vStartPos, vEndPos, 0.02f);
+ ON_COLLISION_INFO CollisionInfo = MonsterSweepTarget(vStartPos, vEndPos, 0.02f);
+
+ OnCollision(this, &CollisionInfo);
}
Get_PartObject()->Trail_Update(m_pProjectile->Get_Component()->Get_XMWorldMatrix(), fTimeDelta);
@@ -279,36 +275,47 @@ CGameObject* CDuelist_NormalJap::Clone(void* pArg, CGameObject* pOwner)
void CDuelist_NormalJap::OnCollision(CGameObject* pOther, void* pDesc)
{
- int iIndex = CollisionCheck();
-
- if (iIndex < 0) {
+ if (m_bHit == false)
return;
- }
- if (m_isCollisionEnter == true) {
- return;
- }
-
- m_isCollisionEnter = true;
-
- _vector vPos = XMVectorSet(m_Hitbuffer.touches[iIndex].position.x, m_Hitbuffer.touches[iIndex].position.y, m_Hitbuffer.touches[iIndex].position.z, 1.f);
+ ON_COLLISION_INFO CollisionDesc = *static_cast(pDesc);
+ _vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos);
for (auto& pPair : m_PartObjects)
{
-
pPair.second->Set_Visible(true);
pPair.second->Get_Component()->Set_State(STATE::POSITION, vPos);
}
+
+ CPlayer* pPlayer = dynamic_cast(pOther->Get_Owner());
+ if (pPlayer != nullptr)
+ {
+ pPlayer->Start_CameraShake(0.2f, 1.f);
+ }
- Get_PartObject("JapPT0")->Get_Component()->LookAt(m_pOwner->Get_WorldPostion());
+ if (m_bHitShield) {
+ _vector vDir = m_pTransformCom->Get_State(STATE::LOOK);
+ vDir = XMVector3Normalize(vDir);
- m_pProjectile_Side->Set_Visible(false);
- m_pProjectile->Set_Visible(false);
- Get_PartObject("Circle_Particle_Red")->Set_Visible(false);
+ _float fRandAngle = XMConvertToRadians(m_pGameInstance->Real_Random_Float(-180.f, 0.f));
- Get_PartObject()->Set_Visible(false);
- Get_PartObject()->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, 0.f, 0.f, 1.f));
+ _matrix rotX = XMMatrixRotationX(fRandAngle);
+ _vector vRandDir = XMVector3TransformNormal(vDir, rotX);
+
+ XMStoreFloat3(&m_vCameraLook, XMVector3Normalize(vRandDir));
+ }
+ else {
+ Get_PartObject("JapPT0")->Get_Component()->LookAt(m_pOwner->Get_WorldPostion());
+
+ m_pProjectile_Side->Set_Visible(false);
+ m_pProjectile->Set_Visible(false);
+ Get_PartObject("Circle_Particle_Red")->Set_Visible(false);
+
+ Get_PartObject()->Set_Visible(false);
+ Get_PartObject()->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, 0.f, 0.f, 1.f));
+ }
+ m_bHitShield = false;
}
void CDuelist_NormalJap::Free()
diff --git a/Jusin154_Team3D/Client/Private/Duelist_Protego.cpp b/Jusin154_Team3D/Client/Private/Duelist_Protego.cpp
index ea1dfa77c..6d02fde21 100644
--- a/Jusin154_Team3D/Client/Private/Duelist_Protego.cpp
+++ b/Jusin154_Team3D/Client/Private/Duelist_Protego.cpp
@@ -174,12 +174,28 @@ CGameObject* CDuelist_Protego::Clone(void* pArg, CGameObject* pOwner)
void CDuelist_Protego::OnCollision(CGameObject* pOther, void* pDesc)
{
+ if (!m_bVisible)
+ return;
ON_COLLISION_INFO* CollisionDesc = static_cast(pDesc);
- if (!m_bVisible)
+
+ CEffect_Container* pEffect_Container = dynamic_cast(pOther);
+
+ if (pEffect_Container != nullptr)
{
- m_pOwner->OnCollision(pOther, pDesc);
- return;
+ _uint iSkillType = pEffect_Container->Get_SkillType();
+
+ switch (iSkillType)
+ {
+ case ENUM_CLASS(SKILL_TYPE::LEVIOSO):
+ m_pOwner->OnCollision(pOther, CollisionDesc);
+ m_bVisible = false;
+ break;
+ case ENUM_CLASS(SKILL_TYPE::STUPEFY):
+ m_pOwner->OnCollision(pOther, CollisionDesc);
+ m_bVisible = false;
+ break;
+ }
}
}
diff --git a/Jusin154_Team3D/Client/Private/EffectPool.cpp b/Jusin154_Team3D/Client/Private/EffectPool.cpp
index 107970b6a..725bf6f28 100644
--- a/Jusin154_Team3D/Client/Private/EffectPool.cpp
+++ b/Jusin154_Team3D/Client/Private/EffectPool.cpp
@@ -58,6 +58,7 @@
#include "Ranrok_Swipe.h"
#include "Ranrok_DeadSplash.h"
#include "Ranrok_DeadImpact.h"
+#include "Ranrok_Prop.h"
CEffectPool::CEffectPool(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
: CGameObject(pDevice, pContext)
@@ -99,8 +100,8 @@ HRESULT CEffectPool::Initialize(void* pArg)
m_isActiveMonsterEffectCreate = true;
#endif //
#ifdef 기무리
- m_isActiveEffectCreate = false;
- m_isActiveMonsterEffectCreate = false;
+ m_isActiveEffectCreate = true;
+ m_isActiveMonsterEffectCreate = true;
#endif //
#ifdef 나
m_isActiveEffectCreate = false;
@@ -728,6 +729,16 @@ HRESULT CEffectPool::Ready_MonsterEffect()
return pEffect; }
))) return E_FAIL;
+ if (FAILED(Create_Effect(SKILL_TYPE::RANROK_PROP, 5, g_iStaticLevel, g_iStaticLevel, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
+
+ CRanrok_Prop* pEffect = nullptr;
+
+ pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr);
+
+ return pEffect; }
+ ))) return E_FAIL;
+
+
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/Effect_Container.cpp b/Jusin154_Team3D/Client/Private/Effect_Container.cpp
index 50205ae4b..d968052b4 100644
--- a/Jusin154_Team3D/Client/Private/Effect_Container.cpp
+++ b/Jusin154_Team3D/Client/Private/Effect_Container.cpp
@@ -5,7 +5,7 @@
#include "EffectParts.h"
#include "TrailObject.h"
#include "GameObject.h"
-
+#include "Unit.h"
#include
CEffect_Container::CEffect_Container(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
@@ -739,6 +739,14 @@ ON_COLLISION_INFO CEffect_Container::SweepTarget(_fvector StartPos, _fvector End
{
pUserData->pOwner->OnCollision(this, &tagCollInfo);
m_bHit = true;
+ m_bHitShield = true;
+ if (!pUserData->pOwner->Get_Visible()) {
+ if (pUserData->pOwner->Get_Owner() != nullptr)
+ {
+ m_bHitShield = false;
+ pUserData->pOwner->Get_Owner()->OnCollision(this, &tagCollInfo);
+ }
+ }
}
break;
}
@@ -748,6 +756,14 @@ ON_COLLISION_INFO CEffect_Container::SweepTarget(_fvector StartPos, _fvector End
{
pUserData->pOwner->OnCollision(this, &tagCollInfo);
m_bHit = true;
+ m_bHitShield = true;
+ if (!pUserData->pOwner->Get_Visible()) {
+ if (pUserData->pOwner->Get_Owner() != nullptr)
+ {
+ m_bHitShield = false;
+ pUserData->pOwner->Get_Owner()->OnCollision(this, &tagCollInfo);
+ }
+ }
}
break;
}
@@ -1041,6 +1057,11 @@ ON_COLLISION_INFO CEffect_Container::MonsterRayCast(_fvector StartPos, _fvector
return tagCollInfo;
}
+_vector CEffect_Container::Get_UnitPos(LOCKON_INFO Info)
+{
+ return Info.pUnit->Get_Component()->Get_Position();
+}
+
void CEffect_Container::Update_Event(_float fTimeDelta)
{
diff --git a/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp b/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp
index 0123ba138..a65ae99e4 100644
--- a/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Goblin_Assassin_States.cpp
@@ -649,52 +649,9 @@ HRESULT CGoblin_Assassin::Behavior_HitExitCheck(_float fTimeDelta)
0.17f);
}
- if (m_eHitSpell == ENUM_CLASS(SKILL_TYPE::ACCIO))
- {
- if (!m_bPos)
- {
- m_pCharacter_Controller->SetGravity(false);
- _vector vPlayerPos = pTransform->Get_State(STATE::POSITION);
- vPlayerPos = XMVectorSetY(vPlayerPos, XMVectorGetY(vPlayerPos) + 2.5f);
- _vector vMonsterPos = m_pCharacter_Controller->Get_Position();
+ Hit_Accio(fTimeDelta);
- _vector vDir = XMVector3Normalize(vPlayerPos - vMonsterPos);
- _float fLength = XMVectorGetX(XMVector3Length(vPlayerPos - vMonsterPos));
-
- m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fAccel;
-
- if (fLength >= 4.f)
- {
- m_pCharacter_Controller->Set_Position(
- vMonsterPos + vDir * m_fSpeed * fTimeDelta
- );
- }
- else {
- m_bPos = true;
- pairAnimInfo = m_Animation[STATEANIM::HIT_LEVIOSO];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f);
- }
- }
- }
-
- if (m_eHitSpell == ENUM_CLASS(SKILL_TYPE::LEVIOSO))
- {
- if (iCurrAnimIndex == m_Animation[STATEANIM::HIT_LEVIOSO].first)
- {
- _vector vDir = m_pTransformCom->Get_State(STATE::UP);
- vDir = XMVector4Normalize(vDir);
- _vector vPos = m_pCharacter_Controller->Get_Position();
- m_fAirTime += fTimeDelta;
- _vector Force = vDir * fTimeDelta;
- if (m_fAirTime < 1.3f) {
- m_pCharacter_Controller->Set_Position(vPos + Force);
- }
- else {
- m_pCharacter_Controller->Set_Position(vPos);
- }
- m_pCharacter_Controller->SetGravity(false);
- }
- }
+ Hit_Levioso(fTimeDelta);
HitState_Behavior(fTimeDelta);
@@ -791,6 +748,63 @@ void CGoblin_Assassin::Behavior_DeadExit()
m_bDead = true;
}
+void CGoblin_Assassin::Hit_Accio(_float fTimeDelta)
+{
+ pair<_uint, _bool> pairAnimInfo = {};
+ CTransform* pTransform = m_pTarget->Get_Component();
+ if (m_eHitSpell == ENUM_CLASS(SKILL_TYPE::ACCIO))
+ {
+ if (!m_bPos)
+ {
+ m_pCharacter_Controller->SetGravity(false);
+ _vector vPlayerPos = pTransform->Get_State(STATE::POSITION);
+ vPlayerPos = XMVectorSetY(vPlayerPos, XMVectorGetY(vPlayerPos) + 2.5f);
+ _vector vMonsterPos = m_pCharacter_Controller->Get_Position();
+
+ _vector vDir = XMVector3Normalize(vPlayerPos - vMonsterPos);
+ _float fLength = XMVectorGetX(XMVector3Length(vPlayerPos - vMonsterPos));
+
+ m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fAccel;
+
+ if (fLength >= 4.f)
+ {
+ m_pCharacter_Controller->Set_Position(
+ vMonsterPos + vDir * m_fSpeed * fTimeDelta
+ );
+ }
+ else {
+ m_bPos = true;
+ pairAnimInfo = m_Animation[STATEANIM::HIT_LEVIOSO];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f);
+ }
+ }
+ }
+
+}
+
+void CGoblin_Assassin::Hit_Levioso(_float fTimeDelta)
+{
+ _int iCurrAnimIndex = m_pModelCom->Get_AnimIndex();
+ if (m_eHitSpell == ENUM_CLASS(SKILL_TYPE::LEVIOSO))
+ {
+ if (iCurrAnimIndex == m_Animation[STATEANIM::HIT_LEVIOSO].first)
+ {
+ _vector vDir = m_pTransformCom->Get_State(STATE::UP);
+ vDir = XMVector4Normalize(vDir);
+ _vector vPos = m_pCharacter_Controller->Get_Position();
+ m_fAirTime += fTimeDelta;
+ _vector Force = vDir * fTimeDelta;
+ if (m_fAirTime < 1.3f) {
+ m_pCharacter_Controller->Set_Position(vPos + Force);
+ }
+ else {
+ m_pCharacter_Controller->Set_Position(vPos);
+ }
+ m_pCharacter_Controller->SetGravity(false);
+ }
+ }
+}
+
void CGoblin_Assassin::HitState_Behavior(_float fTimeDelta)
{
pair<_uint, _bool> pairAnimInfo = {};
diff --git a/Jusin154_Team3D/Client/Private/Goblin_Mage_States.cpp b/Jusin154_Team3D/Client/Private/Goblin_Mage_States.cpp
index 6a8c5e19f..9bc5d9b0d 100644
--- a/Jusin154_Team3D/Client/Private/Goblin_Mage_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Goblin_Mage_States.cpp
@@ -540,52 +540,9 @@ HRESULT CGoblin_Mage::Behavior_HitExitCheck(_float fTimeDelta)
0.17f);
}
- if (m_eHitSpell == ENUM_CLASS(SKILL_TYPE::ACCIO))
- {
- if (!m_bPos)
- {
- m_pCharacter_Controller->SetGravity(false);
- _vector vPlayerPos = pTransform->Get_State(STATE::POSITION);
- vPlayerPos = XMVectorSetY(vPlayerPos, XMVectorGetY(vPlayerPos) + 2.5f);
- _vector vMonsterPos = m_pCharacter_Controller->Get_Position();
+ Hit_Accio(fTimeDelta);
- _vector vDir = XMVector3Normalize(vPlayerPos - vMonsterPos);
- _float fLength = XMVectorGetX(XMVector3Length(vPlayerPos - vMonsterPos));
-
- m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fAccel;
-
- if (fLength >= 4.f)
- {
- m_pCharacter_Controller->Set_Position(
- vMonsterPos + vDir * m_fSpeed * fTimeDelta
- );
- }
- else {
- m_bPos = true;
- pairAnimInfo = m_Animation[STATEANIM::HIT_LEVIOSO];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f);
- }
- }
- }
-
- if (m_eHitSpell == ENUM_CLASS(SKILL_TYPE::LEVIOSO))
- {
- if (iCurrAnimIndex == m_Animation[STATEANIM::HIT_LEVIOSO].first)
- {
- _vector vDir = m_pTransformCom->Get_State(STATE::UP);
- vDir = XMVector4Normalize(vDir);
- _vector vPos = m_pCharacter_Controller->Get_Position();
- m_fAirTime += fTimeDelta;
- _vector Force = vDir * fTimeDelta;
- if (m_fAirTime < 1.3f) {
- m_pCharacter_Controller->Set_Position(vPos + Force);
- }
- else {
- m_pCharacter_Controller->Set_Position(vPos);
- }
- m_pCharacter_Controller->SetGravity(false);
- }
- }
+ Hit_Levioso(fTimeDelta);
HitState_Behavior(fTimeDelta);
@@ -681,6 +638,63 @@ void CGoblin_Mage::Behavior_DeadExit()
m_bDead = true;
}
+void CGoblin_Mage::Hit_Accio(_float fTimeDelta)
+{
+ pair<_uint, _bool> pairAnimInfo = {};
+ CTransform* pTransform = m_pTarget->Get_Component();
+ if (m_eHitSpell == ENUM_CLASS(SKILL_TYPE::ACCIO))
+ {
+ if (!m_bPos)
+ {
+ m_pCharacter_Controller->SetGravity(false);
+ _vector vPlayerPos = pTransform->Get_State(STATE::POSITION);
+ vPlayerPos = XMVectorSetY(vPlayerPos, XMVectorGetY(vPlayerPos) + 2.5f);
+ _vector vMonsterPos = m_pCharacter_Controller->Get_Position();
+
+ _vector vDir = XMVector3Normalize(vPlayerPos - vMonsterPos);
+ _float fLength = XMVectorGetX(XMVector3Length(vPlayerPos - vMonsterPos));
+
+ m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fAccel;
+
+ if (fLength >= 4.f)
+ {
+ m_pCharacter_Controller->Set_Position(
+ vMonsterPos + vDir * m_fSpeed * fTimeDelta
+ );
+ }
+ else {
+ m_bPos = true;
+ pairAnimInfo = m_Animation[STATEANIM::HIT_LEVIOSO];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f);
+ }
+ }
+ }
+
+}
+
+void CGoblin_Mage::Hit_Levioso(_float fTimeDelta)
+{
+ _int iCurrAnimIndex = m_pModelCom->Get_AnimIndex();
+ if (m_eHitSpell == ENUM_CLASS(SKILL_TYPE::LEVIOSO))
+ {
+ if (iCurrAnimIndex == m_Animation[STATEANIM::HIT_LEVIOSO].first)
+ {
+ _vector vDir = m_pTransformCom->Get_State(STATE::UP);
+ vDir = XMVector4Normalize(vDir);
+ _vector vPos = m_pCharacter_Controller->Get_Position();
+ m_fAirTime += fTimeDelta;
+ _vector Force = vDir * fTimeDelta;
+ if (m_fAirTime < 1.3f) {
+ m_pCharacter_Controller->Set_Position(vPos + Force);
+ }
+ else {
+ m_pCharacter_Controller->Set_Position(vPos);
+ }
+ m_pCharacter_Controller->SetGravity(false);
+ }
+ }
+}
+
void CGoblin_Mage::HitState_Behavior(_float fTimeDelta)
{
pair<_uint, _bool> pairAnimInfo = {};
diff --git a/Jusin154_Team3D/Client/Private/Goblin_Protego.cpp b/Jusin154_Team3D/Client/Private/Goblin_Protego.cpp
index f5de06199..c909d3b24 100644
--- a/Jusin154_Team3D/Client/Private/Goblin_Protego.cpp
+++ b/Jusin154_Team3D/Client/Private/Goblin_Protego.cpp
@@ -182,41 +182,21 @@ void CGoblin_Protego::OnCollision(CGameObject* pOther, void* pDesc)
CEffect_Container* pEffect_Container = dynamic_cast(pOther);
- pair<_float, _float> damagePair = {};
-
if (pEffect_Container != nullptr)
{
_uint iSkillType = pEffect_Container->Get_SkillType();
switch (iSkillType)
{
- case ENUM_CLASS(SKILL_TYPE::DESCENDO):
- m_eHitSpell = ENUM_CLASS(SKILL_TYPE::DESCENDO);
- break;
case ENUM_CLASS(SKILL_TYPE::BOMBARDA):
- m_eHitSpell = ENUM_CLASS(SKILL_TYPE::BOMBARDA);
m_pOwner->OnCollision(pOther, CollisionDesc);
m_bVisible = false;
break;
- case ENUM_CLASS(SKILL_TYPE::JAP):
- m_eHitSpell = ENUM_CLASS(SKILL_TYPE::JAP);
- break;
- case ENUM_CLASS(SKILL_TYPE::LEVIOSO):
- m_eHitSpell = ENUM_CLASS(SKILL_TYPE::LEVIOSO);
- break;
- case ENUM_CLASS(SKILL_TYPE::ACCIO):
- m_eHitSpell = ENUM_CLASS(SKILL_TYPE::ACCIO);
- break;
- case ENUM_CLASS(SKILL_TYPE::STUPEFY):
- m_eHitSpell = ENUM_CLASS(SKILL_TYPE::STUPEFY);
- break;
case ENUM_CLASS(SKILL_TYPE::AVADAKEDAVRA):
- m_eHitSpell = ENUM_CLASS(SKILL_TYPE::AVADAKEDAVRA);
m_pOwner->OnCollision(pOther, CollisionDesc);
m_bVisible = false;
break;
case ENUM_CLASS(SKILL_TYPE::ANCIENT_MAGIC):
- m_eHitSpell = ENUM_CLASS(SKILL_TYPE::ANCIENT_MAGIC);
m_pOwner->OnCollision(pOther, CollisionDesc);
m_bVisible = false;
break;
@@ -227,7 +207,6 @@ void CGoblin_Protego::OnCollision(CGameObject* pOther, void* pDesc)
CMapElement_Interactable* pProps = dynamic_cast(pOther);
if (pProps != nullptr)
{
- m_eHitSpell = ENUM_CLASS(SKILL_TYPE::ANCIENT_MAGIC_THROW);
m_pOwner->OnCollision(pOther, CollisionDesc);
m_bVisible = false;
}
diff --git a/Jusin154_Team3D/Client/Private/Goblin_States.cpp b/Jusin154_Team3D/Client/Private/Goblin_States.cpp
index 727fcb089..39d6534f2 100644
--- a/Jusin154_Team3D/Client/Private/Goblin_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Goblin_States.cpp
@@ -612,7 +612,7 @@ HRESULT CGoblin::Behavior_HitExitCheck(_float fTimeDelta)
_vector vDir = m_pTransformCom->Get_State(STATE::UP);
vDir = XMVector4Normalize(vDir);
_vector vPos = m_pCharacter_Controller->Get_Position();
- _vector Force = vDir * fTimeDelta*0.6f;
+ _vector Force = vDir * fTimeDelta * 0.6f;
m_pCharacter_Controller->Set_Position(vPos + Force);
}
@@ -629,52 +629,9 @@ HRESULT CGoblin::Behavior_HitExitCheck(_float fTimeDelta)
0.17f);
}
- if (m_eHitSpell == ENUM_CLASS(SKILL_TYPE::ACCIO))
- {
- if (!m_bPos)
- {
- m_pCharacter_Controller->SetGravity(false);
- _vector vPlayerPos = pTransform->Get_State(STATE::POSITION);
- vPlayerPos = XMVectorSetY(vPlayerPos, XMVectorGetY(vPlayerPos) + 2.5f);
- _vector vMonsterPos = m_pCharacter_Controller->Get_Position();
+ Hit_Accio(fTimeDelta);
- _vector vDir = XMVector3Normalize(vPlayerPos - vMonsterPos);
- _float fLength = XMVectorGetX(XMVector3Length(vPlayerPos - vMonsterPos));
-
- m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fAccel;
-
- if (fLength >= 4.f)
- {
- m_pCharacter_Controller->Set_Position(
- vMonsterPos + vDir * m_fSpeed * fTimeDelta
- );
- }
- else {
- m_bPos = true;
- pairAnimInfo = m_Animation[STATEANIM::HIT_LEVIOSO];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f);
- }
- }
- }
-
- if (m_eHitSpell == ENUM_CLASS(SKILL_TYPE::LEVIOSO))
- {
- if (iCurrAnimIndex == m_Animation[STATEANIM::HIT_LEVIOSO].first)
- {
- _vector vDir = m_pTransformCom->Get_State(STATE::UP);
- vDir = XMVector4Normalize(vDir);
- _vector vPos = m_pCharacter_Controller->Get_Position();
- m_fAirTime += fTimeDelta;
- _vector Force = vDir * fTimeDelta;
- if (m_fAirTime < 1.3f) {
- m_pCharacter_Controller->Set_Position(vPos + Force);
- }
- else {
- m_pCharacter_Controller->Set_Position(vPos);
- }
- m_pCharacter_Controller->SetGravity(false);
- }
- }
+ Hit_Levioso(fTimeDelta);
HitState_Behavior(fTimeDelta);
@@ -771,6 +728,63 @@ void CGoblin::Behavior_DeadExit()
m_bDead = true;
}
+void CGoblin::Hit_Accio(_float fTimeDelta)
+{
+ pair<_uint, _bool> pairAnimInfo = {};
+ CTransform* pTransform = m_pTarget->Get_Component();
+ if (m_eHitSpell == ENUM_CLASS(SKILL_TYPE::ACCIO))
+ {
+ if (!m_bPos)
+ {
+ m_pCharacter_Controller->SetGravity(false);
+ _vector vPlayerPos = pTransform->Get_State(STATE::POSITION);
+ vPlayerPos = XMVectorSetY(vPlayerPos, XMVectorGetY(vPlayerPos) + 2.5f);
+ _vector vMonsterPos = m_pCharacter_Controller->Get_Position();
+
+ _vector vDir = XMVector3Normalize(vPlayerPos - vMonsterPos);
+ _float fLength = XMVectorGetX(XMVector3Length(vPlayerPos - vMonsterPos));
+
+ m_fSpeed += (m_fTargetSpeed - m_fSpeed) * fTimeDelta * m_fAccel;
+
+ if (fLength >= 4.f)
+ {
+ m_pCharacter_Controller->Set_Position(
+ vMonsterPos + vDir * m_fSpeed * fTimeDelta
+ );
+ }
+ else {
+ m_bPos = true;
+ pairAnimInfo = m_Animation[STATEANIM::HIT_LEVIOSO];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f);
+ }
+ }
+ }
+
+}
+
+void CGoblin::Hit_Levioso(_float fTimeDelta)
+{
+ _int iCurrAnimIndex = m_pModelCom->Get_AnimIndex();
+ if (m_eHitSpell == ENUM_CLASS(SKILL_TYPE::LEVIOSO))
+ {
+ if (iCurrAnimIndex == m_Animation[STATEANIM::HIT_LEVIOSO].first)
+ {
+ _vector vDir = m_pTransformCom->Get_State(STATE::UP);
+ vDir = XMVector4Normalize(vDir);
+ _vector vPos = m_pCharacter_Controller->Get_Position();
+ m_fAirTime += fTimeDelta;
+ _vector Force = vDir * fTimeDelta;
+ if (m_fAirTime < 1.3f) {
+ m_pCharacter_Controller->Set_Position(vPos + Force);
+ }
+ else {
+ m_pCharacter_Controller->Set_Position(vPos);
+ }
+ m_pCharacter_Controller->SetGravity(false);
+ }
+ }
+}
+
void CGoblin::HitState_Behavior(_float fTimeDelta)
{
pair<_uint, _bool> pairAnimInfo = {};
diff --git a/Jusin154_Team3D/Client/Private/Human_Duelist.cpp b/Jusin154_Team3D/Client/Private/Human_Duelist.cpp
index d63d235be..c9bafc877 100644
--- a/Jusin154_Team3D/Client/Private/Human_Duelist.cpp
+++ b/Jusin154_Team3D/Client/Private/Human_Duelist.cpp
@@ -79,7 +79,6 @@ HRESULT CHuman_Duelist::Initialize(void* pArg)
void CHuman_Duelist::Priority_Update(_float fTimeDelta)
{
- SetGravity();
m_pTransformCom->RewindMomentum();
__super::Priority_Update(fTimeDelta);
@@ -90,7 +89,7 @@ void CHuman_Duelist::Update(_float fTimeDelta)
{
m_pFSM->Update_State(fTimeDelta);
- m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom);
+ m_pModelCom->Play_Animation(fTimeDelta *m_fEasing, m_pTransformCom);
Play_Event();
@@ -257,6 +256,10 @@ void CHuman_Duelist::OnCollision(CGameObject* pOther, void* pDesc)
break;
case ENUM_CLASS(SKILL_TYPE::LEVIOSO):
m_eHitSpell = ENUM_CLASS(SKILL_TYPE::LEVIOSO);
+ m_eHitState = ENUM_CLASS(HIT_STATE::AIR_LEVIOSO);
+ break;
+ case ENUM_CLASS(SKILL_TYPE::STUPEFY):
+ m_eHitSpell = ENUM_CLASS(SKILL_TYPE::STUPEFY);
break;
}
}
@@ -493,25 +496,6 @@ HRESULT CHuman_Duelist::Bind_ShaderParameters(_uint iMeshOrder)
}
-void CHuman_Duelist::SetGravity()
-{
- PSX::PxControllerCollisionFlags eCollisionFlags = m_pCharacter_Controller->Get_CollisionFlags();
- eCollisionFlags;
- if (false == eCollisionFlags.isSet(PSX::PxControllerCollisionFlag::Enum::eCOLLISION_DOWN)
- && false == eCollisionFlags.isSet(PSX::PxControllerCollisionFlag::Enum::eCOLLISION_SIDES)) {
- if (false == m_pFSM->IsEnable(FSMSTATE::JUMP) && m_eHitType != ENUM_CLASS(HIT_TYPE::HIT_HEAVY)
- && m_eHitSpell != ENUM_CLASS(SKILL_TYPE::LEVIOSO)) { // 벽에 닿지 않았는데 점프 중이 아닐 땐 중력 on
- m_pCharacter_Controller->SetGravity(true);
- }
- else { // 점프 중일 땐 off
- m_pCharacter_Controller->SetGravity(false);
- }
- }
- else { // 벽에 닿는중일 땐 항상 중력 off
- m_pCharacter_Controller->SetGravity(false);
- }
-}
-
_matrix CHuman_Duelist::Get_WandPos()
{
CWand* pWand = Get_PartObject();
diff --git a/Jusin154_Team3D/Client/Private/Human_Duelist_States.cpp b/Jusin154_Team3D/Client/Private/Human_Duelist_States.cpp
index a2a278755..676f43382 100644
--- a/Jusin154_Team3D/Client/Private/Human_Duelist_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Human_Duelist_States.cpp
@@ -118,37 +118,41 @@ void CHuman_Duelist::Behavior_LightAttackEnter()
{
pair<_uint, _bool> pairAnimInfo;
m_pFSM->Enable_State(FSMSTATE::LIGHT_ATTACK);
+ _float fRatio = 0.f;
_int iRand = m_pGameInstance->Real_Random_Int(0, 3);
switch (iRand)
{
case 0:
pairAnimInfo = m_Animation[STATEANIM::LIGHT_ATTACK];
+ fRatio = 0.12f;
break;
case 1:
pairAnimInfo = m_Animation[STATEANIM::LIGHT_ATTACK2];
+ fRatio = 0.12f;
break;
case 2:
pairAnimInfo = m_Animation[STATEANIM::LIGHT_ATTACK3];
+ fRatio = 0.18f;
break;
case 3:
pairAnimInfo = m_Animation[STATEANIM::LIGHT_ATTACK4];
+ fRatio = 0.11f;
break;
}
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
Add_Event(pairAnimInfo.first,
- [this]() {_uint iIndex = 0; m_pEffectPool->Use_Skill(SKILL_TYPE::DUELIST_JAP, Get_PartObject(), &iIndex); },
- 0.2f);
-
- //Add_Event(pairAnimInfo.first,
- // [this]() { m_pGameInstance->SlowMotion(0.1f, 0.5f); },
- // 0.1f);
+ [this]() {_uint iIndex = 0; m_pEffectPool->Use_Skill(SKILL_TYPE::DUELIST_JAP, Get_PartObject(), &iIndex);
+ /*m_pGameInstance->SlowMotion(0.5f, 0.4f);*/ },
+ fRatio);
Add_Event(pairAnimInfo.first,
[this]() { m_pEffectPool->Use_Skill(SKILL_TYPE::JAP_SIDE, Get_PartObject()); },
0.0f);
m_fSkillCoolTime[ENUM_CLASS(SKILL::LIGHT_ATTACK)] = m_fMaxSkillCoolTime[ENUM_CLASS(SKILL::LIGHT_ATTACK)];
+
+
}
HRESULT CHuman_Duelist::Behavior_LightAttackExitCheck(_float fTimeDelta)
@@ -172,16 +176,13 @@ void CHuman_Duelist::Behavior_SpellEnter()
pair<_uint, _bool> pairAnimInfo;
pairAnimInfo = m_Animation[STATEANIM::SPELL];
+
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
Add_Event(pairAnimInfo.first,
[this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::DUELIST_LEVIOSO, this); },
0.2f);
- /*Add_Event(pairAnimInfo.first,
- [this]() { m_pGameInstance->SlowMotion(0.1f, 0.5f); },
- 0.1f);*/
-
Add_Event(pairAnimInfo.first,
[this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::LEVIOSO_SIDE, Get_PartObject()); },
0.f);
@@ -239,7 +240,7 @@ void CHuman_Duelist::Behavior_HitEnter()
{
m_pFSM->Enable_State(FSMSTATE::HIT);
pair<_uint, _bool> pairAnimInfo;
-
+ m_bLookAt = false;
switch (m_eHitSpell)
{
case ENUM_CLASS(SKILL_TYPE::JAP):
@@ -248,18 +249,47 @@ void CHuman_Duelist::Behavior_HitEnter()
case ENUM_CLASS(SKILL_TYPE::LEVIOSO):
pairAnimInfo = m_Animation[STATEANIM::HIT_LEVIOSO];
break;
+ case ENUM_CLASS(SKILL_TYPE::STUPEFY):
+ pairAnimInfo = m_Animation[STATEANIM::DAZED_START];
+
+ Add_Event(pairAnimInfo.first,
+ [&]() {
+ pairAnimInfo = m_Animation[STATEANIM::DAZED_LOOP];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); },
+ 0.95f);
+
+ Add_Event(m_Animation[STATEANIM::DAZED_LOOP].first,
+ [&]() {
+ _string strBoneName = "HeadEnd";
+ m_pEffectPool->Use_Skill(SKILL_TYPE::STUN, this, &strBoneName); },
+ 0.1f);
+
+ Add_Event(m_Animation[STATEANIM::DAZED_LOOP].first,
+ [&]() {
+ pairAnimInfo = m_Animation[STATEANIM::DAZED_END1];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); },
+ 0.95f);
+ break;
}
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
}
-HRESULT CHuman_Duelist::Behavior_HitExitCheck()
+HRESULT CHuman_Duelist::Behavior_HitExitCheck(_float fTimeDelta)
{
- if (m_pModelCom->IsFinishedAnim())
- {
- m_pFSM->Change_State(FSMSTATE::COMBAT);
- return E_FAIL;
+ _int iCurrAnimIndex = m_pModelCom->Get_AnimIndex();
+
+ Hit_Levioso(fTimeDelta);
+
+ HitState_Behavior(fTimeDelta);
+
+ if (iCurrAnimIndex != m_Animation[STATEANIM::HIT_LEVIOSO].first) {
+ if (m_pModelCom->IsFinishedAnim())
+ {
+ m_pFSM->Change_State(FSMSTATE::COMBAT);
+ return E_FAIL;
+ }
}
return S_OK;
}
@@ -267,6 +297,84 @@ HRESULT CHuman_Duelist::Behavior_HitExitCheck()
void CHuman_Duelist::Behavior_HitExit()
{
m_pFSM->Disable_State(FSMSTATE::HIT);
+ m_pCharacter_Controller->SetGravity(true);
+ m_pCharacter_Controller->Reset_GravityAmount();
+ m_eHitState = ENUM_CLASS(HIT_STATE::END);
+ m_bLookAt = true;
+ m_fAirTime = 0.f;
+
+}
+
+void CHuman_Duelist::Hit_Levioso(_float fTimeDelta)
+{
+ pair<_uint, _bool> pairAnimInfo;
+ _int iCurrAnimIndex = m_pModelCom->Get_AnimIndex();
+ if (iCurrAnimIndex == m_Animation[STATEANIM::HIT_LEVIOSO].first)
+ {
+ _vector vDir = m_pTransformCom->Get_State(STATE::UP);
+ vDir = XMVector4Normalize(vDir);
+ _vector vPos = m_pCharacter_Controller->Get_Position();
+ m_fAirTime += fTimeDelta;
+ _vector Force = vDir * fTimeDelta;
+ if (m_fAirTime < 1.3f) {
+ m_pCharacter_Controller->Set_Position(vPos + Force);
+ m_pCharacter_Controller->SetGravity(false);
+ }
+ else {
+ m_pCharacter_Controller->Set_Position(vPos);
+ }
+ if (m_fAirTime > 2.3f)
+ {
+ pairAnimInfo = m_Animation[STATEANIM::LAND];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ m_fAirTime = 0.f;
+ m_pCharacter_Controller->SetGravity(true);
+ }
+ }
+}
+
+
+void CHuman_Duelist::HitState_Behavior(_float fTimeDelta)
+{
+ pair<_uint, _bool> pairAnimInfo = {};
+ _uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex();
+ _float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
+
+ if (m_eHitState == ENUM_CLASS(HIT_STATE::AIR_LEVIOSO))
+ {
+ switch (m_eHitSpell)
+ {
+ case ENUM_CLASS(SKILL_TYPE::JAP):
+ {
+ if (iCurrAnimIndex != m_Animation[STATEANIM::TUMBLE].first) {
+ pairAnimInfo = m_Animation[STATEANIM::TUMBLE];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ }
+ else {
+ pairAnimInfo = m_Animation[STATEANIM::TUMBLE2];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ }
+
+ Add_Event(pairAnimInfo.first,
+ [&]() {
+ pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_BWD_SPLT];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ m_pCharacter_Controller->SetGravity(true);
+ m_pCharacter_Controller->Set_GravityAmount(1.2f); },
+ 0.8f);
+
+ Add_Event(m_Animation[STATEANIM::KNOCKDOWN_BWD_SPLT].first,
+ [&]() {
+ pairAnimInfo = m_Animation[STATEANIM::GETUP_BWD];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second); },
+ 0.95f);
+
+ m_eHitSpell = ENUM_CLASS(SKILL_TYPE::END);
+ }
+ break;
+ }
+ }
+
}
void CHuman_Duelist::Add_FSM()
@@ -345,7 +453,7 @@ void CHuman_Duelist::Add_FSM()
CState_Hit::STATE_HIT_DESC Desc{};
Desc.pOwner = this;
Desc.funcEnterEvent = [this]() { Behavior_HitEnter(); };
- Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_HitExitCheck(); };
+ Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_HitExitCheck(fTimedelta); };
Desc.funcExitEvent = [this]() { Behavior_HitExit(); };
Desc.funcPriorityUpdate = nullptr;
Desc.funcLateUpdate = nullptr;
diff --git a/Jusin154_Team3D/Client/Private/InfoInstance.cpp b/Jusin154_Team3D/Client/Private/InfoInstance.cpp
index edac1466e..e84b4abf8 100644
--- a/Jusin154_Team3D/Client/Private/InfoInstance.cpp
+++ b/Jusin154_Team3D/Client/Private/InfoInstance.cpp
@@ -36,7 +36,6 @@ void CInfoInstance::Change_Level()
m_pMapInfo->Change_Level();
m_pSkillInfo->Change_Level();
m_pInteractiveInfo->Change_Level();
- UI_Event.clear();
}
CStat* CInfoInstance::Get_PlayerStatPtr()
@@ -348,9 +347,9 @@ _int CInfoInstance::Get_SpellLearnIndex()
// m_pDialogue_Font->Add_Text(pArg);
//}
-const NPCDIALOGUEINFO& CInfoInstance::Get_Dialogue(_wstring NpcName) const
+const CURRENTDIALOGUEINFO& CInfoInstance::Get_Dialogue(_wstring NpcName, _int iTextID) const
{
- return m_pDialogue_Data->Get_Info(NpcName);
+ return m_pDialogue_Data->Get_Info(NpcName, iTextID);
}
HRESULT CInfoInstance::Regist_ActiveInteractive(CMapElement_Interactable* pInteractive)
diff --git a/Jusin154_Team3D/Client/Private/Level_Field.cpp b/Jusin154_Team3D/Client/Private/Level_Field.cpp
index 4820a3961..003e5cb18 100644
--- a/Jusin154_Team3D/Client/Private/Level_Field.cpp
+++ b/Jusin154_Team3D/Client/Private/Level_Field.cpp
@@ -61,6 +61,9 @@ HRESULT CLevel_Field::Initialize(void* pArg)
return E_FAIL;
}
+ m_bLevel = true;
+ m_pInfoInstance->Event_CallBack(TEXT("UIManagerFadeIn"));
+
return S_OK;
}
@@ -85,6 +88,16 @@ void CLevel_Field::Update(_float fTimeDelta)
return;
}
}
+
+
+ if (m_bLevel != m_bCurrentLevel)
+ {
+ m_bCurrentLevel = m_bLevel;
+ UI_STATE eState = UI_STATE::GAMEPLAYER;
+ m_pInfoInstance->Event_CallBack(TEXT("Canvas_Change"), &eState);
+ }
+
+
}
HRESULT CLevel_Field::Render()
@@ -158,7 +171,7 @@ HRESULT CLevel_Field::Ready_Lights()
_float4 vDiffuse = _float4(0.745f, 0.797f, 0.8f, 0.f);
_float4 vAmbient = _float4(0.1f, 0.13f, 0.13f, 0.f);
_float4 vSpecular = _float4(0.05f, 0.05f, 0.05f, 0.f);
-
+
#if gimch || 진우
vDiffuse = _float4(0.361f, 0.451f, 0.451f, 0.204f);
vAmbient = _float4(0.161f, 0.161f, 0.161f, 0.0f);
@@ -166,7 +179,7 @@ HRESULT CLevel_Field::Ready_Lights()
#endif // gimch
-
+
pLight->Get_Component()->Set_Color(vDiffuse, vAmbient, vSpecular);
@@ -206,11 +219,13 @@ HRESULT CLevel_Field::Ready_Camera()
m_pGameInstance->Add_Camera(NEXT_LEVEL, pCamera, CAMERA_DEBUG);
-#endif // _DEBUG
-
if (FAILED(m_pGameInstance->Bind_Camera(NEXT_LEVEL, CAMERA_DEBUG, true))) {
return E_FAIL;
}
+
+#endif // _DEBUG
+
+
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
index 49cd0d828..6283b1a5b 100644
--- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
+++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp
@@ -56,7 +56,7 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg)
m_isDay = true;
#endif //
#ifdef 진우
- m_isDay = true;
+ m_isDay = false;
#endif //
#ifdef 기무리
m_isDay = true;
@@ -116,10 +116,13 @@ HRESULT CLevel_GamePlay::Initialize(void* pArg)
if (FAILED(Ready_Layer_Monster())) {
return E_FAIL;
}
-
- if(FAILED(m_pInfoInstance->Late_Initialize()))
+
+ if (FAILED(m_pInfoInstance->Late_Initialize()))
return E_FAIL;
+ m_bLevel = true;
+ m_pInfoInstance->Event_CallBack(TEXT("UIManagerFadeIn"));
+
return S_OK;
}
@@ -131,6 +134,7 @@ HRESULT CLevel_GamePlay::Initialize()
void CLevel_GamePlay::Update(_float fTimeDelta)
{
+
if (m_pGameInstance->Key_Pressing(DIK_0)) {
if (m_pGameInstance->Key_Up(DIK_1))
{
@@ -142,6 +146,10 @@ void CLevel_GamePlay::Update(_float fTimeDelta)
if (true == m_pGameInstance->Check_LevelShouldChange()) {
m_pInfoInstance->Change_Level();
+
+ UI_STATE eState = UI_STATE::LEVELCHANGE;
+ m_pInfoInstance->Event_CallBack(TEXT("Canvas_Change"), &eState);
+
if (FAILED(m_pGameInstance->Change_Level(CLevel_Loading::Create(m_pDevice, m_pContext, LEVEL::LOADING, LEVEL::FIELD)))) {
return;
}
@@ -220,7 +228,7 @@ HRESULT CLevel_GamePlay::Ready_Lights()
HRESULT CLevel_GamePlay::Ready_Volumetric()
{
// Volumetric 설정
- if(m_isDay)
+ if (m_isDay)
{
m_pGameInstance->Setting_Volumetirc(
1.251f, // 밀도
@@ -271,7 +279,7 @@ HRESULT CLevel_GamePlay::Ready_Background()
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(ENUM_CLASS(LEVEL::STATIC), NEXT_LEVEL, LAYER_BACKGROUND, &Terrain_Desc))) {
return E_FAIL;
}
-
+
/* 물 오브젝트 */
if (FAILED(CInfoInstance::GetInstance()->Load_WaterElemet("Element_Water_Info"))) {
return E_FAIL;
@@ -292,9 +300,9 @@ HRESULT CLevel_GamePlay::Ready_Background()
isReady_Hogwart = false;
#endif // gimch
#ifdef Bin
- isReady_Background = true;
- isReady_Hogsmeade = true;
- isReady_Hogwart = true;
+ isReady_Background = false;
+ isReady_Hogsmeade = false;
+ isReady_Hogwart = false;
#endif //
#ifdef 진우
isReady_Background = false;
@@ -314,9 +322,9 @@ HRESULT CLevel_GamePlay::Ready_Background()
#endif // _DEBUG
-
+
/* Map Containters */
- if(false == isReady_Background)
+ if (false == isReady_Background)
{
/* 테스트용 맵 */
CInfoInstance::GetInstance()->Load_MapObjects("Map1215", LAYER_HOGSMEADE);
@@ -341,10 +349,12 @@ HRESULT CLevel_GamePlay::Ready_Background()
return E_FAIL;
}
+
+
if (FAILED(Ready_IntstanceProp()))
return E_FAIL;
}
-
+
return S_OK;
}
@@ -823,7 +833,7 @@ HRESULT CLevel_GamePlay::Ready_Layer_Player(const _wstring& strLayerTag)
#endif // Bin
#endif // _DEBUG
- if(true == isLoad_NPC)
+ if (true == isLoad_NPC)
{
{
CNPC_Ollivander::NPCDESC NPCDesc{};
@@ -859,14 +869,14 @@ HRESULT CLevel_GamePlay::Ready_Layer_Player(const _wstring& strLayerTag)
}
}
}
- }
- CHuman_Duelist::DUELISTDESC DuelistDesc = {};
- DuelistDesc.vPos = _float4(-21.f, 0.f, -16.f, 1.f);
- DuelistDesc.vRotQ = _float4(0.f, 0.f, 0.f, 1.f);
- if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &DuelistDesc))) {
- return E_FAIL;
- }
+ CHuman_Duelist::DUELISTDESC DuelistDesc = {};
+ DuelistDesc.vPos = _float4(-21.f, 0.f, -14.f, 1.f);
+ DuelistDesc.vRotQ = _float4(0.f, 0.f, 0.f, 1.f);
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, &DuelistDesc))) {
+ return E_FAIL;
+ }
+ }
return S_OK;
}
@@ -908,7 +918,7 @@ HRESULT CLevel_GamePlay::Ready_Layer_Monster()
#endif // gimch
#ifdef 진우
- isLoad_Monster = false;
+ isLoad_Monster = true;
#endif //
#ifdef 기무리
isLoad_Monster = true;
@@ -947,9 +957,9 @@ HRESULT CLevel_GamePlay::Ready_Layer_Monster()
return E_FAIL;
}
- if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_MONSTER))) {
+ /*if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_MONSTER))) {
return E_FAIL;
- }
+ }*/
@@ -964,7 +974,7 @@ HRESULT CLevel_GamePlay::Ready_Layer_Monster()
HRESULT CLevel_GamePlay::Ready_Layer_Manager(const _wstring& strLayerTag)
{
- if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag,nullptr,nullptr,&m_pBroomRaceManager))) {
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, strLayerTag, nullptr, nullptr, &m_pBroomRaceManager))) {
return E_FAIL;
}
diff --git a/Jusin154_Team3D/Client/Private/Levioso.cpp b/Jusin154_Team3D/Client/Private/Levioso.cpp
index 7bea83c05..3b989c051 100644
--- a/Jusin154_Team3D/Client/Private/Levioso.cpp
+++ b/Jusin154_Team3D/Client/Private/Levioso.cpp
@@ -166,7 +166,7 @@ HRESULT CLevioso::Pre_Setting(CGameObject* pObject, void* pArg)
if (nullptr != m_Info.pUnit) {
- XMStoreFloat4(&m_vTargetPos, m_Info.pUnit->Get_LockOnPos());
+ XMStoreFloat4(&m_vTargetPos, Get_UnitPos(m_Info));
XMStoreFloat3(&m_vCameraLook, XMVector3Normalize(XMLoadFloat4(&m_vTargetPos) - XMLoadFloat4(&m_vStartPos)));
}
diff --git a/Jusin154_Team3D/Client/Private/Lightning.cpp b/Jusin154_Team3D/Client/Private/Lightning.cpp
index 04c8df5ab..9bf3348a8 100644
--- a/Jusin154_Team3D/Client/Private/Lightning.cpp
+++ b/Jusin154_Team3D/Client/Private/Lightning.cpp
@@ -124,7 +124,7 @@ HRESULT CLightning::Pre_Setting(CGameObject* pObject, void* pArg)
m_pInfoInstance->Get_LockOnInfo(m_Info);
if (nullptr != m_Info.pUnit) {
- XMStoreFloat4(&m_vTargetPos, m_Info.pUnit->Get_Component()->Get_FootPosition());
+ XMStoreFloat4(&m_vTargetPos, Get_UnitPos(m_Info));
XMStoreFloat3(&m_vCameraLook, XMVector3Normalize(XMLoadFloat4(&m_vTargetPos) - XMLoadFloat4(&m_vStartPos)));
}
diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp
index 52f42fee5..b6e7c9068 100644
--- a/Jusin154_Team3D/Client/Private/Loader.cpp
+++ b/Jusin154_Team3D/Client/Private/Loader.cpp
@@ -226,6 +226,7 @@
#include "Ranrok_Swipe.h"
#include "Ranrok_DeadSplash.h"
#include "Ranrok_DeadImpact.h"
+#include "Ranrok_Prop.h"
#include "StunEffect.h"
#include "Box_Splesh.h"
@@ -429,9 +430,9 @@ HRESULT CLoader::Loading_For_GamePlay()
isLoad_UI_SEQUANTIAL = false;
#endif //
#ifdef Bin
- isLoad_Background = true;
- isLoad_Hogwart = true;
- isLoad_UI_SEQUANTIAL = true;
+ isLoad_Background = false;
+ isLoad_Hogwart = false;
+ isLoad_UI_SEQUANTIAL = false;
#endif // Bin
#endif // _DEBUG
@@ -2175,6 +2176,7 @@ HRESULT CLoader::Loading_For_GamePlay()
Desc1.vLocalTranslation = { 0.f, 0.f, 0.f };
}
+
CRigidBody_Dynamic::RIGIDBODY_PROTOTYPE_DYNAMIC_DESC RanrokDesc{};
{
RanrokDesc.eType = ACTOR::BOX;
@@ -2668,6 +2670,9 @@ HRESULT CLoader::Loading_For_GamePlay()
return E_FAIL;
}
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CRanrok_Prop::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CGoblin_Teleport::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
diff --git a/Jusin154_Team3D/Client/Private/MonsterInfo.cpp b/Jusin154_Team3D/Client/Private/MonsterInfo.cpp
index f7193e3db..0930f3ed7 100644
--- a/Jusin154_Team3D/Client/Private/MonsterInfo.cpp
+++ b/Jusin154_Team3D/Client/Private/MonsterInfo.cpp
@@ -22,6 +22,7 @@ void CMonsterInfo::Change_Level()
for (CMonster* pMonster : m_ActiveMonsters) {
SAFE_RELEASE(pMonster);
} m_ActiveMonsters.clear();
+
for (CUnit* pPlayerAlly : m_PlayerAllies) {
SAFE_RELEASE(pPlayerAlly);
} m_PlayerAllies.clear();
diff --git a/Jusin154_Team3D/Client/Private/NomalJap.cpp b/Jusin154_Team3D/Client/Private/NomalJap.cpp
index 582505a75..8fb32d708 100644
--- a/Jusin154_Team3D/Client/Private/NomalJap.cpp
+++ b/Jusin154_Team3D/Client/Private/NomalJap.cpp
@@ -113,12 +113,6 @@ void CNomalJap::Update(_float fTimeDelta)
_vector vDir = XMLoadFloat4(&m_vEndPos) - XMLoadFloat4(&m_vStartPos);
- if (true == m_pGameInstance->SphereCast(0.25f, XMLoadFloat4(&m_vStartPos), XMVector3Normalize(vDir), XMVectorGetX(XMVector3Length(vDir))
- , PSX::PxHitFlag::ePOSITION | PSX::PxHitFlag::eNORMAL, PSX::PxQueryFlag::eDYNAMIC | PSX::PxQueryFlag::eSTATIC, m_Hitbuffer))
- {
- OnCollision(this);
- }
-
}
@@ -130,7 +124,9 @@ void CNomalJap::Late_Update(_float fTimeDelta)
if (false == m_bHit) {
_vector vStartPos = XMLoadFloat4(&m_vStartPos);
_vector vEndPos = m_pProjectile->Get_WorldPostion();
- SweepTarget(vStartPos,vEndPos, 0.002f);
+ ON_COLLISION_INFO CollisionInfo = SweepTarget(vStartPos, vEndPos, 0.002f);
+
+ OnCollision(this, &CollisionInfo);
}
Get_PartObject()->Trail_Update(m_pProjectile->Get_Component()->Get_XMWorldMatrix(), fTimeDelta);
@@ -179,7 +175,7 @@ HRESULT CNomalJap::Pre_Setting(CGameObject* pObject, void* pArg)
m_bHit = false;
m_pInfoInstance->Get_LockOnInfo(m_Info);
if (nullptr != m_Info.pUnit) {
- XMStoreFloat4(&m_vTargetPos, m_Info.pUnit->Get_LockOnPos());
+ XMStoreFloat4(&m_vTargetPos, Get_UnitPos(m_Info));
if (XMVectorGetX(XMVector3Length(XMLoadFloat4(&m_vTargetPos) - XMLoadFloat4(&m_vStartPos))) >= 35.f) { //거리가 일정 이상이라면 그냥 정면으로 발사
XMStoreFloat4(&m_vTargetPos, vStartPos + vDirection * m_fLinearSpeed * 0.5f);
@@ -273,20 +269,12 @@ CGameObject* CNomalJap::Clone(void* pArg, CGameObject* pOwner)
void CNomalJap::OnCollision(CGameObject* pOther, void* pDesc)
{
- int iIndex = CollisionCheck();
-
- if (iIndex < 0){
+ if (m_bHit == false)
return;
- }
- if (m_isCollisionEnter == true){
- return;
- }
-
- m_isCollisionEnter = true;
-
- _vector vPos = XMVectorSet(m_Hitbuffer.touches[iIndex].position.x, m_Hitbuffer.touches[iIndex].position.y, m_Hitbuffer.touches[iIndex].position.z, 1.f);
+ ON_COLLISION_INFO CollisionDesc = *static_cast(pDesc);
+ _vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos);
for (auto& pPair : m_PartObjects)
{
@@ -295,20 +283,34 @@ void CNomalJap::OnCollision(CGameObject* pOther, void* pDesc)
pPair.second->Get_Component()->Set_State(STATE::POSITION, vPos);
}
- Get_PartObject("JapPT0")->Get_Component()->LookAt(m_pOwner->Get_WorldPostion());
-
- m_pProjectile_Side->Set_Visible(false);
- m_pProjectile->Set_Visible(false);
- Get_PartObject("Circle_Particle_Red")->Set_Visible(false);
-
- Get_PartObject()->Set_Visible(false);
- Get_PartObject()->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, 0.f, 0.f, 1.f));
CPlayer* pPlayer = dynamic_cast(m_pOwner->Get_Owner());
if (pPlayer != nullptr)
{
pPlayer->Start_CameraShake(0.2f, 1.f);
}
+ if (m_bHitShield) {
+ _vector vDir = m_pTransformCom->Get_State(STATE::LOOK);
+ vDir = XMVector3Normalize(vDir);
+
+ _float fRandAngle = XMConvertToRadians(m_pGameInstance->Real_Random_Float(-180.f, 0.f));
+
+ _matrix rotX = XMMatrixRotationX(fRandAngle);
+ _vector vRandDir = XMVector3TransformNormal(vDir, rotX);
+
+ XMStoreFloat3(&m_vCameraLook, XMVector3Normalize(vRandDir));
+ }
+ else {
+ Get_PartObject("JapPT0")->Get_Component()->LookAt(m_pOwner->Get_WorldPostion());
+
+ m_pProjectile_Side->Set_Visible(false);
+ m_pProjectile->Set_Visible(false);
+ Get_PartObject("Circle_Particle_Red")->Set_Visible(false);
+
+ Get_PartObject()->Set_Visible(false);
+ Get_PartObject()->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, 0.f, 0.f, 1.f));
+ }
+ m_bHitShield = false;
}
void CNomalJap::Free()
diff --git a/Jusin154_Team3D/Client/Private/Player.cpp b/Jusin154_Team3D/Client/Private/Player.cpp
index 251b0fff1..9f367d8e3 100644
--- a/Jusin154_Team3D/Client/Private/Player.cpp
+++ b/Jusin154_Team3D/Client/Private/Player.cpp
@@ -170,7 +170,7 @@ void CPlayer::Update(_float fTimeDelta)
}
}
-
+ m_pInfoInstance->Set_PlayerPos(m_pTransformCom->Get_State(STATE::POSITION));
}
void CPlayer::Late_Update(_float fTimeDelta)
@@ -204,8 +204,6 @@ void CPlayer::Late_Update(_float fTimeDelta)
}
Player_PixRot();
-
- m_pInfoInstance->Set_PlayerPos(m_pTransformCom->Get_State(STATE::POSITION));
}
@@ -807,7 +805,7 @@ void CPlayer::SetGravity()
eCollisionFlags;
if (false == eCollisionFlags.isSet(PSX::PxControllerCollisionFlag::Enum::eCOLLISION_DOWN)
&& false == eCollisionFlags.isSet(PSX::PxControllerCollisionFlag::Enum::eCOLLISION_SIDES)) {
- if (false == m_pFSM->IsEnable(FSMSTATE::JUMP|FSMSTATE::CUTSCENE) && m_eHitType != ENUM_CLASS(HIT_TYPE::HIT_HEAVY)) { // 벽에 닿지 않았는데 점프 중이 아닐 땐 중력 on
+ if (false == m_pFSM->IsEnable(FSMSTATE::JUMP|FSMSTATE::CUTSCENE) && m_eHitType != ENUM_CLASS(HIT_TYPE::HIT_HEAVY) && m_fAirTime == 0.f) { // 벽에 닿지 않았는데 점프 중이 아닐 땐 중력 on
m_pCharacter_Controller->SetGravity(true);
}
else { // 점프 중일 땐 off
diff --git a/Jusin154_Team3D/Client/Private/Player_States.cpp b/Jusin154_Team3D/Client/Private/Player_States.cpp
index 0de1d112f..9a7cb6411 100644
--- a/Jusin154_Team3D/Client/Private/Player_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Player_States.cpp
@@ -1634,6 +1634,9 @@ void CPlayer::Behavior_AncientSpellEnter()
m_pFSM->Enable_State(FSMSTATE::ANCIENT_SPELL);
pairAnimInfo = m_Animation[STATEANIM::ANCIENT_LIGHTNING];
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ //m_pInfoInstance->Set_SearchLockOnFlag(false);
+ if (m_LockOnInfo.pUnit)
+ m_pTransformCom->LookAt(m_LockOnInfo.pUnit->Get_WorldPostion());
Add_Event(pairAnimInfo.first,
[this]() {
@@ -1657,15 +1660,6 @@ HRESULT CPlayer::Behavior_AncientSpellExitCheck()
_int iCurrAnim = m_pModelCom->Get_AnimIndex();
_float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
- //if (iCurrAnim == m_Animation[STATEANIM::ANCIENT_LIGHTNING].first)
- //{
- // if (SUCCEEDED(InputMove()) && fRatio >= 0.3f) {
- // m_pFSM->Change_State(FSMSTATE::MOVE);
- // return E_FAIL;
- // }
- //}
-
-
if (m_pModelCom->IsFinishedAnim()) {
if (SUCCEEDED(InputMove()))
{
@@ -1693,7 +1687,7 @@ void CPlayer::Behavior_ShieldEnter()
m_pFSM->Enable_State(FSMSTATE::SHIELD);
pairAnimInfo = m_Animation[STATEANIM::SKILL2];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.3f);
Add_Event(pairAnimInfo.first,
[this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::PROTEGO, this); },
@@ -1705,9 +1699,13 @@ HRESULT CPlayer::Behavior_ShieldExitCheck()
pair<_uint, _bool> pairAnimInfo;
_int iCurrAnimIndex = m_pModelCom->Get_AnimIndex();
_float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
+ _float fEventRatio = 0.2f;
if (m_bShield)
{
+ pairAnimInfo = m_Animation[STATEANIM::SHIELD_BLOCK];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+
if (m_pGameInstance->Key_Pressing(DIK_Q))
{
m_pFSM->Enable_State(FSMSTATE::PARRY);
@@ -1730,42 +1728,35 @@ HRESULT CPlayer::Behavior_ShieldExitCheck()
if (Degree <= 30.f)
{
pairAnimInfo = m_Animation[STATEANIM::PARRY4];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second,1.f,false,1.f,true, false, false);
}
else if (Degree <= 60.f)
{
pairAnimInfo = m_Animation[STATEANIM::PARRY4];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false);
- Add_Event(pairAnimInfo.first,
- [this]() {m_bLookAt = true;
- },
- 0.01f);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 1.f, true, false, false);
}
else if (Degree <= 135.f)
{
if (Cross < 0.f)
{
pairAnimInfo = m_Animation[STATEANIM::PARRY2];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second,1.f,true,1.f,false);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 1.5f, true, false, false);
}
else {
pairAnimInfo = m_Animation[STATEANIM::PARRY3];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 1.5f, true, false, false);
+ fEventRatio = 0.3f;
}
- Add_Event(pairAnimInfo.first,
- [this]() {m_bLookAt = true;
- },
- 0.11f);
}
else {
pairAnimInfo = m_Animation[STATEANIM::PARRY_180];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 1.3f, true,false, false);
}
}
else {
pairAnimInfo = m_Animation[STATEANIM::PARRY4];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, true, 1.f, false);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
}
Add_Event(pairAnimInfo.first,
@@ -1775,10 +1766,10 @@ HRESULT CPlayer::Behavior_ShieldExitCheck()
Add_Event(pairAnimInfo.first,
[this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::STUPEFY, this); },
- 0.2f);
+ fEventRatio);
Start_CameraShake(0.3f, 2.f);
- m_pGameInstance->SlowMotion(0.8f, 0.3f);
+ //m_pGameInstance->SlowMotion(0.8f, 0.3f);
m_bShield = false;
return S_OK;
@@ -1834,101 +1825,31 @@ void CPlayer::Behavior_HitEnter()
switch (m_eHitSpell)
{
case ENUM_CLASS(SKILL_TYPE::JAP):
+ {
pairAnimInfo = m_Animation[STATEANIM::HIT_BWD];
+ m_eHitSpell = ENUM_CLASS(SKILL_TYPE::END);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ return;
+ }
break;
case ENUM_CLASS(SKILL_TYPE::LEVIOSO):
+ {
pairAnimInfo = m_Animation[STATEANIM::HIT_LEVIOSO];
+ m_eHitSpell = ENUM_CLASS(SKILL_TYPE::END);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ return;
+ }
break;
}
- m_eHitSpell = ENUM_CLASS(SKILL_TYPE::END);
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
- return;
+
}
- switch (m_eHitType)
- {
- case ENUM_CLASS(HIT_TYPE::HIT_PROJECTILE):
- {
- if (m_fHitDegree >= 90.f)
- {
- pairAnimInfo = m_Animation[STATEANIM::FLINCH_BWD];
- }
- else if (m_fHitDegree >= 45.f) {
- if (m_fHitCross > 0.f) {
- pairAnimInfo = m_Animation[STATEANIM::FLINCH_LEFT];
- }
- else {
- pairAnimInfo = m_Animation[STATEANIM::FLINCH_RIGHT];
- }
- }
- else if (m_fHitDegree >= 0.f) {
- pairAnimInfo = m_Animation[STATEANIM::FLINCH_FWD];
- }
-
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
- }
- break;
- case ENUM_CLASS(HIT_TYPE::HIT_MEDIUM):
- {
- if (m_fHitDegree >= 60.f)
- {
- if (m_fHitCross > 0.f) {
- pairAnimInfo = m_Animation[STATEANIM::HIT_L];
- }
- else {
- pairAnimInfo = m_Animation[STATEANIM::HIT_R];
- }
- }
- else {
- pairAnimInfo = m_Animation[STATEANIM::HIT_FWD];
- }
-
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
- }
- break;
- case ENUM_CLASS(HIT_TYPE::HIT_HEAVY):
- {
- m_pCharacter_Controller->SetGravity(false);
- if (m_fHitDegree >= 90.f)
- {
- pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_BWD];
-
- Add_Event(m_Animation[STATEANIM::KNOCKDOWN_BWD].first,
- [&]() {pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_BWD_SPLT];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
- m_pCharacter_Controller->SetGravity(true);
- m_eHitType = ENUM_CLASS(HIT_TYPE::END); },
- 0.9f);
-
- Add_Event(m_Animation[STATEANIM::KNOCKDOWN_BWD_SPLT].first,
- [&]() {pairAnimInfo = m_Animation[STATEANIM::GETUP_BWD];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 1.5f); },
- 0.5f);
- }
- else {
- pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_FWD];
-
- Add_Event(m_Animation[STATEANIM::KNOCKDOWN_FWD].first,
- [&]() {pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_FWD_SPLT];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
- m_pCharacter_Controller->SetGravity(true);
- m_eHitType = ENUM_CLASS(HIT_TYPE::END); },
- 0.9f);
-
- Add_Event(m_Animation[STATEANIM::KNOCKDOWN_FWD_SPLT].first,
- [&]() {pairAnimInfo = m_Animation[STATEANIM::GETUP_FWD];
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 1.5f); },
- 0.5f);
- }
-
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second,1.f,false,1.5f);
- }
- break;
- }
+ ProcessHitBehavior();
}
-HRESULT CPlayer::Behavior_HitExitCheck()
+HRESULT CPlayer::Behavior_HitExitCheck(_float fTimeDelta)
{
+ pair<_uint, _bool> pairAnimInfo;
_uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex();
_float fRatio = m_pModelCom->Get_CurrentTrackProgressRatio();
@@ -1952,6 +1873,8 @@ HRESULT CPlayer::Behavior_HitExitCheck()
return S_OK;
}
+ Hit_Levioso(fTimeDelta);
+
if (SUCCEEDED(InputMove()))
{
if (fRatio >= 0.6f) {
@@ -1970,8 +1893,11 @@ void CPlayer::Behavior_HitExit()
{
m_pFSM->Disable_State(FSMSTATE::HIT);
Reset_Event();
+ m_pCharacter_Controller->SetGravity(true);
m_eHitType = ENUM_CLASS(HIT_TYPE::END);
m_bLookAt = false;
+ m_fAirTime = 0.f;
+
}
void CPlayer::Behavior_Broom_RideEnter()
@@ -2658,7 +2584,14 @@ void CPlayer::Attach_Broom()
_matrix Offset = XMMatrixTranslation(m_OffsetPos.x,
m_OffsetPos.y, m_OffsetPos.z);
- _matrix SocketWorld = BoneNoScale * Offset * BroomWorld;
+ _vector BS, BR, BT;
+ XMMatrixDecompose(&BS, &BR, &BT, BroomWorld);
+ _matrix BroomWorld_NoScale =
+ XMMatrixRotationQuaternion(BR) *
+ XMMatrixTranslationFromVector(BT);
+
+
+ _matrix SocketWorld = BoneNoScale * Offset * BroomWorld_NoScale;
_matrix FixRot = XMMatrixRotationY(XMConvertToRadians(180.f));
@@ -2668,6 +2601,92 @@ void CPlayer::Attach_Broom()
m_pCharacter_Controller->Set_Position(FinalWorld.r[3]);
}
+void CPlayer::ProcessHitBehavior()
+{
+ pair<_uint, _bool> pairAnimInfo;
+ switch (m_eHitType)
+ {
+ case ENUM_CLASS(HIT_TYPE::HIT_PROJECTILE):
+ {
+ if (m_fHitDegree >= 90.f)
+ {
+ pairAnimInfo = m_Animation[STATEANIM::FLINCH_BWD];
+ }
+ else if (m_fHitDegree >= 45.f) {
+
+ if (m_fHitCross > 0.f) {
+ pairAnimInfo = m_Animation[STATEANIM::FLINCH_LEFT];
+ }
+ else {
+ pairAnimInfo = m_Animation[STATEANIM::FLINCH_RIGHT];
+ }
+ }
+ else if (m_fHitDegree >= 0.f) {
+ pairAnimInfo = m_Animation[STATEANIM::FLINCH_FWD];
+ }
+
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ }
+ break;
+ case ENUM_CLASS(HIT_TYPE::HIT_MEDIUM):
+ {
+ if (m_fHitDegree >= 60.f)
+ {
+ if (m_fHitCross > 0.f) {
+ pairAnimInfo = m_Animation[STATEANIM::HIT_L];
+ }
+ else {
+ pairAnimInfo = m_Animation[STATEANIM::HIT_R];
+ }
+ }
+ else {
+ pairAnimInfo = m_Animation[STATEANIM::HIT_FWD];
+ }
+
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ }
+ break;
+ case ENUM_CLASS(HIT_TYPE::HIT_HEAVY):
+ {
+ m_pCharacter_Controller->SetGravity(false);
+ if (m_fHitDegree >= 90.f)
+ {
+ pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_BWD];
+
+ Add_Event(m_Animation[STATEANIM::KNOCKDOWN_BWD].first,
+ [&]() {pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_BWD_SPLT];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ m_pCharacter_Controller->SetGravity(true);
+ m_eHitType = ENUM_CLASS(HIT_TYPE::END); },
+ 0.9f);
+
+ Add_Event(m_Animation[STATEANIM::KNOCKDOWN_BWD_SPLT].first,
+ [&]() {pairAnimInfo = m_Animation[STATEANIM::GETUP_BWD];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 1.5f); },
+ 0.5f);
+ }
+ else {
+ pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_FWD];
+
+ Add_Event(m_Animation[STATEANIM::KNOCKDOWN_FWD].first,
+ [&]() {pairAnimInfo = m_Animation[STATEANIM::KNOCKDOWN_FWD_SPLT];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ m_pCharacter_Controller->SetGravity(true);
+ m_eHitType = ENUM_CLASS(HIT_TYPE::END); },
+ 0.9f);
+
+ Add_Event(m_Animation[STATEANIM::KNOCKDOWN_FWD_SPLT].first,
+ [&]() {pairAnimInfo = m_Animation[STATEANIM::GETUP_FWD];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 1.5f); },
+ 0.5f);
+ }
+
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second, 1.f, false, 1.5f);
+ }
+ break;
+ }
+}
+
void CPlayer::Add_SpellEvent(_uint AnimIndex,_float fRatio)
{
pair<_uint, _bool> pairAnimInfo;
@@ -2868,6 +2887,36 @@ void CPlayer::Play_SpellHitAnim()
}
}
+
+
+void CPlayer::Hit_Levioso(_float fTimeDelta)
+{
+ pair<_uint, _bool> pairAnimInfo;
+ _int iCurrAnimIndex = m_pModelCom->Get_AnimIndex();
+ if (iCurrAnimIndex == m_Animation[STATEANIM::HIT_LEVIOSO].first)
+ {
+ _vector vDir = m_pTransformCom->Get_State(STATE::UP);
+ vDir = XMVector4Normalize(vDir);
+ _vector vPos = m_pCharacter_Controller->Get_Position();
+ m_fAirTime += fTimeDelta;
+ _vector Force = vDir * fTimeDelta;
+ if (m_fAirTime < 1.3f) {
+ m_pCharacter_Controller->Set_Position(vPos + Force);
+ m_pCharacter_Controller->SetGravity(false);
+ }
+ else {
+ m_pCharacter_Controller->Set_Position(vPos);
+ }
+ if (m_fAirTime > 2.3f)
+ {
+ pairAnimInfo = m_Animation[STATEANIM::LEVIOSO_LAND];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ m_fAirTime = 0.f;
+ m_pCharacter_Controller->SetGravity(true);
+ }
+ }
+}
+
void CPlayer::Add_FSM()
{
#pragma region Behavior_Movement_NotFocus
@@ -3150,7 +3199,7 @@ void CPlayer::Add_FSM()
CState_Hit::STATE_HIT_DESC Desc{};
Desc.pOwner = this;
Desc.funcEnterEvent = [this]() { Behavior_HitEnter(); };
- Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_HitExitCheck(); };
+ Desc.funcExitCheck = [this](_float fTimedelta) { return Behavior_HitExitCheck(fTimedelta); };
Desc.funcExitEvent = [this]() { Behavior_HitExit(); };
Desc.funcPriorityUpdate = nullptr;
Desc.funcLateUpdate = nullptr;
@@ -3192,8 +3241,8 @@ void CPlayer::Add_FSM()
{
m_pBroomTransform->Set_Scale(m_BroomScale);
}
- _float3 vPlayerScale = { 1.f,1.f,1.f };
- m_pTransformCom->Set_Scale(vPlayerScale);
+
+
Attach_Broom();
};
Desc.funcLateUpdate = nullptr;
diff --git a/Jusin154_Team3D/Client/Private/Protego.cpp b/Jusin154_Team3D/Client/Private/Protego.cpp
index ab48ec95b..7170a628c 100644
--- a/Jusin154_Team3D/Client/Private/Protego.cpp
+++ b/Jusin154_Team3D/Client/Private/Protego.cpp
@@ -94,6 +94,7 @@ void CProtego::Late_Update(_float fTimeDelta)
if (m_bVisible == false){
return;
}
+
m_pTransformCom->Set_State(STATE::POSITION, m_pOwner->Get_Component()->Get_Position());
__super::Late_Update(fTimeDelta);
@@ -134,6 +135,7 @@ HRESULT CProtego::Ready_Components(void* pArg)
if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_SHIELD"), (CComponent**)&m_pRigidBody, &Desc))) {
return E_FAIL;
}
+
m_pGameInstance->Attach_Actor(*m_pRigidBody->Get_Actor(), NEXT_LEVEL);
}
@@ -176,6 +178,7 @@ void CProtego::OnCollision(CGameObject* pOther, void* pDesc)
{
if (!m_bVisible)
return;
+
ON_COLLISION_INFO* CollisionDesc = static_cast(pDesc);
dynamic_cast(m_pOwner)->Set_Shield(true);
diff --git a/Jusin154_Team3D/Client/Private/RandomNpc.cpp b/Jusin154_Team3D/Client/Private/RandomNpc.cpp
index f52a30626..217e8d4bc 100644
--- a/Jusin154_Team3D/Client/Private/RandomNpc.cpp
+++ b/Jusin154_Team3D/Client/Private/RandomNpc.cpp
@@ -82,6 +82,38 @@ void CRandomNpc::Update(_float fTimeDelta)
m_pRigidBody->Set_Position(m_pTransformCom->Get_State(STATE::POSITION), true);
m_pInfoInstance->Set_PlayerPos(m_pTransformCom->Get_State(STATE::POSITION));
+
+ _vector vCurrentPos = Get_WorldPostion();
+ pair pairTarget = m_pInfoInstance->Get_NearestPlayerAlly(vCurrentPos);
+ if (nullptr != pairTarget.first) {
+ Set_Target(*pairTarget.first, *pairTarget.second);
+ }
+ if (nullptr != m_pTarget && m_pTarget->isDead()) {
+ SAFE_RELEASE(m_pTarget);
+ m_fTargetDistance = { FLT_MAX };
+ }
+
+ if (m_fTargetDistance <= 5.f && m_bInteract == false)
+ {
+ m_pInfoInstance->Event_CallBack(TEXT("NPCDialogue"), m_pNpcStat);
+ m_bInteract = true;
+ }
+
+ if (m_bInteract != m_bPreviousInteract)
+ {
+ m_bPreviousInteract = m_bInteract;
+ m_fInteractTime = 0.f;
+ }
+ else
+ {
+ m_fInteractTime += fTimeDelta;
+ }
+
+ if (m_fInteractTime >= 5.f)
+ {
+ m_bInteract = false;
+ m_fInteractTime = 0.f;
+ }
}
void CRandomNpc::Late_Update(_float fTimeDelta)
@@ -96,6 +128,7 @@ void CRandomNpc::Late_Update(_float fTimeDelta)
Set_Shadow(m_pGameInstance->IsIn_ShadowViewFrustum(m_pTransformCom->Get_State(STATE::POSITION), m_pTransformCom->Get_Radius()));
+
__super::Late_Update(fTimeDelta);
}
@@ -193,6 +226,25 @@ _wstring CRandomNpc::Get_Name()
return m_pNpcStat->Get_Stat().pNpc_Name;
}
+_wstring CRandomNpc::Get_NpcName()
+{
+ return m_pNpcStat->Get_Stat().pName;
+}
+
+void CRandomNpc::Set_Target(CUnit& pTarget, CTransform& pTransform)
+{
+ SAFE_RELEASE(m_pTarget);
+ m_pTarget = &pTarget;
+ SAFE_ADDREF(m_pTarget);
+
+ _vector vTargetPos = pTransform.Get_State(STATE::POSITION);
+ _vector vToTargetDir = vTargetPos - Get_WorldPostion();
+ XMStoreFloat4(&m_vTargetPos, vTargetPos);
+ XMStoreFloat3(&m_vToTargetDir, XMVector3Normalize(vToTargetDir));
+ m_fTargetDistance = XMVectorGetX(XMVector3Length(vToTargetDir));
+}
+
+
HRESULT CRandomNpc::Bind_ShaderResources()
{
if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix"))) {
@@ -227,7 +279,7 @@ HRESULT CRandomNpc::Bind_ShaderParameters(_uint iMeshOrder)
_float fMixerFactor = { FLT_MAX };
_uint iColorMixerMethod = { 0 };
- switch (m_pModelCom->Get_UsingPass(iMeshOrder,m_pShaderCom))
+ switch (m_pModelCom->Get_UsingPass(iMeshOrder, m_pShaderCom))
{
case 23:
if (m_strModelPrototypeTag == TEXT("Prototype_Component_F_Student_Model"))
@@ -272,7 +324,7 @@ HRESULT CRandomNpc::Ready_Components(void* pArg)
if (FAILED(__super::Ready_Components(&Desc))) {
return E_FAIL;
}
-
+
switch (m_iIndex)
{
case 0:
@@ -316,7 +368,7 @@ HRESULT CRandomNpc::Ready_Components(void* pArg)
if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("ELF"), (CComponent**)&m_pNpcStat))) {
return E_FAIL;
}
- break;
+ break;
case 7:
m_strModelPrototypeTag = TEXT("Prototype_Component_BaiHowin_Model");
if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("BAIHOWIN"), (CComponent**)&m_pNpcStat))) {
@@ -418,6 +470,7 @@ void CRandomNpc::Free()
SAFE_RELEASE(m_pCharacter_Controller);
SAFE_RELEASE(m_pNpcStat);
SAFE_RELEASE(m_pRigidBody);
+ SAFE_RELEASE(m_pTarget);
if (nullptr != m_pInfoInstance) {
CInfoInstance* pInfo = m_pInfoInstance;
m_pInfoInstance = nullptr;
diff --git a/Jusin154_Team3D/Client/Private/Ranrok.cpp b/Jusin154_Team3D/Client/Private/Ranrok.cpp
index 610a11ed5..28759a633 100644
--- a/Jusin154_Team3D/Client/Private/Ranrok.cpp
+++ b/Jusin154_Team3D/Client/Private/Ranrok.cpp
@@ -187,6 +187,18 @@ void CRanrok::Update(_float fTimeDelta)
#pragma endregion
+
+#pragma region CREATE PROP
+ m_vCreatePropTime.x += fTimeDelta;
+
+ if (m_vCreatePropTime.x >= m_vCreatePropTime.y)
+ {
+ m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_PROP, this);
+ m_vCreatePropTime.x = 0.f;
+ }
+
+#pragma endregion
+
}
void CRanrok::Late_Update(_float fTimeDelta)
@@ -326,9 +338,8 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc)
ON_COLLISION_INFO* CollisionDesc = static_cast(pDesc);
-#ifndef 진우
XMStoreFloat4(&m_DamageInfo.vTarget_Pos, m_pCharacter_Controller->Get_HeadPosition());
-#endif
+
CEffect_Container* pEffect_Container = dynamic_cast(pOther);
@@ -391,58 +402,7 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc)
return;
}
- _float curr = Get_HpRatio();
- pair<_uint, _bool> pairAnimInfo = {};
- if (m_fPrevHpRatio > 0.85f && curr <= 0.85f)
- {
- pairAnimInfo = m_Animation[STATEANIM::HIT_BWD2];
- m_fPrevHpRatio = curr;
-
- m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_IMPACT, this, &CollisionDesc->vWorldPos);
-
- Add_Event(pairAnimInfo.first,
- [&]() {m_bDisolve = true; },
- 0.25f);
- Add_Event(pairAnimInfo.first,
- [&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); },
- 0.55f);
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
- return;
- }
- else if (m_fPrevHpRatio > 0.7f && curr <= 0.7f)
- {
- pairAnimInfo = m_Animation[STATEANIM::HIT_BWD2];
- m_fPrevHpRatio = curr;
-
- m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_IMPACT, this, &CollisionDesc->vWorldPos);
-
- Add_Event(pairAnimInfo.first,
- [&]() {m_bDisolve = true; },
- 0.25f);
- Add_Event(pairAnimInfo.first,
- [&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); },
- 0.55f);
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
- return;
- }
- else if (m_fPrevHpRatio > 0.5f && curr <= 0.5f)
- {
- pairAnimInfo = m_Animation[STATEANIM::HIT_BWD2];
- m_ePhase = ENUM_CLASS(RANROK_PHASE::PHASE_GROUND);
- m_fPrevHpRatio = curr;
-
- m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_IMPACT, this, &CollisionDesc->vWorldPos);
-
- Add_Event(pairAnimInfo.first,
- [&]() {m_bDisolve = true; },
- 0.25f);
- Add_Event(pairAnimInfo.first,
- [&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); },
- 0.55f);
- m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
- return;
- }
- m_fPrevHpRatio = curr;
+ Update_BehaviorByHPRatio(CollisionDesc);
if (!IsHitStateDisabled() || IsHitSpellDisabled()) {
m_pFSM->Change_State(FSMSTATE::HIT);
@@ -994,6 +954,11 @@ void CRanrok::Describe_Entity()
m_pCharacter_Controller->Set_Position(XMVectorSet(m_pGameInstance->Get_CamPosition()->x, m_pGameInstance->Get_CamPosition()->y, m_pGameInstance->Get_CamPosition()->z, 1.f));
}
+ if (GUI::Button("Create Prop"))
+ {
+ m_vCreatePropTime.x = m_vCreatePropTime.y;
+ }
+
for (_uint i = 0; i < m_Points.size(); ++i)
{
GUI::Separator();
diff --git a/Jusin154_Team3D/Client/Private/Ranrok_Prop.cpp b/Jusin154_Team3D/Client/Private/Ranrok_Prop.cpp
new file mode 100644
index 000000000..00074da26
--- /dev/null
+++ b/Jusin154_Team3D/Client/Private/Ranrok_Prop.cpp
@@ -0,0 +1,317 @@
+#include "pch.h"
+#include "Ranrok_Prop.h"
+
+#include "GameInstance.h"
+#include "EffectParts.h"
+#include "InfoInstance.h"
+#include "Player.h"
+
+CRanrok_Prop::CRanrok_Prop(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CEffect_Container{ pDevice, pContext }
+{
+}
+
+CRanrok_Prop::CRanrok_Prop(const CRanrok_Prop& rhs)
+ : CEffect_Container(rhs),
+ m_pInfoInstance(CInfoInstance::GetInstance())
+{
+ SAFE_ADDREF(m_pInfoInstance);
+}
+
+HRESULT CRanrok_Prop::Initialize_Prototype()
+{
+
+ if (FAILED(Load_Package("../Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokProp")))
+ return E_FAIL;
+
+ return S_OK;
+
+}
+
+HRESULT CRanrok_Prop::Initialize(void* pArg)
+{
+ if (FAILED(__super::Initialize(pArg)))
+ return E_FAIL;
+
+ if (FAILED(Ready_Components(pArg)))
+ return E_FAIL;
+
+ if (FAILED(Create_Effect()))
+ return E_FAIL;
+
+
+
+ m_pSphere = Get_PartObject("Sphere");
+ m_pSphereLay = Get_PartObject("Sphere_Noise");
+ m_pSphereHitLay = Get_PartObject("HitLay");
+
+ m_pRing = Get_PartObject("Ring");
+
+ SAFE_ADDREF(m_pSphere);
+ SAFE_ADDREF(m_pSphereLay);
+ SAFE_ADDREF(m_pRing);
+ SAFE_ADDREF(m_pSphereHitLay);
+
+ m_wstrEffectName = L"RanrokProp";
+
+
+ m_fAmountSize = 0.1f;
+ m_fSpeed = 5.f;
+
+ m_fDuration = 10000.f;
+
+ return S_OK;
+}
+
+void CRanrok_Prop::Priority_Update(_float fTimeDelta)
+{
+ __super::Priority_Update(fTimeDelta);
+
+}
+
+void CRanrok_Prop::Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+
+ __super::Update(fTimeDelta);
+
+ Update_Event(fTimeDelta);
+
+
+
+ /* 시작 사이즈 러프 */
+ if (m_fSizeAccTime > XM_PIDIV2 && m_isSizeLerpEnd == false)
+ {
+ m_isSizeLerpEnd = true;
+
+ CEffectParts* pGlowBall = Get_PartObject("GlowBall");
+ CEffectParts* pCore = Get_PartObject("Core");
+
+ pGlowBall->Set_Visible(true);
+ pCore->Set_Visible(true);
+
+
+ return;
+ }
+
+
+ m_fSizeAccTime += fTimeDelta * m_fSpeed;
+
+ _float fSize = 1 + sinf(m_fSizeAccTime) * m_fAmountSize;
+ _float3 vSize = _float3(fSize, fSize, fSize);
+
+ m_pSphere->Get_Component()->Set_Scale(vSize);
+ m_pSphereLay->Get_Component()->Set_Scale(vSize);
+ m_pRing->Get_Component()->Set_Scale(vSize);
+ m_pSphereHitLay->Get_Component()->Set_Scale(vSize);
+
+}
+
+void CRanrok_Prop::Late_Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Late_Update(fTimeDelta);
+
+#if _DEBUG
+ m_pRigidBody->Render();
+#endif
+}
+
+HRESULT CRanrok_Prop::Pre_Setting(CGameObject* pObject, void* pArg)
+{
+ if (FAILED(__super::Pre_Setting(pObject, nullptr)))
+ return E_FAIL;
+
+
+ _vector vPos = pObject->Get_WorldPostion();
+
+ _vector vRandomPos = XMVectorSet(m_pGameInstance->Real_Random_Float(-20.f, 20.f), m_pGameInstance->Real_Random_Float(5.f, 15.f), m_pGameInstance->Real_Random_Float(-20.f, 20.f), 0.f);
+
+ vPos += vRandomPos;
+
+ for (auto& pPart : m_PartObjects)
+ {
+ pPart.second->Get_Component()->Set_State(STATE::POSITION, vPos);
+ }
+
+ CEffectParts* pAppear_PT = Get_PartObject("Appear_PT");
+ CEffectParts* pSpline = Get_PartObject("Spline");
+
+
+ m_pSphere->Set_Visible(true);
+ m_pSphereLay->Set_Visible(true);
+ m_pRing->Set_Visible(true);
+ pAppear_PT->Set_Visible(true);
+ pSpline->Set_Visible(true);
+
+
+
+ _float3 vSize = _float3(1.f, 1.f, 1.f);
+ m_pSphere->Get_Component()->Set_Scale(vSize);
+ m_pSphereLay->Get_Component()->Set_Scale(vSize);
+ m_pRing->Get_Component()->Set_Scale(vSize);
+ m_pSphereHitLay->Get_Component()->Set_Scale(vSize);
+
+ m_fSizeAccTime = 0.f;
+
+ m_isSizeLerpEnd = false;
+
+ m_fHp = 3.f;
+ m_fDuration = 10000.f;
+
+ return S_OK;
+}
+
+HRESULT CRanrok_Prop::Ready_Components(void* pArg)
+{
+ if (FAILED(__super::Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+
+ { // DO
+ CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{};
+ Desc.iSubKind = ENUM_CLASS(PXOBJECT::RANROK_PROP);
+
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_SHIELD"), (CComponent**)&m_pRigidBody, &Desc))) {
+ return E_FAIL;
+ }
+
+ m_pGameInstance->Attach_Actor(*m_pRigidBody->Get_Actor(), NEXT_LEVEL);
+ }
+
+ return S_OK;
+}
+
+HRESULT CRanrok_Prop::Ready_Child()
+{
+ return S_OK;
+}
+
+CRanrok_Prop* CRanrok_Prop::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CRanrok_Prop* pInstance = new CRanrok_Prop(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CRanrok_Prop");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+
+CGameObject* CRanrok_Prop::Clone(void* pArg, CGameObject* pOwner)
+{
+ CRanrok_Prop* pInstance = new CRanrok_Prop(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CRanrok_Prop");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CRanrok_Prop::OnCollision(CGameObject* pOther, void* pDesc)
+{
+ //CTransform* pOtherTransform = p
+ ON_COLLISION_INFO* CollisionDesc = nullptr;
+
+ if(pDesc != nullptr)
+ CollisionDesc = static_cast(pDesc);
+
+
+ m_fHp--;
+
+
+ if (m_fHp > 0)
+ {
+ CEffectParts* pHitLay = Get_PartObject("HitLay");
+ CEffectParts* pHit_PT = Get_PartObject("Hit_PT");
+ CEffectParts* pPulse_Purple = Get_PartObject("Pulse_Purple");
+
+
+ pHitLay->Set_Visible(true);
+ pHit_PT->Set_Visible(true);
+ pPulse_Purple->Set_Visible(true);
+
+ pHitLay->Get_Component()->Instane_Buffer_ReStruct();
+ pHit_PT->Get_Component()->Instane_Buffer_ReStruct();
+ pPulse_Purple->Get_Component()->Instane_Buffer_ReStruct();
+
+ if (CollisionDesc != nullptr)
+ {
+ _vector vHitPos = XMLoadFloat4(&CollisionDesc->vWorldPos);
+ pHit_PT->Get_Component()->Set_State(STATE::POSITION, vHitPos);
+ }
+
+ }
+ else
+ {
+
+ for (auto& pPart : m_PartObjects)
+ {
+ pPart.second->Set_Visible(false);
+ }
+
+ CEffectParts* pHitSplash0 = Get_PartObject("HitSplash0");
+ CEffectParts* pHitSplash1 = Get_PartObject("HitSplash1");
+ CEffectParts* pBroken_Goo = Get_PartObject("Broken_Goo");
+ CEffectParts* pBroken_PT = Get_PartObject("Broken_PT");
+ CEffectParts* pBroken_PT2 = Get_PartObject("Broken_PT2");
+
+
+ pHitSplash0->Set_Visible(true);
+ pHitSplash1->Set_Visible(true);
+ pBroken_Goo->Set_Visible(true);
+ pBroken_PT->Set_Visible(true);
+ pBroken_PT2->Set_Visible(true);
+
+ m_fDuration = 5.f;
+ m_fAccTime = 0.f;
+
+ }
+
+
+
+}
+
+void CRanrok_Prop::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pSphere);
+ SAFE_RELEASE(m_pSphereLay);
+ SAFE_RELEASE(m_pInfoInstance);
+ SAFE_RELEASE(m_pRing);
+ SAFE_RELEASE(m_pSphereHitLay);
+
+ SAFE_RELEASE(m_pRigidBody);
+}
+#ifdef _DEBUG
+
+void CRanrok_Prop::Describe_Entity()
+{
+
+
+ if(GUI::Button("Hit"))
+ {
+ OnCollision();
+ }
+
+}
+
+#endif // _DEBUG
+
+HRESULT CRanrok_Prop::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+
diff --git a/Jusin154_Team3D/Client/Private/Ranrok_Pulse.cpp b/Jusin154_Team3D/Client/Private/Ranrok_Pulse.cpp
index da0c0b880..fb461f08f 100644
--- a/Jusin154_Team3D/Client/Private/Ranrok_Pulse.cpp
+++ b/Jusin154_Team3D/Client/Private/Ranrok_Pulse.cpp
@@ -90,7 +90,6 @@ HRESULT CRanrok_Pulse::Pre_Setting(CGameObject* pObject, void* pArg)
/* 초기 객체 비지블*/
CEffectParts* pBottomDecal = Get_PartObject("Bottom_Decal");
- CEffectParts* pBottomSplatter = Get_PartObject("BottomSplatter");
CEffectParts* pBottomSplatter2 = Get_PartObject("BottomSplatter2");
CEffectParts* pRed_Sphere = Get_PartObject("Red_Sphere");
CEffectParts* pRock_PT = Get_PartObject("Rock_PT");
@@ -124,7 +123,6 @@ HRESULT CRanrok_Pulse::Pre_Setting(CGameObject* pObject, void* pArg)
_vector vCompute_Pos = XMVectorSetY(vOwnerPos, XMVectorGetY(vPlayer_FootPos));
pBottomDecal->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos);
- pBottomSplatter->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos);
pBottomSplatter2->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos);
pRock_PT->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos);
pSmoke->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos);
diff --git a/Jusin154_Team3D/Client/Private/Ranrok_States.cpp b/Jusin154_Team3D/Client/Private/Ranrok_States.cpp
index d4aca8b8f..437d2bedb 100644
--- a/Jusin154_Team3D/Client/Private/Ranrok_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Ranrok_States.cpp
@@ -437,7 +437,7 @@ HRESULT CRanrok::Behavior_FireBreathExitCheck(_float fTimeDelta)
void CRanrok::Behavior_FireBreathExit()
{
m_pFSM->Disable_State(FSMSTATE::FIREBREATH);
- //m_pModelCom->Set_HeadAimWeight(0.f);
+ m_pModelCom->Set_HeadAimWeight(0.f);
//m_pModelCom->Play_HeadBone(false);
m_fHeadAimWeight = 0.f;
}
@@ -552,7 +552,7 @@ void CRanrok::Behavior_FireSweepExit()
{
m_pFSM->Disable_State(FSMSTATE::FIRESWEEP);
m_pModelCom->Set_HeadAimWeight(0.f);
- m_pModelCom->Play_HeadBone(false);
+ //m_pModelCom->Play_HeadBone(false);
m_fHeadAimWeight = 0.f;
}
@@ -1155,6 +1155,63 @@ _bool CRanrok::IsHitSpellDisabled()
return false;
}
+void CRanrok::Update_BehaviorByHPRatio(ON_COLLISION_INFO* CollisionInfo)
+{
+ _float curr = Get_HpRatio();
+ pair<_uint, _bool> pairAnimInfo = {};
+ if (m_fPrevHpRatio > 0.85f && curr <= 0.85f)
+ {
+ pairAnimInfo = m_Animation[STATEANIM::HIT_BWD2];
+ m_fPrevHpRatio = curr;
+
+ m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_IMPACT, this, &CollisionInfo->vWorldPos);
+
+ Add_Event(pairAnimInfo.first,
+ [&]() {m_bDisolve = true; },
+ 0.25f);
+ Add_Event(pairAnimInfo.first,
+ [&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); },
+ 0.55f);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ return;
+ }
+ else if (m_fPrevHpRatio > 0.7f && curr <= 0.7f)
+ {
+ pairAnimInfo = m_Animation[STATEANIM::HIT_BWD2];
+ m_fPrevHpRatio = curr;
+
+ m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_IMPACT, this, &CollisionInfo->vWorldPos);
+
+ Add_Event(pairAnimInfo.first,
+ [&]() {m_bDisolve = true; },
+ 0.25f);
+ Add_Event(pairAnimInfo.first,
+ [&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); },
+ 0.55f);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ return;
+ }
+ else if (m_fPrevHpRatio > 0.5f && curr <= 0.5f)
+ {
+ pairAnimInfo = m_Animation[STATEANIM::HIT_BWD2];
+ m_ePhase = ENUM_CLASS(RANROK_PHASE::PHASE_GROUND);
+ m_fPrevHpRatio = curr;
+
+ m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_IMPACT, this, &CollisionInfo->vWorldPos);
+
+ Add_Event(pairAnimInfo.first,
+ [&]() {m_bDisolve = true; },
+ 0.25f);
+ Add_Event(pairAnimInfo.first,
+ [&]() {m_pFSM->Change_State(FSMSTATE::TUCKED); },
+ 0.55f);
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ return;
+ }
+ m_fPrevHpRatio = curr;
+
+}
+
void CRanrok::Add_FSM()
{
diff --git a/Jusin154_Team3D/Client/Private/Ride_Info.cpp b/Jusin154_Team3D/Client/Private/Ride_Info.cpp
index 3a960bd86..149771879 100644
--- a/Jusin154_Team3D/Client/Private/Ride_Info.cpp
+++ b/Jusin154_Team3D/Client/Private/Ride_Info.cpp
@@ -64,6 +64,7 @@ void CRide_Info::Set_Hover(_bool bVisible)
m_bHover = true;
m_fTime = 0.f;
m_fAlpha = 1.f;
+ m_bFadeOut = false;
}
void CRide_Info::Priority_Update(_float fTimeDelta)
diff --git a/Jusin154_Team3D/Client/Private/Ride_InfoBG.cpp b/Jusin154_Team3D/Client/Private/Ride_InfoBG.cpp
index 18569970b..4c9b7bfc9 100644
--- a/Jusin154_Team3D/Client/Private/Ride_InfoBG.cpp
+++ b/Jusin154_Team3D/Client/Private/Ride_InfoBG.cpp
@@ -49,6 +49,7 @@ void CRide_InfoBG::Set_Hover(_bool bVisible)
m_bHover = true;
m_fTime = 0.f;
m_fAlpha = 1.f;
+ m_bFadeOut = false;
}
void CRide_InfoBG::Priority_Update(_float fTimeDelta)
diff --git a/Jusin154_Team3D/Client/Private/Stupefy.cpp b/Jusin154_Team3D/Client/Private/Stupefy.cpp
index 1654a8c12..a6fb4f0cd 100644
--- a/Jusin154_Team3D/Client/Private/Stupefy.cpp
+++ b/Jusin154_Team3D/Client/Private/Stupefy.cpp
@@ -168,7 +168,7 @@ HRESULT CStupefy::Pre_Setting(CGameObject* pObject, void* pArg)
m_pInfoInstance->Get_LockOnInfo(m_Info);
if (nullptr != m_Info.pUnit) {
- XMStoreFloat4(&m_vTargetPos, m_Info.pUnit->Get_LockOnPos());
+ XMStoreFloat4(&m_vTargetPos,Get_UnitPos(m_Info));
XMStoreFloat3(&m_vCameraLook, XMVector3Normalize(XMLoadFloat4(&m_vTargetPos) - XMLoadFloat4(&m_vStartPos)));
}
diff --git a/Jusin154_Team3D/Client/Private/TimeSocket.cpp b/Jusin154_Team3D/Client/Private/TimeSocket.cpp
new file mode 100644
index 000000000..adf5699fd
--- /dev/null
+++ b/Jusin154_Team3D/Client/Private/TimeSocket.cpp
@@ -0,0 +1,78 @@
+#include "pch.h"
+#include "TimeSocket.h"
+#include "GameObject.h"
+
+CTimeSocket::CTimeSocket()
+{
+}
+
+_bool CTimeSocket::Trigger(_float fRatio)
+{
+ _bool bResult = false;
+ if (m_fRatio <= fRatio) {
+ bResult = true;
+ m_funcEvent(*this);
+
+ Finalize();
+ }
+
+ return bResult;
+}
+
+HRESULT CTimeSocket::Initialize(CGameObject* pTarget, _string& strTag)
+{
+ m_pEventTarget = pTarget;
+ SAFE_ADDREF(m_pEventTarget);
+ m_strEventName = strTag;
+ m_eTypeParam = TIMESOCKET_PARAM::END;
+ return S_OK;
+}
+
+HRESULT CTimeSocket::Initialize(CGameObject* pTarget, _string& strTag, PSX::PxTransform& pxTransform)
+{
+ m_pEventTarget = pTarget;
+ SAFE_ADDREF(m_pEventTarget);
+ m_strEventName = strTag;
+ m_pxTransform = pxTransform;
+ m_eTypeParam = TIMESOCKET_PARAM::TRANSFORM;
+ return S_OK;
+}
+
+HRESULT CTimeSocket::Initialize(CGameObject* pTarget, _string& strTag, CGameObject* pOther)
+{
+ m_pEventTarget = pTarget;
+ SAFE_ADDREF(m_pEventTarget);
+ m_strEventName = strTag;
+ m_pOtherTarget = pOther;
+ SAFE_ADDREF(m_pOtherTarget);
+ m_eTypeParam = TIMESOCKET_PARAM::TARGET;
+ return S_OK;
+}
+
+void CTimeSocket::Finalize()
+{
+ switch (m_eTypeParam)
+ {
+ case TIMESOCKET_PARAM::TARGET:
+ SAFE_RELEASE(m_pOtherTarget);
+ break;
+ case TIMESOCKET_PARAM::TRANSFORM:
+ m_pxTransform = {};
+ break;
+ default:
+ break;
+ }
+ SAFE_RELEASE(m_pEventTarget);
+}
+
+CTimeSocket* CTimeSocket::Create()
+{
+ return new CTimeSocket();
+}
+
+void CTimeSocket::Free()
+{
+ __super::Free();
+
+ Finalize();
+}
diff --git a/Jusin154_Team3D/Client/Private/Troll.cpp b/Jusin154_Team3D/Client/Private/Troll.cpp
index e6d825575..046aa94d9 100644
--- a/Jusin154_Team3D/Client/Private/Troll.cpp
+++ b/Jusin154_Team3D/Client/Private/Troll.cpp
@@ -65,7 +65,7 @@ HRESULT CTroll::Initialize(void* pArg)
- m_pCharacter_Controller->Set_Position(XMVectorSet(126.464f, 24.f, 117.585f, 1.f));
+ m_pCharacter_Controller->Set_Position(XMVectorSet(126.464f, 30.f, 117.585f, 1.f));
m_pEffectPool = m_pGameInstance->Get_Layer(NEXT_LEVEL, TEXT("Layer_EffectPool"))->Get_Object();
SAFE_ADDREF(m_pEffectPool);
@@ -74,6 +74,8 @@ HRESULT CTroll::Initialize(void* pArg)
m_pRightHand_BoneMat = m_pModelCom->Get_BoneMatrixPtr("RightHand");
m_pWeapon_BoneMat = Get_PartObject()->Get_Component()->Get_BoneMatrixPtr("Bone");
+ m_pModelCom->Set_DisableRootMotionScale(true);
+
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/UI_Manager.cpp b/Jusin154_Team3D/Client/Private/UI_Manager.cpp
index 181b8224f..b928d8a1b 100644
--- a/Jusin154_Team3D/Client/Private/UI_Manager.cpp
+++ b/Jusin154_Team3D/Client/Private/UI_Manager.cpp
@@ -59,6 +59,7 @@ HRESULT CUI_Manager::Initialize(void* pArg)
m_pInfoInstance->Set_UISTATE(m_eType);
m_pInfoInstance->Add_Event(TEXT("Canvas_Change"), [this](void* p) {this->Canvas_Change(*reinterpret_cast(p)); });
m_pInfoInstance->Add_Event(TEXT("NpcInteract"), [this](void* p) {this->NpcInteract(*reinterpret_cast<_bool*>(p)); });
+ m_pInfoInstance->Add_Event(TEXT("UIManagerFadeIn"), [this](void* p) {this->Set_Fade(); });
return S_OK;
}
@@ -77,8 +78,6 @@ void CUI_Manager::Canvas_Change(UI_STATE eType)
static_cast(m_pSpellLearn_Canvas)->Visible(false);
static_cast(m_pInteraction_Key)->Set_Visible(true);
static_cast(m_pNPCInteraction)->Set_Visible(true);
- static_cast(m_pBroom_TargetGate)->Set_Visible(true);
- static_cast(m_pDamage_Font)->Set_Visible(true);
break;
case UI_STATE::SPELL:
@@ -118,6 +117,19 @@ void CUI_Manager::Canvas_Change(UI_STATE eType)
static_cast(m_pDamage_Font)->Set_Visible(false);
break;
+ case UI_STATE::LEVELCHANGE:
+ m_pMouse_Cursor->Set_Visible(false);
+ m_pCamera_LockOn->Set_Visible(false);
+ static_cast(m_pGamePlay_Canves)->Visible(false);
+ static_cast(m_pSpell_Canvas)->Visible(false);
+ static_cast(m_pQuest_Canvas)->Visible(false);
+ static_cast(m_pSpellLearn_Canvas)->Visible(false);
+ static_cast(m_pInteraction_Key)->Set_Visible(false);
+ static_cast(m_pNPCInteraction)->Set_Visible(false);
+ static_cast(m_pBroom_TargetGate)->Set_Visible(false);
+ static_cast(m_pDamage_Font)->Set_Visible(false);
+ break;
+
default:
return;
}
@@ -210,21 +222,26 @@ void CUI_Manager::Update(_float fTimeDelta)
if (m_eType == UI_STATE::GAMEPLAYER && m_bNPCInteract == true)
{
+ if (m_bCurrentNPCInteract != m_bNPCInteract)
+ m_bCurrentNPCInteract = m_bNPCInteract;
+
if (m_eType == UI_STATE::GAMEPLAYER)
{
Canvas_Change(UI_STATE::NPC_INTERACT);
}
+ }
- else
+ if (m_bCurrentNPCInteract == true && m_bNPCInteract == false)
+ {
+ m_bCurrentNPCInteract = m_bNPCInteract;
+
+ if (m_bActive == false)
{
- if (m_bActive == false)
+ m_bActive = true;
+ m_bAlphaZero = true;
+ if (m_eType == UI_STATE::NPC_INTERACT)
{
- m_bActive = true;
- m_bAlphaZero = true;
- if (m_eType == UI_STATE::GAMEPLAYER)
- {
- m_eType = UI_STATE::NPC_INTERACT;
- }
+ m_eType = UI_STATE::GAMEPLAYER;
}
}
}
@@ -404,7 +421,7 @@ HRESULT CUI_Manager::Ready_Components(void* pArg)
}
Add_Canvas(TEXT("NPCInteraction"), m_pNPCInteraction);
- if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, g_iStaticLevel, LAYER_UI, nullptr, this, reinterpret_cast (&m_pBroom_TargetGate))))
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast (&m_pBroom_TargetGate))))
{
return E_FAIL;
}
@@ -445,6 +462,14 @@ void CUI_Manager::NpcInteract(_bool bInteract)
m_bNPCInteract = bInteract;
}
+void CUI_Manager::Set_Fade()
+{
+ m_fAlpha = 1.5f;
+ m_bActive = true;
+ m_bHover = true;
+ m_bCgangede = true;
+}
+
CUI_Manager* CUI_Manager::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
{
CUI_Manager* pInstance = new CUI_Manager(pDevice, pContext);
diff --git a/Jusin154_Team3D/Client/Private/Wand.cpp b/Jusin154_Team3D/Client/Private/Wand.cpp
index 4785a8b5c..f36593714 100644
--- a/Jusin154_Team3D/Client/Private/Wand.cpp
+++ b/Jusin154_Team3D/Client/Private/Wand.cpp
@@ -44,6 +44,7 @@ HRESULT CWand::Initialize(void* pArg)
void CWand::Priority_Update(_float fTimeDelta)
{
+ m_pModelCom->Combined_BoneMatrix();
#ifdef _DEBUG
Describe_Entity();
@@ -52,12 +53,19 @@ void CWand::Priority_Update(_float fTimeDelta)
void CWand::Update(_float fTimeDelta)
{
- m_pModelCom->Combined_BoneMatrix();
+
}
void CWand::Late_Update(_float fTimeDelta)
{
+
+ m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
+}
+
+HRESULT CWand::Render()
+{
+
_matrix socketMatrix = {};
socketMatrix = XMLoadFloat4x4(m_pSocketMatrices);
@@ -68,11 +76,7 @@ void CWand::Late_Update(_float fTimeDelta)
m_pTransformCom->Set_WorldMatrix(socketMatrix * XMLoadFloat4x4(m_pParentTransformCom->Get_WorldMatrixPtr()));
XMStoreFloat4x4(&m_pWandTipMatrix, XMLoadFloat4x4(m_pModelCom->Get_BoneMatrixPtr("Effect")) * m_pTransformCom->Get_XMWorldMatrix());
- m_pGameInstance->Add_RenderGroup(RENDER::NONBLEND, this);
-}
-HRESULT CWand::Render()
-{
if (!m_bVisible)
return S_OK;
diff --git a/Jusin154_Team3D/Client/Public/Bombard.h b/Jusin154_Team3D/Client/Public/Bombard.h
index 199da83b9..a839a5ce6 100644
--- a/Jusin154_Team3D/Client/Public/Bombard.h
+++ b/Jusin154_Team3D/Client/Public/Bombard.h
@@ -35,7 +35,8 @@ class CBombard final : public CEffect_Container
class CInfoInstance* m_pInfoInstance = { nullptr };
private:
_wstring m_wstrEffectName = {};
- class CEffectParts* m_pLight_Projectile = {};
+ class CEffectParts* m_pLight_Projectile = { nullptr };
+ class CEffectParts* m_pWand_Light_B = { nullptr };
_float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f }; // 현재 발사 된 위치
_float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f }; // 현재 타게팅 된 위치
diff --git a/Jusin154_Team3D/Client/Public/Client_Enum.h b/Jusin154_Team3D/Client/Public/Client_Enum.h
index 4f9e75bc9..46cfaeec1 100644
--- a/Jusin154_Team3D/Client/Public/Client_Enum.h
+++ b/Jusin154_Team3D/Client/Public/Client_Enum.h
@@ -21,7 +21,7 @@ namespace Client
ENEMY_HPBAR, BOSS_HPBAR, QUEST_BORDER, QUEST_INFO, QUEST_STATUS, BROOMSTICK,
SPELL_LEARN, SPELLLEARNCOLOR, SPELLLEARNBOOSTER, NPCINTERACTION, CANVASFADE,
FLAGWAVE, BROOMCIRCLE, RIDE_INFO_KEY, RIDE_INFO, RIDE_HPSLOT, BOOSTERGAUGE,
- BOOSTERHPBAR,
+ BOOSTERHPBAR, DIALOGUECHOICE,
ENEMY_DETECTION, INTERACTION_OBJECT, INTERACTION_NPC, BROOMTARGETGATE, END
};
enum class SHADER_PASS_UIINTANCE { DEFAULT, ALPHABLEND, UVALPHABLEND, MAGIC_METER, SPELL_LIST, EESSENTIAL_SPELL_SOLT, EESSENTIAL_SPELL, COLOR, SPELL_HOVER, SPELL_SLOT_EFFECT, SPELL_SLOT, SPELL_LOCK, QUEST_SLOT, END };
@@ -36,10 +36,12 @@ namespace Client
PLAYER_HAIR_DAOTHV_ToSRO, PLAYER_Suit_DSRON_ToSRO, PLAYER_EyeLash_DAOTHV_ToSRO, PLAYER_Eye_ToSRO, PLAYER_Robe_ToMRO, SHADOW, SHADOW_LEGACY
, END
};
- enum class UI_STATE { GAMEPLAYER, SPELL, QUEST, INVENTORY, SPELLLNEARN, NPC_INTERACT, END };
+ enum class UI_STATE { GAMEPLAYER, SPELL, QUEST, INVENTORY, SPELLLNEARN,
+ NPC_INTERACT, LEVELCHANGE, END };
enum class QUESTTYPE { MAIN, SUB, END };
enum class QUESTSTATE {NONE, ACCEPTED, CLEARED, END };
+ enum class NPCTEXTTYPE {NEXTTEXT, CHOICETEXT, SHOPTEXT, QUESTTEXT, SPELLLEAN, END};
enum class EFFECT_TYPE { EFFECT, TRAIL, END };
@@ -79,7 +81,7 @@ namespace Client
/*란록*/
RANROK_FIREBALL, RANROK_BREATH, RANROK_POINT, RANROK_PURSE, RANROK_CHARGE, RANROK_HIT , RANROK_IMPACT, RANROK_LAND, RANROK_RUSH_BOTTOM,
- RANROK_GROUNDPULSE, RANROK_SWIPE , RANROK_DEAD_SPLASH, RANROK_DEAD_IMPACT,
+ RANROK_GROUNDPULSE, RANROK_SWIPE , RANROK_DEAD_SPLASH, RANROK_DEAD_IMPACT, RANROK_PROP,
/*듀얼리스트*/
DUELIST_JAP,DUELIST_LEVIOSO,DUELIST_PROTEGO,
diff --git a/Jusin154_Team3D/Client/Public/Client_Struct.h b/Jusin154_Team3D/Client/Public/Client_Struct.h
index f397d777f..c3bc574a0 100644
--- a/Jusin154_Team3D/Client/Public/Client_Struct.h
+++ b/Jusin154_Team3D/Client/Public/Client_Struct.h
@@ -1,8 +1,8 @@
#pragma once
NS_BEGIN(Engine)
- class CModel;
- class CRigidBody_Static;
- class CUnit;
+class CModel;
+class CRigidBody_Static;
+class CUnit;
NS_END
namespace Client
@@ -39,7 +39,7 @@ namespace Client
typedef struct DialogueChoice
{
- _int eType = {false};
+ _int eType = { false };
_wstring pText;
_int NextTypeID{};
}DIALOGUECHOICEINFO;
@@ -47,7 +47,7 @@ namespace Client
typedef struct DialogueInfo
{
_int iLineID{};
- _bool bType = {false};
+ _int iTextType{};
_wstring pText;
_int NextTextID{};
vector ChoiceInfo;
@@ -57,7 +57,7 @@ namespace Client
{
_wstring pNpcName;
_int iNpcID{};
- unordered_map<_int, CURRENTDIALOGUEINFO> Info;
+ map<_int, CURRENTDIALOGUEINFO> Info;
}NPCDIALOGUEINFO;
typedef struct tagLockOnInfo {
@@ -68,7 +68,7 @@ namespace Client
typedef struct tegNPCInteractionInfo
{
- CGameObject* pOwner = { nullptr };
+ CGameObject* pOwner = { nullptr };
_wstring pNPCName;
_wstring pName;
_float4 fNPCPosition{};
@@ -285,7 +285,7 @@ namespace Client
_float4 vPadding5 = {};
_float4 vPadding6 = {};
}EFFECT_INFO;
-
+
typedef struct tagTrailInfo
{
EFFECT_TYPE eEffectType = { EFFECT_TYPE::TRAIL };
diff --git a/Jusin154_Team3D/Client/Public/CutSceneInfo.h b/Jusin154_Team3D/Client/Public/CutSceneInfo.h
new file mode 100644
index 000000000..ac5cb50e3
--- /dev/null
+++ b/Jusin154_Team3D/Client/Public/CutSceneInfo.h
@@ -0,0 +1,55 @@
+#pragma once
+
+#include "Client_Define.h"
+#include "GameInstance.h"
+
+NS_BEGIN(Engine)
+class CGameObject;
+NS_END
+
+
+NS_BEGIN(Client)
+
+struct TimeLine {
+ _float2 m_vTimer = {};
+ _uint m_eTypeTimeLine = {};
+ list m_Sockets = {};
+};
+
+class CCutSceneInfo final : public CBase
+{
+private:
+ CCutSceneInfo();
+ ~CCutSceneInfo() = default;
+
+public:
+ void Update(_float fTimeDelta);
+ void Change_Level();
+
+public:
+ void Active_Event(_string& strKey);
+ HRESULT DeActive_ActiveEvent(_string& strKey);
+ void Load_Events(LEVEL eLevel);
+
+private:
+ CGameInstance* m_pGameInstance = { nullptr };
+ class CInfoInstance* m_pInfoInstance = { nullptr };
+ ID3D11Device* m_pDevice = { nullptr };
+ ID3D11DeviceContext* m_pContext = { nullptr };
+
+ map<_string, TimeLine> m_funcActiveEvents = {};
+ map<_string, TimeLine> m_funcWaitEvents = {};
+
+private:
+ HRESULT Initialize(ID3D11Device* pDevice, ID3D11DeviceContext* pContex);
+ HRESULT Clear_ActiveEvents();
+ HRESULT Clear_Events(map<_string, TimeLine>&Events);
+
+ HRESULT Clear_AllEvents();
+
+public:
+ static CCutSceneInfo* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContex);
+ virtual void Free() override;
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Client/Public/Dialogue_Data.h b/Jusin154_Team3D/Client/Public/Dialogue_Data.h
index 0e33c3d1e..55e6eeb8b 100644
--- a/Jusin154_Team3D/Client/Public/Dialogue_Data.h
+++ b/Jusin154_Team3D/Client/Public/Dialogue_Data.h
@@ -25,14 +25,14 @@ class CDialogue_Data final : public CBase
HRESULT Load_SpellInfo(const _char* pFilePath);
public:
- const NPCDIALOGUEINFO& Get_Info(_wstring NpcName) const;
+ const CURRENTDIALOGUEINFO& Get_Info(_wstring NpcName, _int iTextID) const;
private:
CInfoInstance* m_pInfoInstance = { nullptr };
_int m_iDialogue_Count{};
map<_wstring, NPCDIALOGUEINFO> m_DialogueInfo;
- NPCDIALOGUEINFO Dummy{};
+ CURRENTDIALOGUEINFO Dummy{};
private:
HRESULT Initialize(ID3D11Device* pDevice, ID3D11DeviceContext* pContex);
diff --git a/Jusin154_Team3D/Client/Public/Dialogue_Font.h b/Jusin154_Team3D/Client/Public/Dialogue_Font.h
index 0f36f010b..6a89809c2 100644
--- a/Jusin154_Team3D/Client/Public/Dialogue_Font.h
+++ b/Jusin154_Team3D/Client/Public/Dialogue_Font.h
@@ -8,6 +8,7 @@ NS_BEGIN(Engine)
class CTexture;
class CShader;
class CVIBuffer_Rect;
+class CNPCStat;
NS_END
NS_BEGIN(Client)
@@ -40,23 +41,39 @@ class CDialogue_Font final : public CGameObject
public:
void Add_Text(void* pArg);
-
+ void Npc_Dialogue(DIALOGUEINFO Info);
private:
void NpcInfo(void* pArg);
void NpcInteract(_bool bInteract);
+ void NpcDialogue();
+ void NpcDialogue(CNPCStat* Stat);
+
+ void CHoice();
+
+ void Shop();
+ void SpellLearn();
+ void NextText();
private:
CInfoInstance* m_pInfoInstance = { nullptr };
class CDialogue* m_pDialogue = { nullptr };
+ DIALOGUEINFO m_Info;
+
vector m_DialoguInfo;
deque m_pCurrentDialogue;
_bool m_bNpcInteract = { false };
_bool m_bCurrentInteract = { false };
+ _bool m_bEndText = { false };
+ _bool m_bNextText = { false };
+
_wstring m_pNpcName;
_int m_iTextID{};
+ _int m_iNextID{};
+ _int m_iType{};
+
public:
static CDialogue_Font* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
diff --git a/Jusin154_Team3D/Client/Public/Duelist_NormalJap.h b/Jusin154_Team3D/Client/Public/Duelist_NormalJap.h
index 68dca2cdf..281ffbe6f 100644
--- a/Jusin154_Team3D/Client/Public/Duelist_NormalJap.h
+++ b/Jusin154_Team3D/Client/Public/Duelist_NormalJap.h
@@ -34,10 +34,10 @@ class CDuelist_NormalJap final : public CEffect_Container
class CInfoInstance* m_pInfoInstance = { nullptr };
_wstring m_wstrEffectName = {};
- _float4 m_vJapData[4] = { _float4(105.f , 330.f , 35.f , 20.f)
- , _float4(95.f , 100.f , 55.f , 200.f)
- , _float4(95.f , 0.f , 0.f , 0.f)
- , _float4(105.f , 250.f , 35.f , 60.f) };
+ _float4 m_vJapData[4] = { _float4(50.f , 330.f , 35.f , 20.f)
+ , _float4(40.f , 100.f , 55.f , 200.f)
+ , _float4(40.f , 0.f , 0.f , 0.f)
+ , _float4(50.f , 250.f , 35.f , 60.f) };
class CPartObject* m_pProjectile = {};
class CPartObject* m_pProjectile_Side = {};
@@ -54,7 +54,7 @@ class CDuelist_NormalJap final : public CEffect_Container
_float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f }; // 현재 발사 된 위치
_float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f }; // 현재 타게팅 된 위치
_float m_fAngularSpeed = {};
- _float m_fLinearSpeed = 35.f;
+ _float m_fLinearSpeed = 10.f;
_float m_fTimeRate = {};
/*좌우 무빙 관련 변수들*/
diff --git a/Jusin154_Team3D/Client/Public/Duelist_Protego.h b/Jusin154_Team3D/Client/Public/Duelist_Protego.h
index d62770455..6b0d78be1 100644
--- a/Jusin154_Team3D/Client/Public/Duelist_Protego.h
+++ b/Jusin154_Team3D/Client/Public/Duelist_Protego.h
@@ -36,7 +36,6 @@ class CDuelist_Protego final : public CEffect_Container
_float m_fSizeAccTime = {};
_float m_fAmountSize = {};
_float m_fSpeed = {};
-
public:
static CDuelist_Protego* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
virtual void Free() override;
diff --git a/Jusin154_Team3D/Client/Public/Effect_Container.h b/Jusin154_Team3D/Client/Public/Effect_Container.h
index 5e307d1fb..40c82e6ee 100644
--- a/Jusin154_Team3D/Client/Public/Effect_Container.h
+++ b/Jusin154_Team3D/Client/Public/Effect_Container.h
@@ -80,6 +80,7 @@ class CEffect_Container abstract : public CContainerObject
ON_COLLISION_INFO SweepTarget(_fvector StartPos, _fvector EndPos, _float fRadius, _bool isTerrainCollision = false);
ON_COLLISION_INFO MonsterSweepTarget(_fvector StartPos, _fvector EndPos, _float fRadius, _bool isTerrainCollision = false);
ON_COLLISION_INFO MonsterRayCast(_fvector StartPos, _fvector vDir, _float fLength, _uint iMaxHitCapacity);
+ _vector Get_UnitPos(LOCKON_INFO Info);
protected:
_float4 m_vStartPos = {};
@@ -103,6 +104,7 @@ class CEffect_Container abstract : public CContainerObject
_uint m_iSkillType = ENUM_CLASS(SKILL_TYPE::END);
_bool m_bHasDamage = { false };
LOCKON_INFO m_Info = {};
+ _bool m_bHitShield = {false};
private:
vector m_EffectsInfo = {};
vector m_TrailsInfo = {};
diff --git a/Jusin154_Team3D/Client/Public/Goblin.h b/Jusin154_Team3D/Client/Public/Goblin.h
index 32bd72771..3dc71cb4b 100644
--- a/Jusin154_Team3D/Client/Public/Goblin.h
+++ b/Jusin154_Team3D/Client/Public/Goblin.h
@@ -135,6 +135,14 @@ class CGoblin final : public CMonster
void Behavior_DeadEnter();
HRESULT Behavior_DeadExitCheck(_float fTimeDelta);
void Behavior_DeadExit();
+
+#pragma region HIT_BEHAVIOR
+
+ void Hit_Accio(_float fTimeDelta);
+ void Hit_Levioso(_float fTimeDelta);
+
+#pragma endregion
+
};
NS_END
diff --git a/Jusin154_Team3D/Client/Public/Goblin_Assassin.h b/Jusin154_Team3D/Client/Public/Goblin_Assassin.h
index ede27e23a..8288b8634 100644
--- a/Jusin154_Team3D/Client/Public/Goblin_Assassin.h
+++ b/Jusin154_Team3D/Client/Public/Goblin_Assassin.h
@@ -141,6 +141,13 @@ class CGoblin_Assassin final : public CMonster
void Behavior_DeadEnter();
HRESULT Behavior_DeadExitCheck(_float fTimeDelta);
void Behavior_DeadExit();
+
+#pragma region HIT_BEHAVIOR
+
+ void Hit_Accio(_float fTimeDelta);
+ void Hit_Levioso(_float fTimeDelta);
+
+#pragma endregion
};
NS_END
diff --git a/Jusin154_Team3D/Client/Public/Goblin_Mage.h b/Jusin154_Team3D/Client/Public/Goblin_Mage.h
index 0586c25e9..065c7a671 100644
--- a/Jusin154_Team3D/Client/Public/Goblin_Mage.h
+++ b/Jusin154_Team3D/Client/Public/Goblin_Mage.h
@@ -143,6 +143,13 @@ class CGoblin_Mage final : public CMonster
HRESULT Behavior_DeadExitCheck(_float fTimeDelta);
void Behavior_DeadExit();
+#pragma region HIT_BEHAVIOR
+
+ void Hit_Accio(_float fTimeDelta);
+ void Hit_Levioso(_float fTimeDelta);
+
+#pragma endregion
+
};
NS_END
diff --git a/Jusin154_Team3D/Client/Public/Goblin_Protego.h b/Jusin154_Team3D/Client/Public/Goblin_Protego.h
index f03cee411..9de274855 100644
--- a/Jusin154_Team3D/Client/Public/Goblin_Protego.h
+++ b/Jusin154_Team3D/Client/Public/Goblin_Protego.h
@@ -40,7 +40,7 @@ class CGoblin_Protego final : public CEffect_Container
_float m_fSizeAccTime = {};
_float m_fAmountSize = {};
_float m_fSpeed = {};
- _int m_eHitSpell = { ENUM_CLASS(SKILL_TYPE::END) };
+
public:
static CGoblin_Protego* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
virtual void Free() override;
diff --git a/Jusin154_Team3D/Client/Public/Human_Duelist.h b/Jusin154_Team3D/Client/Public/Human_Duelist.h
index 89a466132..3d1264441 100644
--- a/Jusin154_Team3D/Client/Public/Human_Duelist.h
+++ b/Jusin154_Team3D/Client/Public/Human_Duelist.h
@@ -52,7 +52,6 @@ class CHuman_Duelist final : public CMonster
HRESULT Ready_Parts();
HRESULT Bind_ShaderResources();
HRESULT Bind_ShaderParameters(_uint iMeshOrder);
- void SetGravity();
public:
static CHuman_Duelist* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
@@ -71,6 +70,7 @@ class CHuman_Duelist final : public CMonster
_bool m_bSpellHit = {};
_bool m_bShield = { false };
+ _float m_fAirTime = {};
_float m_fSkillCoolTime[ENUM_CLASS(SKILL::END)] = {};
@@ -101,9 +101,17 @@ class CHuman_Duelist final : public CMonster
void Behavior_ShieldExit();
void Behavior_HitEnter();
- HRESULT Behavior_HitExitCheck();
+ HRESULT Behavior_HitExitCheck(_float fTimeDelta);
void Behavior_HitExit();
+#pragma region HIT_BEHAVIOR
+
+ void Hit_Levioso(_float fTimeDelta);
+
+ void HitState_Behavior(_float fTimeDelta);
+
+#pragma endregion
+
#pragma endregion
private:
diff --git a/Jusin154_Team3D/Client/Public/InfoInstance.h b/Jusin154_Team3D/Client/Public/InfoInstance.h
index 654c9123b..cc3505e0c 100644
--- a/Jusin154_Team3D/Client/Public/InfoInstance.h
+++ b/Jusin154_Team3D/Client/Public/InfoInstance.h
@@ -89,7 +89,7 @@ DECLARE_SINGLETON(CInfoInstance)
#pragma endregion
#pragma region Dialogue_Font
//void Set_Font(void* pArg);
- const NPCDIALOGUEINFO& Get_Dialogue(_wstring NpcName) const;
+ const CURRENTDIALOGUEINFO& Get_Dialogue(_wstring NpcName, _int iTextID) const;
#pragma endregion
HRESULT Regist_ActiveInteractive(class CMapElement_Interactable* pInteractive);
HRESULT Deregist_ActiveInteractive(class CMapElement_Interactable* pInteractive);
diff --git a/Jusin154_Team3D/Client/Public/Level_Field.h b/Jusin154_Team3D/Client/Public/Level_Field.h
index 978ec5d8b..df9d3463f 100644
--- a/Jusin154_Team3D/Client/Public/Level_Field.h
+++ b/Jusin154_Team3D/Client/Public/Level_Field.h
@@ -19,6 +19,9 @@ class CLevel_Field final : public CLevel
private:
class CInfoInstance* m_pInfoInstance = { nullptr };
+ _bool m_bLevel = { false };
+ _bool m_bCurrentLevel = { false };
+
private:
virtual HRESULT Initialize() override;
HRESULT Initialize(void* pArg);
diff --git a/Jusin154_Team3D/Client/Public/Level_GamePlay.h b/Jusin154_Team3D/Client/Public/Level_GamePlay.h
index c000598e7..18c4f67c7 100644
--- a/Jusin154_Team3D/Client/Public/Level_GamePlay.h
+++ b/Jusin154_Team3D/Client/Public/Level_GamePlay.h
@@ -21,6 +21,10 @@ class CLevel_GamePlay final : public CLevel
class CBroomRaceManager* m_pBroomRaceManager = { nullptr };
_bool m_isDay = { true };
+
+ _bool m_bLevel = { false };
+ _bool m_bCurrentLevel = { false };
+
private:
virtual HRESULT Initialize() override;
HRESULT Initialize(void* pArg);
diff --git a/Jusin154_Team3D/Client/Public/Monster.h b/Jusin154_Team3D/Client/Public/Monster.h
index 5888b5dea..1c9329b47 100644
--- a/Jusin154_Team3D/Client/Public/Monster.h
+++ b/Jusin154_Team3D/Client/Public/Monster.h
@@ -68,6 +68,7 @@ class CMonster abstract : public CUnit
void Set_Target(CUnit& pTarget, CTransform& pTransform);
virtual HRESULT Render_Disolve();
void Set_Easing(_uint iAnimIndex, _float fEasingStartRatio, _float fEasingEndRatio, _float fEasingTime);
+
public:
virtual CGameObject* Clone(void* pArg, CGameObject* pOwner = nullptr)PURE;
void Update_Disolve(_float fTimeDelta,_float fRatio);
diff --git a/Jusin154_Team3D/Client/Public/Player.h b/Jusin154_Team3D/Client/Public/Player.h
index f93dfd709..640fe0537 100644
--- a/Jusin154_Team3D/Client/Public/Player.h
+++ b/Jusin154_Team3D/Client/Public/Player.h
@@ -136,7 +136,6 @@ class CPlayer final : public CUnit
function m_InputAction = nullptr;
_int m_eUIState = { };
- _uint m_iLightCombo = { 0 };
_float3 m_OffsetPos = {};
_float m_fAmount = { 1.f };
@@ -166,6 +165,7 @@ class CPlayer final : public CUnit
array<_int, 256> SecondMaskIndex = {};
_bool m_bOpenDoor = { false };
_bool m_bOpeningCutScene = { false };
+ _float m_fAirTime = {};
/* 무적 불 변수*/
#ifdef _DEBUG
@@ -236,7 +236,7 @@ class CPlayer final : public CUnit
void Behavior_ShieldExit();
void Behavior_HitEnter();
- HRESULT Behavior_HitExitCheck();
+ HRESULT Behavior_HitExitCheck(_float fTimeDelta);
void Behavior_HitExit();
void Behavior_Broom_RideEnter();
@@ -266,8 +266,15 @@ class CPlayer final : public CUnit
void Player_InterpTurn(_float fTimeDelta);
void Throwing_Interactive();
void Attach_Broom();
+ void ProcessHitBehavior();
#pragma endregion
+#pragma region HITBEHAVIOR
+ void Hit_Levioso(_float fTimeDelta);
+
+#pragma endregion
+
+
private:
class CEffectPool* m_pEffectPool = nullptr;
};
diff --git a/Jusin154_Team3D/Client/Public/RandomNpc.h b/Jusin154_Team3D/Client/Public/RandomNpc.h
index c3ebef544..3f63c55d1 100644
--- a/Jusin154_Team3D/Client/Public/RandomNpc.h
+++ b/Jusin154_Team3D/Client/Public/RandomNpc.h
@@ -27,6 +27,9 @@ class CRandomNpc final : public CUnit
virtual void OnRayCollision(CGameObject* pCaster, _uint iCastedOrder, _float fDistance, _float3 vCastedWorldPos)override;
virtual _wstring Get_Name() override;
+ virtual _wstring Get_NpcName() override;
+
+ void Set_Target(CUnit& pTarget, CTransform& pTransform);
protected:
CInfoInstance* m_pInfoInstance = { nullptr };
CCharacter_Controller* m_pCharacter_Controller = { nullptr };
@@ -37,12 +40,24 @@ class CRandomNpc final : public CUnit
CRandomNpc* m_pNPC_Ollivander = { nullptr };
/*class CNPCInteraction* m_pNPCInteraction = { nullptr };*/
+ CUnit* m_pTarget = { nullptr };
+ _float4 m_vTargetPos = { };
+ _float3 m_vToTargetDir = { };
+ _float m_fTargetDistance = { FLT_MAX };
+ _float m_fDegree = {};
+ _float m_fCross = {};
CNPCStat* m_pNpcStat = { nullptr };
_int m_iEntered = { 0 };
_float2 m_vEnteringTimer = { 0.f, 1.f };
_float m_fEncounterDistance = { 8.f };
_int m_iIndex = {};
+
+
+ _bool m_bInteract = { false };
+ _bool m_bPreviousInteract = { false };
+ _float m_fInteractTime{};
+
protected:
virtual HRESULT Initialize_Prototype() override;
virtual HRESULT Initialize(void* pArg) override;
diff --git a/Jusin154_Team3D/Client/Public/Ranrok.h b/Jusin154_Team3D/Client/Public/Ranrok.h
index 7a4dbe679..021775d78 100644
--- a/Jusin154_Team3D/Client/Public/Ranrok.h
+++ b/Jusin154_Team3D/Client/Public/Ranrok.h
@@ -68,6 +68,7 @@ class CRanrok final : public CMonster
_uint iIndex = {};
DAMAGE_INFO m_DamageInfo;
_bool m_bCollisionPlayer = { false };
+ _float2 m_vCreatePropTime = { 0.f , 60.f };
private:
virtual HRESULT Initialize_Prototype() override;
@@ -210,6 +211,9 @@ class CRanrok final : public CMonster
virtual _bool IsHitStateDisabled() override;
virtual _bool IsHitSpellDisabled() override;
+
+ void Update_BehaviorByHPRatio(ON_COLLISION_INFO* CollisionInfo);
+
};
NS_END
diff --git a/Jusin154_Team3D/Client/Public/Ranrok_Prop.h b/Jusin154_Team3D/Client/Public/Ranrok_Prop.h
new file mode 100644
index 000000000..f1fe0e72a
--- /dev/null
+++ b/Jusin154_Team3D/Client/Public/Ranrok_Prop.h
@@ -0,0 +1,60 @@
+#pragma once
+
+#include "Client_Define.h"
+#include "Effect_Container.h"
+
+NS_BEGIN(Engine)
+NS_END
+
+NS_BEGIN(Client)
+
+class CRanrok_Prop final : public CEffect_Container
+{
+private:
+ CRanrok_Prop(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CRanrok_Prop(const CRanrok_Prop& rhs);
+ virtual ~CRanrok_Prop() = default;
+
+public:
+ virtual void Priority_Update(_float fTimeDelta) override;
+ virtual void Update(_float fTimeDelta) override;
+ virtual void Late_Update(_float fTimeDelta) override;
+
+public:
+ virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr) override;
+
+private:
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+ virtual HRESULT Ready_Components(void* pArg) override;
+ HRESULT Ready_Child();
+ HRESULT Bind_ShaderResources() override;
+ virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override;
+private:
+ _wstring m_wstrEffectName = {};
+
+ class CEffectParts* m_pSphere = { nullptr };
+ class CEffectParts* m_pSphereLay = { nullptr };
+ class CEffectParts* m_pSphereHitLay = { nullptr };
+ class CEffectParts* m_pRing = { nullptr };
+ CRigidBody_Dynamic* m_pRigidBody = { nullptr };
+
+ _float m_fSizeAccTime = {};
+ _float m_fAmountSize = {};
+ _float m_fSpeed = {};
+
+
+ _float m_fHp = { 3.f };
+ _bool m_isSizeLerpEnd = {};
+private:
+ class CInfoInstance* m_pInfoInstance = { nullptr };
+public:
+ static CRanrok_Prop* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual void Free() override;
+ CGameObject* Clone(void* pArg, CGameObject* pOwner) override;
+#ifdef _DEBUG
+ void Describe_Entity() override;
+#endif // _DEBUG
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Client/Public/TimeSocket.h b/Jusin154_Team3D/Client/Public/TimeSocket.h
new file mode 100644
index 000000000..6953d9be8
--- /dev/null
+++ b/Jusin154_Team3D/Client/Public/TimeSocket.h
@@ -0,0 +1,60 @@
+#pragma once
+#include "Client_Define.h"
+#include "GameInstance.h"
+
+
+NS_BEGIN(Engine)
+class CGameObject;
+NS_END
+
+
+NS_BEGIN(Client)
+
+typedef enum class typeTimeSocket_Param {
+ TARGET,
+ TRANSFORM,
+ END
+}TIMESOCKET_PARAM;
+
+typedef enum class typeTimeSocket_Func {
+ TRIGGER,
+ POSITION,
+ TAG,
+ TARGETTING,
+ END
+}TIMESOCKET_FUNC;
+
+class CTimeSocket final : public CBase
+{
+private:
+ CTimeSocket();
+ virtual ~CTimeSocket() = default;
+public:
+ _float m_fRatio = { 0.f };
+ _bool m_bTriggerred = { false };
+ CGameObject* m_pEventTarget = { nullptr };
+ _string m_strEventName = {};
+ TIMESOCKET_PARAM m_eTypeParam = {};
+ union {
+ CGameObject* m_pOtherTarget = { nullptr };
+ PSX::PxTransform m_pxTransform;
+ };
+
+ virtual _bool Trigger(_float fRatio);
+
+public:
+ HRESULT Initialize(CGameObject* pTarget, _string& strTag);
+ HRESULT Initialize(CGameObject* pTarget, _string& strTag, PSX::PxTransform& pxTransform);
+ HRESULT Initialize(CGameObject* pTarget, _string& strTag, CGameObject* pOther);
+
+public:
+ static CTimeSocket* Create();
+ virtual void Free() override;
+
+private:
+ function m_funcEvent = { nullptr };
+private:
+ void Finalize();
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Client/Public/UI_Manager.h b/Jusin154_Team3D/Client/Public/UI_Manager.h
index 3f7fb53a7..f4e386529 100644
--- a/Jusin154_Team3D/Client/Public/UI_Manager.h
+++ b/Jusin154_Team3D/Client/Public/UI_Manager.h
@@ -47,6 +47,8 @@ class CUI_Manager final : public CUIObject
void NpcInteract(_bool bInteract);
+ void Set_Fade();
+
private:
CInfoInstance* m_pInfoInstance = { nullptr };
CVIBuffer_Rect* m_pVIBufferCom = { nullptr };
@@ -79,6 +81,7 @@ class CUI_Manager final : public CUIObject
_bool m_bSpellLearn = { false };
_bool m_bNPCInteract = { false };
+ _bool m_bCurrentNPCInteract = { false };
_bool m_bAlphaZero = { false };
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/AnimList/Human_Duelist.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/AnimList/Human_Duelist.xml
index 360db3c97..76ecd9138 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/AnimList/Human_Duelist.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/AnimList/Human_Duelist.xml
@@ -17,25 +17,29 @@
+
+
+
-
+
+
+
-
-
-
-
+
+
+
+
+
-
-
-
-
+
+
-
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/AnimList/Player.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/AnimList/Player.xml
index cfe8c4775..c68547a86 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/AnimList/Player.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/AnimList/Player.xml
@@ -56,6 +56,7 @@
+
@@ -98,8 +99,8 @@
-
-
+
+
@@ -108,6 +109,7 @@
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Dialogue/Dialogue.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Dialogue/Dialogue.xml
index bf2fec570..0504c04da 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Dialogue/Dialogue.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Dialogue/Dialogue.xml
@@ -1,8 +1,8 @@
-
-
-
+
+
+
@@ -10,19 +10,18 @@
-
+
-
-
-
-
+
+
+
-
-
+
+
@@ -31,13 +30,7 @@
-
-
-
-
-
-
-
+
@@ -49,11 +42,30 @@
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Circle0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Circle0.bin
index bab650ab3..f0200d990 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Circle0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Circle0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:0fb537542d22b030a1a59418ea3884beb33c6a694cb1e4139e7d290e2b742c5e
-size 1246
+oid sha256:8d9fa8ec85546de69e32f05b5d9c37d40fdb5bfdbde54f67c319da29f90cb7f8
+size 1253
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_0.bin
index 225e5e255..9a99574dc 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:e051d1de08055624c402f84075bdfee837bb6c74c0f7abcf3a8c5c4a5223f581
-size 1206
+oid sha256:d09004f36b87bb2da8bcc14f113f86b7259b397b61b58087a31d532eaa8f8780
+size 1217
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_1.bin
index e2c552165..78516458e 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_1.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_1.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:c42ea00f76ae70ab5747602dec3f2c931258bc3e8bf745bcd4dbe35b3de3a9c6
-size 1217
+oid sha256:b560a2e2c090b0b71bd00e26710378843f7522f711bb0b804793363d3589d94d
+size 1256
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_2.bin
index 59b687c34..2b08490f4 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_2.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_2.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:3a30706065b6579146cba27c4b3d772c4023bcef7447eac47bcff985ec5b6872
+oid sha256:7805f529100203de269cf86c079635a81a10584ea4687aed6e9414f388b2c3fb
size 1217
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_3.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_3.bin
index dbf7ded2f..1f87dbd5a 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_3.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_PT_3.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:5251090aad40c3aa534a86b3e83e250e4889c1bec296107d8c214de0a5d72de1
+oid sha256:36ce6de1c0f813479d3fe09e6b7279270a07aa7e2771fc1b813b59d7e4e5579d
size 1217
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Projectile.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Projectile.bin
index 5a4ec90c9..c0ba1f390 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Projectile.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Projectile.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:3c994186629bbb0433a46c39fba56f22b88b3fee217009081058b5f155e7e67e
-size 1303
+oid sha256:85140d39c4d81949b899b4f43606c1620da83a092ac386c39c8d1bfbb305ce1a
+size 1200
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Shoot_Pt.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Shoot_Pt.bin
index 8b0d57744..e8c7b2a53 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Shoot_Pt.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Shoot_Pt.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:47bb426251301350c82f18ef8623ef55e765f25cf739a28c5f6b489985dda242
-size 1202
+oid sha256:11f46ff8d98501e2747bad94f2f3838bde08f8db9b0e683193f7b89049e24c2e
+size 1242
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Smoke.bin
index 1ec1b98c5..f8880761c 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Smoke.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Bombard_Smoke.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:4020b5638b63e8ed056787b5d0ff225fe9f99c80525627c6a2d59b4cb5a1f83d
-size 1164
+oid sha256:7d2c776024eface8546041940af54242cc7ae27cba57eefce66f802406627aeb
+size 1197
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Wand_Light_B.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Wand_Light_B.bin
new file mode 100644
index 000000000..812b44c0c
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Bombard/Wand_Light_B.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:dc832f54b1940007204060bc86a5b2591db167186bb572c8d3352f3aed6b1166
+size 1241
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/WandParticle_B_1000.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/WandParticle_B_1000.bin
index c61f4c53d..831f04428 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/WandParticle_B_1000.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/WandParticle_B_1000.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a0fafd9cffb2841288a5cec13d796884ac990712f030ec4063a98b560aaedd95
-size 1179
+oid sha256:7f98a1b91b39be5bdc5cd6ac9bc544d105dcbafdc0d86a34844856b90544a381
+size 1205
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/Wand_Light_B.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/Wand_Light_B.bin
index 9c9f4008e..607ccc710 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/Wand_Light_B.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/BombardaSide/Wand_Light_B.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:8784744c6eb1aa0f96d4171982b66e813453ba50c2b370ae6322670981e77dd4
-size 1200
+oid sha256:3ab86dbc400f33329663c7e2109727bf1f2c8e4753526d2613b48fd7c56e8165
+size 1153
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Bon_Fire.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Bon_Fire.bin
new file mode 100644
index 000000000..7d74caaf0
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Bon_Fire.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c046163c864314c9e2967089db1010e5186dac489082e35a63473992d2aaa53b
+size 1190
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal.bin
new file mode 100644
index 000000000..fece341e6
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b5875065fb52e1e5ebad187adc11e64469925f5684265d2562a32ee1fde504fc
+size 1265
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal_15.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal_15.bin
new file mode 100644
index 000000000..cf29e542b
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal_15.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6a0100606913098e13d31222a6d6c1ebf2ef91e90cf3e79077c506fd51bb8b22
+size 1265
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal_35.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal_35.bin
new file mode 100644
index 000000000..84ce7d2ff
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Decal_35.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b55773c87b4110617f7f9248d4918e33293de79decea75812dc919fa9d5d78b7
+size 1265
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo0.bin
new file mode 100644
index 000000000..c59807f34
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo0.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b599b9606464cc8a8a0d753b09a8626823c97bab27709007a6bf4782861ec13d
+size 1229
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo1.bin
new file mode 100644
index 000000000..838d1e157
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo1.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4895e8e3d74d359a3f24354c809953d67032f5fdc68ac865e2815a2bbe45e74b
+size 1229
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo2.bin
new file mode 100644
index 000000000..64a94d8e7
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo2.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a23d45392df0be03277cf46c58d3c0a0b9945f0fed8a48b90e73869fde5375e8
+size 1231
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo3.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo3.bin
new file mode 100644
index 000000000..0313ac077
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo3.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6f5b24c71bd7515777821be62cbcfb0e602e795cf5cac7ea117a8f81edae71a8
+size 1231
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo4.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo4.bin
new file mode 100644
index 000000000..bdd39a614
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo4.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3d83b19cdaa30e7a5e8d3e564939973d1d0a5b8947caacd2dcc6b9ffab7c2048
+size 1214
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Particle_Black.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Particle_Black.bin
new file mode 100644
index 000000000..b020f8d74
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Particle_Black.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:811489b02f997a8c6fe1b6c18d1471678ba7ca3c5af90ca9a3e46fdfb531d949
+size 1249
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Particle_Black_Small.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Particle_Black_Small.bin
new file mode 100644
index 000000000..89645d74a
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Particle_Black_Small.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cc12dc0484776f7c82ec4bd9a2dc504dbced5c7de555978feec661bc1bd86e09
+size 1201
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Particle_Red.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Particle_Red.bin
new file mode 100644
index 000000000..9ee122536
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Particle_Red.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5bbe5eb13c4dddbf7a0191ce84acfc77335cb5c4411c387bceb3fa7b8fc3f473
+size 1294
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Rotate_Rock_Large1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Rotate_Rock_Large1.bin
new file mode 100644
index 000000000..22f103d0c
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Rotate_Rock_Large1.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:67ece5ae10c128ba61826914f303b55b2268e8019d033cac228b5db781b282cd
+size 1197
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Rotate_Rock_Large2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Rotate_Rock_Large2.bin
new file mode 100644
index 000000000..afdf9b8de
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Rotate_Rock_Large2.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d41bebebfc1349e75627f39ff89400505127aa08277127a6d793added743cc28
+size 1192
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Rotate_Rock_Small.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Rotate_Rock_Small.bin
new file mode 100644
index 000000000..8fc9131d8
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Rotate_Rock_Small.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:dc073e923bce297ef5985e08456bea4da0296a57cc4d68a59c8f5103a8bf4a98
+size 1194
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Troch_Fire.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Troch_Fire.bin
new file mode 100644
index 000000000..f7e3d1696
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Troch_Fire.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:78cbe11f240f71459b36388674ba1cd75e0d9c44165ef34408001c54e8c7ddc4
+size 1205
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokProp.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokProp.bin
new file mode 100644
index 000000000..fc74bce6a
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokProp.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:023dbaf090b11c1e1d477d565ba97b58131ed5c2c550314fd82d7943457de9bb
+size 1093
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokPulse.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokPulse.bin
index 093baf4be..118b34709 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokPulse.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokPulse.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:dbbe101306b0fe56ac803a185ae9e02ef1dbd1b74deee409a19854f1e7df99e0
-size 433
+oid sha256:a00e1e9779e1aeae8668bab549748037a053267a1ee34ce29a52844fcb597910
+size 358
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Bombard.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Bombard.bin
index a81259ac6..f9e62c69d 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Bombard.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Bombard.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:9df5ad1442d394cbdf4fad283cab9c519055dbffba9e9c1a242179983f335be5
-size 714
+oid sha256:5034a8f89fb9d0abc5d1c4ddd40a17430455f48a46177b2c86b6d5de97022442
+size 776
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok.bin
new file mode 100644
index 000000000..831f04428
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7f98a1b91b39be5bdc5cd6ac9bc544d105dcbafdc0d86a34844856b90544a381
+size 1205
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokCharge/CombinedPT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokCharge/CombinedPT.bin
index 4ce3fea08..5be14b7f0 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokCharge/CombinedPT.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokCharge/CombinedPT.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:5362cdc70ca4b25e0c714768745664fcbb59243b013b69ea60d7e896e581797b
-size 1294
+oid sha256:46f76c7609ee61d69f5edf4f8435219efdb1a2fa7446d339fffbd7e76fbbf7a1
+size 1292
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/BottomSplatter.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/BottomSplatter.bin
index f056eac09..f3cbf3e82 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/BottomSplatter.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/BottomSplatter.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:39f6dceca76fb1f83e238efa1336f37cf4f8d7d28aa7502396625211158901d5
-size 1210
+oid sha256:b50e115762bf8029f73629f47105b33262c410ae192c8e058611521a7d1f9fe7
+size 1240
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Bottom_Decal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Bottom_Decal.bin
index 467d74cef..e4307715d 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Bottom_Decal.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Bottom_Decal.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:f0e730f326463918e9c7eda06d8d06cff6e4097e9ad032d0b57eae953945db1d
-size 1217
+oid sha256:c20dd7592855085c2cb9fc1c0833bdf01acee294f25c6af300709e050549d04b
+size 1252
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Red_Sphere.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Red_Sphere.bin
index c831ac46c..c6b538804 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Red_Sphere.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Red_Sphere.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:8777ccd563047dd7f7bc91356e48f129ba54780747e6acd4925ddba3254dfccf
+oid sha256:ef5a551dd8718b92ac685c3c32fd15f0b22d109787ce895ca9327cd6e9f59385
size 1242
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Rock_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Rock_PT.bin
index 631c5d65e..3639ea729 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Rock_PT.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Rock_PT.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:4f806c466b4daac7716d146fc441222906abc18d222b290e5e7064599be81bd6
-size 1194
+oid sha256:cf6f51de17d6bb0f37c286f5fa286dc522fe0863260f1af0abb691d3a267c3da
+size 1203
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Smoke.bin
index aad2356a1..bcdc9f935 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Smoke.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokGroundPulse/Smoke.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:8113aa957c9abb4b4290d94594bc5f27608d2b44c1accff557d5a52fcedee115
+oid sha256:70f3a119a72f2c562a16c457d8611eeea0d1d0a9494a445d2a059a79c27c526b
size 1191
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Appear_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Appear_PT.bin
new file mode 100644
index 000000000..cbeb5b0f8
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Appear_PT.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c1871eeecbab10eed87926e2b898d92fd3d33a114161fa884198aea2fd39de8a
+size 1256
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Broken_Goo.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Broken_Goo.bin
new file mode 100644
index 000000000..8e164ab72
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Broken_Goo.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:39788300833dbe698cfe2c62162b49350f4fc957dd0a8c77bfe3b5fbd9585b5a
+size 1228
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Broken_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Broken_PT.bin
new file mode 100644
index 000000000..14ef94e80
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Broken_PT.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2463f5518f0adaf924ca244c3dd4abf07c192c15b1d06a1a7cc37ab111b411a4
+size 1198
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Broken_PT2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Broken_PT2.bin
new file mode 100644
index 000000000..194a1a321
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Broken_PT2.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:971d932501ffa534837ccf063b71b2c5e39a93289a4da965ce2b5dcb724f9e93
+size 1256
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Core.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Core.bin
new file mode 100644
index 000000000..967c0f534
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Core.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d05ef50ebdbf2ea54af0d19db6484bdeedb4078d225f90e4290e5941e4771b09
+size 1178
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/GlowBall.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/GlowBall.bin
new file mode 100644
index 000000000..927b97f36
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/GlowBall.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fa25ff42492fa5f65d0307c09fb60a1077e1a344bdc8693b3b200004e8ae7edc
+size 1147
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/HitLay.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/HitLay.bin
new file mode 100644
index 000000000..ddc5470f3
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/HitLay.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:52a437db516a7c4d59127dc2391b17979134db98031b81768393c8beb7c61db8
+size 1229
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/HitSplash0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/HitSplash0.bin
new file mode 100644
index 000000000..2e1b2bb67
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/HitSplash0.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ca4da0cb0a5d9e95419b19d82c0a025081bf7de3e87bac626faceeecbdf3baae
+size 1208
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/HitSplash1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/HitSplash1.bin
new file mode 100644
index 000000000..b1f62efb7
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/HitSplash1.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6ff7e87a2d725002e6bac1b35d36863e319ab4e54eb997043babac4bf0359ccf
+size 1208
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Hit_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Hit_PT.bin
new file mode 100644
index 000000000..3ddb66eb7
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Hit_PT.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5a3c715ae75274e54f4ccbb3e5f4f2c3cdb67ae953629d6cd0f8d219b5959fe2
+size 1256
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Pulse_Purple.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Pulse_Purple.bin
new file mode 100644
index 000000000..2ba19904b
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Pulse_Purple.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2d5190fbaaed9d353b7207f647ea37b8cdac1b3bddf04fd52e5123a0a10ad99c
+size 1216
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Ring.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Ring.bin
new file mode 100644
index 000000000..6be4f1a20
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Ring.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c91e713dc08b7ef3493988b4888366cef8cddf0ad353a79b1b75dbfe1996dd4f
+size 1144
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Rock_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Rock_PT.bin
new file mode 100644
index 000000000..857c6d3e8
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Rock_PT.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f601c1db1f9a7de46979cc1bbb7fc09f37fd7247173fbe04c5968cb4b818e5cc
+size 1195
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Sphere.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Sphere.bin
new file mode 100644
index 000000000..4e72b7a55
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Sphere.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:57a773744e2b7bdb330ace3ea5e3f575098444fda3a0a7e152f2899bada929f7
+size 1103
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Sphere_Noise.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Sphere_Noise.bin
new file mode 100644
index 000000000..673d7572b
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Sphere_Noise.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ee84ba9e8d1a694e9ccf80202d5e8093ea5e3576ce8d63f0cabc8a9a044df913
+size 1208
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Spline.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Spline.bin
new file mode 100644
index 000000000..cf27b49cf
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokProp/Spline.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:af2bb1cd7c0515859683b83262ead2adbc9d489e07db15367a1be94aa58185b1
+size 1208
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/BottomSplatter.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/BottomSplatter.bin
deleted file mode 100644
index 827f331b8..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/BottomSplatter.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4c0cef6fcbe9aff2bc37b2865f3eabefda581f1733b4160a2e8c242b97982e12
-size 1203
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/BottomSplatter2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/BottomSplatter2.bin
index e66c6a2c6..2d4920510 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/BottomSplatter2.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/BottomSplatter2.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:3a885f02b56b66f32883ad4f0386c6c511df511c5d172390a06c0625c18123cd
-size 1210
+oid sha256:fb0031bd2934a1da8ee57c3cbd92bf1b916a29884c9d2a8ac591ffadf8a801ad
+size 1240
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin
index c1152e0ad..ac5cca1bd 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:7a7b5c89cb56630436e52f4df48192e2aad373626eea2a4b735d1f443d91eab3
-size 1217
+oid sha256:031cfc57f78099e40ea49c57d976c547d79b3b33fcf4c2e3bd42496bfb5d9af3
+size 1252
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Red_Sphere.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Red_Sphere.bin
index b1f3b4be7..c6b538804 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Red_Sphere.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Red_Sphere.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:6a419a802a87a21ca43b42811885f04f35cfca9a98ba1d810e67fea2c4584c12
+oid sha256:ef5a551dd8718b92ac685c3c32fd15f0b22d109787ce895ca9327cd6e9f59385
size 1242
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Rock_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Rock_PT.bin
index e7a680fe3..027306877 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Rock_PT.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Rock_PT.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:c6ba6509f7cff453fb884036d0ce5676f79c979c25687528ae65d048e067a7b4
-size 1194
+oid sha256:4d6b26ca241a4807ba97afefd247353fa08b0ce94c8433bbe8f1f5947a074808
+size 1203
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Smoke.bin
index 8d799c0ee..bcdc9f935 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Smoke.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Smoke.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:2bebe423898a651502bf3843a058d7d61ddeb3f70e78a88af64d7058067f97df
+oid sha256:70f3a119a72f2c562a16c457d8611eeea0d1d0a9494a445d2a059a79c27c526b
size 1191
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Test.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Test.bin
index 7c9b8e653..8d8684efd 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Test.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Test.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:5ce4b8ea048f2b005a15e04de1b2d96017a7d4fb5dcf0deae06dae13ecd549cd
-size 1159
+oid sha256:7fbf0c2518724eec2c1b271226e89fabe181954b499009c583a53c6041430e9b
+size 1126
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/RaceRing/RaceRing_Data.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/RaceRing/RaceRing_Data.xml
index 0faf2662c..59eb99718 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/RaceRing/RaceRing_Data.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/RaceRing/RaceRing_Data.xml
@@ -1,7 +1,7 @@
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/NpcStat.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/NpcStat.xml
index 0d078b45f..51f3f40ac 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/NpcStat.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/NpcStat.xml
@@ -13,4 +13,4 @@
-
\ No newline at end of file
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/Stat.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/Stat.xml
index b465052bb..a8ad8899b 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/Stat.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/Stat.xml
@@ -5,5 +5,5 @@
-
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/SM_RanrakAuraCage_01_CPUAccess.002.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/SM_RanrakAuraCage_01_CPUAccess.002.bin
new file mode 100644
index 000000000..b64abb42a
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/SM_RanrakAuraCage_01_CPUAccess.002.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:44a78ab2cd0044839f5e91d0c6866ee33b62d57953b39e9e3843ba9008994cf9
+size 286947
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/SM_RanrakAuraCage_01_CPUAccess.002.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/SM_RanrakAuraCage_01_CPUAccess.002.fbx
new file mode 100644
index 000000000..51b7fb80b
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/SM_RanrakAuraCage_01_CPUAccess.002.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a69bba8ec274b6e0953c1a43526864a63b0971e287414c5d480b4d812c1933e8
+size 101548
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_AM_Pickup.001.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_AM_Pickup.001.bin
new file mode 100644
index 000000000..75235e831
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_AM_Pickup.001.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b75a9d36b8293bcbd5f6d8b25f430d7f8d6c88cd869ff95ddfeeb5fa2281d2eb
+size 786789
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_AM_Pickup.001.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_AM_Pickup.001.fbx
new file mode 100644
index 000000000..85b9219b6
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_AM_Pickup.001.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0e3909e4f7795c18f007f9bde73a35ea9c3c0686e1ad7ddb3cbb0628d20167b3
+size 435468
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_RepositoryControlPointCore_01.001.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_RepositoryControlPointCore_01.001.bin
new file mode 100644
index 000000000..8926da4e4
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_RepositoryControlPointCore_01.001.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3b4d3f658bb7d2af4292d39021ab2e8ff5c72599bb4db4cf33ca941bd4eff1b5
+size 238054
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_RepositoryControlPointCore_01.001.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_RepositoryControlPointCore_01.001.fbx
new file mode 100644
index 000000000..1f4039e4d
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_RepositoryControlPointCore_01.001.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:721481d5f22c2524c71514dd5523a18bf274704da2ca9fa6d0ffb9321216e083
+size 103788
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_SplatMesh_A.001.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_SplatMesh_A.001.bin
new file mode 100644
index 000000000..2570d9ca1
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_SplatMesh_A.001.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3a5353385445beaffd883eaa150cb9f5a6e847fb3b6c64179c125366c0b01916
+size 79323
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_SplatMesh_A.001.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_SplatMesh_A.001.fbx
new file mode 100644
index 000000000..86c301fe2
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_SplatMesh_A.001.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ba07b85cff6e8b7137ca0b5a70e6198b6df0558f4dddcf062e0d17b767e52a4f
+size 44028
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_SplatMesh_B.001.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_SplatMesh_B.001.bin
new file mode 100644
index 000000000..1220479e4
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_SplatMesh_B.001.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:98b8344cfc59f2a11e2d10530fa1641296e1307e5623e359994169c14a89ef2c
+size 155311
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_SplatMesh_B.001.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_SplatMesh_B.001.fbx
new file mode 100644
index 000000000..c0b834258
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_SplatMesh_B.001.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:99c8aceb6c22735f56ae42c4bb494a440c2aa8dfb277b69b566896de088e2029
+size 89452
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_Splatter01.001.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_Splatter01.001.bin
index ea3a199c7..e924524d4 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_Splatter01.001.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_Splatter01.001.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:5611dd166e4f36e89dc67a4b279ce29b333719ee366aaa6531b263818d190147
-size 68926
+oid sha256:807c064001994aa77941ccd2250854ac406646c41945a7dce660cb354353b8c6
+size 68922
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_Splatter01.001.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_Splatter01.001.fbx
index 7ff917246..07f9821f9 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_Splatter01.001.fbx
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_Splatter01.001.fbx
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:fdede392ac06dabd467937f36277f78a5a1655dda22fd6f022cfcbfac56c2cf3
+oid sha256:a08f0f12d2183243287bbbfa4003c334b24ba384b59ec8f19be8bdd921e69e76
size 38076
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_Splatter02.001.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_Splatter02.001.bin
index b5c741e39..2baabed38 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_Splatter02.001.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_Splatter02.001.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:90e3d474e2815dbde55dff03197a65b6fa8552fc1c06619b1f85b4c648db1ceb
-size 80478
+oid sha256:89b35e61b7143b30e9f35ce190ff25c586e2b8299d702ad4c6a70cf8bcad4625
+size 80474
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_Splatter02.001.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_Splatter02.001.fbx
index 7b9e8dcc2..dc7766edc 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_Splatter02.001.fbx
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/VFX_SM_Splatter02.001.fbx
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a4fd7c356bc9125ec226f61f80c67cb29ae90f1e0bdcba874b91fa5665c4ae7e
+oid sha256:17b481170862c70ff5fdf78fb9c3468eb6fe2892e030b3dd32aae02385f97288
size 45500
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/p.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/p.bin
new file mode 100644
index 000000000..75235e831
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/DragonMesh/p.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b75a9d36b8293bcbd5f6d8b25f430d7f8d6c88cd869ff95ddfeeb5fa2281d2eb
+size 786789
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Garlick/Garlick.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Garlick/Garlick.bin
index 5d2124f11..585a7a3f5 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Garlick/Garlick.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Garlick/Garlick.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:8a0b3daba5e65ab9c3a029efae80ddc2d3a18d3ec873dd169fe563dc64e24728
-size 11118900
+oid sha256:b6971e29e39aea90c3854034ffdc3d0fce25a76315de1f0b442b19291330b1a3
+size 11118807
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Garlick/Garlick.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Garlick/Garlick.xml
index 40219b073..1c5a26e8b 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Garlick/Garlick.xml
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/Garlick/Garlick.xml
@@ -234,7 +234,7 @@
-
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student_Rct2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student_Rct2.bin
new file mode 100644
index 000000000..37e669b03
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student_Rct2.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6745ef0cb1485af3a07a1401c78abd750648c32429f867c9e150474ffe7307c9
+size 8729801
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student_Rct2.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student_Rct2.fbx
new file mode 100644
index 000000000..4788ad166
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Npc/M_Student/M_Student_Rct2.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8f6fbe362e3efe564a6e0ada6b5110b5af4699e2d7fc5e82f446dc96f1e66efa
+size 21794188
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/BaseFlattenNormalMap.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/BaseFlattenNormalMap.png
new file mode 100644
index 000000000..d8e1fd944
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/BaseFlattenNormalMap.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Garlick.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Garlick.xml
new file mode 100644
index 000000000..40219b073
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Garlick.xml
@@ -0,0 +1,269 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable.fbx
new file mode 100644
index 000000000..1cbbfcf54
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d24d145654626e331561cf6c6e4c7fab915e4fe6090772d6e19eb3cc42792dd4
+size 5151308
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_AvadaKedavra.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_AvadaKedavra.fbx
new file mode 100644
index 000000000..029022ca5
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_AvadaKedavra.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d782323b6137402401929e733f1a0a629cd014735ad6499dd9cfa02f554692af
+size 6018332
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Bm.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Bm.fbx
new file mode 100644
index 000000000..cf80a9c65
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Bm.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0c9a4ec2aa1cd1a7c20fd712c6a9a4ea4e2995d2a98fabec55f50f26d312665b
+size 544959468
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Broom.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Broom.fbx
new file mode 100644
index 000000000..500acecd4
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Broom.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:455c61941119a4bb6ee17556b90a03eddbb69f92d93b7eb4633f9d5105cfc02a
+size 263553308
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Cmbt.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Cmbt.fbx
new file mode 100644
index 000000000..26c354f6f
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Cmbt.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4faa5b5e258bd49ab1ac863834148d0438c37d90c6c526e26bec2af2defa4568
+size 205155228
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Lightning.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Lightning.fbx
new file mode 100644
index 000000000..52bdb410f
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Lightning.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5749bbf9655647b055f5510e0671b9b0cd6c164b12e820078e4ada1fb3a4e484
+size 6061772
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_OpenDoor.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_OpenDoor.fbx
new file mode 100644
index 000000000..be47c045e
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_OpenDoor.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:774826245ec2bb5d6fbd5a61e3ccab4e5819f246e7630fd51ec6abb3529f29d9
+size 7446620
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Protego.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Protego.fbx
new file mode 100644
index 000000000..abb775b2b
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Protego.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c1806d30cd95dfd51a6438842a911bf028663cad71b8ff77b591a89e20e90350
+size 11262300
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Rct.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Rct.fbx
new file mode 100644
index 000000000..794174dd5
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Rct.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:953f8acd1848aa105b34ae2cf37866073238d13f9e3f7cb0a7ab08f67b0d8562
+size 177046556
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Sneak.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Sneak.fbx
new file mode 100644
index 000000000..341033f4d
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Sneak.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bfcc6d4630c85c8ce147f3d008e1d0b7c1e791a9bf624a39e168446f3094c2c4
+size 45475004
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Spawn.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Spawn.fbx
new file mode 100644
index 000000000..1a87a2bd3
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Spawn.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e3de5a415eceb50826dae12de16dca671e12253dba50edfdb96594d246c2f471
+size 13704236
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Spell_Learning.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Spell_Learning.fbx
new file mode 100644
index 000000000..5fbd59379
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_Spell_Learning.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ff98efacb24e1d672c677e333dd4fa5cfe67c81432eb4276030ef239a6bba6a3
+size 9410716
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_TrollIntro.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_TrollIntro.fbx
new file mode 100644
index 000000000..9355fdb26
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/Playable_TrollIntro.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:85fff4ac811ede1d50d66f9f551ea9a72ac5fda80b19d57558c6be7f914b2b71
+size 13735708
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Adult_F_Head_MIrabelGarlick_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Adult_F_Head_MIrabelGarlick_N.dds
new file mode 100644
index 000000000..1156e0c06
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Adult_F_Head_MIrabelGarlick_N.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Adult_F_Head_MirabelGarlick_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Adult_F_Head_MirabelGarlick_D.png
new file mode 100644
index 000000000..75e5fbdea
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Adult_F_Head_MirabelGarlick_D.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Adult_F_Head_MirabelGarlick_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Adult_F_Head_MirabelGarlick_SRXO.dds
new file mode 100644
index 000000000..a2bb64063
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Adult_F_Head_MirabelGarlick_SRXO.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Blank2_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Blank2_MSK.dds
new file mode 100644
index 000000000..fe1e4ee12
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Blank2_MSK.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Blank_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Blank_N.dds
new file mode 100644
index 000000000..3f1a18ef1
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Blank_N.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_DefaultGrey_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_DefaultGrey_D.png
new file mode 100644
index 000000000..b414d5691
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_DefaultGrey_D.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Eye_Iris_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Eye_Iris_D.png
new file mode 100644
index 000000000..4bf9d62f9
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Eye_Iris_D.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Eye_Sclera_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Eye_Sclera_D.png
new file mode 100644
index 000000000..6e082532d
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Eye_Sclera_D.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Garlick_Hair_DAO_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Garlick_Hair_DAO_MSK.dds
new file mode 100644
index 000000000..d2f56053c
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Garlick_Hair_DAO_MSK.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Garlick_Hair_THV_MSK.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Garlick_Hair_THV_MSK.dds
new file mode 100644
index 000000000..e4baf1efa
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_Garlick_Hair_THV_MSK.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_HUM_Head_Teeth_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_HUM_Head_Teeth_D.dds
new file mode 100644
index 000000000..24effbef3
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_HUM_Head_Teeth_D.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_HUM_Head_Teeth_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_HUM_Head_Teeth_N.dds
new file mode 100644
index 000000000..4d226e763
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_HUM_Head_Teeth_N.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_HUM_Head_Teeth_SRXO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_HUM_Head_Teeth_SRXO.dds
new file mode 100644
index 000000000..a404651ed
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_HUM_Head_Teeth_SRXO.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_MirabelGarlick_D.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_MirabelGarlick_D.dds
new file mode 100644
index 000000000..4e835ae62
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_MirabelGarlick_D.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_MirabelGarlick_MRO.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_MirabelGarlick_MRO.dds
new file mode 100644
index 000000000..24b310062
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_MirabelGarlick_MRO.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_MirabelGarlick_N.dds b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_MirabelGarlick_N.dds
new file mode 100644
index 000000000..744198358
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Models/Human/Pl2ableCharacter/T_MirabelGarlick_N.dds differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl
index 5495075f9..60c0ef454 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl
+++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl
@@ -2426,6 +2426,100 @@ PS_OUT PS_BoosterHpBar(PS_IN In)
return Out;
}
+PS_OUT PS_DialogueChoice(PS_IN In)
+{
+ PS_OUT Out = (PS_OUT) 0;
+ float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha;
+ float4 Color = float4(1.f, 1.f, 1.f, 0.f);
+ float2 uv = In.vTexcoord;
+ float2 CurrentPixelPosition = uv * g_fCurrent_Size;
+ float OriginLeft = g_fNine_Slice.x;
+ float OriginRight = g_fNine_Slice.y;
+ float OriginTop = g_fNine_Slice.z;
+ float OriginBottom = g_fNine_Slice.w;
+
+ float CurrentLeft = OriginLeft;
+ float CurrentRight = g_fCurrent_Size.x - (g_fOrigin_Size.x - OriginRight);
+ float CurrentTop = OriginTop;
+ float CurrentBottom = g_fCurrent_Size.y - (g_fOrigin_Size.y - OriginBottom);
+
+ float2 Finaluv = In.vTexcoord;
+
+ if (CurrentPixelPosition.x < CurrentLeft)
+ {
+ Finaluv.x = CurrentPixelPosition.x / g_fOrigin_Size.x;
+ }
+ else if (CurrentPixelPosition.x > CurrentRight)
+ {
+ float dist = CurrentPixelPosition.x - CurrentRight;
+ Finaluv.x = (OriginRight + dist) / g_fOrigin_Size.x;
+ }
+ else
+ {
+ float scale = (CurrentPixelPosition.x - CurrentLeft) / (CurrentRight - CurrentLeft);
+ Finaluv.x = (OriginLeft / g_fOrigin_Size.x) + scale * ((OriginRight - OriginLeft) / g_fOrigin_Size.x);
+ }
+
+ if (CurrentPixelPosition.y < CurrentTop)
+ {
+ Finaluv.y = CurrentPixelPosition.y / g_fOrigin_Size.y;
+ }
+ else if (CurrentPixelPosition.y > CurrentBottom)
+ {
+ float dist = CurrentPixelPosition.y - CurrentBottom;
+ Finaluv.y = (OriginBottom + dist) / g_fOrigin_Size.y;
+ }
+ else
+ {
+ float scale = (CurrentPixelPosition.y - CurrentTop) / (CurrentBottom - CurrentTop);
+ Finaluv.y = (OriginTop / g_fOrigin_Size.y) + scale * ((OriginBottom - OriginTop) / g_fOrigin_Size.y);
+ }
+
+
+ if (g_iHover != 0)
+ {
+ float4 tex = g_Texture.Sample(ClampSampler, Finaluv);
+ Color = tex;
+
+ float2 ImgaePos1 = g_fImageSipos1.xy;
+ float2 ImgaeSize1 = g_fImageSipos1.zw;
+ float2 ImgaePixel = Finaluv * g_fOrigin_Size;
+ float2 localUV = (ImgaePixel - ImgaePos1) / ImgaeSize1;
+ bool inside = all(localUV >= 0.0f && localUV <= 1.0f);
+ if (inside)
+ {
+ float4 tex2 = g_Texture1.Sample(ClampSampler, localUV);
+ Color = lerp(Color, tex2, tex2.a);
+ }
+
+ float2 ImgaePos2 = g_fImageSipos2.xy;
+ float2 ImgaeSize2 = g_fImageSipos2.zw;
+ float2 ImgaePixe2 = Finaluv * g_fOrigin_Size;
+ float2 ReverseUV = (ImgaePixe2 - ImgaePos2) / ImgaeSize2;
+ bool inside2 = all(ReverseUV >= 0.0f && ReverseUV <= 1.0f);
+ if (inside2)
+ {
+ ReverseUV.y = 1.f - ReverseUV.y;
+ float4 tex2 = g_Texture1.Sample(ClampSampler, ReverseUV);
+ Color = lerp(Color, tex2, tex2.a);
+ }
+ }
+
+ float2 ImgaePos3 = g_fImageSipos3.xy / g_fCurrent_Size;
+ float2 ImgaeSize3 = g_fImageSipos3.zw / g_fCurrent_Size;
+ float2 localUV2 = (In.vTexcoord - ImgaePos3) / ImgaeSize3;
+ bool inside3 = all(localUV2 >= 0.0f && localUV2 <= 1.0f);
+ if (inside3)
+ {
+ float4 tex2 = g_Texture2.Sample(ClampSampler, localUV2);
+ Color = lerp(Color, tex2, tex2.a);
+ }
+
+ Color.a *= Alpha;
+ Out.vColor = Color;
+ return Out;
+}
+
struct VS_IN3D
{
float3 vPosition : POSITION;
@@ -3206,6 +3300,16 @@ technique11 PosTexTechnique11
PixelShader = compile ps_5_0 PS_BoosterHpBar();
}
+ pass DialogueChoice
+ {
+ SetRasterizerState(RS_Nocull);
+ SetDepthStencilState(DSS_Default, 0);
+ SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
+ VertexShader = compile vs_5_0 VS_MAIN();
+
+ PixelShader = compile ps_5_0 PS_DialogueChoice();
+ }
+
pass Enemy_Detection
{
SetRasterizerState(RS_Nocull);
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl
index ad0d75979..b4f47f4c3 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl
+++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl
@@ -223,6 +223,8 @@ float g_fModelDistortIntensity;
float g_fModelBlurIntensity;
+
+
struct VS_IN
{
float3 vPosition : POSITION;
@@ -290,11 +292,11 @@ struct PS_OUT_DELCAL
};
+
VS_BULR_MESH_OUT VS_MAIN(VS_IN In, uint iGPUIndex : SV_InstanceID)
{
VS_BULR_MESH_OUT Out = (VS_BULR_MESH_OUT) 0;
-
matrix matW, matWV, matWVP;
@@ -302,6 +304,7 @@ VS_BULR_MESH_OUT VS_MAIN(VS_IN In, uint iGPUIndex : SV_InstanceID)
row_major matrix PreTransformMatrix = g_ParticleValue[iGPUIndex].PreWorldMatrix;
+
matW = mul(TransformMatrix, g_WorldMatrix);
matWV = mul(matW, g_ViewMatrix);
@@ -1054,6 +1057,9 @@ PS_NOMAL_OUT PS_MAIN(PS_BLUR_MESH_IN In)
vSurface.b = 0.5f;
+
+
+
Out.vVelocityUV = CalcVelocityUV(In.vProjPos, In.vPrevProjPos, g_fMBIntensity);
Out.vAlbedo = vMtrlDiffuse;
Out.vColor = float4(0.f, 0.f, 0.f, 1.f);
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/Dialogue_Chice.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/Dialogue_Chice.png
new file mode 100644
index 000000000..fa78a0258
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/Dialogue_Chice.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Mission/UI_T_Icon_InteractType_Straight.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_Icon_InteractType_Straight.png
similarity index 100%
rename from Jusin154_Team3D/Editor/Bin/Resources/Textures/Mission/UI_T_Icon_InteractType_Straight.png
rename to Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_Icon_InteractType_Straight.png
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_InteractSelectionBracket.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_InteractSelectionBracket.png
new file mode 100644
index 000000000..f31219fd0
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/UI_T_InteractSelectionBracket.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Decal/VFX_T_Rock_Black_D.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Decal/VFX_T_Rock_Black_D.png
new file mode 100644
index 000000000..aa1d5611b
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Decal/VFX_T_Rock_Black_D.png differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Nomal/VFX_T_Rock_Black_N.png b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Nomal/VFX_T_Rock_Black_N.png
new file mode 100644
index 000000000..581e1c094
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Effect/Nomal/VFX_T_Rock_Black_N.png differ
diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj b/Jusin154_Team3D/Editor/Default/Editor.vcxproj
index 2b600576c..29bec9784 100644
--- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj
+++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj
@@ -187,6 +187,9 @@ call Update_Shaders.bat
+
+
+
@@ -201,6 +204,7 @@ call Update_Shaders.bat
+
@@ -466,6 +470,9 @@ call Update_Shaders.bat
+
+
+
@@ -480,6 +487,7 @@ call Update_Shaders.bat
+
diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
index 3f81afff4..d2cd7dfb9 100644
--- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
+++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
@@ -753,7 +753,7 @@
{614e67ae-6df9-4826-adbe-6be96f54041d}
-
+
{906987cf-14ce-4676-8ca7-a68b6b2c29b6}
@@ -769,6 +769,18 @@
{7a345ef7-8e16-45df-9bc3-e8fc665f729f}
+
+ {8bc9a6f2-aea3-4631-83b0-1c897cc9f98c}
+
+
+ {a5413132-f824-4e59-b3bb-1e6ad539b274}
+
+
+ {54dbea26-acfa-49be-9a97-1e2408cbd9b2}
+
+
+ {0201d2a8-9187-468c-aa2f-491bd3ae6ae1}
+
@@ -1557,6 +1569,18 @@
02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\DeadImpact
+
+ 02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\Prop
+
+
+ 50.UI\Dialogue_Canvas\Dialogue_Panel
+
+
+ 50.UI\Dialogue_Canvas
+
+
+ 50.UI\Dialogue_Canvas\Dialogue_Panel\Dialogue_Choice
+
@@ -2353,6 +2377,18 @@
02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\DeadImpact
+
+ 02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\Prop
+
+
+ 50.UI\Dialogue_Canvas\Dialogue_Panel
+
+
+ 50.UI\Dialogue_Canvas
+
+
+ 50.UI\Dialogue_Canvas\Dialogue_Panel\Dialogue_Choice
+
diff --git a/Jusin154_Team3D/Editor/Private/Bombard.cpp b/Jusin154_Team3D/Editor/Private/Bombard.cpp
index f15f953ea..d5898ed78 100644
--- a/Jusin154_Team3D/Editor/Private/Bombard.cpp
+++ b/Jusin154_Team3D/Editor/Private/Bombard.cpp
@@ -39,7 +39,10 @@ HRESULT CBombard::Initialize(void* pArg)
m_wstrEffectName = L"Bombard";
m_pLight_Projectile = Get_PartObject("Bombard_Projectile");
+ m_pWand_Light_B = Get_PartObject("Wand_Light_B");
+
SAFE_ADDREF(m_pLight_Projectile);
+ SAFE_ADDREF(m_pWand_Light_B);
m_fDuration = 2.5f;
@@ -73,7 +76,12 @@ void CBombard::Update(_float fTimeDelta)
OnCollision();
}
+ CWand* pWand = static_cast(m_pOwner)->Get_PartObject();
+ if (pWand == nullptr)
+ return;
+
+ m_pWand_Light_B->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
}
@@ -102,20 +110,21 @@ HRESULT CBombard::Pre_Setting(CGameObject* pObject, void* pArg)
CPartObject* pShootPt = Get_PartObject("Bombard_Shoot_Pt");
CPartObject* pCircle0 = Get_PartObject("Bombard_Circle0");
+
m_vCameraLook = m_pOwner->Get_Component()->Get_State(STATE::LOOK);
pShootPt->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
m_pLight_Projectile->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
pCircle0->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
+ m_pWand_Light_B->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
+ m_pWand_Light_B->Set_Visible(true);
pCircle0->Set_Visible(true);
pShootPt->Set_Visible(true);
m_pLight_Projectile->Set_Visible(true);
- // 건드린 친구들 순서대로 다 가져옴 ( 정렬은 안되어있음 )
-
return S_OK;
}
@@ -192,7 +201,7 @@ void CBombard::OnCollision(CGameObject* pOther, void* pDesc)
pShootPt->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
pCircle0->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
-
+ m_pWand_Light_B->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
m_pLight_Projectile->Set_Visible(false);
@@ -210,7 +219,7 @@ void CBombard::Free()
__super::Free();
SAFE_RELEASE(m_pLight_Projectile);
-
+ SAFE_RELEASE(m_pWand_Light_B);
}
#ifdef _DEBUG
void CBombard::Describe_Entity()
diff --git a/Jusin154_Team3D/Editor/Private/BombardSide.cpp b/Jusin154_Team3D/Editor/Private/BombardSide.cpp
index caaba98c9..7f2cb19dc 100644
--- a/Jusin154_Team3D/Editor/Private/BombardSide.cpp
+++ b/Jusin154_Team3D/Editor/Private/BombardSide.cpp
@@ -48,9 +48,9 @@ HRESULT CBombardSide::Initialize(void* pArg)
SAFE_ADDREF(m_pWandTrail);
SAFE_ADDREF(m_pWandParticle);
- m_fDuration = 2.f;
+ m_fDuration = 4.f;
- m_Events.emplace(0.6f, [&](){
+ m_Events.emplace(0.9f, [&](){
m_isParticleEnd = true;
m_pWandParticle->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, -500.f, 0.f , 1.f));
diff --git a/Jusin154_Team3D/Editor/Private/Dialogue_Canvas.cpp b/Jusin154_Team3D/Editor/Private/Dialogue_Canvas.cpp
new file mode 100644
index 000000000..919fc4d6a
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Dialogue_Canvas.cpp
@@ -0,0 +1,137 @@
+#include "pch.h"
+#include "Dialogue_Canvas.h"
+#include "GameInstance.h"
+#include "UI_Manager.h"
+#include "Dialogue_Panel.h"
+
+CDialogue_Canvas::CDialogue_Canvas(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ :CCanvasObject(pDevice, pContext)
+{
+}
+
+CDialogue_Canvas::CDialogue_Canvas(const CDialogue_Canvas& rhs)
+ :CCanvasObject(rhs)
+{
+}
+
+HRESULT CDialogue_Canvas::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CDialogue_Canvas::Initialize(void* pArg)
+{
+ CUIObject::UIOBJECT_DESC Desc{};
+
+ Desc.fX = 0.f;
+ Desc.fY = 0.f;
+ Desc.fSizeX = 1920.f;
+ Desc.fSizeY = 1080.f;
+
+ if (FAILED(__super::Initialize(&Desc)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Ready_Components(pArg)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Ready_Panel(pArg)))
+ {
+ return E_FAIL;
+ }
+ Visible(true);
+ return S_OK;
+}
+
+void CDialogue_Canvas::Priority_Update(_float fTimeDelta)
+{
+ __super::Priority_Update(fTimeDelta);
+}
+
+void CDialogue_Canvas::Update(_float fTimeDelta)
+{
+ __super::Update(fTimeDelta);
+}
+
+void CDialogue_Canvas::Late_Update(_float fTimeDelta)
+{
+ if (m_bVisible) {
+ }
+ __super::Late_Update(fTimeDelta);
+}
+
+HRESULT CDialogue_Canvas::Render()
+{
+ return S_OK;
+}
+
+_vector CDialogue_Canvas::Get_WorldPostion()
+{
+ return m_pTransformCom->Get_State(STATE::POSITION);
+}
+
+HRESULT CDialogue_Canvas::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+HRESULT CDialogue_Canvas::Ready_Components(void* pArg)
+{
+ if (FAILED(Add_Component(g_iStaticLevel, &m_pVIBufferCom))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+HRESULT CDialogue_Canvas::Ready_Panel(void* pArg)
+{
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pDialogue_Panel))))
+ {
+ return E_FAIL;
+ }
+ Add_Panel(TEXT("Dialogue_Panel"), m_pDialogue_Panel);
+
+ return S_OK;
+}
+
+void CDialogue_Canvas::Clear_Penel()
+{
+}
+
+CDialogue_Canvas* CDialogue_Canvas::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CDialogue_Canvas* pInstance = new CDialogue_Canvas(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CDialogue_Canvas");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+CGameObject* CDialogue_Canvas::Clone(void* pArg, CGameObject* pOwner)
+{
+ CDialogue_Canvas* pInstance = new CDialogue_Canvas(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CDialogue_Canvas");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CDialogue_Canvas::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pVIBufferCom);
+}
+
+void CDialogue_Canvas::Describe_Entity()
+{
+}
diff --git a/Jusin154_Team3D/Editor/Private/Dialogue_Choice.cpp b/Jusin154_Team3D/Editor/Private/Dialogue_Choice.cpp
new file mode 100644
index 000000000..23c36a73f
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Dialogue_Choice.cpp
@@ -0,0 +1,317 @@
+#include "pch.h"
+#include "Dialogue_Choice.h"
+#include "GameInstance.h"
+
+CDialogue_Choice::CDialogue_Choice(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ :CElementObject(pDevice, pContext)
+{
+}
+
+CDialogue_Choice::CDialogue_Choice(const CDialogue_Choice& rhs)
+ :CElementObject(rhs)
+{
+}
+
+HRESULT CDialogue_Choice::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CDialogue_Choice::Initialize(void* pArg)
+{
+ CUIObject::UIOBJECT_DESC Desc{};
+
+ Desc.fX = -100.f;
+ Desc.fY = -200.f;
+ Desc.fSizeX = 100.f;
+ Desc.fSizeY = 65.f;
+
+ m_pRect = { long(Desc.fX - Desc.fSizeX * 0.5f), long(Desc.fY - Desc.fSizeY * 0.5f), long(Desc.fX + Desc.fSizeX * 0.5f), long(Desc.fY + Desc.fSizeY * 0.5f) };
+
+ if (FAILED(__super::Initialize(&Desc)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Ready_Components(pArg)))
+ {
+ return E_FAIL;
+ }
+
+ m_fTimeMult = 3.f;
+ m_fAlpha = 1.f;
+ m_fAlphaTime = 3.f;
+ m_vNine_Slice = _float4(20.f, 100.f, 0.f, 65.f);
+ m_vImagePosi1 = _float4(0.f, 0.f, 90.f, 20.f);
+ m_vImagePosi2 = _float4(0.f, 45.f, 90.f, 20.f);
+ m_vImagePosi3 = _float4(15.f, 12.5f, 40.f, 40.f);
+ m_fFontX = 370.f;
+ m_fFontY = 607.5f;
+ m_iHover = 0;
+ SizeUpX(400.f);
+ return S_OK;
+}
+
+void CDialogue_Choice::Mouse_Hover()
+{
+ POINT ptMouse{};
+ GetCursorPos(&ptMouse);
+ ScreenToClient(g_hWnd, &ptMouse); // 윈도우 왼쪽 상단 (0,0) 기준
+
+ // 윈도우 실제 내부 크기를 '직접' 가져옵니다. (g_iWinSize 대신)
+ RECT rc;
+ GetClientRect(g_hWnd, &rc);
+ _float fWidth = (_float)(rc.right - rc.left);
+ _float fHeight = (_float)(rc.bottom - rc.top);
+
+ _float2 fMouse;
+ // 캔버스 배치 로직(Update)과 마우스 변환 로직을 완벽하게 일치시킵니다.
+ fMouse.x = (_float)ptMouse.x - (fWidth * 0.5f);
+ fMouse.y = -((_float)ptMouse.y - (fHeight * 0.494f)); // Y축 뒤집기
+
+ POINT pt = { (long)fMouse.x, (long)fMouse.y };
+
+ Hover(PtInRect(&m_pRect, pt));
+}
+
+void CDialogue_Choice::Hover(_bool iHover)
+{
+ m_iHover = iHover;
+ if (m_iHover != 0)
+ {
+ m_fFontX = 390.f;
+ m_vImagePosi3 = _float4(35.f, 12.5f, 40.f, 40.f);
+ }
+ else
+ {
+ m_fFontX = 370.f;
+ m_vImagePosi3 = _float4(15.f, 12.5f, 40.f, 40.f);
+ }
+}
+
+void CDialogue_Choice::Priority_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ __super::Priority_Update(fTimeDelta);
+}
+
+void CDialogue_Choice::Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+
+ if (m_bFadeIn == true)
+ {
+ if (m_fAlpha <= 7.f)
+ m_fAlpha += fTimeDelta * m_fAlphaTime;
+
+ if (m_fAlpha >= 7.f)
+ {
+ m_bFadeIn = false;
+ m_fAlpha = 7.f;
+ }
+ }
+
+ if (m_bFadeOut == true)
+ {
+ if (m_fAlpha >= 0.f)
+ m_fAlpha -= fTimeDelta;
+
+ if (m_fAlpha <= 0.f)
+ {
+ m_bFadeOut = false;
+ m_fAlpha = 0.f;
+ }
+ }
+
+ Mouse_Hover();
+
+ m_fTime += fTimeDelta * m_fTimeMult;
+ __super::Update(fTimeDelta);
+}
+
+void CDialogue_Choice::Late_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ if (m_bVisible) {
+ m_pGameInstance->Add_RenderGroup(RENDER::UI, this);
+ __super::Late_Update(fTimeDelta);
+ }
+}
+
+HRESULT CDialogue_Choice::Render()
+{
+ if (FAILED(Bind_ShaderResources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Begin(ENUM_CLASS(SHADER_PASS_UIEDITOR::DIALOGUECHOICE)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Bind_Resources())) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pVIBufferCom->Render())) {
+ return E_FAIL;
+ }
+
+ m_pGameInstance->Render_Text(TEXT("Font_size20"), TEXT("아아"), _float2(m_fFontX + m_fX, m_fFontY - m_fY), XMVectorSet((208.f / 255.f) * m_fAlpha, (177.f / 255.f) * m_fAlpha, (52.f / 255.f) * m_fAlpha, m_fAlpha));
+
+ return S_OK;
+}
+
+_vector CDialogue_Choice::Get_WorldPostion()
+{
+ return m_pTransformCom->Get_State(STATE::POSITION);
+}
+
+HRESULT CDialogue_Choice::Bind_ShaderResources()
+{
+ if (FAILED(m_pTransformCom->Bind_ShaderResource(m_pShaderCom, "g_WorldMatrix")))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", &m_ViewMatrix)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", &m_ProjMatrix)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pDiffuse_TextureCom->Bind_ShaderResource(m_pShaderCom, "g_Texture", 0)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pDiffuse_TextureCom1->Bind_ShaderResource(m_pShaderCom, "g_Texture1", 0)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pDiffuse_TextureCom2->Bind_ShaderResource(m_pShaderCom, "g_Texture2", 0)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fFar", m_pGameInstance->Get_CurrentCameraFar(), sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fTime", &m_fTime, sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fAlpha", &m_fAlpha, sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fOwnerAlpha", &m_fOwnerAlpha, sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fCanvasAlpha", &m_fCanvasAlpha, sizeof(_float))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fOrigin_Size", &m_fOrigin_Size, sizeof(_float2))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fCurrent_Size", &m_vScale, sizeof(_float2))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fNine_Slice", &m_vNine_Slice, sizeof(_float4))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fImageSipos1", &m_vImagePosi1, sizeof(_float4))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fImageSipos2", &m_vImagePosi2, sizeof(_float4))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_fImageSipos3", &m_vImagePosi3, sizeof(_float4))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_iHover", &m_iHover, sizeof(_int))))
+ {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CDialogue_Choice::Ready_Components(void* pArg)
+{
+ if (FAILED(Add_Component(g_iStaticLevel, &m_pVIBufferCom)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_Dialogue_Chice"), reinterpret_cast(&m_pDiffuse_TextureCom), nullptr)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_UI_T_InteractSelectionBracket"), reinterpret_cast(&m_pDiffuse_TextureCom1), nullptr)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(ENUM_CLASS(LEVEL::UI), TEXT("Prototype_Texture_UI_T_Icon_InteractType_Straight"), reinterpret_cast(&m_pDiffuse_TextureCom2), nullptr)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, FX_UIEDITOR, (CComponent**)&m_pShaderCom, nullptr)))
+ {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+CDialogue_Choice* CDialogue_Choice::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CDialogue_Choice* pInstance = new CDialogue_Choice(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CDialogue_Choice");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+CGameObject* CDialogue_Choice::Clone(void* pArg, CGameObject* pOwner)
+{
+ CDialogue_Choice* pInstance = new CDialogue_Choice(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CDialogue_Choice");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CDialogue_Choice::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pDiffuse_TextureCom);
+ SAFE_RELEASE(m_pDiffuse_TextureCom1);
+ SAFE_RELEASE(m_pDiffuse_TextureCom2);
+ SAFE_RELEASE(m_pShaderCom);
+ SAFE_RELEASE(m_pVIBufferCom);
+}
+
+void CDialogue_Choice::Describe_Entity()
+{
+}
diff --git a/Jusin154_Team3D/Editor/Private/Dialogue_Panel.cpp b/Jusin154_Team3D/Editor/Private/Dialogue_Panel.cpp
new file mode 100644
index 000000000..2fc59c31b
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Dialogue_Panel.cpp
@@ -0,0 +1,149 @@
+#include "pch.h"
+#include "Dialogue_Panel.h"
+#include "GameInstance.h"
+#include "Dialogue_Choice.h"
+
+CDialogue_Panel::CDialogue_Panel(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ :CPanelObject(pDevice, pContext)
+{
+}
+
+CDialogue_Panel::CDialogue_Panel(const CDialogue_Panel& rhs)
+ :CPanelObject(rhs)
+{
+}
+
+HRESULT CDialogue_Panel::Initialize_Prototype()
+{
+ return S_OK;
+}
+
+HRESULT CDialogue_Panel::Initialize(void* pArg)
+{
+ CUIObject::UIOBJECT_DESC Desc{};
+
+ Desc.fX = 500.f;
+ Desc.fY = -625.f;
+ Desc.fSizeX = 750.f;
+ Desc.fSizeY = 410.f;
+
+ if (FAILED(__super::Initialize(&Desc)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Ready_Components(pArg)))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(Ready_Element(pArg)))
+ {
+ return E_FAIL;
+ }
+
+ m_fCanvasAlpha = 1.f;
+ Visible(true);
+ ElementAllVisible(true);
+ return S_OK;
+}
+
+void CDialogue_Panel::Priority_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+ __super::Priority_Update(fTimeDelta);
+}
+
+void CDialogue_Panel::Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+
+ __super::Update(fTimeDelta);
+}
+
+void CDialogue_Panel::Late_Update(_float fTimeDelta)
+{
+ if (!__super::Chack_Visible())
+ {
+ return;
+ }
+
+ if (m_bVisible) {
+ __super::Late_Update(fTimeDelta);
+ }
+}
+
+HRESULT CDialogue_Panel::Render()
+{
+ return S_OK;
+}
+
+_vector CDialogue_Panel::Get_WorldPostion()
+{
+ return m_pTransformCom->Get_State(STATE::POSITION);
+}
+
+HRESULT CDialogue_Panel::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+HRESULT CDialogue_Panel::Ready_Components(void* pArg)
+{
+ if (FAILED(Add_Component(g_iStaticLevel, &m_pVIBufferCom)))
+ {
+ return E_FAIL;
+ }
+ return S_OK;
+}
+
+HRESULT CDialogue_Panel::Ready_Element(void* pArg)
+{
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, nullptr, this, reinterpret_cast(&m_pDialogue_Choice))))
+ {
+ return E_FAIL;
+ }
+ Add_Element(TEXT("Dialogue_Choice"), m_pDialogue_Choice);
+ return S_OK;
+}
+
+CDialogue_Panel* CDialogue_Panel::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CDialogue_Panel* pInstance = new CDialogue_Panel(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CDialogue_Panel");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+CGameObject* CDialogue_Panel::Clone(void* pArg, CGameObject* pOwner)
+{
+ CDialogue_Panel* pInstance = new CDialogue_Panel(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CDialogue_Panel");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CDialogue_Panel::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pVIBufferCom);
+}
+
+void CDialogue_Panel::Describe_Entity()
+{
+}
diff --git a/Jusin154_Team3D/Editor/Private/EditEffect.cpp b/Jusin154_Team3D/Editor/Private/EditEffect.cpp
index 7c2bd3efa..73d961baa 100644
--- a/Jusin154_Team3D/Editor/Private/EditEffect.cpp
+++ b/Jusin154_Team3D/Editor/Private/EditEffect.cpp
@@ -532,8 +532,6 @@ void CEditEffect::Describe_Entity()
GUI::PopItemWidth();
-
-
if (m_EffectInfo.isBlur)
{
if (GUI::TreeNode("BLUR"))
diff --git a/Jusin154_Team3D/Editor/Private/EffectPool.cpp b/Jusin154_Team3D/Editor/Private/EffectPool.cpp
index e676c4afe..05b3c0598 100644
--- a/Jusin154_Team3D/Editor/Private/EffectPool.cpp
+++ b/Jusin154_Team3D/Editor/Private/EffectPool.cpp
@@ -34,6 +34,7 @@
#include "Ranrok_Swipe.h"
#include "Ranrok_DeadSplash.h"
#include "Ranrok_DeadImpact.h"
+#include "Ranrok_Prop.h"
CEffectPool::CEffectPool(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
: CGameObject(pDevice, pContext)
@@ -113,8 +114,22 @@ void CEffectPool::Priority_Update(_float fTimeDelta)
#ifdef _DEBUG
#if 진우
-
- //(*m_EffectList[ENUM_CLASS(SKILL_TYPE::BLINK)].begin())->Describe_Entity();
+// GUI::Begin("RANROK PROP");
+//
+// _uint iIndex = 0;
+// for (auto pEffect : m_EffectList[ENUM_CLASS(SKILL_TYPE::RANROK_PROP)])
+// {
+// _string strName = "Ranrok_Prop" + to_string(iIndex++);
+//
+// if(GUI::TreeNode(strName.c_str()))
+// {
+// pEffect->Describe_Entity();
+// GUI::TreePop();
+// }
+//
+// }
+//
+//GUI::End();
Describe_Entity();
@@ -445,6 +460,16 @@ HRESULT CEffectPool::Ready_MonsterEffect()
return pEffect; }
))) return E_FAIL;
+ //if (FAILED(Create_Effect(SKILL_TYPE::RANROK_PROP, 5, NEXT_LEVEL, NEXT_LEVEL, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
+
+ // CRanrok_Prop* pEffect = nullptr;
+
+ // pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr);
+
+ // return pEffect; }
+ //))) return E_FAIL;
+ //
+
return S_OK;
}
diff --git a/Jusin154_Team3D/Editor/Private/Effect_Container.cpp b/Jusin154_Team3D/Editor/Private/Effect_Container.cpp
index 09a8cd3f8..f215fe4d8 100644
--- a/Jusin154_Team3D/Editor/Private/Effect_Container.cpp
+++ b/Jusin154_Team3D/Editor/Private/Effect_Container.cpp
@@ -520,6 +520,11 @@ ON_COLLISION_INFO CEffect_Container::SweepTarget(_vector StartPos, _vector EndPo
pUserData->pOwner->OnCollision(this, &tagCollInfo);
m_bHit = true;
}
+ case PXOBJECT::RANROK_PROP:
+ {
+ pUserData->pOwner->OnCollision(this, &tagCollInfo);
+ m_bHit = true;
+ }
break;
}
}
diff --git a/Jusin154_Team3D/Editor/Private/Effect_Editor.cpp b/Jusin154_Team3D/Editor/Private/Effect_Editor.cpp
index 38e34822b..cde31d461 100644
--- a/Jusin154_Team3D/Editor/Private/Effect_Editor.cpp
+++ b/Jusin154_Team3D/Editor/Private/Effect_Editor.cpp
@@ -627,6 +627,15 @@ void CEffect_Editor::Describe_Entity()
Reset_EditEffect();
}
+ if (GUI::Button("All Visible Toggle"))
+ {
+ for (auto& pPart : m_PartObjects)
+ {
+ pPart.second->Set_Visible(!pPart.second->Get_Visible());
+ }
+ }
+
+
ImGui::EndPopup();
}
diff --git a/Jusin154_Team3D/Editor/Private/GamePlay_Canvas.cpp b/Jusin154_Team3D/Editor/Private/GamePlay_Canvas.cpp
index aed21bd50..c453da583 100644
--- a/Jusin154_Team3D/Editor/Private/GamePlay_Canvas.cpp
+++ b/Jusin154_Team3D/Editor/Private/GamePlay_Canvas.cpp
@@ -48,7 +48,7 @@ HRESULT CGamePlay_Canvas::Initialize(void* pArg)
{
return E_FAIL;
}
- Visible(true);
+ Visible(false);
return S_OK;
}
@@ -155,6 +155,8 @@ HRESULT CGamePlay_Canvas::Ready_Panel(void* pArg)
}
Add_Panel(TEXT("Ride_Panel"), m_pRide_Panel);
+
+
return S_OK;
}
diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp
index d604865b4..a4afff483 100644
--- a/Jusin154_Team3D/Editor/Private/Loader.cpp
+++ b/Jusin154_Team3D/Editor/Private/Loader.cpp
@@ -145,6 +145,10 @@
#include "Ride_HpBar.h"
#include "Ride_HpSlot.h"
+#include "Dialogue_Canvas.h"
+#include "Dialogue_Panel.h"
+#include "Dialogue_Choice.h"
+
#include "NPCInteraction.h"
#include "Dialogue.h"
@@ -228,6 +232,7 @@
#include "Ranrok_Swipe.h"
#include "Ranrok_DeadSplash.h"
#include "Ranrok_DeadImpact.h"
+#include "Ranrok_Prop.h"
#pragma endregion
@@ -1263,8 +1268,21 @@ HRESULT CLoader::Loading_For_UI()
{
return E_FAIL;
}
+
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CDialogue_Canvas::Create(m_pDevice, m_pContext))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CDialogue_Panel::Create(m_pDevice, m_pContext))))
+ {
+ return E_FAIL;
+ }
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CDialogue_Choice::Create(m_pDevice, m_pContext))))
+ {
+ return E_FAIL;
+ }
- if(FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CNPCInteraction::Create(m_pDevice, m_pContext))))
+ if(FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CNPCInteraction::Create(m_pDevice, m_pContext))))
{
return E_FAIL;
@@ -1300,6 +1318,28 @@ HRESULT CLoader::Loading_For_Effect()
m_strMessage = TEXT("PhysX Meshes Loading..");
{
+ CRigidBody_Dynamic::RIGIDBODY_PROTOTYPE_DYNAMIC_DESC Desc1{};
+ {
+ Desc1.eType = ACTOR::SPHERE;
+ Desc1.ePxRigidBodyFlags = { PSX::PxRigidBodyFlag::eKINEMATIC };
+ Desc1.ePxShapeFlags = { PSX::PxShapeFlag::eVISUALIZATION | PSX::PxShapeFlag::eSCENE_QUERY_SHAPE };
+ Desc1.ePxMaterialTypes = { PXMATERIAL::DEFAULT };
+ Desc1.vMatInfo = { 0.5f, 0.5f, 0.6f };
+ Desc1.fContactOffset = { 0.05f };
+ Desc1.vhalfGeometryInfo = { 2.f, 2.f, 2.f };
+ Desc1.fDensity = 1.f;
+ Desc1.pxMassCenter = PSX::PxTransform(PSX::PxIDENTITY());
+ Desc1.eLockFlag = {};
+ Desc1.vAutoDamping = { 1.f, 1.f };
+ Desc1.vLocalRotQ = { 0.f, 0.f, 0.f, 1.f };
+ Desc1.vLocalTranslation = { 0.f, 0.f, 0.f };
+ }
+
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_SHIELD"), CRigidBody_Dynamic::Create(m_pDevice, m_pContext, Desc1)))) {
+ return E_FAIL;
+ }
+
+
// Dumping Box
CRigidBody_Dynamic::RIGIDBODY_PROTOTYPE_DYNAMIC_DESC Desc{};
{
@@ -1998,6 +2038,11 @@ HRESULT CLoader::Loading_For_Effect()
if (FAILED(m_pGameInstance->Add_Prototype(NEXT_LEVEL, CRanrok_DeadImpact::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
}
+
+ if (FAILED(m_pGameInstance->Add_Prototype(NEXT_LEVEL, CRanrok_Prop::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
+
/* For.Prototype_GameObject_Wand */
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CWand::Create(m_pDevice, m_pContext))))
@@ -2175,6 +2220,9 @@ HRESULT CLoader::Loading_For_PhysXLevel()
}
}
+
+
+
m_strMessage = TEXT("Texture Loading..");
if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, TEXT("TerrainTest"),
diff --git a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp
index 70f203301..a42e7c10b 100644
--- a/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp
+++ b/Jusin154_Team3D/Editor/Private/Loader_ObjectViewer.cpp
@@ -190,7 +190,7 @@ HRESULT CLoader::Loading_For_ObjectViewer()
));
//futures.emplace_back(Deferred_ModelLoad(
- // MODEL::ANIM, "../Bin/Resources/Models/Human/PlayableCharacter/Playable_OpeningIntro.fbx", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
+ // MODEL::ANIM, "../Bin/Resources/Models/Human/Npc/M_Student/M_Student_Rct2.fbx", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity(),
// TEXT("Prototype_Component_ThestralCarriage_Model")
//));
@@ -223,8 +223,6 @@ HRESULT CLoader::Loading_For_ObjectViewer()
// TEXT("Prototype_Component_GerboldOlivander_Model")
//));
-
-
//futures.emplace_back(Deferred_ModelLoad(
// MODEL::ANIM, "../Bin/Resources/Models/Object/Camera/Camera.bin", XMMatrixIdentity(),
// TEXT("Prototype_Component_Camera_Model")
diff --git a/Jusin154_Team3D/Editor/Private/Potion.cpp b/Jusin154_Team3D/Editor/Private/Potion.cpp
index b573fd073..ddd100b2a 100644
--- a/Jusin154_Team3D/Editor/Private/Potion.cpp
+++ b/Jusin154_Team3D/Editor/Private/Potion.cpp
@@ -135,7 +135,7 @@ HRESULT CPotion::Render()
return E_FAIL;
}
- m_pGameInstance->Render_Text(TEXT("UI_size15"), m_strPotion.c_str(), _float2((m_fFontX + m_fX) - m_fFontOffSet, m_fFontY + m_fY), XMVectorSet((208.f / 255.f) * m_fAlpha, (177.f / 255.f) * m_fAlpha, (52.f / 255.f)* m_fAlpha, m_fAlpha));
+ m_pGameInstance->Render_Text(TEXT("UI_size15"), m_strPotion.c_str(), _float2((m_fFontX + m_fX) - m_fFontOffSet, m_fFontY - m_fY), XMVectorSet((208.f / 255.f) * m_fAlpha, (177.f / 255.f) * m_fAlpha, (52.f / 255.f)* m_fAlpha, m_fAlpha));
return S_OK;
}
diff --git a/Jusin154_Team3D/Editor/Private/Ranrok.cpp b/Jusin154_Team3D/Editor/Private/Ranrok.cpp
index 2c103f372..0ce2bdcfd 100644
--- a/Jusin154_Team3D/Editor/Private/Ranrok.cpp
+++ b/Jusin154_Team3D/Editor/Private/Ranrok.cpp
@@ -170,6 +170,17 @@ void CRanrok::Update(_float fTimeDelta)
m_pLeftEye_Trail->Trail_Update(LeftEyeMatrix * WorldMat, fTimeDelta);
m_pRightEye_Trail->Trail_Update(RightEyeMatrix * WorldMat, fTimeDelta);
+#pragma endregion
+
+#pragma region CREATE PROP
+ m_vCreatePropTime.x += fTimeDelta;
+
+ if (m_vCreatePropTime.x >= m_vCreatePropTime.y)
+ {
+ m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_PROP, this);
+ m_vCreatePropTime.x = 0.f;
+ }
+
#pragma endregion
}
@@ -845,6 +856,12 @@ void CRanrok::Describe_Entity()
Ready_Parts();
}
+ if (GUI::Button("Create Prop"))
+ {
+ m_vCreatePropTime.x = m_vCreatePropTime.y;
+ }
+
+
if (GUI::Button("MovePos"))
{
m_pCharacter_Controller->Set_Position(XMVectorSet(m_pGameInstance->Get_CamPosition()->x, m_pGameInstance->Get_CamPosition()->y, m_pGameInstance->Get_CamPosition()->z, 1.f));
diff --git a/Jusin154_Team3D/Editor/Private/Ranrok_Prop.cpp b/Jusin154_Team3D/Editor/Private/Ranrok_Prop.cpp
new file mode 100644
index 000000000..784ab8102
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Ranrok_Prop.cpp
@@ -0,0 +1,312 @@
+#include "pch.h"
+#include "Ranrok_Prop.h"
+
+#include "GameInstance.h"
+#include "EditEffect.h"
+#include "InfoInstance.h"
+#include "Player.h"
+
+CRanrok_Prop::CRanrok_Prop(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CEffect_Container{ pDevice, pContext }
+{
+}
+
+CRanrok_Prop::CRanrok_Prop(const CRanrok_Prop& rhs)
+ : CEffect_Container(rhs),
+ m_pInfoInstance(CInfoInstance::GetInstance())
+{
+ SAFE_ADDREF(m_pInfoInstance);
+}
+
+HRESULT CRanrok_Prop::Initialize_Prototype()
+{
+
+ return S_OK;
+
+}
+
+HRESULT CRanrok_Prop::Initialize(void* pArg)
+{
+ if (FAILED(__super::Initialize(pArg)))
+ return E_FAIL;
+
+ if (FAILED(Ready_Components(pArg)))
+ return E_FAIL;
+
+ if (FAILED(Load_Package("../Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokProp")))
+ return E_FAIL;
+
+ m_pSphere = Get_PartObject("Sphere");
+ m_pSphereLay = Get_PartObject("Sphere_Noise");
+ m_pSphereHitLay = Get_PartObject("HitLay");
+
+ m_pRing = Get_PartObject("Ring");
+
+ SAFE_ADDREF(m_pSphere);
+ SAFE_ADDREF(m_pSphereLay);
+ SAFE_ADDREF(m_pRing);
+ SAFE_ADDREF(m_pSphereHitLay);
+
+ m_wstrEffectName = L"RanrokProp";
+
+
+ m_fAmountSize = 0.1f;
+ m_fSpeed = 5.f;
+
+ m_fDuration = 10000.f;
+
+ return S_OK;
+}
+
+void CRanrok_Prop::Priority_Update(_float fTimeDelta)
+{
+ __super::Priority_Update(fTimeDelta);
+
+}
+
+void CRanrok_Prop::Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+
+ __super::Update(fTimeDelta);
+
+ Update_Event(fTimeDelta);
+
+
+
+ /* 시작 사이즈 러프 */
+ if (m_fSizeAccTime > XM_PIDIV2 && m_isSizeLerpEnd == false)
+ {
+ m_isSizeLerpEnd = true;
+
+ CEditEffect* pGlowBall = Get_PartObject("GlowBall");
+ CEditEffect* pCore = Get_PartObject("Core");
+
+ pGlowBall->Set_Visible(true);
+ pCore->Set_Visible(true);
+
+
+ return;
+ }
+
+
+ m_fSizeAccTime += fTimeDelta * m_fSpeed;
+
+ _float fSize = 1 + sinf(m_fSizeAccTime) * m_fAmountSize;
+ _float3 vSize = _float3(fSize, fSize, fSize);
+
+ m_pSphere->Get_Component()->Set_Scale(vSize);
+ m_pSphereLay->Get_Component()->Set_Scale(vSize);
+ m_pRing->Get_Component()->Set_Scale(vSize);
+ m_pSphereHitLay->Get_Component()->Set_Scale(vSize);
+
+}
+
+void CRanrok_Prop::Late_Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Late_Update(fTimeDelta);
+
+#if _DEBUG
+ m_pRigidBody->Render();
+#endif
+}
+
+HRESULT CRanrok_Prop::Pre_Setting(CGameObject* pObject, void* pArg)
+{
+ if (FAILED(__super::Pre_Setting(pObject, nullptr)))
+ return E_FAIL;
+
+
+ _vector vPos = pObject->Get_WorldPostion();
+
+ _vector vRandomPos = XMVectorSet(m_pGameInstance->Real_Random_Float(-10.f, 10.f), m_pGameInstance->Real_Random_Float(5.f, 10.f), m_pGameInstance->Real_Random_Float(-10.f, 10.f), 0.f);
+
+ vPos += vRandomPos;
+
+ for (auto& pPart : m_PartObjects)
+ {
+ pPart.second->Get_Component()->Set_State(STATE::POSITION, vPos);
+ }
+
+ CEditEffect* pAppear_PT = Get_PartObject("Appear_PT");
+ CEditEffect* pSpline = Get_PartObject("Spline");
+
+
+ m_pSphere->Set_Visible(true);
+ m_pSphereLay->Set_Visible(true);
+ m_pRing->Set_Visible(true);
+ pAppear_PT->Set_Visible(true);
+ pSpline->Set_Visible(true);
+
+
+
+ _float3 vSize = _float3(1.f, 1.f, 1.f);
+ m_pSphere->Get_Component()->Set_Scale(vSize);
+ m_pSphereLay->Get_Component()->Set_Scale(vSize);
+ m_pRing->Get_Component()->Set_Scale(vSize);
+ m_pSphereHitLay->Get_Component()->Set_Scale(vSize);
+
+ m_fSizeAccTime = 0.f;
+
+ m_isSizeLerpEnd = false;
+
+ m_fHp = 3.f;
+ m_fDuration = 10000.f;
+
+ return S_OK;
+}
+
+HRESULT CRanrok_Prop::Ready_Components(void* pArg)
+{
+ if (FAILED(__super::Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+
+ { // DO
+ CRigidBody_Dynamic::RIGIDBODY_DYNAMIC_DESC Desc{};
+ Desc.iSubKind = ENUM_CLASS(PXOBJECT::RANROK_PROP);
+
+ if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHYSX_DYNAMIC_SHIELD"), (CComponent**)&m_pRigidBody, &Desc))) {
+ return E_FAIL;
+ }
+
+ m_pGameInstance->Attach_Actor(*m_pRigidBody->Get_Actor(), NEXT_LEVEL);
+ }
+
+ return S_OK;
+}
+
+HRESULT CRanrok_Prop::Ready_Child()
+{
+ return S_OK;
+}
+
+CRanrok_Prop* CRanrok_Prop::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CRanrok_Prop* pInstance = new CRanrok_Prop(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CRanrok_Prop");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+
+CGameObject* CRanrok_Prop::Clone(void* pArg, CGameObject* pOwner)
+{
+ CRanrok_Prop* pInstance = new CRanrok_Prop(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CRanrok_Prop");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CRanrok_Prop::OnCollision(CGameObject* pOther, void* pDesc)
+{
+ //CTransform* pOtherTransform = p
+ ON_COLLISION_INFO* CollisionDesc = nullptr;
+
+ if(pDesc != nullptr)
+ CollisionDesc = static_cast(pDesc);
+
+
+ m_fHp--;
+
+
+ if (m_fHp > 0)
+ {
+ CEditEffect* pHitLay = Get_PartObject("HitLay");
+ CEditEffect* pHit_PT = Get_PartObject("Hit_PT");
+ CEditEffect* pPulse_Purple = Get_PartObject("Pulse_Purple");
+
+
+ pHitLay->Set_Visible(true);
+ pHit_PT->Set_Visible(true);
+ pPulse_Purple->Set_Visible(true);
+
+ pHitLay->Get_Component()->Instane_Buffer_ReStruct();
+ pHit_PT->Get_Component()->Instane_Buffer_ReStruct();
+ pPulse_Purple->Get_Component()->Instane_Buffer_ReStruct();
+
+ if (CollisionDesc != nullptr)
+ {
+ _vector vHitPos = XMLoadFloat4(&CollisionDesc->vWorldPos);
+ pHit_PT->Get_Component()->Set_State(STATE::POSITION, vHitPos);
+ }
+
+ }
+ else
+ {
+
+ for (auto& pPart : m_PartObjects)
+ {
+ pPart.second->Set_Visible(false);
+ }
+
+ CEditEffect* pHitSplash0 = Get_PartObject("HitSplash0");
+ CEditEffect* pHitSplash1 = Get_PartObject("HitSplash1");
+ CEditEffect* pBroken_Goo = Get_PartObject("Broken_Goo");
+ CEditEffect* pBroken_PT = Get_PartObject("Broken_PT");
+ CEditEffect* pBroken_PT2 = Get_PartObject("Broken_PT2");
+
+
+ pHitSplash0->Set_Visible(true);
+ pHitSplash1->Set_Visible(true);
+ pBroken_Goo->Set_Visible(true);
+ pBroken_PT->Set_Visible(true);
+ pBroken_PT2->Set_Visible(true);
+
+ m_fDuration = 5.f;
+ m_fAccTime = 0.f;
+
+ }
+
+
+
+}
+
+void CRanrok_Prop::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pSphere);
+ SAFE_RELEASE(m_pSphereLay);
+ SAFE_RELEASE(m_pInfoInstance);
+ SAFE_RELEASE(m_pRing);
+ SAFE_RELEASE(m_pSphereHitLay);
+
+ SAFE_RELEASE(m_pRigidBody);
+}
+#ifdef _DEBUG
+
+void CRanrok_Prop::Describe_Entity()
+{
+
+
+ if(GUI::Button("Hit"))
+ {
+ OnCollision();
+ }
+
+}
+
+#endif // _DEBUG
+
+HRESULT CRanrok_Prop::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+
diff --git a/Jusin154_Team3D/Editor/Private/Ranrok_Pulse.cpp b/Jusin154_Team3D/Editor/Private/Ranrok_Pulse.cpp
index 204af1392..5b25b22be 100644
--- a/Jusin154_Team3D/Editor/Private/Ranrok_Pulse.cpp
+++ b/Jusin154_Team3D/Editor/Private/Ranrok_Pulse.cpp
@@ -89,7 +89,6 @@ HRESULT CRanrok_Pulse::Pre_Setting(CGameObject* pObject, void* pArg)
/* 초기 객체 비지블*/
CEditEffect* pBottomDecal = Get_PartObject("Bottom_Decal");
- CEditEffect* pBottomSplatter = Get_PartObject("BottomSplatter");
CEditEffect* pBottomSplatter2 = Get_PartObject("BottomSplatter2");
CEditEffect* pRed_Sphere = Get_PartObject("Red_Sphere");
CEditEffect* pRock_PT = Get_PartObject("Rock_PT");
@@ -123,7 +122,6 @@ HRESULT CRanrok_Pulse::Pre_Setting(CGameObject* pObject, void* pArg)
_vector vCompute_Pos = XMVectorSetY(vOwnerPos, XMVectorGetY(vPlayer_FootPos));
pBottomDecal->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos);
- pBottomSplatter->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos);
pBottomSplatter2->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos);
pRock_PT->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos);
pSmoke->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos);
diff --git a/Jusin154_Team3D/Editor/Private/UI_Manager.cpp b/Jusin154_Team3D/Editor/Private/UI_Manager.cpp
index 8510b5409..4b166ef47 100644
--- a/Jusin154_Team3D/Editor/Private/UI_Manager.cpp
+++ b/Jusin154_Team3D/Editor/Private/UI_Manager.cpp
@@ -8,6 +8,7 @@
#include "Mouse_Cursor.h"
#include "CameraLockOn.h"
#include "Loding_Canvas.h"
+#include "Dialogue_Canvas.h"
#include "tinyxml2.h"
CUI_Manager::CUI_Manager(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
@@ -321,6 +322,11 @@ HRESULT CUI_Manager::Ready_Components(void* pArg)
}
Add_Canvas(TEXT("SpellLearn_Canvas"), m_pSpellLearn_Canvas);
+ if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, g_iStaticLevel, LAYER_UI, nullptr, this, reinterpret_cast(&m_pDialogue_Canvas)))) {
+ return E_FAIL;
+ }
+ Add_Canvas(TEXT("Dialogue_Canvas"), m_pDialogue_Canvas);
+
if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, g_iStaticLevel, LAYER_UI, nullptr, this, reinterpret_cast(&m_pMouse_Cursor)))) {
return E_FAIL;
}
diff --git a/Jusin154_Team3D/Editor/Public/Bombard.h b/Jusin154_Team3D/Editor/Public/Bombard.h
index cbc7c5f33..40455a0a8 100644
--- a/Jusin154_Team3D/Editor/Public/Bombard.h
+++ b/Jusin154_Team3D/Editor/Public/Bombard.h
@@ -32,7 +32,8 @@ class CBombard final : public CEffect_Container
virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override;
private:
_wstring m_wstrEffectName = {};
- class CPartObject* m_pLight_Projectile = {};
+ class CPartObject* m_pLight_Projectile = { nullptr };
+ class CEditEffect* m_pWand_Light_B = { nullptr };
_vector m_vCameraLook = {};
public:
static CBombard* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
diff --git a/Jusin154_Team3D/Editor/Public/Dialogue_Canvas.h b/Jusin154_Team3D/Editor/Public/Dialogue_Canvas.h
new file mode 100644
index 000000000..6b47e828d
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Dialogue_Canvas.h
@@ -0,0 +1,47 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "CanvasObject.h"
+
+NS_BEGIN(Engine)
+class CGameObject;
+NS_END
+
+NS_BEGIN(Editor)
+
+class CDialogue_Canvas final : public CCanvasObject
+{
+private:
+ CDialogue_Canvas(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CDialogue_Canvas(const CDialogue_Canvas& rhs);
+ virtual ~CDialogue_Canvas() = default;
+
+public:
+ virtual void Priority_Update(_float fTimeDelta);
+ virtual void Update(_float fTimeDelta);
+ virtual void Late_Update(_float fTimeDelta);
+ virtual HRESULT Render() override;
+ virtual _vector Get_WorldPostion() override;
+
+private:
+ virtual HRESULT Bind_ShaderResources() override;
+ virtual HRESULT Ready_Components(void* pArg) override;
+ virtual HRESULT Ready_Panel(void* pArg) override;
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+
+public:
+ void Clear_Penel();
+
+private:
+ CVIBuffer_Rect* m_pVIBufferCom = { nullptr };
+ CGameObject* m_pDialogue_Panel = { nullptr };
+
+public:
+ static CDialogue_Canvas* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override;
+ virtual void Free() override;
+ void Describe_Entity() override;
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Editor/Public/Dialogue_Choice.h b/Jusin154_Team3D/Editor/Public/Dialogue_Choice.h
new file mode 100644
index 000000000..0e9276e17
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Dialogue_Choice.h
@@ -0,0 +1,55 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "ElementObject.h"
+
+NS_BEGIN(Editor)
+
+class CDialogue_Choice final : public CElementObject
+{
+private:
+ CDialogue_Choice(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CDialogue_Choice(const CDialogue_Choice& rhs);
+ virtual ~CDialogue_Choice() = default;
+
+public:
+ virtual void Priority_Update(_float fTimeDelta);
+ virtual void Update(_float fTimeDelta);
+ virtual void Late_Update(_float fTimeDelta);
+ virtual HRESULT Render() override;
+ virtual _vector Get_WorldPostion() override;
+
+
+private:
+ virtual HRESULT Bind_ShaderResources() override;
+ virtual HRESULT Ready_Components(void* pArg) override;
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+
+public:
+ void Mouse_Hover();
+
+private:
+ void Hover(_bool iHover);
+
+private:
+ CTexture* m_pDiffuse_TextureCom = { nullptr };
+ CTexture* m_pDiffuse_TextureCom1 = { nullptr };
+ CTexture* m_pDiffuse_TextureCom2 = { nullptr };
+ CShader* m_pShaderCom = { nullptr };
+ CVIBuffer_Rect* m_pVIBufferCom = { nullptr };
+
+ _float4 m_vImagePosi1{};
+ _float4 m_vImagePosi2{};
+ _float4 m_vImagePosi3{};
+
+ _int m_iHover{};
+
+public:
+ static CDialogue_Choice* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override;
+ virtual void Free() override;
+ void Describe_Entity() override;
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Editor/Public/Dialogue_Panel.h b/Jusin154_Team3D/Editor/Public/Dialogue_Panel.h
new file mode 100644
index 000000000..a79fa6644
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Dialogue_Panel.h
@@ -0,0 +1,47 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "PanelObject.h"
+
+NS_BEGIN(Engine)
+class CGameObject;
+NS_END
+
+NS_BEGIN(Editor)
+
+class CDialogue_Panel final : public CPanelObject
+{
+private:
+ CDialogue_Panel(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CDialogue_Panel(const CDialogue_Panel& rhs);
+ virtual ~CDialogue_Panel() = default;
+
+public:
+ virtual void Priority_Update(_float fTimeDelta);
+ virtual void Update(_float fTimeDelta);
+ virtual void Late_Update(_float fTimeDelta);
+ virtual HRESULT Render() override;
+ virtual _vector Get_WorldPostion() override;
+
+private:
+ virtual HRESULT Bind_ShaderResources() override;
+ virtual HRESULT Ready_Components(void* pArg) override;
+ virtual HRESULT Ready_Element(void* pArg) override;
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+
+private:
+ CVIBuffer_Rect* m_pVIBufferCom = { nullptr };
+ CTexture* m_pDiffuse_TextureCom = { nullptr };
+ CShader* m_pShaderCom = { nullptr };
+
+ CGameObject* m_pDialogue_Choice = { nullptr };
+
+public:
+ static CDialogue_Panel* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override;
+ virtual void Free() override;
+ void Describe_Entity() override;
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Editor/Public/Editor_Define.h b/Jusin154_Team3D/Editor/Public/Editor_Define.h
index 5001520c7..2a14d3e3f 100644
--- a/Jusin154_Team3D/Editor/Public/Editor_Define.h
+++ b/Jusin154_Team3D/Editor/Public/Editor_Define.h
@@ -44,7 +44,7 @@ namespace Editor
ENEMY_HPBAR, BOSS_HPBAR, QUEST_BORDER, QUEST_INFO, QUEST_STATUS, BROOMSTICK,
SPELL_LEARN, SPELLLEARNCOLOR, SPELLLEARNBOOSTER, NPCINTERACTION, CANVASFADE,
FLAGWAVE, BROOMCIRCLE, RIDE_INFO_KEY, RIDE_INFO, RIDE_HPSLOT, BOOSTERGAUGE,
- BOOSTERHPBAR,
+ BOOSTERHPBAR, DIALOGUECHOICE,
ENEMY_DETECTION, INTERACTION_OBJECT, INTERACTION_NPC, BROOMTARGETGATE, END
};
enum class SHADER_PASS_INSTANCE_MODEL { DEFAULT, NON_NOMALMAP, BLUR, WEIGHTBLEND, NON_WORLD, NON_WORLD_BLUR, BLEND, BLEND_NOWORLD, BLOOM, BLOOM_NOWORLD, BLUR_NO_EMMISVE, BLUR_NO_WORLD_NO_EMISSIVE, WEIGHTBLEND_FOR_BLEND, DEPTH_STOP, WB_CULLING, SCREEN_FX , DISTORTION , NONPOS , NONPOS_BLUR, BLUR_MESH, BLUR_CULLING , BLUR_CULLING_NO_EMISSIVE, BLOOM_CULLING , DEFAULT_NONPOS , NONWB_NONPOS, DECAL, DECAL_WB, DECAL_BLUR, BLEND_CULLING, DECAL_BLEND, END};
@@ -68,7 +68,7 @@ namespace Editor
STUN,
TROLL_ATTACK, TROLL_RUSH_HIT, TROLL_NOMAL_SMOKE, BLINK, RANROK_FIREBALL, RANROK_BREATH, RANROK_POINT, RANROK_PURSE, RANROK_CHARGE, RANROK_IMPACT , RANROK_HIT, RANROK_LAND, RANROK_RUSH_BOTTOM,
- RANROK_GROUNDPULSE, RANROK_SWIPE, RANROK_DEAD_SPLASH , RANROK_DEAD_IMPACT,
+ RANROK_GROUNDPULSE, RANROK_SWIPE, RANROK_DEAD_SPLASH , RANROK_DEAD_IMPACT, RANROK_PROP,
END
};
diff --git a/Jusin154_Team3D/Editor/Public/GamePlay_Canvas.h b/Jusin154_Team3D/Editor/Public/GamePlay_Canvas.h
index 6db90f1fb..30443d3e3 100644
--- a/Jusin154_Team3D/Editor/Public/GamePlay_Canvas.h
+++ b/Jusin154_Team3D/Editor/Public/GamePlay_Canvas.h
@@ -42,6 +42,7 @@ class CGamePlay_Canvas final : public CCanvasObject
CGameObject* m_pEnemy_Panel = { nullptr };
CGameObject* m_pBroom_Panel = { nullptr };
CGameObject* m_pRide_Panel = { nullptr };
+ CGameObject* m_pDialogue_Panel = { nullptr };
_bool m_bRide = { false };
diff --git a/Jusin154_Team3D/Editor/Public/Ranrok.h b/Jusin154_Team3D/Editor/Public/Ranrok.h
index 263475517..755872d9a 100644
--- a/Jusin154_Team3D/Editor/Public/Ranrok.h
+++ b/Jusin154_Team3D/Editor/Public/Ranrok.h
@@ -127,6 +127,8 @@ class CRanrok final : public CMonster
_float m_fRushTime = {};
_float m_fTuckedSpeed = { 75.f};
+ _float2 m_vCreatePropTime = {0.f , 60.f};
+
_float3 m_vCCTPos = {};
void Behavior_IdleEnter();
diff --git a/Jusin154_Team3D/Editor/Public/Ranrok_Prop.h b/Jusin154_Team3D/Editor/Public/Ranrok_Prop.h
new file mode 100644
index 000000000..0bfbde6d4
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Ranrok_Prop.h
@@ -0,0 +1,60 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "Effect_Container.h"
+
+NS_BEGIN(Engine)
+NS_END
+
+NS_BEGIN(Editor)
+
+class CRanrok_Prop final : public CEffect_Container
+{
+private:
+ CRanrok_Prop(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CRanrok_Prop(const CRanrok_Prop& rhs);
+ virtual ~CRanrok_Prop() = default;
+
+public:
+ virtual void Priority_Update(_float fTimeDelta) override;
+ virtual void Update(_float fTimeDelta) override;
+ virtual void Late_Update(_float fTimeDelta) override;
+
+public:
+ virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr) override;
+
+private:
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+ virtual HRESULT Ready_Components(void* pArg) override;
+ HRESULT Ready_Child();
+ HRESULT Bind_ShaderResources() override;
+ virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override;
+private:
+ _wstring m_wstrEffectName = {};
+
+ class CEditEffect* m_pSphere = { nullptr };
+ class CEditEffect* m_pSphereLay = { nullptr };
+ class CEditEffect* m_pSphereHitLay = { nullptr };
+ class CEditEffect* m_pRing = { nullptr };
+ CRigidBody_Dynamic* m_pRigidBody = { nullptr };
+
+ _float m_fSizeAccTime = {};
+ _float m_fAmountSize = {};
+ _float m_fSpeed = {};
+
+
+ _float m_fHp = { 3.f };
+ _bool m_isSizeLerpEnd = {};
+private:
+ class CInfoInstance* m_pInfoInstance = { nullptr };
+public:
+ static CRanrok_Prop* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual void Free() override;
+ CGameObject* Clone(void* pArg, CGameObject* pOwner) override;
+#ifdef _DEBUG
+ void Describe_Entity() override;
+#endif // _DEBUG
+};
+
+NS_END
diff --git a/Jusin154_Team3D/Editor/Public/UI_Manager.h b/Jusin154_Team3D/Editor/Public/UI_Manager.h
index 4953e8c16..49caec491 100644
--- a/Jusin154_Team3D/Editor/Public/UI_Manager.h
+++ b/Jusin154_Team3D/Editor/Public/UI_Manager.h
@@ -59,6 +59,7 @@ class CUI_Manager final : public CUIObject
CGameObject* m_pLoding_Canvas= { nullptr };
CGameObject* m_pQuest_Canves= { nullptr };
CGameObject* m_pSpellLearn_Canvas = { nullptr };
+ CGameObject* m_pDialogue_Canvas = { nullptr };
CGameObject* m_pMouse_Cursor = { nullptr };
CGameObject* m_pCamera_LockOn = { nullptr };
_bool m_bCanvas_Change = { false };
diff --git a/Jusin154_Team3D/Engine/Private/Animation.cpp b/Jusin154_Team3D/Engine/Private/Animation.cpp
index 911059c73..960e3eb79 100644
--- a/Jusin154_Team3D/Engine/Private/Animation.cpp
+++ b/Jusin154_Team3D/Engine/Private/Animation.cpp
@@ -164,12 +164,14 @@ void CAnimation::InterpAnim(CAnimation* pPreAnim, vector& Bones, _float
if (!preHasBone[boneIndex] || fRatio <= 0.f)
{
Bones[boneIndex]->Set_TransformationMatrix(curMat);
+ m_vBoneTransformationMatrix[i] = curMat;
continue;
}
if (fRatio >= 1.f)
{
Bones[boneIndex]->Set_TransformationMatrix(curMat);
+ m_vBoneTransformationMatrix[i] = curMat;
continue;
}
diff --git a/Jusin154_Team3D/Engine/Private/Camera.cpp b/Jusin154_Team3D/Engine/Private/Camera.cpp
index afa2c25a1..96886d17a 100644
--- a/Jusin154_Team3D/Engine/Private/Camera.cpp
+++ b/Jusin154_Team3D/Engine/Private/Camera.cpp
@@ -139,6 +139,16 @@ void CCamera::EnableTransition(_float fTransitionTime)
m_vTransitionTime.y = fTransitionTime;
}
+void CCamera::Set_RotDegreeVerticalLock(_float2 vVerticalLock)
+{
+ m_vAccRotDegree_VerticalLocks = vVerticalLock;
+}
+
+_float2 CCamera::Get_RotDegreeVerticalLock()
+{
+ return m_vAccRotDegree_VerticalLocks;
+}
+
_bool CCamera::IsImportantThan(CCamera* pOther) const
{
return m_iPriority > pOther->m_iPriority;
diff --git a/Jusin154_Team3D/Engine/Private/Model.cpp b/Jusin154_Team3D/Engine/Private/Model.cpp
index 3294aeaf5..4cc196921 100644
--- a/Jusin154_Team3D/Engine/Private/Model.cpp
+++ b/Jusin154_Team3D/Engine/Private/Model.cpp
@@ -256,9 +256,9 @@ _bool CModel::Play_Anim(_float fTimeDelta, CTransform* pTransform)
m_bLoopRestarted = true;
m_vPrevRootPos = { 0,0,0 };
}
- //else {
- // XMStoreFloat3(&m_vPrevRootPos, m_vector[2]);
- //}
+ else {
+ m_vPrevRootPos = { m_OutTranslation.x,m_OutTranslation.y,m_OutTranslation.z };
+ }
}
@@ -445,7 +445,7 @@ _bool CModel::IsBlending() const
}
-void CModel::Set_AnimationIndex(_uint iIndex, _bool isLoop, _float fAmount, _bool bRatio, _float fAnimSpeed,_bool bRootBone,_bool bQueuedAnim)
+void CModel::Set_AnimationIndex(_uint iIndex, _bool isLoop, _float fAmount, _bool bRatio, _float fAnimSpeed,_bool bRootBone,_bool bQueuedAnim, _bool bInit)
{
m_bQueuedAnim = bQueuedAnim;
if (m_iCurrentAnimIndex == iIndex)
@@ -470,13 +470,12 @@ void CModel::Set_AnimationIndex(_uint iIndex, _bool isLoop, _float fAmount, _boo
if (m_iCurrentAnimIndex != -1 && m_iPreAnimIndex != m_iCurrentAnimIndex)
{
m_iPreAnimIndex = m_iCurrentAnimIndex;
-
- /* m_Animations[m_iCurrentAnimIndex]->Depart_Animation();
- m_Animations[m_iCurrentAnimIndex]->Set_AnimSpeed(1.f);*/
}
- m_fBlendTime = 0.f;
- m_fRatio = 0.f;
+ if (bInit) {
+ m_fBlendTime = 0.f;
+ m_fRatio = 0.f;
+ }
m_bRootBone = bRootBone;
m_iCurrentAnimIndex = iIndex;
m_bIsLoop = isLoop;
diff --git a/Jusin154_Team3D/Engine/Private/RigidBody_Dynamic.cpp b/Jusin154_Team3D/Engine/Private/RigidBody_Dynamic.cpp
index 82e25252e..3834a17a3 100644
--- a/Jusin154_Team3D/Engine/Private/RigidBody_Dynamic.cpp
+++ b/Jusin154_Team3D/Engine/Private/RigidBody_Dynamic.cpp
@@ -24,6 +24,7 @@ HRESULT CRigidBody_Dynamic::Render()
{
return Render(nullptr);
}
+
HRESULT CRigidBody_Dynamic::Render(function custumState)
{
if (m_pOwner->isDead())
diff --git a/Jusin154_Team3D/Engine/Private/Unit.cpp b/Jusin154_Team3D/Engine/Private/Unit.cpp
index 661593428..d4a837b51 100644
--- a/Jusin154_Team3D/Engine/Private/Unit.cpp
+++ b/Jusin154_Team3D/Engine/Private/Unit.cpp
@@ -299,6 +299,7 @@ STATEANIM::ESTATE CUnit::StringToStateAnim(const string& s)
// COMBAT / SKILL
{ "COMBAT", COMBAT },
{ "SKILL", SKILL }, { "SKILL2", SKILL2 },
+ { "SHIELD_BLOCK", SHIELD_BLOCK },
// SPELL
{ "SPELL", SPELL }, { "SPELL_180_R", SPELL_180_R },
@@ -405,6 +406,12 @@ STATEANIM::ESTATE CUnit::StringToStateAnim(const string& s)
{ "HIT_L", HIT_L }, { "HIT_R", HIT_R },
{ "HIT_FACE", HIT_FACE }, { "HIT_FACE_END", HIT_FACE_END },
{ "HIT_LEVIOSO", HIT_LEVIOSO }, { "INCARCEROUS", INCARCEROUS },
+ { "LEVIOSO_LAND",LEVIOSO_LAND },
+
+ // DAZED
+
+ { "DAZED_START", DAZED_START },{ "DAZED_LOOP", DAZED_LOOP },
+ { "DAZED_END1", DAZED_END1 }, { "DAZED_END2", DAZED_END2 },
// KNOCKDOWN
{ "KNOCKDOWN", KNOCKDOWN },
diff --git a/Jusin154_Team3D/Engine/Public/Camera.h b/Jusin154_Team3D/Engine/Public/Camera.h
index 71541456c..c22ee96cf 100644
--- a/Jusin154_Team3D/Engine/Public/Camera.h
+++ b/Jusin154_Team3D/Engine/Public/Camera.h
@@ -42,6 +42,9 @@ class ENGINE_DLL CCamera abstract : public CGameObject
virtual HRESULT Ready_Components(void* pArg)override;
virtual void EnableTransition(_float fTransitionTime);
+ void Set_RotDegreeVerticalLock(_float2 vVerticalLock);
+ _float2 Get_RotDegreeVerticalLock();
+
_bool IsActive() const { return m_bActive; }
_bool IsImportantThan(CCamera* pOther) const;
const _float* Get_CurrentFar();
@@ -63,6 +66,7 @@ class ENGINE_DLL CCamera abstract : public CGameObject
_float3 m_vFollowPos_Src = { 0.f, 0.f, 0.f };
_float3 m_vFollowPos_Dest = { 0.f, 0.f, 0.f };
_uint m_iPriority = { UINT_MAX };
+ _float2 m_vAccRotDegree_VerticalLocks = { 87.f, 87.f };
_bool m_bIsCurrentTransition = { false };
_bool m_bEnable_TransitionLerp = { false };
diff --git a/Jusin154_Team3D/Engine/Public/Engine_Enum.h b/Jusin154_Team3D/Engine/Public/Engine_Enum.h
index 7fcb942f6..ccbdb7493 100644
--- a/Jusin154_Team3D/Engine/Public/Engine_Enum.h
+++ b/Jusin154_Team3D/Engine/Public/Engine_Enum.h
@@ -154,6 +154,7 @@ enum class PXOBJECT : _uint {
GOBLIN_NORMAL_MAGIC,
TROLL_GROUND_STRIKE,
GOBLIN_PROTEGO,
+ RANROK_PROP,
DUELIST_PROTEGO,
#pragma endregion
#pragma region ALLY_HITBOX
diff --git a/Jusin154_Team3D/Engine/Public/Model.h b/Jusin154_Team3D/Engine/Public/Model.h
index a26897e21..4de3c997c 100644
--- a/Jusin154_Team3D/Engine/Public/Model.h
+++ b/Jusin154_Team3D/Engine/Public/Model.h
@@ -78,7 +78,7 @@ class ENGINE_DLL CModel final : public CComponent
_bool Play_Anim(_float fTimeDelta, CTransform* pTransform);
_bool Play_Dual_Anim(_float fTimeDelta, CTransform* pTransform);
_bool IsBlending() const;
- void Set_AnimationIndex(_uint iIndex, _bool isLoop = true, _float fAmount = 1.f, _bool bRatio = false,_float fAnimSpeed = 1.f,_bool bRootBone = true, _bool bQueuedAnim = false);
+ void Set_AnimationIndex(_uint iIndex, _bool isLoop = true, _float fAmount = 1.f, _bool bRatio = false, _float fAnimSpeed = 1.f, _bool bRootBone = true, _bool bQueuedAnim = false, _bool bInit = true);
void Set_Second_AnimationIndex(_uint BoneIndex, _uint iIndex, _bool isLoop = false);
_bool IsFinishedAnim() const { return m_bIsFinishedAnim; }
_bool IsFinishedSecondAnim() const { return m_bIsSecondFinishedAnim; }
diff --git a/Jusin154_Team3D/Engine/Public/MyTools.h b/Jusin154_Team3D/Engine/Public/MyTools.h
index e2fb89155..89bf81ac7 100644
--- a/Jusin154_Team3D/Engine/Public/MyTools.h
+++ b/Jusin154_Team3D/Engine/Public/MyTools.h
@@ -231,7 +231,7 @@ class CMyTools {
}
// yaw 360도 자동 커트
// pitch 80도 클램프
- inline static void AdjustAccumulateDegreePitchYawDegree(_float2& vAccumulateDegreePitchYaw, float fPitchLimitDegree = 80.f)
+ inline static void AdjustAccumulateDegreePitchYawDegree(_float2& vAccumulateDegreePitchYaw, float fPitchLimitLowerDegree = 60.f, float fPitchLimitUpperDegree = 60.f)
{
if (vAccumulateDegreePitchYaw.y > 360.f)
{
@@ -242,13 +242,13 @@ class CMyTools {
vAccumulateDegreePitchYaw.y += 360.f;
}
- if (vAccumulateDegreePitchYaw.x > fPitchLimitDegree)
+ if (vAccumulateDegreePitchYaw.x > fPitchLimitUpperDegree)
{
- vAccumulateDegreePitchYaw.x = fPitchLimitDegree;
+ vAccumulateDegreePitchYaw.x = fPitchLimitUpperDegree;
}
- else if (vAccumulateDegreePitchYaw.x < -fPitchLimitDegree)
+ else if (vAccumulateDegreePitchYaw.x < -fPitchLimitLowerDegree)
{
- vAccumulateDegreePitchYaw.x = -fPitchLimitDegree;
+ vAccumulateDegreePitchYaw.x = -fPitchLimitLowerDegree;
}
}
diff --git a/Jusin154_Team3D/Engine/Public/State.h b/Jusin154_Team3D/Engine/Public/State.h
index de8272fc4..5d805a1ab 100644
--- a/Jusin154_Team3D/Engine/Public/State.h
+++ b/Jusin154_Team3D/Engine/Public/State.h
@@ -13,7 +13,7 @@ enum ESTATE
JUMP,JUMP_JOG,JUMP_SPRINT,FALL_LOOP,
LAND,LAND_TO_JOG,LAND_TO_SPRINT,LAND_HARD,LAND_MID,LAND_SOFT,
DODGE,DODGE_BLINK, DODGE_LEFT, DODGE_RIGHT,DODGE_ATTACK,
- COMBAT, SKILL, SKILL2,
+ COMBAT, SKILL, SKILL2, SHIELD_BLOCK,
SPELL, SPELL_180_R, SPELL_90_R, SPELL_90_L, SPELL_90_L2,
LIGHT_ATTACK, LIGHT_ATTACK2, LIGHT_ATTACK3, LIGHT_ATTACK4,LIGHT_ATTACK_180_R, LIGHT_ATTACK_90_L, LIGHT_ATTACK_90_R1, LIGHT_ATTACK_90_R2, LIGHT_ATTACK_90_R3,
ATTACK_END,
@@ -29,7 +29,7 @@ enum ESTATE
BACKHAND_SWING_JOG,SWING_FWD,SLAM,SLASH,DASH,
SUSTAIN_START,SUSTAIN_LOOP,SUSTAIN_END,
BLINK,BLINK_START,
- HIT, HIT_FWD, HIT_BWD, HIT_BWD2, HIT_BWD3, HIT_BWD4, HIT_L, HIT_R,HIT_FACE,HIT_FACE_END,HIT_LEVIOSO,INCARCEROUS,
+ HIT, HIT_FWD, HIT_BWD, HIT_BWD2, HIT_BWD3, HIT_BWD4, HIT_L, HIT_R,HIT_FACE,HIT_FACE_END,HIT_LEVIOSO,INCARCEROUS, LEVIOSO_LAND,DAZED_START,DAZED_LOOP, DAZED_END1, DAZED_END2,
KNOCKDOWN, KNOCKDOWN_FWD, KNOCKDOWN_FWD_SPLT, KNOCKDOWN_FWD_SPLT_HOLD, KNOCKDOWN_BWD, KNOCKDOWN_BWD_SPLT, KNOCKDOWN_BWD_SPLT_HOLD,
GETUP, GETUP_BWD, GETUP_FWD, GETUP_L, GETUP_L_FD, GETUP_L_FU, GETUP_R, GETUP_R_FD, GETUP_R_FU, GETUP_SLOUCH,
DEAD, DEAD_FWD, DEAD_FWD2, DEAD_BWD, DEAD_BWD2, DEAD_L, DEAD_L2, DEAD_R, DEAD_R2,