Terms:
1. It must be a single mesh, multiple boxes and pyramids will lag out the server.
2. It must be free for public use: Available for anyone to use if they credit the original creator.
Here is the code I am currently using. This was done completely in a text-editor.
Feel free to modify, study, insult, steal, or ignore:
Code: Select all
define car
mesh
#west side bottom
vertex -2.500 5.0000 .75000 #0
vertex -2.500 4.2500 .75000 #1 wheel
vertex -2.500 4.1000 0.0000 #2 wheelground
vertex -2.500 2.9000 0.0000 #3
vertex -2.500 2.7500 .75000 #4
vertex -2.500 -2.750 .75000 #5 rear wheel
vertex -2.500 -2.900 0.0000 #6
vertex -2.500 -4.100 0.0000 #7
vertex -2.500 -4.250 0.7500 #8 back to chassis
vertex -2.500 -5.000 .75000 #9
#west side top coords
vertex -2.500 4.8500 1.7500 #10
vertex -2.500 2.5000 1.7500 #11 windshield
vertex -2.500 1.0000 2.7500 #12 roof
vertex -2.500 -2.750 2.7500 #13
vertex -2.500 -3.000 1.7500 #14 body
vertex -2.500 -5.000 1.7500 #15
#east side bottom coords
vertex 2.500 5.0000 .75000 #16
vertex 2.500 4.2500 .75000 #17 wheel
vertex 2.500 4.1000 0.0000 #18 wheelground
vertex 2.500 2.9000 0.0000 #19
vertex 2.500 2.7500 .75000 #20
vertex 2.500 -2.750 .75000 #21 rear wheel
vertex 2.500 -2.900 0.0000 #22
vertex 2.500 -4.100 0.0000 #23
vertex 2.500 -4.250 0.7500 #24 back to chassis
vertex 2.500 -5.000 .75000 #25
#east side top coords
vertex 2.500 4.83000 1.7500 #26
vertex 2.500 2.5000 1.7500 #27 windshield
vertex 2.500 1.0000 2.7500 #28 roof
vertex 2.500 -2.750 2.7500 #29
vertex 2.500 -3.000 1.7500 #30 body
vertex 2.500 -5.000 1.7500 #31
#better grill
vertex -2.500 5.000 1.650 #32
vertex 2.5000 5.000 1.650 #33
#better wheels
vertex -2.00000 4.2500 .75000 #34 wheel
vertex -2.00000 4.1000 0.0000 #35 wheelground
vertex -2.00000 2.9000 0.0000 #36
vertex -2.00000 2.7500 .75000 #37
vertex -2.00000 -2.750 .75000 #38 rear wheel
vertex -2.00000 -2.900 0.0000 #39
vertex -2.00000 -4.100 0.0000 #40
vertex -2.00000 -4.250 0.7500 #41 back to chassis
vertex 2.00000 4.2500 .75000 #42 wheel
vertex 2.00000 4.1000 0.0000 #43 wheelground
vertex 2.00000 2.9000 0.0000 #44
vertex 2.00000 2.7500 .75000 #45
vertex 2.00000 -2.750 .75000 #46 rear wheel
vertex 2.00000 -2.900 0.0000 #47
vertex 2.00000 -4.100 0.0000 #48
vertex 2.00000 -4.250 0.7500 #49 back to chassis
#west side
face #doors, fender
vertices 0 9 15 10
matref auto
endface
face #front west wheel
vertices 1 2 3 4
matref wheel
endface
face #rear wheel
vertices 5 6 7 8
matref wheel
endface
face #windows
vertices 11 14 13 12
matref window
endface
#east side
face #doors, fender
vertices 25 16 26 31
matref auto
endface
face #front west wheel
vertices 19 18 17 20
matref wheel
endface
face #rear wheel
vertices 23 22 21 24
matref wheel
endface
face #windows
vertices 30 27 28 29
matref window
endface
face #back
vertices 9 25 31 15
matref auto
endface
face #trunk
vertices 15 31 30 14
endface
face #rear window
vertices 14 30 29 13
matref window
endface
face #top
vertices 13 29 28 12
endface
face #windshield
vertices 12 28 27 11
matref window
endface
face #hood
vertices 11 27 26 10
endface
face #grill
vertices 33 32 10 26
endface
face #grill
vertices 16 0 32 33
endface
face #grill west filler triangle
vertices 10 32 0
matref auto
endface
face #grill east filler triangle
vertices 33 26 16
matref auto
endface
face #underbelly
vertices 25 9 0 16
endface
#east wheels
face
vertices 35 2 1 34
endface
face
vertices 37 4 3 36
endface
face
vertices 38 5 4 37
endface
face
vertices 39 6 5 38
endface
face
vertices 41 8 7 40
endface
face
vertices 36 35 34 37
endface
face
vertices 40 39 38 41
endface
#west wheels treads
face
vertices 18 43 42 17
endface
face
vertices 20 45 44 19
endface
face
vertices 21 46 45 20
endface
face
vertices 22 47 46 21
endface
face
vertices 24 49 48 23
endface
face
vertices 43 44 45 42
endface
face
vertices 47 48 49 46
endface
end
enddef