Jump to content
  • 0
Sign in to follow this  

Change house purchase price using SSEEdit


I want to change the purchase price of a house using SSEEdit.  No response from mod author, probably can't be bothered.  I understand.  But, it's a bit of project for me.  I've slowly taught myself how to fix mods, make basic changes to patch them.  It should be relatively simple.  I've found two entries in SSEEdit.  First, under "Message", there is 00ForSaleMessageMain, where the text entry reads that the house is for sale for 20,000 septims, asking if I wish to buy it.  I can change this to 50,000 easily enough.  But, I'm sure that's not enough.  Next, under "Activator", there is 00ForSaleSign01, which shows a House for Sale sign with FormID ACTI:05180F5A.  It would be simple if this entry also listed an amount, but no such luck.  It must be in here somewhere, but I'm at a loss.  I've also scrolled though "Worldspace", but couldn't find anything.  Any ideas?  I kind of think it must be the "Activator" record, but why does it not list an amount?  Or maybe I have to use the Creation Kit?  Any help is most appreciated.


EDIT:  I'm trying to figure this out myself, I'm really trying.  I extracted the BSA and there was a Scripts folder.

The only useful script was _001_scrpt_forsale_basic.pex

I used Champollion to decompile the PEX to a PSC file and then read it using Notepad++.

Unfortunately, no amount appeared, but there is some useful information.

It basically says if Available Cash < Cost, then show the No Sale message.  Otherwise, the sale proceeds.

I wonder where and what instruction defines Cost as 20000 septims.  That amount does not appear in the script.

I wonder if I can just replace the instruction as "if Available Cash < 50000, then show the No Sale message".

Then recompile the script into a PEX file.


EDIT #2:  OK, I've fixed it myself.  A good learning experience.  It has nothing to do with scripts, because scripts don't contain data.  They use "properties" to reference data that is stored elsewhere, most likely in the ESP.  Only two records needed to be changed using SSEEdit:  one item under the heading "Message" and one under the heading "Worldspace".  There were a huge number of entries under "Worldspace", and so it involved some digging around.

Edited by aristotle

Share this post

Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Similar Content

    • By primem0ver
      I am pretty frustrated with SSEEdit lately.  There is no 64 bit version with the latest download and I cannot get my older version (4.0.3h) to work anymore.  It keeps telling me there was an error and that editing is disabled.  I can't run scripts or anything.  (There IS NO ERROR in the log).  Was something changed?  Every time I try running 4.0.4 I get an out of memory error.  Whats more I can no longer post on Discord to get help.  I have to sign up?
      EDIT: More Info: Version 4.0.3h used to work fine without using the 64 bit version until a couple of weeks ago.  The 64 bit version seems to be working ok so I guess I will use that until I get an answer.   
    • By NomenNescio
      Short version: I have a complete list of cells copied to an .esp, and I don't want to have to go through and flag each one as Deleted individually. Is there a way to do this to all the cells in the .esp?
      Long version: I'm using a replacer for a dead shrub. The replacer makes it a much prettier 3D green shrub, but Bethesda placed the dead shrub in all kinds of caves and mines, so I want to remove it from those cells. Ain't nothing green supposed to be growing in there. So I found the shrub in xEdit, copied every reference over into an .esp and removed the ones that could realistically be home to lush green flora. I'm now left with looooong list of cells each with only a few Placed Objects of these shrubs, but going through them all and changing flags individually is gonna be a nightmare. So I'd much rather see if there is a way for me to do this across every cell I've copied?
    • By Vraydel
      I was trying to create a patch but SSEEdit wouldn't let me.  The plugins were inaccessible. The plugins were grayed out with a line through them.  What's going on?

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.