home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 10 / 1996-11_-_Disc_2.10.bin / ddrome / data.z / PLASMAX.GW < prev    next >
Text File  |  1996-08-20  |  1KB  |  44 lines

  1. ##################################################
  2. # Make a light for each plasma ball:
  3. ##################################################
  4.  
  5. # runner %runNo%, ball %ballNo%
  6. LightNew pballLight_%runNo%_%ballNo%
  7. LightSetOrientation 0  0 0
  8. LightSetTranslate  0 4 0
  9. LightSetColor  2.5 2.5 2.5
  10. #LightSetRanges  10 30
  11. LightSetRanges  30 50
  12. LightSetPointSource
  13. SetIntersectSurface off
  14. SetAltitudeSurface off
  15. LightSetActive off
  16.  
  17. ###################################################
  18. # Create plasma balls and add the light for
  19. # each runner
  20. ###################################################
  21.  
  22. # runner %runNo%, ball %ballNo%
  23. NewObject3D pball_%runNo%_%ballNo%
  24.  
  25. Object3DSetActive off
  26. Object3DTranslate 32.0 0.0 -32.0
  27. SetIntersectSurface off
  28. SetAltitudeSurface off
  29.  
  30. #Try making this guy just added to the world BTS
  31. Object3DAddChild missile
  32.  
  33. #add point source to plasma ball
  34. #Try making this guy just added to the world BTS
  35. #Object3DAddChild pballLight_%runNo%_%ballNo%
  36.  
  37. ###################################################
  38. # Add the balls and lights to the world
  39. ###################################################
  40. FindNode world1
  41. AddChild pballLight_%runNo%_%ballNo%
  42. AddChild pball_%runNo%_%ballNo%
  43. WorldAddLight pballLight_%runNo%_%ballNo%
  44.