Welcome to the modding scene! You'll find folks around here are generally pretty willing to help new boots, even if it's questions that have been asked before.
I can't help with much of this stuff, but here goes...
Kellindell wrote...
Found a lot of stuff on how to make custom spells, cant find anything on how to change existing spells for the module we are building.
Each spell has its own script. If you're not sure which one it is, check the
NWN Wiki. It has an article dedicated to each spell, and they'll tell you the appropriate script at the bottom. If you're still not sure where to go from there, you'll probably have the best luck researching on the
NWN Lexicon or asking on the
scripting forums.
Some stuff we want to do as an example
-Make it so see invis and True sight do not see through hide
To do this, you need to change the True Seeing spell to a combination of See Invisibility and Ultravision (this allows the caster to see invisible creatures and see through magical darkness, but not stealthy creatures).
Edit the script nw_s0_truesee and replace the following lines:
effect eSight = EffectTrueSeeing();
effect eLink = EffectLinkEffects(eVis, eSight);
With this:
effect eSight = EffectSeeInvisible();
effect eUltra = EffectUltravision();
effect eLink = EffectLinkEffects(eVis, eSight);
eLink = EffectLinkEffects(eLink, eUltra);
-Increase the power of RDD breathe weapon
You need to edit x2_s2_discbreath. How you edit it will depend on how you want to increase the power. If you want to just, say, double the damage, you could change the following line:
int nDamage = d10(nDamageDice);
To this:
int nDamage = d10(nDamageDice * 2);
-Generic example, if a spell does 1d6 per level, how can I make it 1d8 or 1d4 per level
This depends greatly on the script, but most spell scripts use one of the d*() functions. For example, the dragon disciple breath snippet I posted above used d10(). Changing that to d8() would cause the script to roll d8s for damage instead.
Your options here are d2(), d3(), d4(), d6(), d8(), d10(), d12(), d20(), and d100().
That's all I got in me tonight, but I'll try to pitch in some more tomorrow if someone else doesn't beat me to it.
Modifié par Squatting Monk, 14 juin 2013 - 08:18 .