Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

TSL Alignment hair-pulling

Page: 1 of 1
 Princess Artemis
07-07-2006, 7:44 PM
#1
I'm curious, first off, what all factors go into changing a character's alignment based on PC alignment. I know one of the big ones is influence, then there is Dark Side Corruption and Light Side Enlightenment (I believe that's what it's called.) I also know there is at least one more factor, but I don't know what it is (Persuade? Charisma?).

Essentially, I'm trying to duplicate in a script the immunity Kreia has to the Exile's alignment. Kreia's immunity is hardcoded, I think? I'm hoping it is something that can be duplicated though.

I think it would go far to at least find a way to script immunity to Dark Side Corruption and Light Side Enlightenment. I figure the best place for this script would be in the heartbeat script, so that it ran only when necessary and generally attempt to reset things.

I know I can set influence to 50 using a script and have done that (although I haven't tried it with a heartbeat script, it doesn't seem necessary when I can just remove all possibility of a character being influenced except through cheating.)

Is it possible to script immunity to a passive feat? Further, is it possibile to script immunity to whatever the third factor is that causes NPC alignment shifts? I would guess that if it's Charisma, that would also affect the character's attacking, since PC Charisma bonuses are added to NPC attacks, but that seems like a small price to pay in this case.
Page: 1 of 1