home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Virtual Reality Zone
/
VRZONE.ISO
/
mac
/
PC
/
REND386
/
UTILS
/
OGRE41
/
PLANE.OSF
< prev
next >
Wrap
Text File
|
1993-04-26
|
2KB
|
93 lines
# Ogre Script file to create a WWII Devastator Fighter Bomber
# by Bob Batty 11-4-92
# Converted to new script language by David Boeren
# Also reduced vertcount and polycount by about 60 percent!
# 148 Vertices
# 107 Polygons
OBJECT plane
OBJECT body
OBJECT wings
OBJECT tail
OBJECT stabilizer
OBJECT canopy
OBJECT blade1
OBJECT blade2
OBJECT blades
OBJECT prop
OBJECT engine
# Create body
# body = revolution 100 11 12 5 [ 95 100 100 100 100 100 90 75 60 45 30 ]
body = revolution 500 3 12 0 [ 100 90 30 ]
body = rotz body -90
body = trans body 50 50 0
body = paint body 50 50 255
# Create wings
wings = panel 500 4 20 10 [ 150 250 250 150 ]
wings = roty wings 90
wings = rotz wings 90
wings = trans wings 350 0 0
wings = paint wings 50 50 255
# Create tail
tail = panel 250 3 15 10 [ 70 250 70 ]
tail = roty tail 90
tail = rotz tail -90
tail = trans tail -450 50 0
tail = paint tail 50 50 255
# Create vertical stabilizer
stabilizer = panel 250 2 15 10 [ 90 300 ]
stabilizer = rotz stabilizer -90
stabilizer = trans stabilizer -450 180 0
stabilizer = paint stabilizer 50 50 255
# Create canopy
# canopy = revolution 50 6 8 5 [ 20 35 40 40 35 20 ]
canopy = revolution 80 4 8 5 [ 20 40 40 20 ]
canopy = rotz canopy -90
canopy = trans canopy 220 145 0
canopy = paint canopy 225 225 225
# Create engine
engine = cylinder 85 85 2 12
engine = rotz engine 90
engine = trans engine 550 50 0
engine = paint engine 200 200 200
# Create propeller
prop = cylinder 15 15 50 8
prop = rotz prop 90
prop = trans prop 570 50 0
prop = paint prop 150 150 150
blade1 = pyramid 40 150 4
blade1 = scale blade1 0.25 1.0 1.0
blade1 = trans blade1 0 -65 0
blade1 = roty blade1 30
blade2 = rotx blade1 180
blades = merge blade1 blade2
blades = rotx blades 45
blades = trans blades 580 50 0
blades = paint blades 150 150 150
# Merge and save
plane = merge body wings
plane = merge plane tail
plane = merge plane stabilizer
plane = merge plane engine
plane = merge plane prop
plane = merge plane blades
plane = merge plane canopy
savePLG plane plane.plg