Changing movement rules to allow flying
I am interested in making changes that would allow flying in certain situations, such as after polymorphing into a creature that can fly. I am a C++/C# programmer, but I have just begun to dig trough the runuo code. I imagine that one of the changes I will need to make is to modify the code that checks if a mobile can move over certain types of terain or accross certain elevation changes, etc. I have looked in Movement.cs and see a function call on m_Impl.CheckMovement(m, d, out newZ). Am I correct in assuming that within this function call is where I will find the relevant code? And where can I find the definition of IMovementImpl::CheckMovement(Mobile m, Direction d, out int newZ)?
As I mentioned, I have just begun digging through the runuo source, so please forgive me if I am missing something obvious. Thanks.
I am interested in making changes that would allow flying in certain situations, such as after polymorphing into a creature that can fly. I am a C++/C# programmer, but I have just begun to dig trough the runuo code. I imagine that one of the changes I will need to make is to modify the code that checks if a mobile can move over certain types of terain or accross certain elevation changes, etc. I have looked in Movement.cs and see a function call on m_Impl.CheckMovement(m, d, out newZ). Am I correct in assuming that within this function call is where I will find the relevant code? And where can I find the definition of IMovementImpl::CheckMovement(Mobile m, Direction d, out int newZ)?
As I mentioned, I have just begun digging through the runuo source, so please forgive me if I am missing something obvious. Thanks.