Jump to content

How To Stop Collision Binary


Recommended Posts

Hi dev, with this edit in your binary source you can pass through mobs npc and pets.

Edit in GameLib/ActorInstanceCollisionDetection.cpp

Search:

BOOL CActorInstance::TestActorCollision(CActorInstance & rVictim)
{

   if (rVictim.IsDead())
        return FALSE;

Add after:

    if (rVictim.GetRace() == 30000)
        return FALSE;

This work for shops, you can add mobs or npc very easy only add a new if statement like:

    if (rVictim.GetRace() == 30000 || rVictim.GetRace() == 34001)
        return FALSE;

 

  • Love 2
Link to comment
Share on other sites

Announcements



×
×
  • 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.