Ryandor.com
https://ryandor.com/forum/

Help on roofs
https://ryandor.com/forum/viewtopic.php?f=2&t=246
Page 1 of 1

Author:  Supershaun24 [ Fri Sep 20, 2002 5:23 am ]
Post subject:  Help on roofs

I know axis has a ez roof but i have no idea on how to use it i can do any thing else but make a pitch roof on a house or building. can some one help me with a nice thing on how to do like a makeing a pitch roof for dumies . for axis

Author:  RoseThorn [ Fri Sep 20, 2002 10:33 am ]
Post subject: 

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

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/