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:17] Carcerian [Exterior City/Town] |
building:houses [2022/10/25 23:29] 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 49: | Line 74: | ||
* Worms Dense Jungle = wdj01; | * Worms Dense Jungle = wdj01; | ||
* Worms Desert Plains = wdp01; | * Worms Desert Plains = wdp01; | ||
- | * Worms Fantasy Interiors = wdd04; | ||
* Worms Forest Summer = wsf10; | * Worms Forest Summer = wsf10; | ||
* Worms Jungle Mountains = tjj01; | * Worms Jungle Mountains = tjj01; | ||
Line 91: | Line 115: | ||
* 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; | ||
Line 140: | Line 165: | ||
**All tilesets in one:** | **All tilesets in one:** | ||
- | tte30;tze01;isc03;tbw01;tno01;tic01;tni02;twl04;tcn01;tin01;tni01;cdlif;tcr10;tdc01;isc01;ttd01;tced0;tid01;tde01;isc04;bvi80;pie23;thf02;tei01;fla01;ttf01;twc03;tti01;tcdh0;gg;gi;tii01;tcm01;tfm01;tei02;trm01;tdm01;udp2;udp1;tms02;ori02;ori01;fifi1;fifi2;fifi3;mbc31;tsr02;phodd;phoda;phode;phodf;phodb;phodc;tdr01;ttr01;tts01;tdt01;sic01;scv01;sic11;sdg01;tds01;nex01;tps01;thv01;tis01;shp02;tsw01;zkw01;ttz01;isc02;ttu01;wlu01;tvd;mbc30;ttw01;twl01;twl02;wks01;wcs10;wdj01;wdp01;wdd04;wsf10;tjj01;wms01;wcc01;wlf01;wut01;tms01; | + | tte30;tze01;isc03;tbw01;tno01;tic01;tni02;twl04;tcn01;tin01;tni01;cdlif;tcr10;tdc01;isc01;ttd01;tced0;tid01;tde01;isc04;bvi80;pie23;thf02;tei01;fla01;ttf01;twc03;tti01;tcdh0;gg;gi;tii01;tcm01;tfm01;tei02;trm01;tdm01;udp2;udp1;ori02;ori01;fifi1;fifi2;fifi3;mbc31;tsr02;phodd;phoda;phode;phodf;phodb;phodc;tdr01;ttr01;tts01;tdt01;sic01;scv01;sic11;sdg01;tds01;nex01;tps01;thv01;tis01;shp02;tsw01;zkw01;ttz01;isc02;ttu01;wlu01;tvd;mbc30;ttw01;twl01;twl02;wks01;wcs10;wdj01;wdp01;wdd04;wsf10;tjj01;wms01;wcc01;wlf01;wut01;tms01; |