Template Movement in VASSAL

I’m updating the VASSAL mod for the Gaslands miniatures game, which uses template movement (somewhat akin to X-Wing). I have a number of questions:

-are there any online resources you could point me to as to how best to implement it?

-is there a way to automate the process at all, or am I just going to have to make a new prototype for each base size (as they will all move slightly differently on account of their base)?

Thanks very much in advance.