I'm trying to create a mod that modifies how faction armor works. It seems that
I don't want to do that. What I want to do is modify how the armor treats positive faction; specifically, I want it to track faction with the associated armor, and not overwrite the faction setting if it's positive. In other words, If I'm wearing NCR armor, I want to retain positive faction with the NCR while wearing the armor, but if NCR faction is negative, it will be set to "neutral" as normal so long as I wear the armor.
Simply removing the specific part of the code for the armor won't do- it'll keep it from overwriting the positive faction, but it won't reset negative faction.
Unfortuantly, I have no idea how to make this happen. When I tried it with the NCR version of the script, I enclosed the section that dealt with the NCR faction in
if RepNVNCR >= 2 0.0 [Portion of the code that deals with resetting the NCR faction]endif
All that did was to keep the script from resetting the faction for ALL factions, but left aggro settings intact. Further fiddling effectively disabled the script completely, at which point I gave up. Any idea on what I'm doing wrong?
