This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
building:houses [2022/10/21 08:27] Carcerian [Exterior Wild/Rural] |
building:houses [2022/10/25 23:28] Carcerian [Setting up Player Housing] |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Setting up Player Housing ===== | ===== Setting up Player Housing ===== | ||
+ | **Player Home Sign Format** | ||
+ | If there's a building that you want to make buyable for players, You have to setup the following things: | ||
+ | |||
+ | 1) Place a real door somewhere and give it a UNIQUE tag. This tag must look like: "DR_ERF_AREANAME_PHOUSE001" | ||
+ | |||
+ | The tag must all be uppercase, it must start by "DR_" followed by the ERF + Name of the area it is in + the address of the building. | ||
+ | |||
+ | 2) Place a sign (placeable) near the door. Tag it "P_HOME_SIGN" and name it with the address of the building. | ||
+ | |||
+ | 3) Set the size of the house, the number of area that it can contain and its price modifier, by setting the following variable on the sign: | ||
+ | |||
+ | **HOME_COST_MOD** (float): Add a multiplier to the standard (1 million) cost of a home. This has a minimum value of 0.5. The default cost modifier is 1.0 (if none). | ||
+ | |||
+ | **HOME_WIDTH** (int): Sets the maximum width for the areas of the house, the default width is 5. | ||
+ | |||
+ | **HOME_HEIGHT** (int): Sets the maximum height for the areas of the house, the default height is 5. | ||
+ | |||
+ | **HOME_AREA_COUNT** (int): Sets the number of areas that the house can contain, by default, a house can only contain 1 area. | ||
+ | |||
+ | **HOME_TILESETS** (string): The list of the tileset codes that can be use to build the house. | ||
+ | |||
+ | Each tileset must be separated by a ";". To limit potential variable string clipping issues, this string should also start and end with a ";". | ||
+ | |||
+ | **NO_BUY** (int): Set 1 on sign to have sign de-listed in realtors. | ||
===== Player Housing Tileset Codes ===== | ===== Player Housing Tileset Codes ===== | ||
Line 90: | Line 114: | ||
* Sigil, Stern Interior [CODI] = thv01; | * Sigil, Stern Interior [CODI] = thv01; | ||
* White Marble Castle = mbc30; | * White Marble Castle = mbc30; | ||
+ | * Worms Fantasy Interiors = wdd04; | ||
* Workshop = wks01; | * Workshop = wks01; | ||