Jump to content

jarno5

Premium Member
  • Posts

    3
  • Joined

  • Last visited

Posts posted by jarno5

  1. I am trying to create a script for 2 mods im using: AAF and Facelight.

    Somehow with the newest update for Fallout itself facelight is not appearing during AAF animations.

    So far i could narrow it down that facelight got messed up and would not apply when changing cells in 3rd person.

    i was able to fix it by adding OnCellLoad to the existing reload script from the mod itsself.

    now i need to make somthing simmular for AAF during an Event.

    Script for fix 3rd person (working) :

    Scriptname aaaFaceLightReload extends ReferenceAlias
    
    
    aaaFaceLightAddScript Property aaaFaceLightAddQuest auto
    
    
    ;On load game
    Event OnPlayerLoadGame()
    Utility.Wait(2)
    aaaFaceLightAddQuest.Register()
    aaaFaceLightAddQuest.RegisterForDialogueMenu()
    aaaFaceLightAddQuest.RefreshLightPC()
    EndEvent
    
    
    Event OnCellLoad()
    aaaFaceLightAddQuest.Register()
    aaaFaceLightAddQuest.RegisterForDialogueMenu()
    aaaFaceLightAddQuest.RefreshLightPC()
    EndEvent
    

    Now for my work in progress as its far from done:

    Scriptname AAF_Facelightreload extends quest
    
    ScriptObject AAFQuest_Script
    
    If Game.IsPluginInstalled()("AAF.esm")
    AAFQuest_Script = Game.GetFormFromFile(0x00000F99, "AAF.esm") as ScriptObject
    EndIf
    
    
    Event OnAnimationStart()
    aaaFaceLightAddQuest.Register()
    aaaFaceLightAddQuest.RegisterForDialogueMenu()
    aaaFaceLightAddQuest.RefreshLightPC()
    EndEvent

    Could any code wizard assist me on this? as i have zero skill in this and managed to fix the first by copy paste :laugh:

  2. Hi All!

     

    I trying to create a script for 2 mods im using: AAF and Facelight.

    Somehow with the newest update for Fallout itself facelight is not appearing during AAF animations.

    So far i could narrow it down that facelight got messed up and would not apply when changing cells in 3rd person.

    i was able to fix it by adding OnCellLoad to the existing reload script from the mod itsself.

     

    now i need to make somthing simmular for AAF during an Event.

     

    Script for fix 3rd person (working) :

    Scriptname aaaFaceLightReload extends ReferenceAlias
    
    
    aaaFaceLightAddScript Property aaaFaceLightAddQuest auto
    
    
    ;On load game
    Event OnPlayerLoadGame()
    Utility.Wait(2)
    aaaFaceLightAddQuest.Register()
    aaaFaceLightAddQuest.RegisterForDialogueMenu()
    aaaFaceLightAddQuest.RefreshLightPC()
    EndEvent
    
    
    Event OnCellLoad()
    aaaFaceLightAddQuest.Register()
    aaaFaceLightAddQuest.RegisterForDialogueMenu()
    aaaFaceLightAddQuest.RefreshLightPC()
    EndEvent

    Now for my work in progress as its far from done:

    
    
    Scriptname AAF_Facelightreload extends quest
    
    
    ScriptObject AAFQuest_Script
    
    
    If Game.IsPluginInstalled("AAF.esm")
    AAFQuest_Script = Game.GetFormFromFile(0x00000F99, "AAF.esm") as ScriptObject
    EndIf
    
    
    
    
    Event OnAnimationStart()
    aaaFaceLightAddQuest.Register()
    aaaFaceLightAddQuest.RegisterForDialogueMenu()
    aaaFaceLightAddQuest.RefreshLightPC()
    EndEvent

    Could any code wizard assist me on this? as i have zero skill in this and managed to fix the first by copy past :laugh:

×
×
  • Create New...