Jump to content

[LE] Problem with Making a Patch for Alternate Start


OneOnOne1162

Recommended Posts

I do not want to confuse you, but I am not sure what papyrus skill you have. If you understand what IsharaMeradin provide to you, please ignore my posting.

 

fragment script (posted on top)

 

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 1
Scriptname TrTh_TIF__07005905 Extends TopicInfo Hidden

;BEGIN FRAGMENT Fragment_0
Function Fragment_0(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor
;BEGIN CODE
    ARTH_LAL_StartQuest ChargenQuest = StartQuest as ARTH_LAL_StartQuest
    ChargenQuest.SetAddonQuestStage(10, MakeThaneAlternateStart)
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment

  Quest Property MakeThaneAlternateStart  Auto  
  Quest Property StartQuest Auto

 


original form of the script (potential fix that I saw on the instruction page)

 

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 1
Scriptname TrTh_TIF__07005905 Extends TopicInfo Hidden

;BEGIN FRAGMENT Fragment_0
Function Fragment_0(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor
;BEGIN CODE
    ChargenQuest.SetAddonQuestStage(10, MakeThaneAlternateStart)
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment

  Quest               PROPERTY MakeThaneAlternateStart auto
  ARTH_LAL_StartQuest PROPERTY ChargenQuest auto

 


You wrote: "when I try to access properties for the script it now says: Errors encountered while attempting to reload the script."

What could be the problem?
As you can see the script name is for both versions "TrTh_TIF__07005905", the script source file may be "TrTh_TIF__07005905.psc".
A topicInfo script is a part of a quest that is using a dialogue. Each dialogue has a unique FormID in this case 0x07005905.

All of these should be loaded to make a patch file, which I named "Yourpatch.esp" (use a better name) and make sure your patch file is active.

    Skyrim.esm      0x00 {005905}
    Update.esm      0x01 {005905}
    Dawnguard.esm   0x02
    HearthFires.esm 0x03
    Dragonborn.esm  0x04

    Unofficial Skyrim Legendary Edition Patch.esp 0x05
    Alternate Start - Live Another Life.esp       0x06
    Yourpatch.esp                                 0x07 005905

You should have a papyrus source of filename "ARTH_LAL_StartQuest.psc".
Within this source is a function called SetAddonQuestStage(), which has two parameter first of type int and second of type quest.

---

You wrote: "This thread seems to be about being unable to compile scripts"

Did you really read the whole thread content?

Edited by ReDragon2013
Link to comment
Share on other sites

I do not want to confuse you, but I am not sure what papyrus skill you have. If you understand what IsharaMeradin provide to you, please ignore my posting.

 

fragment script (posted on top)

 

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 1
Scriptname TrTh_TIF__07005905 Extends TopicInfo Hidden

;BEGIN FRAGMENT Fragment_0
Function Fragment_0(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor
;BEGIN CODE
    ARTH_LAL_StartQuest ChargenQuest = StartQuest as ARTH_LAL_StartQuest
    ChargenQuest.SetAddonQuestStage(10, MakeThaneAlternateStart)
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment

  Quest Property MakeThaneAlternateStart  Auto  
  Quest Property StartQuest Auto

 

 

original form of the script (potential fix that I saw on the instruction page)

 

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 1
Scriptname TrTh_TIF__07005905 Extends TopicInfo Hidden

;BEGIN FRAGMENT Fragment_0
Function Fragment_0(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor
;BEGIN CODE
    ChargenQuest.SetAddonQuestStage(10, MakeThaneAlternateStart)
;END CODE
EndFunction
;END FRAGMENT
;END FRAGMENT CODE - Do not edit anything between this and the begin comment

  Quest               PROPERTY MakeThaneAlternateStart auto
  ARTH_LAL_StartQuest PROPERTY ChargenQuest auto

 

 

You wrote: "when I try to access properties for the script it now says: Errors encountered while attempting to reload the script."

 

What could be the problem?

As you can see the script name is for both versions "TrTh_TIF__07005905", the script source file may be "TrTh_TIF__07005905.psc".

A topicInfo script is a part of a quest that is using a dialogue. Each dialogue has a unique FormID in this case 0x07005905.

 

All of these should be loaded to make a patch file, which I named "Yourpatch.esp" (use a better name) and make sure your patch file is active.

    Skyrim.esm      0x00 {005905}
    Update.esm      0x01 {005905}
    Dawnguard.esm   0x02
    HearthFires.esm 0x03
    Dragonborn.esm  0x04

    Unofficial Skyrim Legendary Edition Patch.esp 0x05
    Alternate Start - Live Another Life.esp       0x06
    Yourpatch.esp                                 0x07 005905

You should have a papyrus source of filename "ARTH_LAL_StartQuest.psc".

Within this source is a function called SetAddonQuestStage(), which has two parameter first of type int and second of type quest.

---

You wrote: "This thread seems to be about being unable to compile scripts"

Did you really read the whole thread content?

 

Yeah, I already understood most of that. All of those are loaded. I esmified them all and loaded them. Then I set the current patch .esp I'm working on as the active file. I understood that there was a function in the script which it was trying to use. What I didn't know, and what I'm still not sure of, is in the other person's fix what the number before the .esp name refers to. Does it refer to the quest the dialogue is part of? The dialogue topic itself? Or is it just the ID of the .esp itself? That last one is the impression I'm getting from what you posted.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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