Suggestion: expand functionality of EffectPoison() and EffectDisease()
shadguy
Member Posts: 154
EffectPoison() and EffectDisease() can only apply a limited set of pre-designed Poisons and Diseases per the relevant 2da files. Per nwnlexion, we cannot add new poisons or diseases to the game by expanding the 2da files; we can only edit the behavior of what's already defined.
This limits the modders ability to make custom disease and poisons wherein the effect DCs might scale by HD and/or caster level, for example. Also, these effects are pretty much outgrown at high levels of play by the limited range covered by the DCs of the predefined poisons, regardless of efforts to rebalance an effect here or there.
I suggest allowing modders to add more lines to these 2das to support custom poisons and diseases.
I also suggest adding new functions or updating the existing ones to allow the specification of all of the details otherwise set in 2das. Perhaps adding EffectCustomPoison() and EffectCustomDisease() functions is viable?
-Dave
References (See "Remarks" section of each link) :
https://nwnlexicon.com/index.php?title=EffectPoison
https://nwnlexicon.com/index.php?title=EffectDisease
This limits the modders ability to make custom disease and poisons wherein the effect DCs might scale by HD and/or caster level, for example. Also, these effects are pretty much outgrown at high levels of play by the limited range covered by the DCs of the predefined poisons, regardless of efforts to rebalance an effect here or there.
I suggest allowing modders to add more lines to these 2das to support custom poisons and diseases.
I also suggest adding new functions or updating the existing ones to allow the specification of all of the details otherwise set in 2das. Perhaps adding EffectCustomPoison() and EffectCustomDisease() functions is viable?
-Dave
References (See "Remarks" section of each link) :
https://nwnlexicon.com/index.php?title=EffectPoison
https://nwnlexicon.com/index.php?title=EffectDisease
Post edited by shadguy on
1
Comments
I can't speak for disease because I haven't yet done that, but poisons can certainly be added by adding lines to the 2da. That already works. I suspect disease works as well. The limitation is in how they work. Applied once, second effect after 1 minute, not stackable, limited range of bad effects, etc. But this can be scripted around. Take a look at what Shadooow did in CPP 1.7X.
That said, the suggestion to specify arbitrary parameters via script without pre-defining them in 2da would still be an asset.
-Dave