home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 10 / 1996-11_-_Disc_2.10.bin / ddrome / data.z / RUNNER_0.GW < prev    next >
Text File  |  1996-01-12  |  3KB  |  105 lines

  1. # Load runner 0
  2.  
  3. # Demonstrate stars for the runner
  4. # Effects directory 
  5. #source eff_dir.gw
  6. #LoadGameGen stars.gam stars
  7. #Object3DSetTranslate 0 20 0
  8. #FindNode o1
  9. #Object3DSetPoints
  10. #FindNode o2
  11. #Object3DSetPoints
  12. #echo PrintTree stars
  13. #PrintTree stars
  14.  
  15. #source eff_dir.gw
  16. #LoadGameGen plas_gro.gam hit_runner_0
  17. #Object3DScale 4 4 4
  18. #Object3DTranslate 0 -2 0
  19.  
  20. #FindNode p_grow
  21. #CycleTextureSetOn 4
  22. #CycleTextureSetSpeed 5.0
  23. #CycleTextureSetMap p_grow1.zim  186
  24. #CycleTextureSetMap p_grow2.zim  187
  25. #3CycleTextureSetMap p_grow3.zim  188
  26. #CycleTextureSetMap p_grow4.zim  189
  27.  
  28.  
  29. # Load the runner
  30. source run_dir.gw
  31. LoadGameGen ylwrunr.gam runner_0
  32. SetAltitudeSurface off
  33.  
  34. # This position places us near the runner that is capable
  35. # of laying the barrier.
  36. #Object3DTranslate 30 0 -60 
  37.  
  38. # This position places us near the other runners.
  39. Object3DTranslate -90 0 200
  40. Object3DSetAction runner_move
  41.  
  42. FindNode yaw
  43. FindNode runner_0
  44. #Object3DAddChild hit_runner_0
  45. #Object3DAddChild stars
  46.  
  47. # Animation Directory for ambient motion
  48. #SetAnimationDirectory ..\data\runners\ambient
  49.  
  50. # Load animation data for jumping.
  51. SetAnimationDirectory ..\data\runners\anims\jump
  52.  
  53. LoadAnimation yaw.zan jump_yaw_anim_data_0
  54. NewAnimate yaw_anim_node
  55. AnimateSetAnimation jump_yaw_anim_data_0
  56. AnimateSetActive off
  57. AnimateSetFrameRate 40
  58. #AnimateAddChild yaw
  59.  
  60. LoadAnimation chassis.zan jump_chassis_anim_data_0
  61. NewAnimate chassis_anim_node
  62. AnimateSetAnimation jump_chassis_anim_data_0
  63. AnimateSetActive off
  64. AnimateSetFrameRate 40
  65. #AnimateAddChild chassis
  66.  
  67. LoadAnimation cockpit.zan jump_cockpit_anim_data_0
  68. NewAnimate cockpit_anim_node
  69. AnimateSetAnimation jump_cockpit_anim_data_0
  70. AnimateSetActive off
  71. AnimateSetFrameRate 40
  72. #AnimateAddChild cockpit
  73.  
  74. FindNode yaw
  75. FindNode t_yaw
  76. Object3DInsertAnimationChild yaw_anim_node
  77.  
  78. FindNode chassis
  79. FindNode t_chass
  80. Object3DInsertAnimationChild chassis_anim_node
  81.  
  82. FindNode cockpit
  83. FindNode t_cockp
  84. Object3DInsertAnimationChild cockpit_anim_node
  85.  
  86.  
  87.  
  88. echo PrintTree runner_0
  89. PrintTree runner_0
  90.  
  91. #Set up runner floor polygon to scroll with runner motion.
  92. FindNode lt
  93. #Cause the textures to be remapped base upon
  94. # the object's position in the world.
  95. Object3DRegisterTexturesToWorld on
  96.  
  97. #Define the world coordinates where texel 0,0
  98. #should be mapped to.
  99. Object3DSetTextureWorldBaseCoordinates 0.0 0.0
  100.  
  101. #Define the relationship between texture space
  102. #and world space.
  103. Object3DSetTextureWorldTexturesPerMeter 0.03125 0.03125
  104. Object3DSetTextureWorldTexturesPerMeter 0.0625 0.0625
  105.