Merge branch 'Develope' into Camera
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -1479,6 +1479,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));
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
@@ -1982,14 +1982,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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
@@ -259,7 +261,6 @@ void CStupefy::OnCollision(CGameObject* pOther, void* pDesc)
|
||||
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));
|
||||
|
||||
|
||||
@@ -725,7 +725,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]() {
|
||||
|
||||
@@ -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.
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.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user