You are here

Need help activating a passive custom feat!!!

9 posts / 0 new
Last post
sandronejm
Need help activating a passive custom feat!!!

I'm planing to create a new Parry custom feat, its called Invencible Parry.

So in the nwn university files there is a tutorial "How to create feats". I followed this tutorial and I finished to create a passive (and not active) feat, because in the tutorial there is no how to create a active feat!

How can I convert my passive feat in active?

Amnésia - NWN Project

  • up
    50%
  • down
    50%
TheBarbarian

Try taking a closer look at feat.2da (30).

If memory serves me right, you want to set up a script that's supposed to run when your custom feat is activated, create a spells.2da (32) entry for that script, link to the spells.2da entry under SpellID in feat.2da, and set some things in feat.2da. SPELLID, TARGETSELF, USESPERDAY, ReqAction, and so on.

It's been a good while since I last messed about with this, though. x_X

  • up
    50%
  • down
    50%
sandronejm

Perfect reply TheBarbarian, thank you

  • up
    100%
  • down
    0%
MonsterTrainer

Could you please put a little tutorial together when you´re done, so that others with the same intentions have not to start from zero? That would be very cool!

  • up
    50%
  • down
    50%
sandronejm

People, I'm not getting  sucess to create a custom feat active.  I am still with a passive feat Invencible Parry. 

What I did... I linked a new entry in the spell.2da to the feat entry in the feat.2da and nothing. Did I miss something? Need help!!! :( 

  • up
    50%
  • down
    50%
Shadooow

The new entry in spell.2da probably doesnt have the required values.

Its best practice to copy the closest vanilla spell to what you want and then change values instead.

So,, knowing what you want to do, you should try to copy values from PC Tool 1 line 830 and then change ImpactScript to your script.

  • up
    100%
  • down
    0%
sandronejm

Thanks shadooow, but doesn't work here (to copy the closest vanilla spell) :(

Now I tried to create a new module and test it, and also doesn't work. :(

 

Edited


What I did was:

- To create a module and configure a HAK

- The HAK has the files: feat.2da, spells.2da

- To create the ImpactScript of the spells.2da line

Did I miss anything?

 

Note: My override folder there is no conflicts with the 2da files

  • up
    50%
  • down
    50%
Shadooow

Oh I know whats the problem here!

The feat is actually active but it does not appear in radial menu right?

This will be tricky, you will have to edit each base class cls_feat_*.2da and add a new line

13    SomeFeat                              666        3      -1                1

replace 666 with id of your feat

this must be done for classes that should have access to this feat, in your case for all of them

  • up
    100%
  • down
    0%
sandronejm

Yeah, you get my point correctly Shadooow !!

Now I am able to see my feat in the menu radial !

There is how I can thank you?  Very much happy here! laugh

  • up
    100%
  • down
    0%