Skyscraper Random Object Creator

From Skyscraper Wiki
Jump to navigation Jump to search
This article is legitimate.
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:
  1. texture: tree texture
  2. x: center x value of the tree
  3. z: center z value of the tree
  4. width: width of the tree
  5. height: height of the tree
  6. offset: 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)

Adding Door Trims

See also