Mr. Higgsbury II Posted April 25, 2020 Share Posted April 25, 2020 I'm trying to make a mod that lets your choose between the different DLC mainscreens. So far everything works except for the SW animation assets. The game keeps saying that it cannot find the bank and build despite me using the default ones from the game and trying to import them manually myself. It would be greatly appreciated if anyone has advice on this. Thanks. Spoiler local function SetMainInit(self) --apply custom stuff if theme == 2 then --apply the animations for SW self.shield:GetAnimState():SetBank("title_sw") --this is usually named sw_title_shield (doesn't work, but doing it for hamlet works just fine) self.shield:GetAnimState():SetBuild("sw_shield") --same for this self.shield:GetAnimState():PlayAnimation("idle", true) self.wilson:GetAnimState():SetBank("corner_dude_sw") self.wilson:GetAnimState():SetBuild("corner_dude_sw") self.wilson:GetAnimState():PlayAnimation("idle", true) end end log.txt Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.