factions

Post » Sat May 28, 2011 8:39 am

the wiki is confusing me so I ask here

how do I make a faction, and upon attaining a rank in another faction, he gains a new faction.

this will sound a bit off, but follow me please.

in ooo, I am having a stacking error. I was told that EE uses a complex script to do something similar, but I am not that good a script writer yet.

when you join the mage's guild, you instantly get the rank of associate, so that is off the table, already gotten around.

when you gain the next rank, apprentice, you also gain the faction of MGApprentice.
now in OOO, items in the guild are set ownership or mage's guild, then rank. this as far as I know is causing a stacking error. what I want to do is just give the items in there a new faction instead of a rank.

when stolen, it will just flag as stolen, minus the rank, and should solve the stacking problem.
since each item in the guild is individually set with ownership, I dont mind going through and resetting them. even if its only for myself.


so, I repeat before I sidetrack myself again, how do I make a faction and then give it to the player upon attaining a rank.
its somewhere, but for the life of me, I can't find it
User avatar
James Smart
 
Posts: 3362
Joined: Sun Nov 04, 2007 7:49 pm

Post » Fri May 27, 2011 6:12 pm

It's not controlled within the faction itself, but is triggered either by dialogue or quest script. The easiest solution would probably be to add an activator in the archmage tower lobby which detects the players faction rank within the mages guild, and then gives the player a membership in the related secondary faction within a gamemode block.
scn Wb5MageFactionAdderActiScriptshort lastrankbegin gamemodeif player.getfactionrank  != lastrank  if player.getfactionrank  == 2     player.setfactionrank  1  elseif player.getfactionrank  == 6     player.setfactionrank  1  endif  set lastrank to getfactionrank endifend


Or something like that... Just be aware that both factions MUST exist within either Oblivion.esm or the currently active .esp in order for this to work, and that adding the player to most NPC-only factions can cause some unwanted behavior and can become the source for many property or disposition related bugs.

If the stuff you're wanting to do exists in different mods, and you aren't interested in sharing, it's best to just change the ownership of those specific items in the CS to the faction you want, or just removing ownership entirely. Adding the player to a faction using console is another option, but is a bit more tricky since you need to know the exact form ID which varies depending on load order.
User avatar
Quick Draw
 
Posts: 3423
Joined: Sun Sep 30, 2007 4:56 am

Post » Fri May 27, 2011 10:59 pm

It's not controlled within the faction itself, but is triggered either by dialogue or quest script. The easiest solution would probably be to add an activator in the archmage tower lobby which detects the players faction rank within the mages guild, and then gives the player a membership in the related secondary faction within a gamemode block.
scn Wb5MageFactionAdderActiScriptshort lastrankbegin gamemodeif player.getfactionrank  != lastrank  if player.getfactionrank  == 2     player.setfactionrank  1  elseif player.getfactionrank  == 6     player.setfactionrank  1  endif  set lastrank to getfactionrank endifend


Or something like that... Just be aware that both factions MUST exist within either Oblivion.esm or the currently active .esp in order for this to work, and that adding the player to most NPC-only factions can cause some unwanted behavior and can become the source for many property or disposition related bugs.

If the stuff you're wanting to do exists in different mods, and you aren't interested in sharing, it's best to just change the ownership of those specific items in the CS to the faction you want, or just removing ownership entirely. Adding the player to a faction using console is another option, but is a bit more tricky since you need to know the exact form ID which varies depending on load order.


I dont mind sharing, and the faction will be newly created. Just want to see how, then I will consider if its worth doing.
User avatar
Racheal Robertson
 
Posts: 3370
Joined: Thu Aug 16, 2007 6:03 pm


Return to IV - Oblivion