This code appears in the following versions (click to see it in the source code):
Code variations between these versions are shown below.
.SHIP_SHUTTLE EQUB 15 \ Max. canisters on demise = 15 EQUW 50 * 50 \ Targetable area = 50 * 50 EQUB LO(SHIP_SHUTTLE_EDGES - SHIP_SHUTTLE) \ Edges data offset (low) EQUB LO(SHIP_SHUTTLE_FACES - SHIP_SHUTTLE) \ Faces data offset (low)Name: SHIP_SHUTTLE Type: Variable Category: Drawing ships Summary: Ship blueprint for a Shuttle Deep dive: Ship blueprints Comparing ship specifications
The advanced versions of Elite have an extra edge count for the ship colour; Shuttles are shown in cyan.
Tap on a block to expand it, and tap it again to revert.
EQUB 0 \ Gun vertex = 0 EQUB 38 \ Explosion count = 8, as (4 * n) + 6 = 38 EQUB 114 \ Number of vertices = 114 / 6 = 19 EQUB 30 \ Number of edges = 30 EQUW 0 \ Bounty = 0 EQUB 52 \ Number of faces = 52 / 4 = 13 EQUB 22 \ Visibility distance = 22 EQUB 32 \ Max. energy = 32 EQUB 8 \ Max. speed = 8 EQUB HI(SHIP_SHUTTLE_EDGES - SHIP_SHUTTLE) \ Edges data offset (high) EQUB HI(SHIP_SHUTTLE_FACES - SHIP_SHUTTLE) \ Faces data offset (high) EQUB 2 \ Normals are scaled by = 2^2 = 4 EQUB %00000000 \ Laser power = 0 \ Missiles = 0 .SHIP_SHUTTLE_VERTICES
The ship hangar in the disc version displays the Shuttle with slightly different visibility settings to the other enhanced versions, and the face normals are twice the size (even though the scale factor is the same). I'm not entirely sure why.
See below for more variations related to this code.
Tap on a block to expand it, and tap it again to revert.
.SHIP_SHUTTLE_EDGES \ vertex1, vertex2, face1, face2, visibility EDGE 0, 1, 2, 0, 31 \ Edge 0 EDGE 1, 2, 10, 4, 31 \ Edge 1 EDGE 2, 3, 11, 6, 31 \ Edge 2 EDGE 0, 3, 12, 8, 31 \ Edge 3 EDGE 0, 7, 8, 1, 31 \ Edge 4 EDGE 0, 4, 2, 1, 24 \ Edge 5 EDGE 1, 4, 3, 2, 31 \ Edge 6 EDGE 1, 5, 4, 3, 24 \ Edge 7 EDGE 2, 5, 5, 4, 31 \ Edge 8 EDGE 2, 6, 6, 5, 12 \ Edge 9 EDGE 3, 6, 7, 6, 31 \ Edge 10 EDGE 3, 7, 8, 7, 24 \ Edge 11 EDGE 4, 5, 9, 3, 31 \ Edge 12 EDGE 5, 6, 9, 5, 31 \ Edge 13 EDGE 6, 7, 9, 7, 31 \ Edge 14 EDGE 4, 7, 9, 1, 31 \ Edge 15 EDGE 0, 12, 12, 0, 16 \ Edge 16 EDGE 1, 12, 10, 0, 16 \ Edge 17 EDGE 2, 12, 11, 10, 16 \ Edge 18 EDGE 3, 12, 12, 11, 16 \ Edge 19 EDGE 8, 9, 9, 9, 16 \ Edge 20
Code variation 3 of 4
See variation 2 above for details.
Tap on a block to expand it, and tap it again to revert.
.SHIP_SHUTTLE_FACES
Code variation 4 of 4
See variation 2 above for details.
Tap on a block to expand it, and tap it again to revert.