Jump to content

[LE] Elderscroll Dragon display


greyday01

Recommended Posts

The Black book display works after finishing main Dragonborn quest. Two of the Elderscrolls can be put in my display after finishing Dawnguard but the third one Dragon still says I don't have that item and I cannot drop it. If I sell it to the librarian I can not buy it back. Is there some script I can put on my display activator to turn it into a non-quest item and display it?

Link to comment
Share on other sites

I do not really understand your problem.

 

Use tes5edit, remove all preloaded mods from list and tick only skyrim.esm, update.esm, dawnguard.esm, hearthfires.esm and dragonborn.esm to load.

Now look for the right FormID of the Elderscroll you are missing. Use the console and give player the missing elderscroll:

player.additem ?? 1

 

Keep in mind: You need the right first two digits depends on mod load order!

 

Just as sample for weapons.txt (Steam\SteamApps\common\skyrim)

 

;BAT pweapon
player.additem 0001cb36 1
player.additem 0002ac6f 1
player.additem 00035066 1
player.additem 00035369 1
;
player.additem 00045f96 1
; Red Eagle's Fury
player.AddItem 0009fd50 1
; Silver Greatsword
player.AddItem 0010c6fb 2
; Silver sword
player.AddItem 0010aa19 2
; Wuuthrad
player.AddItem 000956b5 1
; Volunruud01
player.AddItem 0002acd2 1
; Ebony Blade
player.AddItem 0004a38f 1
player.AddItem 000ea29c 1
; Ghostblade
player.AddItem 00094a2b 1
; Keening
player.AddItem 0006a13c 1
player.AddItem 0010f9c6 1
; Volendrung
player.AddItem 0002acd2 1

 

 

Edited by ReDragon2013
Link to comment
Share on other sites

my player is carrying the scroll however the item in my inventory as a quest item is probably elderscroll_alias or something like that.

The script on my display checks for item ID 2d513 which is the ID of the scroll but that check does not recognize the alias as being the same object.

For all my displays I cant add my objects to them until relevant quests are finished and the item is no longer a quest item.

I HATE aliases being used in quests when they are not really needed for every case. So what if you sell or drop something and can't finish the quest. That's your fault.

In this case I've finished the main quest and Dawnguard quests but I STILL can't drop or display that one scroll.

I could add the item to my player with a console code and I could probably display that but I would still be carrying around the alias scroll.

I can sell the thing to the librarian but afterwards I cant pickpocket or buy it back form him to get a non alias scroll. I tried.

Link to comment
Share on other sites

Sorry, I missunderstood "display". Now is more clear for me. Following is a theoretical approach.

 

greyQuestItemfixScript

 

Scriptname greyQuestItemfixScript extends ObjectReference
; https://forums.nexusmods.com/index.php?/topic/9613798-elderscroll-dragon-display/

  Scroll PROPERTY QuestItem auto Hidden


; -- EVENTs --

EVENT OnInit()
    Debug.Trace(" OnInit() - hass been called for " +self)
    QuestItem = Game.GetForm(0x0002D513) as Scroll                ; fill property here "Elderscroll (Dragon)"
ENDEVENT


EVENT OnActivate(ObjectReference akActionRef)
IF (akActionRef == Game.GetPlayer() as ObjectReference=
ELSE
    RETURN    ; - STOP -    not player activated
ENDIF
;--------------------- from here akActionRef can be used as player Reference
IF ( QuestItem )
    IF (akActionRef.GetItemCount(QuestItem as Form) > 0)
        myF_Action(akActionRef)
    ENDIF
ENDIF
ENDEVENT


; -- FUNCTION --

;-----------------------------------------------
FUNCTION myF_Action(ObjectReference akActionRef)
;-----------------------------------------------
    form fm = QuestItem as Form

    akActionRef.AddInventoryEventFilter(fm)
;;    Utility.Wait(0.1)
    akActionRef.RemoveAllItems(self, TRUE, TRUE)                ; moveto display and keep ownership, remove quest state
    akActionRef.RemoveInventoryEventFilter(fm)
        
;;;    objectReference oRef = akActionRef.DropObject(fm, 1)
;;;    Debug.Trace(" dropped object is " +oRef)
ENDFUNCTION

 

 

Edited by ReDragon2013
Link to comment
Share on other sites

Thank you. I don't completely understand the script since a lot of my scripting is to find a vanilla script and tweak it until it works and does what I need. I'll have to print this out and look it over until I understand it better. Thank you for your help. This might be just what I need.

 

I don't know why the darn thing is still a quest item. Alduin is dead and the scroll was finished being used several quests back in the main quest. Is this a bug in only my game or is everyone stuck with the scroll? There are a lot of mods that have custom displays, I wonder how they solve quest item display problems or if they do.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...