Jump to content

Undivide

Premium Member
  • Posts

    85
  • Joined

  • Last visited

Posts posted by Undivide

  1.  

    Hold on a second. I'm looking at the way the game handles the lover's comfort perk/script and it seems to already function like you want.

    See the following code:

    If RelationshipMarriageFIN.IsRunning() == True && RelationshipMarriageFIN.GetStage() >= 10 && Game.GetPlayer().GetCurrentLocation() == LoveInterest.GetActorRef().GetCurrentLocation()
    
    

    That set of conditions runs when the player wakes up. If the player's spouse in the same room, they get the perk.

    Perhaps I have misunderstood your request.

    Hey Undivide,

     

    Thanks for your interest, I'm pretty sure that the spouse has to be in bed for it to work. So the trouble is that the perk is contingent on the NPC's coded routine which is variable, depending on how the NPC is scripted. E.g. Lydia seems to go to bed at 1:00am, most normal NPCs go to bed at like 9:00pm etc. So in the vanilla game you need two things to get the perk, first you need to know the spouse's sleep routine, and said spouse needs to be home. One does not get the perk if one's spouse is following your character, and in the same room. So if you are out doing a quest and decide to sleep at an inn, you can't get the perk because your spouse is a follower, and if you dismiss them they just head back home. This was of course changed in Fallout 4, where your character could sleep anywhere with their SO as a follower, and get the perk.

     

     

    I have the code that controls when the perk is applied in front of me, and there's nothing there that requires spouses to be in bed for the perk to be applied. But I see what you mean about the inn. I should be able to do the request, but it'll be a separate perk/setup for the sake of not editing base script files.

  2. Hold on a second. I'm looking at the way the game handles the lover's comfort perk/script and it seems to already function like you want.

    See the following code:

    If RelationshipMarriageFIN.IsRunning() == True && RelationshipMarriageFIN.GetStage() >= 10 && Game.GetPlayer().GetCurrentLocation() == LoveInterest.GetActorRef().GetCurrentLocation()
    
    

    That set of conditions runs when the player wakes up. If the player's spouse in the same room, they get the perk.

    Perhaps I have misunderstood your request.

  3. All of the code has been commented out.
    Remove the curly braces at "{Scriptname" and "EndEvent}", then remove the second instance of "Scriptname CloseDoor extends ObjectReference" entirely.

    After that, something needs to tell the setopen function exactly what it's closing. "Self" should work, methinks. So, in the end, your code would look like:

    Scriptname CloseDoor extends ObjectReference
    
    Event OnOpen(ObjectReference akActionRef)
    
    Utility.wait(3)
    Self.SetOpen(False)
    
    
    EndEvent
    

    Alternatively, you can have the door check if it's actually open.

    Event OnActivate(ObjectReference akActionRef)
    
    int openState = Self.GetOpenState()
    
    If (openState == 1 || openState == 2) ; Open or opening
      Utility.wait(3)
      Self.SetOpen(False)
    
    
    EndIf
    
    EndEvent
    
    
  4. For some reason, landscape edges that have been smoothed with the landscape tool appear jagged again once my mod is reloaded.


    I thought Skyrim was somehow open in a dead process, but that wasn’t the case, since newly-placed static objects retained their position as usual after the mod was reloaded. Really puts a damper on how the end product of my mod will look.


    Has anyone else experienced this issue?

    I've been making mods for years, but this is the first time I've seen something this strange happen in the CK.
  5. Most headset mics are absolutely abysmal for voice acting. You'd be far better off getting a separate microphone for voice work.

    The Blue Yeti is often a popular choice. http://www.amazon.com/Blue-Microphones-Yeti-USB-Microphone/dp/B002VA464S

     

    I personally use a Samson C01U.

     

    Either way, for background noise reduction, you'd likely have to look into some sort of noise gate. You could use one that comes with your average DAW, a free plugin for a DAW, Audacity, or even the one that comes with OBS.

×
×
  • Create New...