Did you want to make topology for the ligand? There are already some tools available for that, try those or you wanted to develop you have to do some QM calculation.VMD ForceField Toolkit is the best solution for that.But, it is a slow process. For OPLS I think there are some servers/tools ,check in tut.