Guest User

Untitled

a guest
Apr 30th, 2012
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. /*
  2. City Building 062211
  3. 2011-06-22 by Jedidiah Hurt
  4. For use with Structure Synth (structuresynth.sourceforge.net)
  5. This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
  6. */
  7.  
  8. set maxdepth 40000
  9. set maxobjects 40000
  10.  
  11. set seed 78
  12. set background #aaa
  13.  
  14. city
  15. { z -2.4 } city
  16. { z -4.8 } city
  17. { z -7.2 } city
  18.  
  19. rule city {
  20. 8 * { x 2.4 b 0.95 sat 0 } neighborhood
  21. }
  22.  
  23. rule neighborhood {
  24. { x -0.6 z -0.6 } block
  25. { x 0.6 z 0.6 } block
  26. { x -0.6 z 0.6 } block
  27. { x 0.6 z -0.6 } block
  28. }
  29.  
  30. rule block {
  31. skyscraper
  32. }
  33.  
  34. rule block md 3 > house {
  35. { s 0.5 y -0.5 } neighborhood
  36. }
  37.  
  38. rule skyscraper {
  39. spirescraper
  40. }
  41.  
  42. rule skyscraper {
  43. parallelscraper
  44. }
  45.  
  46. rule parallelscraper md 5 {
  47. { y 0.4 } parallelscraper
  48. box
  49. }
  50.  
  51. rule spirescraper md 5 > spire {
  52. { y 1 } spirescraper
  53. box
  54. }
  55.  
  56. rule spirescraper md 3 > spire {
  57. { y 1 } spirescraper
  58. box
  59. }
  60.  
  61. rule spirescraper md 8 > spire {
  62. { y 1 } spirescraper
  63. box
  64. }
  65.  
  66. rule spire {
  67. { y -1 s 0.03 } parallelspire
  68. }
  69.  
  70. rule spire {
  71. shrinkingspire
  72. }
  73.  
  74. rule parallelspire md 20 {
  75. { y 1 } parallelspire
  76. box
  77. }
  78.  
  79. rule parallelspire md 30 {
  80. { y 1 } parallelspire
  81. box
  82. }
  83.  
  84. rule parallelspire md 40 {
  85. { y 1 } parallelspire
  86. box
  87. }
  88.  
  89. rule shrinkingspire md 10 {
  90. { y 0.5 s 0.5 } shrinkingspire
  91. box
  92. }
  93.  
  94. rule shrinkingspire md 10 {
  95. { y 0.75 s 0.75 } shrinkingspire
  96. box
  97. }
  98.  
  99. rule shrinkingspire md 10 {
  100. { y 0.9 s 0.9 } shrinkingspire
  101. box
  102. }
  103.  
  104. rule house {
  105. box
  106. }
Advertisement
Add Comment
Please, Sign In to add comment