Editing Vampire Faction AlliesFriends

Post » Mon Jun 18, 2012 6:07 am

Hey,

I am working on a mod for Vampires and I want the Player Character to be part of the "regular" Vampire faction.
Using the VampireQuest script, I tried to add the player to the VampireFaction, instead of the VampirePCFaction; however for some reason vampires still attack the player.

I think the only way to get around this is to add the VampirePCFaction as an ally or friend to the VampireFaction and the VampireThrallFaction.
In the faction "window", there is no option to add additional allies though.

Does anyone know how I may accomplish this?

I've never modded much before, but I am fairly experienced with coding (4 years of c++ and java, plus some Verilog HDL experience).

Thanks!
User avatar
Samantha Mitchell
 
Posts: 3459
Joined: Mon Nov 13, 2006 8:33 pm

Post » Mon Jun 18, 2012 3:27 am

Bump.
I managed to add the VampirePCFaction as an ally to the VampireFaction and the VampireThrallFaction (and in reverse as well, those factions added as allies to the VampirePCFaction), but the player still gets attacked by them.
Any way to resolve this?
User avatar
Bethany Watkin
 
Posts: 3445
Joined: Sun Jul 23, 2006 4:13 pm

Post » Sun Jun 17, 2012 11:47 pm

Anyone?
User avatar
Vera Maslar
 
Posts: 3468
Joined: Wed Sep 27, 2006 2:32 pm

Post » Sun Jun 17, 2012 11:11 pm

The player is only added to VampirePCFaction in the fourth stage and removed when they feed again, if I recall correctly.
You want to add the player to the Vampire Faction when they get changed
http://www.uesp.net/wiki/Skyrim:VampireFaction#VampireFaction

edit: also if you're already a vampire when you edit scripts the original instance will stick to your player/actors
User avatar
TRIsha FEnnesse
 
Posts: 3369
Joined: Sun Feb 04, 2007 5:59 am

Post » Mon Jun 18, 2012 9:27 am

The player is only added to VampirePCFaction in the fourth stage and removed when they feed again, if I recall correctly.
You want to add the player to the Vampire Faction when they get changed


edit: also if you're already a vampire when you edit scripts the original instance will stick to your player/actors

Are you sure about the original instance not adapting to a script change? I changed the script so that the Player does not get attacked on sight by the guards and tested it with a previously made vampire character save, which did work.

Instead of adding the player directly to the VampireFaction, I am trying to just ally the VampirePCFaction with the VampireFaction. Do you think I would have to create a new vampire character to test that?
User avatar
Andy durkan
 
Posts: 3459
Joined: Fri Aug 03, 2007 3:05 pm

Post » Mon Jun 18, 2012 12:03 am

Bump.
User avatar
Casey
 
Posts: 3376
Joined: Mon Nov 12, 2007 8:38 am

Post » Mon Jun 18, 2012 12:07 am

Bump. Anyone?
User avatar
Kate Schofield
 
Posts: 3556
Joined: Mon Sep 18, 2006 11:58 am

Post » Mon Jun 18, 2012 1:50 am

first of all i did new faction VampirePCFaction02 where vampires and their thralls are allies towards player. then edit PlayerVampireQuestScript properties. there add new property and it must be faction. then add the new faction (VampirePCFaction02) over there. next go edit PlayerVampireQuestScript source. find the part where this start "Function VampireProgression". then find this part "ElseIf VampireStage == 1" now add this line in bottom of the text before the EndIf and EndFunction. "Game.GetPlayer().AddtoFaction(VampirePCFaction02)". you must note however that these scripts wont start work properly if you dont feed if you are already a vampire.
User avatar
Stephanie Valentine
 
Posts: 3281
Joined: Wed Jun 28, 2006 2:09 pm


Return to V - Skyrim