These control how much a unit is slowed when on a slope or underwater. Could someone make them definable mod-side inside the moveDefs? Currently:
rts\Sim\MoveTypes\MoveInfo.cpp wrote:md->depthMod = 0.1f;
...
md->slopeMod = 4.0f / (md->maxSlope + 0.001f);
It would make making amphibious units move as fast underwater as they do on land much easier. Unfortunately, I'm not sure how to change it to the way I want it to work. Is it simply a matter of changing the two lines to
rts\Sim\MoveTypes\MoveInfo.cpp wrote:md->depthMod = moveTable.GetFloat("depthMod", 0.1f);
...
md->slopeMod = moveTable.GetFloat("slopeMod", 4.0f / (md->maxSlope + 0.001f));