Replacing Furniture in Hearthfire

Post » Sat May 28, 2016 2:35 pm

Hi,


This is my first post on this forum. I hope I am posting this in the right section. Anyway.


I am creating a mod for Hearthfire. I am basically making cloud storage for almost every container in the Hearthfire homesteads so that, for example,


I put an item into a barrel in Lakeview Manor, it will be in that same barrel at both of the other homesteads. To the best of my knowledge, no other mod exists that does this, I know there are some that add new containers,


but none that modify existing containers this way.



Anyway, this is the first big mod I've made and I've been able to figure everything out on my own till this point, I really hate asking others for help but I am completely stuck.



I want these containers to enable the same way as the vanilla ones so that when you start building a room there is no furniture/containers inside, and when you use the build menu it enables the cloud containers the same


way it does with the vanilla containers.



So what I did was I went into the quest called "ByohHouseFalkreath" went to scripts, then opened "ByohHouseScript" I am currently working on the kitchen so I scrolled down to "Room10EnableList"


and opened it up and changed the reference to the new version. I then set the static version to "Initially disabled" and set the activator and all of the objects that used the vanilla container as an enable parent to the new version.


But when I ran Skyrim and tried to build the object it didn't enable.



This is the first mod I've ever made bigger than changing stats or adding a recipe to the game. So I'm not sure if I'm even close to doing this the right way. If anyone knows the right way to do this I would much appreciate it.



I've considered just moving the vanilla container somewhere outside the house and then setting my new container to use that as an enable parent but I'm not sure if that will work either,


plus that would mean I would pretty much have to lose like 25+ hours of time since I already deleted the vanilla containers.



If anyone knows how to make this work I would really appreciate it.


User avatar
Tanya
 
Posts: 3358
Joined: Fri Feb 16, 2007 6:01 am

Post » Sat May 28, 2016 7:15 am

While not the solution to your issue, one thing I would suggest is not altering the original containers. You will for one, be causing compatibility issues with other mods that use those containers, and secondly, players will most likely lose any stored items that they had in there prior to installing your mod. If I were making this, I would put in my own containers that would function in the way you want them to, but they don't replace anything. Just my 2 cents.

User avatar
Leticia Hernandez
 
Posts: 3426
Joined: Tue Oct 23, 2007 9:46 am

Post » Sat May 28, 2016 8:49 am

The form lists and property arrays in the scripts need to match up. http://ghastley.org/Skyrim/ModNotes/HearthfiresMods.html on my web site may help explain how it works.

What are you intending to do if:
* the player hasn't built at all three sites?
* the player has built a different configuration, and the container is for a room that doesn't exist?
User avatar
Patrick Gordon
 
Posts: 3366
Joined: Thu May 31, 2007 5:38 am


Return to V - Skyrim