I am using a racial/armor encumbrance system. It basically gives supernatural speed decreases of varying amounts to (a) people in heavy and medium armor and (
small races. It does all the right things like not slowing dwarves down in armor, etc. The system works exactly like I want it to.
I am now trying to make that system play nice with the out-of-the-box mount scripts. I want to remove all speed decreases from the rider when they mount and reapply them when they dismount. I was planning on just using my preexisting RemoveEncumbrance and SetEncumbrance functions. I'm just having one problem--where would I call them from?
I had no success setting premount and postdismount string variables on the mount (made set and remove scripts that called the functions) and haven't figured out where I would call my functions within x3_inc_horses in the default HorseMount and HorseDismount.
Any helpful suggestions to point me in the right direction?