home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Secret Service 40
/
SSERVCD_40.bin
/
demos
/
ddrome
/
data.z
/
PLASMAX.GW
< prev
next >
Wrap
Text File
|
1996-08-20
|
1KB
|
44 lines
##################################################
# Make a light for each plasma ball:
##################################################
# runner %runNo%, ball %ballNo%
LightNew pballLight_%runNo%_%ballNo%
LightSetOrientation 0 0 0
LightSetTranslate 0 4 0
LightSetColor 2.5 2.5 2.5
#LightSetRanges 10 30
LightSetRanges 30 50
LightSetPointSource
SetIntersectSurface off
SetAltitudeSurface off
LightSetActive off
###################################################
# Create plasma balls and add the light for
# each runner
###################################################
# runner %runNo%, ball %ballNo%
NewObject3D pball_%runNo%_%ballNo%
Object3DSetActive off
Object3DTranslate 32.0 0.0 -32.0
SetIntersectSurface off
SetAltitudeSurface off
#Try making this guy just added to the world BTS
Object3DAddChild missile
#add point source to plasma ball
#Try making this guy just added to the world BTS
#Object3DAddChild pballLight_%runNo%_%ballNo%
###################################################
# Add the balls and lights to the world
###################################################
FindNode world1
AddChild pballLight_%runNo%_%ballNo%
AddChild pball_%runNo%_%ballNo%
WorldAddLight pballLight_%runNo%_%ballNo%