Author Topic: Animal Empathy Questions  (Read 313 times)

Legacy_BelowTheBelt

  • Hero Member
  • *****
  • Posts: 699
  • Karma: +0/-0
Animal Empathy Questions
« on: November 21, 2013, 09:26:19 pm »


               I have a few questions about the Animal Empathy ability.  I understand that it is a hardcoded ability, but not really sure what that means.  I also understand that creatures who are affected by empathy are actually treated as 'dominated' and are run using the nw_ch_ac1-9 script set.

I'm wanting to modify the DCs of success, as I find it to be too easy, especially in a Take 20 situation.  Additionally,  when a beast is successfully empathized, I actually need to destoy that creature and replace it with a new one, but need to make it 'empathized' by the PC again.

General Questions:
1.  What is the script that is running the duration of the domination?  Is that the hb nw_ch_ac1 script?
2.  What is the function call to dominate a creature for a PC?  Apply an EffectDominated effect?
3.  How do you manually attach a dominated creature to a PC and begin the domination/AE heartbeat?
4.  What exactly does 'AE is hardcoded' mean?  DCs?  the function of the ability?  The timing?  All of the above?

I've done quite a few searches here, the omnibus, and the vault to find any kind of alternate approach to AE, but haven't uncovered anything that provides the level of detail I'm looking for.   Any insight would be appreciated.

Thanks!
               
               

               
            

Legacy_WhiZard

  • Hero Member
  • *****
  • Posts: 2149
  • Karma: +0/-0
Animal Empathy Questions
« Reply #1 on: November 21, 2013, 10:13:57 pm »


               1. The duration is not calculated by any editable script.  While dominated you use nw_ch_ac* scripts (for PC domination) or nw_g0_dominate (for NPC domination) see statescripts.2da
2. The domination is hard-coded.  It is normal domination (by GetEffectType()) and is blocked by mind-affecting immunity.
3. Create a domination effect where the PC is running the script and apply it to the target creature.
4. There is no script to edit, the way it is applied cannot be altered by a script editor.
               
               

               


                     Modifié par WhiZard, 21 novembre 2013 - 10:18 .
                     
                  


            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Animal Empathy Questions
« Reply #2 on: November 22, 2013, 12:46:50 am »


               the DC cannot be changed without nwnx, but duration can be decreased via workarounds - the creature will run the nw_ch_ac* scripts so in heartbeat you can count rounds and remove domination when you want - if you would want to apply this only for skill, you need to hook other dominating abilities and set local variable on target when domination happens - then check this variable, if its not there dominating comes from animal empathy.

Another workaround is to remove the skill entirely and creating new skill granting a feat into radial menu. Then you have full controll over this and you can dominate even animals with immunity etc. In no-hak module a PC tool feat could be used for this too, but player still have access to the original skill so you need to solve this out somehow - perhaps granting domination immunity to every animals.
               
               

               


                     Modifié par ShaDoOoW, 22 novembre 2013 - 12:48 .