Skyscraper Random Object Creator: Difference between revisions
Jump to navigation
Jump to search
Elevator1512 (talk | contribs) (→Steps) |
Elevator1512 (talk | contribs) |
||
Line 12: | Line 12: | ||
# <code>height:</code> height of the tree | # <code>height:</code> height of the tree | ||
# <code>offset:</code> starting altitude of tree | # <code>offset:</code> starting altitude of tree | ||
Default textures used are <code>sroc_tree1</code> (represents a large maple tree with a 3/4 ratio) and <code>sroc_blank</code> (a clear and transparent texture) | Default textures used are <code>sroc_tree1</code> (represents a large maple tree with a 3/4<abbr title="width/height">*</abbr> ratio) and <code>sroc_blank</code> (a clear and transparent texture) | ||
=== Adding Door Trims === | === Adding Door Trims === | ||
Revision as of 09:53, 11 May 2024
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)