Jump to content

Need Help with moding enemy tags in W3.


Recommended Posts

Hi,

i recenty published this Mod for Witcher 3: 

https://www.nexusmods.com/witcher3/mods/10502?tab=description

i´m still working on it and i have the following issue: There are some enemys specifically in the dlc areas (HoS Fallen Knights f.e.) that cannot be killed with finishers, because they have the "disablefinisher" tag. I am endlessly annoyed by this and wish to "fix" this. I have found a workaround thanks to another mod author, by removing the "disablefinisher" tag globally in the damageManagerProcessor.ws. However this causes some enemies to get bugged, like the dwarves in novigrad, because there models don´t support finishers i suppose and they start to levitate for a couple of seconds, when geralt is trying to finish them. 

so here is my question: 

How can i remove the "disablefinisher" tag for specific enemies or determine how it´s getting applied. I have been unfortunately unsuccessful in finding any way to do this.

Help would be so much appreciated. 

Greetings r0ckwolf

Edited by r0ckwolf
Link to comment
Share on other sites

did you try if( actorVictim.HasAbility( 'DisableDismemberment' ) )
        {
            dismember = true;
        }
        else if( actorVictim.HasTag( 'DisableDismemberment' ) )
        {
            dismember = true;

 

 

I tried it myself , before when spawning dwarf , there was  no Dismember.

after: I did get an Dismember animation but it was a bit gltiched, (they all hit a T pose) but the npc did die at least.

 

maybe if they have disable finisher tag it would prority the dismember with this, so its not as visible.

 

 

 

worth a try I guess.

 

(all this code I am talking about is in damageManagerProcessor file )

Edited by Warhiz24
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...