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

  1. # GW file for domain.
  2.  
  3. # Perform basic setup.
  4. echo source setup.gw
  5. source setup.gw
  6. echo Done with source setup.gw
  7.  
  8. # Load the scrub model
  9. echo source scrub.gw
  10. source scrub.gw
  11.  
  12. # Tell gamegen about the world so it can automatically
  13. # add nodes to the world during the loading process.
  14. GameGenSetWorld world1
  15.  
  16. # Load the arena
  17. #source arena1.gw
  18.  
  19. # Load all runners
  20. source runners.gw
  21.  
  22. # Create the master controller node for all runners.
  23. NewObject3D motion_node 
  24. Object3DSetAction master_runner_move
  25.  
  26.  
  27. # Load game key
  28. source key.gw
  29.  
  30. #######################################################
  31. # Add all children of the world.
  32. FindNode world1
  33.  
  34. # Don't need to add this because the tree should have
  35. # been pruned and children added to the world during
  36. # the loading process.
  37. #AddChild arena1
  38.  
  39. # Add master runner node.
  40. AddChild motion_node
  41.  
  42. # Add all runners.
  43. AddChild runner_0
  44.  
  45. AddChild runner_1
  46. AddChild barrier_1
  47. AddChild pball_1
  48.  
  49. AddChild runner_2
  50.  
  51. AddChild runner_3
  52.  
  53. AddChild runner_4
  54.  
  55. AddChild runner_5
  56.  
  57. AddChild runner_6
  58.  
  59. AddChild runner_7
  60.  
  61. AddChild key
  62.  
  63. #######################################################
  64.  
  65. # Set up display configuration
  66. source display.gw
  67.  
  68. # Start rendering graphics.
  69. Render
  70.  
  71. #PrintUsedNodes
  72.  
  73. echo PrintWorld world1
  74. PrintWorld world1
  75.  
  76. Quit
  77.