Hi Everyone,
Does anyone know how barbarian damage reduction is scripted/coded?
I've looked in the feats.2da and I only see references to the feat icon and dialog.TLK. How does the game engine know how to handle barbarian damage reduction? Is it hardcoded? If I made another class and cut and past barbarian damage reduction in it's bonus feat progression, would the game apply that correctly?
Any input is appreciated!
-ChemDog
Barbarian damage reduction coding
Débuté par
ChemDog
, juil. 23 2011 01:53
#1
Posté 23 juillet 2011 - 01:53
#2
Posté 24 juillet 2011 - 01:50
take a look at NW_S1_BarbRage.nss in script editor.
#3
Posté 24 juillet 2011 - 03:02
painofdungeoneternal wrote...
take a look at NW_S1_BarbRage.nss in script editor.
Hi PDE, thanks for the reply!
I think I sort of understand feats that are activated, they seem just like spells and have their NSS file referenced in spells.2da. I'm not understanding passive feats like the barb DR 1/- or weapon proficiencies. Which script actually gives the DR to your barbarian in-game?
#4
Posté 24 juillet 2011 - 09:30
Unfortunately, these are hardcoded. AFAIK there's no way to change/modify/create such feats directly. However, NWN2 did add the functionality to create "persistant feats" - take a look at the Paladin's Aura (or the Blackguard's). These work just like active feats, triggering a spell, but the IsPersistantFeat (or some similarly named) column makes them apply their effects automatically. You could add DR there. I believe the Stormlord resistance feats are actually done this way, too.
#5
Posté 25 juillet 2011 - 01:52
The Fred wrote...
Unfortunately, these are hardcoded.
Not what I wanted to hear, but confirmation is appreciated. Looks like I will have to imitate Aura of Courage-type feats for what I want. Should be a good learning experience, thanks for the reply!





Retour en haut






