Hmm, almost there and one major issue. The script works, although I mucked up the gold value somehow. It costs 2000 gold to buy the makeover but my line of dialogue says 1500. Anyway, I should be able to fix that - the new door appears after buying the makeover, that's great. The old door though doesn't disappear so I can still enter vanilla Hjerim.
However, the major problem is entering the BypassHjerimVanilla door takes me to my NewHjerim cell as it should but in the same state as the first part to the Blood On The Ice quest, so there is no interior decorations and there's still blood everywhere (the save I'm using is a clean one, after solving the murders, buying the house and all the decorations and before my mod was active). My dividing wall is there, along with everything else I put in including the cellar but the house is empty and cobwebby as it is before completing the Blood on the Ice quest.
Maybe I should have modified one of the other houses instead, with Hjerim being involved in a quest line that alters it so much it has made this more complicated than it ought to be.
New link: http://www.filefactory.com/file/6xt2oladv2yv/Hjerim_Improvement2.esp
and the scripts:
;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment;NEXT FRAGMENT INDEX 1Scriptname TIF__0200A757 Extends TopicInfo Hidden;BEGIN FRAGMENT Fragment_0Function Fragment_0(ObjectReference akSpeakerRef)Actor akSpeaker = akSpeakerRef as Actor;BEGIN CODEgame.getplayer().removeitem(gold, HDWindhelmMakeover.value as int)decoratemarker.enable();END CODEEndFunction;END FRAGMENT;END FRAGMENT CODE - Do not edit anything between this and the begin commentMiscObject Property Gold Autoint Property GoldAmount AutoObjectReference Property DecorateMarker AutoGlobalVariable Property HDWindhelmMakeover Auto
And the Papyrus fragment:
game.getplayer().removeitem(gold, HDWindhelmMakeover.value as int)decoratemarker.enable()
EDIT
Hold on, think I figured out what went wrong. As I duplicated Hjerim I also copied all the Blood on the Ice quest triggers etc. I just need to delete them all from my new cell.