Skyscraper Random Object Creator
It contains good-faith information, such as an existing building or content. |
Skyscraper Random Object Creator (SROC) is a function allowing users to add many different objects such as trees and door trims to their building. Adding an object using SROC requires the user to place in <Include SROC/Scripts/r1_script.txt>
near the beginning of their building scripts .
Steps
Adding Trees
NOTE: Trees made using SROC are generically represented and not detailed 3D models due to requiring several hundred and likely thousands of polygons and thereby using lots of resources.
- The syntax used is
AddTree(texture, x, z, width, height, offset)
, where:
texture:
tree texturex:
center x value of the treez:
center z value of the treewidth:
width of the treeheight:
height of the treeoffset:
starting altitude of tree
Default textures used are sroc_tree1
(represents a large maple tree with a 3/4 ratio) and sroc_blank
(a clear and transparent texture)