Hi everybody,
Maybe you can help me. I'm currently on developping a mod that allows units to upgrade and changing their weapons. Everything is working fine with data about damage, range, radius...thanks to the supcom buff system.
The thing i wanna do now is changing graphical projectiles on the fly when upgrading my units. It's not just a cosmetic change. I can give usefull infos on damage type by looking at projectile graphical effect. The matter is that it's not like modding a fixed unit. And i didn't succeed in hooking createprojectile methods in weapons.lua files. There are so much files. I try modding every area where i found some blueprintid info. I had no success with ChangeProjectileBlueprint method too. I found no example of its use. (maybe because i tried to change a beam weapon ?)
I got the feel i missed something. Is there a function that allows overriding everything to change the projectile id on the fly ? somebody got some experience on this ?
Thanks for your help !