Put this in your scripts somewhere:
Code:
[FUNCTION f_roof_target]
SRC.NEWITEM=i_gold
VAR.ACT=<SRC.ACT.UID>
SRC.ACT.P=<ARGS>
SRC.LAST
TRY UID.<VAR.ACT>.REMOVE
Build your house, go to location 1 in the diagram below. Type .where when you get there. Put those coords in axis as X1 and Y1, go to location 2 of the diagram below. Type .where, put those coords in axis as X2 and Y2.
Code:
********************
*1 *
* *
* *
* *
********************
2
Click "Goes up" if the roof goes 'up' on the X/Y axis. Pick the roof type. Type in the Z level (normally 20 for 1 story buildings). Click "Add Part". If the roof looks like it's going in the direction you want, click Test or Generate. If not, click Remove Last then check/uncheck the "Goes up" button, and Add Part again. Now Test or Generate.
For multi-angled roofs, generate the first part as above, only use the following diagram instead. Location 3 and 4 will be a second "Add part" entry. After adding the coords for 1 and 2, click add part. Then add the coords for 3 and 4 and click add part again.
Code:
********************
*1 *
* *
* *
* *
****** *******
* * 2
* *
*********
3 4