acidfrog Posted March 16, 2012 Share Posted March 16, 2012 Hi, i have looked for help on this but with no luck i have managed to work a few things out that are involved in the proccess. But i have no idea how to add in a purchase script on to a new house or onto a upgrade of an existing house. the latter is more important for me. really hope you can help!! thanks, acidfrog Link to comment Share on other sites More sharing options...
soulslayerzx Posted March 16, 2012 Share Posted March 16, 2012 I think there's this one mod called Buy Whiterun or something and that should have some scripts. I've been looking forward to do this to, but no luck as of now. Link to comment Share on other sites More sharing options...
acidfrog Posted March 16, 2012 Author Share Posted March 16, 2012 ok thanks , i will give it a go im still trying to deconstruct breezehome to find out how to do it Link to comment Share on other sites More sharing options...
jet4571 Posted March 16, 2012 Share Posted March 16, 2012 (edited) Are you wanting to know how to get the script for the purchase of the house? or the script used to purchase upgrades? There is a quest listed called HousePurchase that you could look through It may help .... Umm nevermind. Look at that quest. i think you need to add your house to it because it lists all the player houses. Edit the HousePurchase quest. Edited March 16, 2012 by jet4571 Link to comment Share on other sites More sharing options...
acidfrog Posted March 16, 2012 Author Share Posted March 16, 2012 ah ok wasnt sure if there woudl be a diffrence. I am specificly looking at purchasing an upgrade i guess, but as it is a basement i figured it could be purchased as a house. I have a lot of free tiem today so iw ill get to it. Thanks Link to comment Share on other sites More sharing options...
kromey Posted March 16, 2012 Share Posted March 16, 2012 You do not need to edit the HousePurchase quest; in fact, I strongly advise that you don't do it that way, because if that were to become standard practice then every single purchasable player house mod would be incompatible with every other one! Rather, I recommend a new quest altogether. It's actually quite simple to make a house purchasable:1) Build the house (duh).2) Lock the entrance(s) to the house, such that it requires a unique key.3) Create a new quest (e.g. MySpiffyHouseBuyingQuest).4) Using dialog and quest aliases and some very basic scripting, set up the conversation such that in exchange for a sum of gold an NPC will give you the key to the house. You can use the HousePurchase quest as a guide here, but again do not edit that quest. Giving your house purchasable upgrades isn't much more difficult:1) Set the "Enable Parent" of all the new stuff that comes with the upgrade to an xmarker that you set to be "initially disabled".1a) [Optional] Add some clutter that will be there before the upgrade is bought, but will get "cleaned up" when you buy it; set it to the same "Enable Parent", but then check the box to make its state the opposite of its parent.2) Add additional dialog to the quest you created above (again you can use the HousePurchase quest as a guide here), but instead of giving a key in exchange for gold, you simply enable the relevant xmarker. If you want to see a simple version of this, check out my mod Dovahheim, and in particular look at stage 50 of the quest DHQClearTheCamp; you'll see a Papyrus fragment (you'll have to extract the script sources from the .bsa file first) that makes the bandits go away and the guards appear by simply disabling one xmarker (DovahheimBandits) and then enabling another (DovahheimGuardSet001). Link to comment Share on other sites More sharing options...
acidfrog Posted March 16, 2012 Author Share Posted March 16, 2012 Just came on to give and update. But it appears what i was about to relay has already been put out there. I looked at the buy_whiterun mod and that is how it was approached there via the key and locked door way , THANKS ANYWAY THOUGH. not that erked by it but still interested in how one would go about editing the jarls housepurchases quest in order to work it through that, althought not really important at all. and i had already done the upgrade bit. Thanks a lot for your reply though KROMEY. I have been really impressed with this community. :) :biggrin: Link to comment Share on other sites More sharing options...
kromey Posted March 16, 2012 Share Posted March 16, 2012 I don't understand, how are you trying to work it into the quest? As in, you have to be Thane first, or...? I think I can help you work it in, but I need some clarification on what you're trying to achieve first. Link to comment Share on other sites More sharing options...
jet4571 Posted March 16, 2012 Share Posted March 16, 2012 To clarify i didn't mean edit that quest itself but duplicate and edit that. Link to comment Share on other sites More sharing options...
acidfrog Posted March 16, 2012 Author Share Posted March 16, 2012 yeah everything it is fine its cool, i assumed you meant that, i have done it already. No worries. As in; yeah a thane type of thing. although I AM not attempting that but as i couldnt work it out. I often hate not knowing. Link to comment Share on other sites More sharing options...
Recommended Posts