Jump to content

Encountering Problems While Changing an NPC's Home/Spawn Location


user826

Recommended Posts

Hey, everyone. I'm trying to make a mod that changes Dogmeat's default spawn location to Diamond City Market and his default home location to Home Plate so that it's more realistic for him to show up 30 seconds after Nick Valentine whistles for him, as if he can travel at lightspeed from Red Rocket.

 

I used the Ctrl+M command in the Creation Kit to move him from the Red Rocket Truck Stop to Diamond City, changed the "HomeLocation" property in DogmeatActorScript to DiamondCityPlayerHouseLocation, and changed two aliases in DogmeatQuest from SanctuaryHillsLocation and RedRocketTruckStopLocation to DiamondCityLocation and DiamondCityPlayerHouseLocation respectively.

 

When I load up the mod in-game, he spawns correctly in the Diamond City Marketplace, but after I recruit and then dismiss him, he takes off for the Red Rocket Truck Stop. What did I miss? How does an NPC find their home location if not in their actor script properties? Is there a marker or something that I need to move as well? Any help is appreciated!

Link to comment
Share on other sites

That is a followers script DismissCompanion() function.

 

Home plate is not a valid home workshop location as it is an interior workshopworkbench which is not included in the workshopparent.workshops list.

 

If you can make Homeplate a full workshop in the workshopparent.workshops, dog can go there on dismiss. There is another thread trying to make interior workshops full settlements.

Link to comment
Share on other sites

What about just Diamond City market, then? Or would that be even worse because it doesn't even have a workbench? Because right now, I'm using a mod that disables the workshop functionality in Home Plate entirely and turns it into a pre-furnished player home.

Link to comment
Share on other sites

To use the default followers script function to dismiss a companion to a specific location, that location must be a:


1. Red settlement workshop, that is;

2. Registered with the workshopparent quest workshopparentscript workshops list, that is;

3. Owned by the player.


Diamond city market meets zero of those conditions.

Link to comment
Share on other sites

I thought any location could be set as the default location through companionactorscript attached to the companion. Otherwise, Nick wouldn't be able to default to his office or Piper to public occurrence.

 

Edit: iâm going off memory as I donât have my laptop with me to verify the exact attached script where you set default locations for companions

Edited by Carreau
Link to comment
Share on other sites

  • Recently Browsing   0 members

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