Torchmodders
Modding => GUTS Editor => Topic started by: Haxley on January 10, 2015, 10:59:22 am
-
Hey everyone!
I'm curious to know: I have a weapon that I want to be wielded like a Pistol but have Sword attack animations. I've tried to manipulate a custom unittype with different child settings trying to get this to work. Has anyone attempted this and been successful? On the same exact note, I need this done with a seperate weapon type that is wielded like a wand but has sword MAINHAND animations, but maintaining wand offhand animations.
If anyone wants to pipe in and let me know if this is even possible [And possible to only assign this to weapons so that it doesn't change anything but their own unittypes] and possibly how I could get this done if it is possible.
-
Hey Haxley,
I've tried making new weapon types with new animations to no avail. The associated animation links seem to be hardcoded or I simply haven't found the correct files to modify.
With a hex editor it might be possible to assign unique animation sets to new unit types. Chthon would be a good person to ask about the viability of doing this.
-
Hiyya Haxley. Gyt's right, the association between a weapon of a certain unittype and the animation it will use is hardcoded in the game engine.
Having said that, you CAN clone a sword animation and rename it internally so that the game sees it as a pistol animation (or vice versa depending on what you need). You might need to finetune the muzzleflash .layout to cover any timing differences between a regular pistol animation and your cloned animation.
I see your question about a sword mainhand animation AND wand offhand animation as more challenging, but I need to think about that a little more (im in the middle of something for my day job :P )