Merge branch 'Develope' into Effect
This commit is contained in:
@@ -976,8 +976,6 @@
|
||||
<ClInclude Include="..\Public\Ranrok_EtherInfo.h">
|
||||
<Filter>02.GameObjects\NPC\Hostile\Monster\Ranrok\Ranrok_Ether</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\Public\TriggerBox.h" />
|
||||
<ClInclude Include="..\Public\TriggerBox.h" />
|
||||
<ClInclude Include="..\Public\CutScene_Lightning.h">
|
||||
<Filter>02.GameObjects\Effect\CutSceneEffect\CutScene_Lightning</Filter>
|
||||
</ClInclude>
|
||||
@@ -989,6 +987,9 @@
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\Public\CutScene_Shout.h">
|
||||
<Filter>02.GameObjects\Effect\CutSceneEffect\CutScene_Shout</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\Public\TriggerBox.h">
|
||||
<Filter>04.Mechanic\20.TriggerBox</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\Public\Troll_Throw.h">
|
||||
<Filter>02.GameObjects\Effect\MonsterEffect\Troll_Throw</Filter>
|
||||
@@ -2956,7 +2957,6 @@
|
||||
<ClCompile Include="..\Private\Ranrok_EtherInfo.cpp">
|
||||
<Filter>02.GameObjects\NPC\Hostile\Monster\Ranrok\Ranrok_Ether</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\Private\TriggerBox.cpp" />
|
||||
<ClCompile Include="..\Private\CutScene_Lightning.cpp">
|
||||
<Filter>02.GameObjects\Effect\CutSceneEffect\CutScene_Lightning</Filter>
|
||||
</ClCompile>
|
||||
@@ -2989,7 +2989,6 @@
|
||||
<ClCompile Include="..\Private\State_Parry.cpp">
|
||||
<Filter>04.Mechanic\State\State_Combat\State_Parry</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\Private\TriggerBox.cpp" />
|
||||
<ClCompile Include="..\Private\Broom_TargetGate2D.cpp">
|
||||
<Filter>02.GameObjects\UI\GamePlay_Canvas\Broom_Panel\Broom_TargetGate2D</Filter>
|
||||
</ClCompile>
|
||||
|
||||
@@ -56,6 +56,7 @@ void CCallBack_Troll_HitReport::onShapeHit(const PSX::PxControllerShapeHit& hit)
|
||||
_uint iAnimIndex = pModel->Get_AnimIndex();
|
||||
if (pOwner->Get_AnimInfo(STATEANIM::RUSH_LOOP).first == iAnimIndex) {
|
||||
CFSM* pFSM = pOwner->Get_Component<CFSM>();
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::TROLL_83, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
|
||||
pFSM->Change_State(FSMSTATE::STUN);
|
||||
|
||||
/**/
|
||||
@@ -150,6 +151,7 @@ void CCallBack_Troll_HitReport::onControllerHit(const PSX::PxControllersHit& hit
|
||||
if (pOwner->Get_AnimInfo(STATEANIM::RUSH_LOOP).first == iAnimIndex) {
|
||||
if (false == *m_pCollisionPlayer) {
|
||||
*m_pCollisionPlayer = true;
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::TROLL_83, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
|
||||
pTargetActorData->pCharacter->Get_Owner()->OnCollision(pOwner,&tagCollInfo);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -67,7 +67,6 @@ void CDialogue_Font::Update(_float fTimeDelta)
|
||||
switch (m_iType)
|
||||
{
|
||||
case ENUM_CLASS(NPCTEXTTYPE::ENDTEXT):
|
||||
//m_pNpc->Set_Flow(m_pNpc->Get_Flow() + 1);
|
||||
ENDText();
|
||||
break;
|
||||
|
||||
@@ -92,13 +91,13 @@ void CDialogue_Font::Update(_float fTimeDelta)
|
||||
case ENUM_CLASS(NPCTEXTTYPE::BROOM):
|
||||
m_bRace = true;
|
||||
m_pInfoInstance->Event_CallBack(TEXT("RACEREADY"), &m_bRace);
|
||||
ReSet();
|
||||
ENDText();
|
||||
break;
|
||||
|
||||
case ENUM_CLASS(NPCTEXTTYPE::BATTLE):
|
||||
m_bBattle = true;
|
||||
m_pInfoInstance->Event_CallBack(TEXT("BATTLE"), &m_bBattle);
|
||||
ReSet();
|
||||
ENDText();
|
||||
break;
|
||||
|
||||
default:
|
||||
@@ -344,8 +343,6 @@ void CDialogue_Font::Quest()
|
||||
switch (Index)
|
||||
{
|
||||
case 0:
|
||||
Interact.bInteract = false;
|
||||
Interact.fAlpha = 0.5f;
|
||||
m_pInfoInstance->Event_CallBack(TEXT("NpcInteract"), &Interact);
|
||||
m_pCurrentDialogue[0]->Set_Hover(Interact.bInteract);
|
||||
m_pCurrentDialogue[0]->Visible(Interact.bInteract);
|
||||
@@ -363,7 +360,7 @@ void CDialogue_Font::Quest()
|
||||
break;
|
||||
|
||||
case 2:
|
||||
NextText();
|
||||
Quest_Complete();
|
||||
break;
|
||||
|
||||
default:
|
||||
@@ -372,8 +369,18 @@ void CDialogue_Font::Quest()
|
||||
|
||||
}
|
||||
|
||||
void CDialogue_Font::ReSet()
|
||||
void CDialogue_Font::ENDText()
|
||||
{
|
||||
NPCINTERACT Interact{};
|
||||
Interact.bInteract = false;
|
||||
Interact.fAlpha = 0.5f;
|
||||
m_pNpc->Set_NextID(m_iNextID);
|
||||
m_pCurrentDialogue[0]->Set_Hover(Interact.bInteract);
|
||||
m_pCurrentDialogue[0]->Visible(Interact.bInteract);
|
||||
m_DialoguInfo.push_back(m_pCurrentDialogue[0]);
|
||||
m_pCurrentDialogue.erase(m_pCurrentDialogue.begin());
|
||||
m_pInfoInstance->Event_CallBack(TEXT("NpcInteract"), &Interact);
|
||||
m_pInfoInstance->Event_CallBack(TEXT("NpcInteraction"), &Interact.bInteract);
|
||||
m_pInfoInstance->Event_CallBack(TEXT("CHOICERESET"));
|
||||
m_bChoiceText = false;
|
||||
m_bCurrentChoiceText = false;
|
||||
@@ -388,7 +395,42 @@ void CDialogue_Font::ReSet()
|
||||
m_DialoguInfo.push_back((*it));
|
||||
it = m_pCurrentDialogue.erase(it);
|
||||
}
|
||||
m_pInfoInstance->Event_CallBack(TEXT("NpcInteract"), &m_bChoiceText);
|
||||
//if (m_iTextID < m_iNextID)
|
||||
m_pNpc->Set_Flow(m_pNpc->Get_Flow() + 1, Interact.fAlpha);
|
||||
}
|
||||
|
||||
void CDialogue_Font::ReSet()
|
||||
{
|
||||
NPCINTERACT Interact{};
|
||||
Interact.bInteract = false;
|
||||
Interact.fAlpha = 0.5f;
|
||||
m_pNpc->Set_NextID(m_iTextID);
|
||||
m_pInfoInstance->Event_CallBack(TEXT("CHOICERESET"));
|
||||
m_pCurrentDialogue[0]->Set_Hover(Interact.bInteract);
|
||||
m_pCurrentDialogue[0]->Visible(Interact.bInteract);
|
||||
m_pInfoInstance->Event_CallBack(TEXT("NpcInteraction"), &Interact.bInteract);
|
||||
m_pInfoInstance->Event_CallBack(TEXT("NpcInteract"), &Interact);
|
||||
m_DialoguInfo.push_back(m_pCurrentDialogue[0]);
|
||||
m_pCurrentDialogue.erase(m_pCurrentDialogue.begin());
|
||||
m_bChoiceText = false;
|
||||
m_bCurrentChoiceText = false;
|
||||
m_bRace = false;
|
||||
m_bBattle = false;
|
||||
vector<_int> Dummy;
|
||||
m_NextLevel.swap(Dummy);
|
||||
for (auto it = m_pCurrentDialogue.begin(); it != m_pCurrentDialogue.end();)
|
||||
{
|
||||
(*it)->Set_Hover(false);
|
||||
(*it)->Visible(false);
|
||||
m_DialoguInfo.push_back((*it));
|
||||
it = m_pCurrentDialogue.erase(it);
|
||||
}
|
||||
}
|
||||
|
||||
void CDialogue_Font::Quest_Complete()
|
||||
{
|
||||
NpcNextText();
|
||||
ENDText();
|
||||
}
|
||||
|
||||
void CDialogue_Font::NextText()
|
||||
@@ -396,11 +438,6 @@ void CDialogue_Font::NextText()
|
||||
m_pCurrentDialogue[0]->Visible(false);
|
||||
m_DialoguInfo.push_back(m_pCurrentDialogue[0]);
|
||||
m_pCurrentDialogue.erase(m_pCurrentDialogue.begin());
|
||||
if (m_bChoiceText == true)
|
||||
{
|
||||
ReSet();
|
||||
m_pNpc->Set_Flow(m_pNpc->Get_Flow() + 1);
|
||||
}
|
||||
NpcDialogue();
|
||||
}
|
||||
|
||||
@@ -411,21 +448,11 @@ void CDialogue_Font::NextLevel(CHOICEINFO Choice)
|
||||
m_iQuestID = Choice.QuestID;
|
||||
m_bChoiceText = true;
|
||||
NpcNextText();
|
||||
}
|
||||
|
||||
void CDialogue_Font::ENDText()
|
||||
{
|
||||
NPCINTERACT Interact{};
|
||||
Interact.bInteract = false;
|
||||
Interact.fAlpha = 0.8f;
|
||||
m_pNpc->Set_NextID(m_iTextID);
|
||||
m_pInfoInstance->Event_CallBack(TEXT("NpcInteract"), &Interact);
|
||||
m_pCurrentDialogue[0]->Set_Hover(Interact.bInteract);
|
||||
m_pCurrentDialogue[0]->Visible(Interact.bInteract);
|
||||
m_DialoguInfo.push_back(m_pCurrentDialogue[0]);
|
||||
m_pCurrentDialogue.erase(m_pCurrentDialogue.begin());
|
||||
m_pInfoInstance->Event_CallBack(TEXT("CHOICERESET"));
|
||||
ReSet();
|
||||
if (m_iType == ENUM_CLASS(NPCTEXTTYPE::QUESTTEXT))
|
||||
ReSet();
|
||||
else
|
||||
ENDText();
|
||||
}
|
||||
|
||||
void CDialogue_Font::NextText(_int Index)
|
||||
|
||||
@@ -76,6 +76,18 @@ void CElf::Update(_float fTimeDelta)
|
||||
m_iCurrentFlow++;
|
||||
}
|
||||
|
||||
if (m_bFlow == true)
|
||||
{
|
||||
m_fFlowTime -= fTimeDelta;
|
||||
}
|
||||
|
||||
if (m_fFlowTime <= 0.f && m_bFlow == true)
|
||||
{
|
||||
m_bFlow = false;
|
||||
m_fFlowTime = 0.f;
|
||||
m_iCurrentFlow = m_iFlowIndex;
|
||||
}
|
||||
|
||||
m_pModelCom->Play_Animation(fTimeDelta, m_pTransformCom);
|
||||
|
||||
__super::Update(fTimeDelta);
|
||||
@@ -227,9 +239,11 @@ void CElf::Set_Target(CUnit& pTarget, CTransform& pTransform)
|
||||
m_fTargetDistance = XMVectorGetX(XMVector3Length(vToTargetDir));
|
||||
}
|
||||
|
||||
void CElf::Set_Flow(_int Index)
|
||||
void CElf::Set_Flow(_int Index, _float fTime)
|
||||
{
|
||||
m_iCurrentFlow = Index;
|
||||
m_iFlowIndex = Index;
|
||||
m_fFlowTime = fTime;
|
||||
m_bFlow = true;
|
||||
}
|
||||
|
||||
_int CElf::Get_Flow()
|
||||
|
||||
@@ -609,6 +609,19 @@ HRESULT CGoblin_Assassin::Behavior_HitExitCheck(_float fTimeDelta)
|
||||
if (iCurrAnimIndex == m_Animation[STATEANIM::KNOCKDOWN_BWD_SPLT].first)
|
||||
{
|
||||
if (true == m_pCharacter_Controller->IsOnGround() && m_bCameraShake) {
|
||||
_int iRand = m_pGameInstance->Real_Random_Int(0, 2);
|
||||
switch (iRand)
|
||||
{
|
||||
case 0:
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::TROLL_14, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
|
||||
break;
|
||||
case 1:
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::TROLL_15, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
|
||||
break;
|
||||
case 2:
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::TROLL_20, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
|
||||
break;
|
||||
}
|
||||
CameraShake(10.f, 1.f, 2.f, 0.3f);
|
||||
m_bCameraShake = false;
|
||||
}
|
||||
|
||||
@@ -486,6 +486,19 @@ HRESULT CGoblin_Mage::Behavior_HitExitCheck(_float fTimeDelta)
|
||||
if (iCurrAnimIndex == m_Animation[STATEANIM::KNOCKDOWN_BWD_SPLT].first)
|
||||
{
|
||||
if (true == m_pCharacter_Controller->IsOnGround() && m_bCameraShake) {
|
||||
_int iRand = m_pGameInstance->Real_Random_Int(0, 2);
|
||||
switch (iRand)
|
||||
{
|
||||
case 0:
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::TROLL_14, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
|
||||
break;
|
||||
case 1:
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::TROLL_15, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
|
||||
break;
|
||||
case 2:
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::TROLL_20, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
|
||||
break;
|
||||
}
|
||||
CameraShake(10.f, 1.f, 2.f, 0.3f);
|
||||
m_bCameraShake = false;
|
||||
}
|
||||
|
||||
@@ -575,6 +575,19 @@ HRESULT CGoblin::Behavior_HitExitCheck(_float fTimeDelta)
|
||||
if (iCurrAnimIndex == m_Animation[STATEANIM::KNOCKDOWN_BWD_SPLT].first)
|
||||
{
|
||||
if (true == m_pCharacter_Controller->IsOnGround() && m_bCameraShake) {
|
||||
_int iRand = m_pGameInstance->Real_Random_Int(0, 2);
|
||||
switch (iRand)
|
||||
{
|
||||
case 0:
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::TROLL_14, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
|
||||
break;
|
||||
case 1:
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::TROLL_15, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
|
||||
break;
|
||||
case 2:
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::TROLL_20, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
|
||||
break;
|
||||
}
|
||||
CameraShake(10.f, 1.f, 2.f, 0.3f);
|
||||
m_bCameraShake = false;
|
||||
}
|
||||
|
||||
@@ -541,9 +541,21 @@ void CHuman_Duelist::Check_BattleLose()
|
||||
{
|
||||
if (true == m_pCharacter_Controller->IsOnGround())
|
||||
{
|
||||
_int iRand = m_pGameInstance->Real_Random_Int(0, 2);
|
||||
switch (iRand)
|
||||
{
|
||||
case 0:
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::TROLL_14, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
|
||||
break;
|
||||
case 1:
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::TROLL_15, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
|
||||
break;
|
||||
case 2:
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::TROLL_20, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
|
||||
break;
|
||||
}
|
||||
m_pEffectPool->Use_Skill(SKILL_TYPE::BOX_SPLESH, this);
|
||||
m_bBattle = false;
|
||||
|
||||
m_bBattleEnd = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -350,6 +350,19 @@ HRESULT CHuman_Duelist::Behavior_HitExitCheck(_float fTimeDelta)
|
||||
iCurrAnimIndex == m_Animation[STATEANIM::KNOCKDOWN_FWD_SPLT].first)
|
||||
{
|
||||
if (true == m_pCharacter_Controller->IsOnGround() && m_bCameraShake) {
|
||||
_int iRand = m_pGameInstance->Real_Random_Int(0, 2);
|
||||
switch (iRand)
|
||||
{
|
||||
case 0:
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::TROLL_14, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
|
||||
break;
|
||||
case 1:
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::TROLL_15, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
|
||||
break;
|
||||
case 2:
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::TROLL_20, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
|
||||
break;
|
||||
}
|
||||
CameraShake(10.f, 1.f, 2.f, 0.3f);
|
||||
m_bCameraShake = false;
|
||||
}
|
||||
|
||||
@@ -1486,6 +1486,9 @@ HRESULT CLoader::Loading_For_GamePlay()
|
||||
jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext,
|
||||
FX_VTXPOS,
|
||||
TEXT("../Bin/Resources/ShaderFiles/Shader_VtxPos.hlsl"), VTXPOS::Elements, VTXPOS::iNumElements));
|
||||
jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext,
|
||||
FX_RANROK_ETHER,
|
||||
TEXT("../Bin/Resources/ShaderFiles/Shader_VtxRanrokEther.hlsl"), VTXANIMMESH::Elements, VTXANIMMESH::iNumElements));
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
@@ -95,6 +95,7 @@ void CNPCInteraction::ActiveOff()
|
||||
void CNPCInteraction::BoxOff()
|
||||
{
|
||||
m_bBoxActive = false;
|
||||
m_pBoxInfo.pOwner = nullptr;
|
||||
}
|
||||
|
||||
void CNPCInteraction::NpcInfo(void* pArg)
|
||||
|
||||
@@ -1985,14 +1985,17 @@ void CPlayer::Behavior_ParryEnter()
|
||||
m_pGameInstance->SlowMotion(0.4f, 0.2f); },
|
||||
0.01f);
|
||||
|
||||
Add_Sound_Event(pairAnimInfo.first,
|
||||
[this]() {m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_STUPEFY, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);},
|
||||
0.01f);
|
||||
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::STUPEFY, this); },
|
||||
fEventRatio);
|
||||
|
||||
Add_Sound_Event(pairAnimInfo.first,
|
||||
[this]() {m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_STUPEFY, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); },
|
||||
0.01f);
|
||||
|
||||
Add_Sound_Event(pairAnimInfo.first,
|
||||
[this]() {m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_BOMBARD_24, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); }, 0.01f);
|
||||
|
||||
m_bShield = false;
|
||||
|
||||
}
|
||||
|
||||
@@ -126,8 +126,6 @@ HRESULT CProtego::Pre_Setting(CGameObject* pObject, void* pArg)
|
||||
|
||||
m_fSizeAccTime = 0.f;
|
||||
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::VOICE_PROTEGO, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -161,7 +161,7 @@ _int CQuest_Data::Set_AcceptQuest(_int Index)
|
||||
return 2;
|
||||
}
|
||||
|
||||
HRESULT hr = m_pGameInstance->Add_GameObject_ToLayer<CQuestInstance>(g_iStaticLevel, NEXT_LEVEL, LAYER_UI, &QuestInfos[Index], nullptr, reinterpret_cast<CQuestInstance**>(&m_pQuestInstance));
|
||||
HRESULT hr = m_pGameInstance->Add_GameObject_ToLayer<CQuestInstance>(g_iStaticLevel, g_iStaticLevel, LAYER_UI, &QuestInfos[Index], nullptr, reinterpret_cast<CQuestInstance**>(&m_pQuestInstance));
|
||||
if (FAILED(hr))
|
||||
{
|
||||
return -1;
|
||||
|
||||
@@ -56,7 +56,7 @@ HRESULT CQuest_Panel::Initialize(void* pArg)
|
||||
Set_Status();
|
||||
//m_pInfoInstance->Set_AcceptQuest(0);
|
||||
//m_pInfoInstance->Set_AcceptQuest(1);
|
||||
//m_pInfoInstance->Set_AcceptQuest(2);
|
||||
m_pInfoInstance->Set_AcceptQuest(6);
|
||||
Add_Function(TEXT("Click"), [this](void* p) {this->Slot_Hover(*reinterpret_cast<_int*>(p)); });
|
||||
static_cast<CUIObject*>(m_pOwner)->Add_Function(TEXT("QuestPanelClose"), [this](void* p) {this->Slot_Hover(*reinterpret_cast<_int*>(p)); });
|
||||
return S_OK;
|
||||
|
||||
@@ -242,6 +242,8 @@ void CStupefy::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
if (m_bHit == false)
|
||||
return;
|
||||
|
||||
m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_BOMBARD_46, SD_CHANNEL_GROUP::EFFECT, false, 0.7f);
|
||||
|
||||
ON_COLLISION_INFO CollisionDesc = *static_cast<ON_COLLISION_INFO*>(pDesc);
|
||||
|
||||
_vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos);
|
||||
@@ -258,7 +260,6 @@ void CStupefy::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
pHitFlare->Set_Visible(true);
|
||||
pHitFlare->Get_Component<CTransform>()->Set_State(STATE::POSITION, vPos);
|
||||
|
||||
|
||||
|
||||
m_pProjectile->Get_Component<CTransform>()->Set_State(STATE::POSITION, XMVectorSet(0.f, -9999.f, 0.f, 1.f));
|
||||
m_pStupefy_PJ_PT->Get_Component<CTransform>()->Set_State(STATE::POSITION, XMVectorSet(0.f, -9999.f, 0.f, 1.f));
|
||||
|
||||
@@ -739,7 +739,7 @@ void CTroll::Behavior_HitEnter()
|
||||
m_bLookAt = false;
|
||||
if (iCurrAnimIndex == m_Animation[STATEANIM::SLAM].first)
|
||||
{
|
||||
if (fRatio >= 0.29f && fRatio <= 0.6f) {
|
||||
if (fRatio >= 0.29f && fRatio <= 0.7f) {
|
||||
pairAnimInfo = m_Animation[STATEANIM::HIT_FACE];
|
||||
Add_Event(pairAnimInfo.first,
|
||||
[this]() {
|
||||
|
||||
@@ -145,6 +145,8 @@ void CUI_Manager::Canvas_Change(UI_STATE eType)
|
||||
static_cast<CGameObject*>(m_pNPCInteraction)->Set_Visible(false);
|
||||
static_cast<CGameObject*>(m_pBroom_TargetGate)->Set_Visible(false);
|
||||
static_cast<CGameObject*>(m_pDamage_Font)->Set_Visible(false);
|
||||
m_pInfoInstance->Event_CallBack(TEXT("NPCInteractionOff"));
|
||||
m_pInfoInstance->Event_CallBack(TEXT("BOXInteractionOff"));
|
||||
break;
|
||||
|
||||
default:
|
||||
@@ -521,7 +523,6 @@ void CUI_Manager::Change_Map()
|
||||
void CUI_Manager::Set_Race(_bool bRace)
|
||||
{
|
||||
m_bRace = bRace;
|
||||
static_cast<CGameObject*>(m_pBroom_TargetGate)->Set_Visible(bRace);
|
||||
}
|
||||
|
||||
void CUI_Manager::Set_Battle(_bool bBattle)
|
||||
|
||||
@@ -63,6 +63,8 @@ class CDialogue_Font final : public CGameObject
|
||||
void SpellLearn();
|
||||
void Quest();
|
||||
void ReSet();
|
||||
|
||||
void Quest_Complete();
|
||||
private:
|
||||
CInfoInstance* m_pInfoInstance = { nullptr };
|
||||
|
||||
|
||||
@@ -56,8 +56,8 @@ class CElf final : public CUnit
|
||||
virtual _wstring Get_NpcName() override;
|
||||
void Set_NpcState(_int iState) { m_eNpcState = iState; }
|
||||
void Set_Target(CUnit& pTarget, CTransform& pTransform);
|
||||
virtual void Set_Flow(_int Index);
|
||||
virtual _int Get_Flow();
|
||||
virtual void Set_Flow(_int Index, _float fTime) override;
|
||||
virtual _int Get_Flow() override;
|
||||
protected:
|
||||
CInfoInstance* m_pInfoInstance = { nullptr };
|
||||
CCharacter_Controller* m_pCharacter_Controller = { nullptr };
|
||||
@@ -82,6 +82,10 @@ class CElf final : public CUnit
|
||||
_float m_fInteractTime{};
|
||||
_int m_eNpcState = ENUM_CLASS(ELF_STATE::END);
|
||||
|
||||
_int m_iFlowIndex{};
|
||||
_float m_fFlowTime{};
|
||||
_bool m_bFlow = { false };
|
||||
|
||||
unordered_map<_int, _float4> m_Points;
|
||||
|
||||
|
||||
|
||||
@@ -41,7 +41,6 @@ class CUI_Manager final : public CUIObject
|
||||
|
||||
void Add_Manager_Event(_wstring Name, function<void(void*)> Event);
|
||||
void Event_Callback(_wstring Name, void* pArg = nullptr);
|
||||
|
||||
private:
|
||||
void Add_Canvas(_wstring Name, class CGameObject* pCanvas);
|
||||
CGameObject* Find_Canvas(const _wstring& Name);
|
||||
@@ -94,6 +93,8 @@ class CUI_Manager final : public CUIObject
|
||||
|
||||
_bool m_bRace = { false };
|
||||
_bool m_bBattle = { false };
|
||||
_bool m_bGate = { false };
|
||||
_float m_fGateTime{};
|
||||
public:
|
||||
static CUI_Manager* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
|
||||
virtual CGameObject* Clone(void* pArg, class CGameObject* pOwner) override;
|
||||
|
||||
@@ -38,12 +38,12 @@
|
||||
<Line ID="4" Tag="1" Type="1" Text="저기 앞에 고블린이 있어." NextID="5"/>
|
||||
<Line ID="5" Tag="1" Type="2" Text="부탁이야. 저 고블린들 좀 잡아줘." NextID="5">
|
||||
<Choice Type="4" Text="알겠어. 맡겨." NextID="7" QuestID="0" />
|
||||
<Choice Type="0" Text="왜 내가?" NextID="6" QuestID="-1" />
|
||||
<Choice Type="1" Text="왜 내가?" NextID="6" QuestID="-1" />
|
||||
</Line>
|
||||
<Line ID="6" Tag="1" Type="0" Text="도비는 싸울 수 없어..." NextID="4"/>
|
||||
<Line ID="7" Tag="1" Type="2" Text="다 잡았어?" NextID="8">
|
||||
<Choice Type="4" Text="다 잡았다." NextID="8" QuestID="0" />
|
||||
<Choice Type="0" Text="아직" NextID="7" QuestID="-1" />
|
||||
<Choice Type="4" Text="아직" NextID="7" QuestID="0" />
|
||||
</Line>
|
||||
<Line ID="8" Tag="1" Type="0" Text="고마워... 이제 마을로 가자." NextID="9"/>
|
||||
<Line ID="9" Tag="1" Type="1" Text="어...? 저기 숨어있는 건...." NextID="10"/>
|
||||
@@ -53,12 +53,8 @@
|
||||
<Line ID="13" Tag="1" Type="1" Text="아직 근처에 고블린이 남아 있어." NextID="14"/>
|
||||
<Line ID="14" Tag="1" Type="2" Text="한 번만 더 도와줄래?" NextID="-1">
|
||||
<Choice Type="4" Text="알겠어." NextID="-1"/>
|
||||
<Choice Type="0" Text="여기까지만 할게." NextID="13"/>
|
||||
<Choice Type="0" Text="여기까지만 할게." NextID="14"/>
|
||||
</Line>
|
||||
|
||||
<Line ID="13" Tag="1" Type="1"
|
||||
Text="…여기서 기다릴게."
|
||||
NextID="-1"/>
|
||||
<Line ID="999" Tag="1" Type="0" Text="아직 덜 잡았네" NextID="7"/>
|
||||
</Dialogue>
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
</Quest>
|
||||
<Quest QuestID="6" QuestType="Main" QuestName="드래곤 슬레이어!" QuestInfo="용으로 변신한 란록 처치하기" AcceptState="0">
|
||||
<Objectives>
|
||||
<Objective Type="0" TargetID="2" QuestInfo="란록" CurrentCount="0" RequiredCount="1"/>
|
||||
<Objective Type="0" TargetID="4" QuestInfo="란록" CurrentCount="0" RequiredCount="1"/>
|
||||
</Objectives>
|
||||
<Rewards>
|
||||
<Reward Type="1" Value="BOMBARDA"/>
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
<STAT_GOBLIN_WIZARD Name="고블린 마법사" OBJECTID="2" HP="100" MAXHP="100" TARGETHP="100" DAMAGE="10" DEFENSE="10" SPEED="10" LEVEL="2" EXPERIENCE="10" MAX_EXPERIENCE="100" GOLD="4000" BOSS="0"/>
|
||||
<STAT_TROLL Name="트롤" OBJECTID="3" HP="500" MAXHP="500" TARGETHP="500" DAMAGE="10" DEFENSE="10" SPEED="10" LEVEL="5" EXPERIENCE="10" MAX_EXPERIENCE="100" GOLD="4000" BOSS="1"/>
|
||||
<STAT_RANROK Name="란록" OBJECTID="4" HP="1000" MAXHP="1000" TARGETHP="1000" DAMAGE="10" DEFENSE="10" SPEED="10" LEVEL="5" EXPERIENCE="10" MAX_EXPERIENCE="100" GOLD="4000" BOSS="1"/>
|
||||
<STAT_M_STUDENT Name="테오도어 그레이브스" OBJECTID="4" HP="5000" MAXHP="5000" TARGETHP="5000" DAMAGE="1" DEFENSE="10" SPEED="10" LEVEL="5" EXPERIENCE="10" MAX_EXPERIENCE="100" GOLD="4000" BOSS="1"/>
|
||||
<STAT_M_STUDENT Name="테오도어 그레이브스" OBJECTID="5" HP="5000" MAXHP="5000" TARGETHP="5000" DAMAGE="1" DEFENSE="10" SPEED="10" LEVEL="5" EXPERIENCE="10" MAX_EXPERIENCE="100" GOLD="4000" BOSS="1"/>
|
||||
</StatInfo>
|
||||
|
||||
@@ -134,7 +134,7 @@
|
||||
Spell_Damage="10" Spell_Cooltime="0" Duration="0" AnimNum="235" SpellInfo="마법 동물을 구출하거나 잡을 수 있는 마법 자루입니다." Spell_Lock="0"
|
||||
Equip_Spell="0" Use_Skill="1" Preview="0" Vidio="0" />
|
||||
<Spell Spell_ID="26" Spell_Name="기본 주문" Image_Name="Basic_Cast" Spell_Type="6" Type_Name="필수" Skill_Type="26"
|
||||
Spell_Damage="10" Spell_Cooltime="0" Duration="0" AnimNum="308" SpellInfo="적과 사물에게 가벼운 대미지를 줍니다. 시전하려면
|
||||
Spell_Damage="10000" Spell_Cooltime="0" Duration="0" AnimNum="308" SpellInfo="적과 사물에게 가벼운 대미지를 줍니다. 시전하려면
|
||||
을 탭하세요." Spell_Lock="0"
|
||||
Equip_Spell="0" Use_Skill="1" Preview="0" Vidio="0" />
|
||||
<Spell Spell_ID="27" Spell_Name="레벨리오" Image_Name="Revelio" Spell_Type="6" Type_Name="필수" Skill_Type="27"
|
||||
|
||||
@@ -1,7 +1,40 @@
|
||||
<KeyFrames>
|
||||
<Animation Index="33">
|
||||
<KeyFrame Event="Ranrok/ranrok_25.wav" Ratio="0.399" Volume="0.80000001"/>
|
||||
<KeyFrame Event="Ranrok/ranrok_24.wav" Ratio="0.130" Volume="0.80000001"/>
|
||||
<KeyFrame Event="Ranrok/ranrok_25.wav" Ratio="0.400" Volume="0.80000001"/>
|
||||
<KeyFrame Event="Ranrok/ranrok_24.wav" Ratio="0.070" Volume="0.80000001"/>
|
||||
<KeyFrame Event="Ranrok/ranrok_15.wav" Ratio="0.380" Volume="0.80000001"/>
|
||||
</Animation>
|
||||
<Animation Index="37">
|
||||
<KeyFrame Event="Ranrok/ranrok_4.wav" Ratio="0.162" Volume="0.80000001"/>
|
||||
</Animation>
|
||||
<Animation Index="34">
|
||||
<KeyFrame Event="Ranrok/ranrok_1.wav" Ratio="0.787" Volume="0.80000001"/>
|
||||
<KeyFrame Event="Ranrok/ranrok_22.wav" Ratio="0.167" Volume="0.80000001"/>
|
||||
<KeyFrame Event="Ranrok/ranrok_22.wav" Ratio="0.300" Volume="0.80000001"/>
|
||||
<KeyFrame Event="Ranrok/ranrok_22.wav" Ratio="0.408" Volume="0.80000001"/>
|
||||
<KeyFrame Event="Ranrok/ranrok_22.wav" Ratio="0.561" Volume="0.80000001"/>
|
||||
</Animation>
|
||||
<Animation Index="0">
|
||||
<KeyFrame Event="Ranrok/ranrok_7.wav" Ratio="0.250" Volume="0.80000001"/>
|
||||
</Animation>
|
||||
<Animation Index="1">
|
||||
<KeyFrame Event="Ranrok/ranrok_13.wav" Ratio="0.38" Volume="0.80000001"/>
|
||||
</Animation>
|
||||
<Animation Index="2">
|
||||
<KeyFrame Event="Ranrok/ranrok_26.wav" Ratio="0.320" Volume="0.80000001"/>
|
||||
</Animation>
|
||||
<Animation Index="5">
|
||||
<KeyFrame Event="Ranrok/ranrok_16.wav" Ratio="0.367" Volume="0.80000001"/>
|
||||
</Animation>
|
||||
<Animation Index="32">
|
||||
<KeyFrame Event="Ranrok/ranrok_32.wav" Ratio="0.436" Volume="0.80000001"/>
|
||||
</Animation>
|
||||
<Animation Index="11">
|
||||
<KeyFrame Event="Ranrok/ranrok_11.wav" Ratio="0.26" Volume="0.80000001"/>
|
||||
</Animation>
|
||||
<Animation Index="17">
|
||||
<KeyFrame Event="Ranrok/ranrok_3.wav" Ratio="0.35" Volume="0.80000001"/>
|
||||
</Animation>
|
||||
<Animation Index="15">
|
||||
<KeyFrame Event="Ranrok/ranrok_12.wav" Ratio="0.030" Volume="0.80000001"/>
|
||||
</Animation>
|
||||
</KeyFrames>
|
||||
|
||||
@@ -8,4 +8,14 @@
|
||||
<Animation Index="66">
|
||||
<KeyFrame Event="Troll/troll_1.wav" Ratio="0.280" Volume="0.80000001"/>
|
||||
</Animation>
|
||||
<Animation Index="11">
|
||||
<KeyFrame Event="Troll/troll_10.wav" Ratio="0.250" Volume="0.80000001"/>
|
||||
<KeyFrame Event="Troll/troll_15.wav" Ratio="0.660" Volume="0.80000001"/>
|
||||
</Animation>
|
||||
<Animation Index="141">
|
||||
<KeyFrame Event="Troll/troll_87.wav" Ratio="0.638" Volume="0.80000001"/>
|
||||
</Animation>
|
||||
<Animation Index="14">
|
||||
<KeyFrame Event="Troll/troll_87.wav" Ratio="0.155" Volume="0.80000001"/>
|
||||
</Animation>
|
||||
</KeyFrames>
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user