Zorkaz Posted October 8, 2022 Share Posted October 8, 2022 Is there a way to change Dogmeats name without altering vanilla quests? E.g I want to change the name when he equips different armor. Link to comment Share on other sites More sharing options...
SKKmods Posted October 8, 2022 Share Posted October 8, 2022 Add him to a ReferenceAlias that has DisplayName set to a message with the name in the title field, [x] Uses Stored text, [x] Clear name when removed then add and remove from the alias OnEquipped and OnUnequipped. The only wrinkle is if your name is active when the dialog happens that switches from Dog to Dogmeat that will over-ride your applied name, altho that condition can be detected for 100% quality. Link to comment Share on other sites More sharing options...
Zorkaz Posted October 8, 2022 Author Share Posted October 8, 2022 Thank you SKK50. While I do know how to set up an Alias I'm unsure what you mean with "Remove from the alias OnEquipped and OnUnequipped" in terms of coding. Like "Alias_DogNameAlias.forceRefTo(Alias_Dogmeat.getReference())"? Link to comment Share on other sites More sharing options...
SKKmods Posted October 8, 2022 Share Posted October 8, 2022 If the armor object is yours or you are ok hacking other assets, attach a CONST script to it which contains; ReferenceAlias Property Alias_Dogmeat Auto Const Mandatory ReferenceAlias Property Alias_MyDogName Auto Const Mandatory Event OnEquipped(Actor akActor) Actor TheDog = Alias_Dogmeat.GetActorRef() If (TheDog != none) && (akActor == TheDog) Alias_MyDogName.ForceRefTo(TheDog) EndIf EndEvent Event OnUnequipped(Actor akActor) Actor TheDog = Alias_Dogmeat.GetActorRef() If (TheDog != none) && (akActor == TheDog) Alias_MyDogName.Clear() EndIf EndEvent Link to comment Share on other sites More sharing options...
Zorkaz Posted October 8, 2022 Author Share Posted October 8, 2022 Thanks Link to comment Share on other sites More sharing options...
hereami Posted October 12, 2022 Share Posted October 12, 2022 (edited) So, does it work just like that even after name was obtained from M.Murphy? Silly problem with Dogmeat is his naming alias in dogmeatquest which doesn't have ClearNamesWhenRemoved. Gotta patch the quest first and set the flag, clear the default Dogmeat name alias, only then can change the name freely from another quest alias. That would be a single time requirement though, e.g. patching mod can be moved topmost to become conflictless (in part of dogmeatquest) after freeing the name. Keep in mind, that for best results all related messages should be changed to Alias.CurrentName (e.g. Dogmeat/Dog found something etc.), while originally they are "hardcoded" and can't reflect arbitrary name changes. Edited October 12, 2022 by hereami Link to comment Share on other sites More sharing options...
SKKmods Posted October 13, 2022 Share Posted October 13, 2022 If two reference aliases try to force an object name, usually the last one wins. ALTHOUGH it may be a function of quest priority, dunno havent tested that aspect. When it clears the previous winner should reassert. Link to comment Share on other sites More sharing options...
hereami Posted October 13, 2022 Share Posted October 13, 2022 ALTHOUGH it may be a function of quest priority, dunno havent tested that aspect.Ah, that makes sense to try, dammit. Link to comment Share on other sites More sharing options...
hereami Posted November 17, 2022 Share Posted November 17, 2022 ALTHOUGH it may be a function of quest priority, dunno havent tested that aspect.Ah, that makes sense to try, dammit. Nope. Priority doesn't matter here, unfortunately. First wins and stays untill cleared. Link to comment Share on other sites More sharing options...
Recommended Posts