home *** CD-ROM | disk | FTP | other *** search
/ Games 95 / Games95-disc1.iso / DDrome / RUN / MENU.GW < prev    next >
Text File  |  1997-03-18  |  5KB  |  219 lines

  1. # gw file for loading up and rendering rotating Runners
  2. # within the runner menu selection screen
  3. #
  4. # June 4, 1996
  5. #
  6.  
  7. #Set the directories to point to the Runner models and textures
  8. SetModelDirectory    ..\data\runners\models
  9. SetTextureDirectory  ..\data\runners\textures
  10.  
  11. # Turn on flat shading for all data.
  12. GameGenForceFlatShading on
  13.  
  14.  
  15. #Perspective stuff...
  16. PerspectiveTexture on   
  17. SetPerspectiveTextureDeltaX  16
  18. SetPerspectiveTextureFarZ    64.0
  19.  
  20.  
  21. #World Stuff...
  22. NewWorld world1
  23. WorldOrigin  -64.0 64.0
  24. WorldExtents  128.0 -128.0
  25. WorldPartition 128 -128
  26.  
  27. #Window Stuff...
  28. NewWindow window1
  29. WindowOrigin 65 55  
  30. WindowResolution 189 52 
  31.  
  32. #Display Stuff...
  33. NewDisplay display
  34. DisplayOrigin     0 0
  35. DisplayResolution 320 200
  36. DisplaySetClearColor .2 .2 .2
  37.  
  38. #Camera Stuff... 
  39. NewCamera camera1
  40. CameraSetWorld world1
  41. CameraSetWindow window1
  42. CameraSetFOV  62 18
  43. CameraSetNearFarClip  1.5 1024.0
  44. CameraTranslate  0 2.3 10
  45. CameraRotate     -10.0 0 0
  46. CameraSetActive  on
  47.  
  48.  
  49.  
  50. #####################
  51. # LOADING RUNNERS...#
  52. #####################
  53.  
  54. #All object loading will be done into this world node...
  55. GameGenSetWorld world1
  56.  
  57. #Load up the Red runner...
  58. LoadGameGen redrunr.gam redrunner
  59. Object3DTranslate 0.0 0.0 3.0
  60. Object3DRotate    0.0 0.0 0.0
  61.  
  62. #Set up runner floor polygon to scroll with runner motion.
  63. FindNode lt
  64. Object3DRegisterTexturesToWorld on
  65. Object3DSetPriority -20
  66. Object3DSetTextureWorldBaseCoordinates 0.0 0.0
  67. Object3DSetTextureWorldTexturesPerMeter 0.0625 0.0625
  68.  
  69. NewObject3D      runner0
  70. Object3DAddChild redrunner 
  71.  
  72.  
  73.  
  74. #Load up the Blue runner...
  75. LoadGameGen blurunr.gam blurunner
  76. Object3DTranslate 0.0 0.0 3.0
  77. Object3DRotate    0.0 0.0 0.0
  78.  
  79. #Set up runner floor polygon to scroll with runner motion.
  80. FindNode lt
  81. Object3DRegisterTexturesToWorld on
  82. Object3DSetPriority -20
  83. Object3DSetTextureWorldBaseCoordinates 0.0 0.0
  84. Object3DSetTextureWorldTexturesPerMeter 0.0625 0.0625
  85.  
  86.  
  87. NewObject3D      runner1
  88. Object3DAddChild blurunner 
  89.  
  90.  
  91. #Load up the Yellow runner...
  92. LoadGameGen ylwrunr.gam ylwrunner
  93. Object3DTranslate 0.0 0.0 3.0
  94. Object3DRotate    0.0 0.0 0.0
  95.  
  96. #Set up runner floor polygon to scroll with runner motion.
  97. FindNode lt
  98. Object3DRegisterTexturesToWorld on
  99. Object3DSetPriority -20
  100. Object3DSetTextureWorldBaseCoordinates 0.0 0.0
  101. Object3DSetTextureWorldTexturesPerMeter 0.0625 0.0625
  102.  
  103.  
  104. NewObject3D      runner2
  105. Object3DAddChild ylwrunner 
  106.  
  107.  
  108. #Load up the White runner...
  109. LoadGameGen whtrunr.gam whtrunner
  110. Object3DTranslate 0.0 0.0 3.0
  111. Object3DRotate    0.0 0.0 0.0
  112.  
  113. #Set up runner floor polygon to scroll with runner motion.
  114. FindNode lt
  115. Object3DRegisterTexturesToWorld on
  116. Object3DSetPriority -20
  117. Object3DSetTextureWorldBaseCoordinates 0.0 0.0
  118. Object3DSetTextureWorldTexturesPerMeter 0.0625 0.0625
  119.  
  120.  
  121. NewObject3D      runner3
  122. Object3DAddChild whtrunner 
  123.  
  124.  
  125. #Load up the Purple runner...
  126. LoadGameGen prprunr.gam prprunner
  127. Object3DTranslate 0.0 0.0 3.0
  128. Object3DRotate    0.0 0.0 0.0
  129.  
  130. #Set up runner floor polygon to scroll with runner motion.
  131. FindNode lt
  132. Object3DRegisterTexturesToWorld on
  133. Object3DSetPriority -20
  134. Object3DSetTextureWorldBaseCoordinates 0.0 0.0
  135. Object3DSetTextureWorldTexturesPerMeter 0.0625 0.0625
  136.  
  137.  
  138. NewObject3D      runner4
  139. Object3DAddChild prprunner 
  140.  
  141.  
  142. #Load up the Green runner...
  143. LoadGameGen grnrunr.gam grnrunner
  144. Object3DTranslate 0.0 0.0 3.0
  145. Object3DRotate    0.0 0.0 0.0
  146.  
  147. #Set up runner floor polygon to scroll with runner motion.
  148. FindNode lt
  149. Object3DRegisterTexturesToWorld on
  150. Object3DSetPriority -20
  151. Object3DSetTextureWorldBaseCoordinates 0.0 0.0
  152. Object3DSetTextureWorldTexturesPerMeter 0.0625 0.0625
  153.  
  154.  
  155. NewObject3D      runner5
  156. Object3DAddChild grnrunner 
  157.  
  158.  
  159. #Load up the Pink runner...
  160. LoadGameGen pnkrunr.gam pnkrunner
  161. Object3DTranslate 0.0 0.0 3.0
  162. Object3DRotate    0.0 0.0 0.0
  163.  
  164. #Set up runner floor polygon to scroll with runner motion.
  165. FindNode lt
  166. Object3DRegisterTexturesToWorld on
  167. Object3DSetPriority -20
  168. Object3DSetTextureWorldBaseCoordinates 0.0 0.0
  169. Object3DSetTextureWorldTexturesPerMeter 0.0625 0.0625
  170.  
  171.  
  172. NewObject3D      runner6
  173. Object3DAddChild pnkrunner 
  174.  
  175.  
  176. #Load up the Orange runner...
  177. LoadGameGen orgrunr.gam orgrunner
  178. Object3DTranslate 0.0 0.0 3.0
  179. Object3DRotate    0.0 0.0 0.0
  180.  
  181. #Set up runner floor polygon to scroll with runner motion.
  182. FindNode lt
  183. Object3DRegisterTexturesToWorld on
  184. Object3DSetPriority -20
  185. Object3DSetTextureWorldBaseCoordinates 0.0 0.0
  186. Object3DSetTextureWorldTexturesPerMeter 0.0625 0.0625
  187.  
  188.  
  189. NewObject3D      runner7
  190. Object3DAddChild orgrunner 
  191.  
  192.  
  193.  
  194.  
  195. #Add all Runners to the world
  196. FindNode world1
  197. AddChild runner0
  198.  
  199. FindNode world1
  200. AddChild runner1
  201.  
  202. FindNode world1
  203. AddChild runner2
  204.  
  205. FindNode world1
  206. AddChild runner3
  207.  
  208. FindNode world1
  209. AddChild runner4
  210.  
  211. FindNode world1
  212. AddChild runner5
  213.  
  214. FindNode world1
  215. AddChild runner6
  216.  
  217. FindNode world1
  218. AddChild runner7
  219.