home *** CD-ROM | disk | FTP | other *** search
/ PC/CD Gamer UK 69 / PCG CD Gamer 69 1999-05.iso / Games / Machines / data1.cab / Program_Executable_Files / models / planet / 1o2 / 1o2.env < prev    next >
Encoding:
Text File  |  1999-01-14  |  1.9 KB  |  108 lines

  1. //------------------------------Sun-------------------------
  2. colour table:    "sun colours"
  3. {
  4.     6.5    (0.80, 0.85, 0.85)
  5. }
  6.  
  7. colour table:    "sun directional"
  8. {
  9.      7    (0.60, 0.60, 0.70)
  10. }
  11.  
  12. colour table:    "sun ambient"
  13. {
  14.      7    (0.20, 0.20, 0.40)
  15. }
  16.  
  17. orbit:        "sun orbit"
  18. {
  19.     min elevation:     45.5
  20.     max elevation:     75.5
  21.     radius:        80000
  22.     set heading:    0
  23.     start time:    900            // just before sunrise
  24.     period:        1800
  25. }
  26.  
  27. satellite: "sun"
  28. {
  29.     mesh colour table:    "sun colours"
  30.     dir colour table:    "sun directional"
  31.     ambient colour table:    "sun ambient"
  32.     orbit:            "sun orbit"
  33.     mesh file:        "models/planet/1o2/sky/sun.x"
  34. }
  35.  
  36. //------------------------------Moon-------------------------
  37. colour table:    "moon colours"
  38. {
  39.     // Note the use of alpha values -- it fades in!
  40.      8    (0.9, 0.7, 0.4, 1.0)
  41. }
  42.  
  43. colour table:    "moon ambient"
  44. {
  45.     13.5    (0.10, 0.10, 0.10)
  46. }
  47.  
  48. orbit:        "moon orbit"
  49. {
  50.     min elevation:    12
  51.     max elevation:    15
  52.     radius:        80000
  53.         set heading:    180
  54.     start time:    900
  55.     period:        1800
  56. }
  57.  
  58. satellite: "zmoon"
  59. {
  60.     mesh colour table:    "moon colours"
  61.     ambient colour table:    "moon ambient"
  62.     orbit:            "moon orbit"
  63.     mesh file:        "models/planet/1o2/sky/moon.x"
  64. }
  65.  
  66. //---------------------------------Fog----------------------------------
  67. colour table:    "fog colours"
  68. {
  69.      6    (0.00, 0.03, 0.02, 0.95)        // biege        @ 150m
  70. }
  71.  
  72. fog:
  73. {
  74.     max visibility:        450
  75.     colour table:        "fog colours"
  76.     controller:        "sun"
  77. }
  78.  
  79. //---------------------------------Skys---------------------------------
  80. colour table:    "sky colours"
  81. {
  82.      7    (0.00, 0.00, 0.00)        // blue
  83. }
  84.  
  85. colour table:    "sky colours 00"
  86. {
  87.      7    (0.20, 0.20, 0.20)        // blue
  88. }
  89.  
  90. colour table:    "sky colours 10"
  91. {
  92.      6    (0.40, 0.40, 0.40)        // blue
  93. }
  94.  
  95. colour table:    "sky colours 20"
  96. {
  97.      6    (0.40, 0.40, 0.40)        // blue
  98. }
  99.  
  100. dynamic sky:
  101. {
  102.     mesh file:        "models/planet/1o2/sky/sky01.x"
  103.     controller:        "sun"
  104.     colour table @  0:    "sky colours 00"
  105.     colour table @ 01:    "sky colours 10"
  106.     colour table @ 03:    "sky colours 20"
  107. }
  108.