Cheating your alignment
Tresset
Member, Moderator Posts: 8,268
Is there an easy way to cheat to control your character's alignment? I want to be a pale master but I can't stop myself from doing good deeds.
I have had some success in the past using dm_runscript commands, but the easiest scripts to use seem to require a very specific condition to work. Specifically I have run scripts like x0_d1_didevilhge, but they only seem to work when certain dialog windows are open, such as the dialog with the Relic of the Reaper in HotU. Obviously this wouldn't work in other modules so I am not quite sure what to do in other modules.
I have had some success in the past using dm_runscript commands, but the easiest scripts to use seem to require a very specific condition to work. Specifically I have run scripts like x0_d1_didevilhge, but they only seem to work when certain dialog windows are open, such as the dialog with the Relic of the Reaper in HotU. Obviously this wouldn't work in other modules so I am not quite sure what to do in other modules.
0
Comments
void main() { AdjustAlignment(GetFirstPC(), ALIGNMENT_CHAOTIC, 50, FALSE); }
void main() { AdjustAlignment(GetFirstPC(), ALIGNMENT_LAWFUL, 50, FALSE); }
void main() { AdjustAlignment(GetFirstPC(), ALIGNMENT_EVIL, 50, FALSE); }
void main() { AdjustAlignment(GetFirstPC(), ALIGNMENT_CHAOTIC, 50, FALSE); }
In the mean time I had found my own way which was far more convoluted than that. It involved editing every module I had, but now I can stop doing that!
The attached classes.2da already have the modifications made.
Edit: Experimentation seems to indicate that the game can only understand whole numbers appearing in this column, unless I am missing something...
From http://nwn.wikia.com/wiki/Pale_master
Pale master levels augment spell slots, but otherwise do not affect spellcasting. Thus, a level 10 sorcerer / 19 pale master has the same spells per day as a level 20 sorcerer, but has a caster level of only 10 and only knows as many spells as a level 10 sorcerer.
Yes it does appear to be that only whole numbers are accepted for this column, so the biggest cheat you can get with this is setting to 1.