home *** CD-ROM | disk | FTP | other *** search
/ Virtual Reality Zone / VRZONE.ISO / mac / PC / REND386 / UTILS / OGRE41 / PLANE.OSF < prev    next >
Text File  |  1993-04-26  |  2KB  |  93 lines

  1. # Ogre Script file to create a WWII Devastator Fighter Bomber
  2. # by Bob Batty 11-4-92
  3. # Converted to new script language by David Boeren
  4. # Also reduced vertcount and polycount by about 60 percent!
  5. # 148 Vertices
  6. # 107 Polygons
  7.  
  8. OBJECT plane
  9. OBJECT body
  10. OBJECT wings
  11. OBJECT tail
  12. OBJECT stabilizer
  13. OBJECT canopy
  14. OBJECT blade1
  15. OBJECT blade2
  16. OBJECT blades
  17. OBJECT prop
  18. OBJECT engine
  19.  
  20. # Create body
  21. # body = revolution 100 11 12 5 [ 95 100 100 100 100 100 90 75 60 45 30 ]
  22. body = revolution 500 3 12 0 [ 100 90 30 ]
  23. body = rotz body -90
  24. body = trans body 50 50 0
  25. body = paint body 50 50 255
  26.  
  27.  
  28. # Create wings
  29. wings = panel 500 4 20 10 [ 150 250 250 150 ]
  30. wings = roty wings 90
  31. wings = rotz wings 90
  32. wings = trans wings 350 0 0
  33. wings = paint wings 50 50 255
  34.  
  35.  
  36. # Create tail
  37. tail = panel 250 3 15 10 [ 70 250 70 ]
  38. tail = roty tail  90
  39. tail = rotz tail -90
  40. tail = trans tail -450 50 0
  41. tail = paint tail 50 50 255
  42.  
  43.  
  44. # Create vertical stabilizer
  45. stabilizer = panel 250 2 15 10 [ 90 300 ]
  46. stabilizer = rotz stabilizer -90
  47. stabilizer = trans stabilizer -450 180 0
  48. stabilizer = paint stabilizer 50 50 255
  49.  
  50.  
  51. # Create canopy
  52. # canopy = revolution 50 6 8 5 [ 20 35 40 40 35 20 ]
  53. canopy = revolution 80 4 8 5 [ 20 40 40 20 ]
  54. canopy = rotz canopy -90
  55. canopy = trans canopy 220 145 0
  56. canopy = paint canopy 225 225 225
  57.  
  58.  
  59. # Create engine
  60. engine = cylinder 85 85 2 12
  61. engine = rotz engine 90
  62. engine = trans engine 550 50 0
  63. engine = paint engine 200 200 200
  64.  
  65.  
  66. # Create propeller
  67. prop = cylinder 15 15 50 8
  68. prop = rotz prop 90
  69. prop = trans prop 570 50 0
  70. prop = paint prop 150 150 150
  71.  
  72. blade1 = pyramid 40 150 4
  73. blade1 = scale blade1 0.25 1.0 1.0
  74. blade1 = trans blade1 0 -65 0
  75. blade1 = roty blade1 30
  76. blade2 = rotx blade1 180
  77. blades = merge blade1 blade2
  78. blades = rotx blades 45
  79. blades = trans blades 580 50 0
  80. blades = paint blades 150 150 150
  81.  
  82.  
  83. # Merge and save
  84. plane = merge body wings
  85. plane = merge plane tail
  86. plane = merge plane stabilizer
  87. plane = merge plane engine
  88. plane = merge plane prop
  89. plane = merge plane blades
  90. plane = merge plane canopy
  91. savePLG plane plane.plg
  92.  
  93.