Lose Vampirism When Reverting from Vampire Lord

This is NOT caused by my mod.
I do not change or edit the Dawnguard script that controls your turning into or reverting from a Vampire Lord.

If you are using a custom race, please click here.

Apparently, as I understand it, when you become a vampire lord the game keeps the race of the character in the parameter "playerRace" in the quest "DLC1VampireLordTrackingQuest".

If your race is changed using "showracemenu" (for example) then reverting from a Vampire Lord will still use your original "playerRace".

My best guess is that people who use the console to mess with their race somehow have the wrong value for "playerRace" saved.  That is why, when you revert, you become mortal instead of being a vampire race.



A mod that should fix your issue can be found here:
Werewolf script _ Vampire Lord fix by ShooD
http://www.nexusmods.com/skyrim/mods/11307

The mod just overwrites the parameter "playerRace" in the quest "DLC1VampireLordTrackingQuest".
While I can not say how this might affect the game in the future.
Please make a save game prior to use.

Source code:

Scriptname zshCustomRaceFixerSC extends activemagiceffect
{TEST CUSTOM RACE FIX}
Quest Property DLC1VampireLordTrackingQuest Auto

Event OnEffectStart(Actor akTarget, Actor akCaster)
(DLC1VampireLordTrackingQuest as DLC1VampireTrackingQuest).playerRace = Game.GetPlayer().GetRace()
; debug.MessageBox("TEST!")
EndEvent

Installation:
Unpack and copy the contents of the compressed ZIP file into your Skyrim game folder, into the 'Data' folder. Using the 'vanilla game launcher' tool, click on the 'Data' button and make sure there is a check mark in front of this mod. This will activate the mod in your game. Now load the game up and your now done.