Jump to content

Official Collision Update [REVERSED]


Recommended Posts

  • Honorable Member
Posted (edited)
Spoiler

The other day I decided to finish missing parts of __BL_HIT__(Scale, Attack Range, Collision etc.).

Missing parts are completed.

Now I'm sharing a little piece of it.

 

Reversed From Official Binary

 

This is the hidden content, please

This is the hidden content, please

 

 

 

Before:

 .jpg

After:

 .jpg

 

 

Edited by Mali
  • Metin2 Dev 36
  • Good 6
  • Love 2
  • Love 16

 

Link to comment
Share on other sites

2 hours ago, Mali said:
  Reveal hidden contents

The other day I decided to finish missing parts of __BL_HIT__(Scale, Attack Range, Collision etc.).

Missing parts are completed.

Now I'm sharing a little piece of it.

 

Reversed From Official Binary

 

This is the hidden content, please

Hidden Content

 

///@@@ UserInterface/Locale_inc.h:
///Add
#define __BL_HIT__

///@@@ GameLib/ActorInstanceCollisionDetection.cpp:
///Add
#include "../UserInterface/Locale_inc.h"

//Find in void CActorInstance::UpdateAdvancingPointInstance()
			matCenter = *(D3DXMATRIX *)pModelInstance->GetBoneMatrixPointer(rInstance.dwBoneIndex);

///Change
#if defined(__BL_HIT__)
			D3DXMATRIX* pMatBone = (D3DXMATRIX*)pModelInstance->GetBoneMatrixPointer(rInstance.dwBoneIndex);
			matCenter = *(D3DXMATRIX*)pModelInstance->GetCompositeBoneMatrixPointer(rInstance.dwBoneIndex);
			matCenter._41 = pMatBone->_41;
			matCenter._42 = pMatBone->_42;
			matCenter._43 = pMatBone->_43;
#else
			matCenter = *(D3DXMATRIX *)pModelInstance->GetBoneMatrixPointer(rInstance.dwBoneIndex);
#endif

 

 

 

 

 

Before:

 .jpg

After:

 .jpg

 

 

Thank You @ Mali,  Excellent Release

  • Love 1
Link to comment
Share on other sites

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.