Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Array::mult = (m) -> @map (v) -> v*m
- Array::add = (m) -> @map (v) -> v+m
- for key, value of []
- delete Array::[key]
- Object.defineProperty Array::, key,
- value: value
- configurable: true
- enumerable: false
- addStructureTurret = (n, xpos, ypos, zpos, size, angle, damage, rate, speed, number) ->
- model.bodies['StructureTurretBase'+n] =
- section_segments: 8
- offset:
- x: xpos
- y: zpos
- z: -ypos
- position:
- x: [0,0,0,0,0,0]
- y: [-21,-21,-4,-4].mult(size)
- z: [0,0,0,0,0,0].mult(size)
- width: [0,22,18,0].mult(size)
- height: [0,22,18,0].mult(size)
- texture: [4,4,17]
- vertical: true
- model.bodies['StructureTurret'+n] =
- section_segments: [0,45,60,120,135,180,225,240,300,315]
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [0,0,0,0,0,0]
- y: [-17,-15,-10,10,11,12].mult(size)
- z: [0,0,0,0,0,0].mult(size)
- width: [0,9,14,16,6,0].mult(size)
- height: [0,3,5,5,3,0].mult(size)
- texture: [4,4,15.1,3.9,15.1]
- angle: angle
- laser:
- damage: damage
- rate: rate
- speed: speed
- number: number
- model.bodies['StructureTurretBarrelLeft'+n] =
- section_segments: 16
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [14,14,14,14,14,13,13].mult(size)
- y: [-27,-32,-14,-14,4,9,10].mult(size)
- z: [0,0,0,0,0,0,0].mult(size)
- width: [0,1.7,2,2.4,2.6,2,0].mult(size)
- height: [0,1.7,2,2.4,2.6,2,0].mult(size)
- texture: [17,8,3,3,2,2]
- angle: angle
- model.bodies['StructureTurretBarrelRight'+n] =
- section_segments: 16
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [-14,-14,-14,-14,-14,-13,-13].mult(size)
- y: [-27,-32,-14,-14,4,9,10].mult(size)
- z: [0,0,0,0,0,0,0].mult(size)
- width: [0,1.7,2,2.4,2.6,2,0].mult(size)
- height: [0,1.7,2,2.4,2.6,2,0].mult(size)
- texture: [17,8,3,3,2,2]
- angle: angle
- model.bodies['StructureTurretBarrelInnerLeft'+n] =
- section_segments: 16
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [6,6,6,6,6,6,6].mult(size)
- y: [-37,-39,-14,-14,4,5,5].mult(size)
- z: [0,0,0,0,0,0,0].mult(size)
- width: [0,1.7,2,2.4,2.6,3,0].mult(size)
- height: [0,1.7,2,2.4,2.6,3,0].mult(size)
- texture: [17,3,3,3,2,2]
- angle: angle
- model.bodies['StructureTurretBarrelInnerRight'+n] =
- section_segments: 16
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [-6,-6,-6,-6,-6,-6,-6].mult(size)
- y: [-37,-39,-14,-14,4,5,5].mult(size)
- z: [0,0,0,0,0,0,0].mult(size)
- width: [0,1.7,2,2.4,2.6,3,0].mult(size)
- height: [0,1.7,2,2.4,2.6,3,0].mult(size)
- texture: [17,3,3,3,2,2]
- angle: angle
- model.bodies['StructureTurretBarrelInnerMain'+n] =
- section_segments: 16
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [0,0,0,0,0,0,0].mult(size)
- y: [-39,-42,-30,-14,4,5,5].mult(size)
- z: [0,0,0,0,0,0,0].mult(size)
- width: [0,1.7,2,2.4,2.6,3,0].mult(size)
- height: [0,1.7,2,2.4,2.6,3,0].mult(size)
- texture: [17,8,3,3,2,2]
- angle: angle
- addBroadsideTurret = (n, xpos, ypos, zpos, size, angle, damage, rate, speed, number) ->
- model.bodies['broadsideTurretBase'+n] =
- section_segments: 16
- offset:
- x: xpos
- y: zpos
- z: -ypos
- position:
- x: [0,0,0,0,0,0]
- y: [-23,-23,-4,-4].mult(size)
- z: [0,0,0,0,0,0].mult(size)
- width: [0,22,19,0].mult(size)
- height: [0,22,19,0].mult(size)
- texture: [1,10,11]
- vertical: true
- model.bodies['broadsideTurret'+n] =
- section_segments: [45,90+45,180+45,270+45]
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [0,0,0,0,0]
- y: [-10,-10,-10,18.2,19].mult(size)
- z: [-2,-2,-2,0,-4].mult(size)
- width: [0,0,6,7,0].mult(size)
- height: [0,0,3,5,0].mult(size)
- texture: [3]
- angle: angle
- laser:
- damage: damage
- rate: rate
- speed: speed
- number: number
- model.bodies['broadsideTurretBarrelInnerLeft'+n] =
- section_segments: 16
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [6,6,6,6,6,6,4.5].mult(size)
- y: [-22,-27,0,1,9,14,18].mult(size)
- z: [0,0,0,0,0,0,0].mult(size)
- width: [0,1.7,2,2.4,2.6,2,0].mult(size*0.8)
- height: [0,1.7,2,2.4,2.6,2,0].mult(size*0.8)
- texture: [17,3,17,2,3,3]
- angle: angle
- model.bodies['broadsideTurretBarrelCenterLeft'+n] =
- section_segments: 16
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [9,9,9,9,9,9,5].mult(size)
- y: [-22,-27,0,1,9,14,17].mult(size)
- z: [0,0,0,0,0,0,0].mult(size)
- width: [0,1.7,2,2.4,2.6,2,0].mult(size*0.8)
- height: [0,1.7,2,2.4,2.6,2,0].mult(size*0.8)
- texture: [17,3,17,2,3,3]
- angle: angle
- model.bodies['broadsideTurretBarrelMidLeft'+n] =
- section_segments: 16
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [12,12,12,12,12,12,6].mult(size)
- y: [-22,-27,0,1,9,14,16].mult(size)
- z: [0,0,0,0,0,0,0].mult(size)
- width: [0,1.7,2,2.4,2.6,2,0].mult(size*0.8)
- height: [0,1.7,2,2.4,2.6,2,0].mult(size*0.8)
- texture: [17,3,17,2,3,3]
- angle: angle
- model.bodies['broadsideTurretBarrelOuterLeft'+n] =
- section_segments: 16
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [15,15,15,15,15,15,7].mult(size)
- y: [-22,-27,0,1,9,14,15].mult(size)
- z: [0,0,0,0,0,0,0].mult(size)
- width: [0,1.7,2,2.4,2.6,2,0].mult(size*0.8)
- height: [0,1.7,2,2.4,2.6,2,0].mult(size*0.8)
- texture: [17,3,17,2,3,3]
- angle: angle
- model.bodies['broadsideTurretBarrelInnerRight'+n] =
- section_segments: 16
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [6,6,6,6,6,6,4.5].mult(-size)
- y: [-22,-27,0,1,9,14,18].mult(size)
- z: [0,0,0,0,0,0,0].mult(size)
- width: [0,1.7,2,2.4,2.6,2,0].mult(size*0.8)
- height: [0,1.7,2,2.4,2.6,2,0].mult(size*0.8)
- texture: [17,3,17,2,3,3]
- angle: angle
- model.bodies['broadsideTurretBarrelCenterRight'+n] =
- section_segments: 16
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [9,9,9,9,9,9,5].mult(-size)
- y: [-22,-27,0,1,9,14,17].mult(size)
- z: [0,0,0,0,0,0,0].mult(size)
- width: [0,1.7,2,2.4,2.6,2,0].mult(size*0.8)
- height: [0,1.7,2,2.4,2.6,2,0].mult(size*0.8)
- texture: [17,3,17,2,3,3]
- angle: angle
- model.bodies['broadsideTurretBarrelMidRight'+n] =
- section_segments: 16
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [12,12,12,12,12,12,6].mult(-size)
- y: [-22,-27,0,1,9,14,16].mult(size)
- z: [0,0,0,0,0,0,0].mult(size)
- width: [0,1.7,2,2.4,2.6,2,0].mult(size*0.8)
- height: [0,1.7,2,2.4,2.6,2,0].mult(size*0.8)
- texture: [17,3,17,2,3,3]
- angle: angle
- model.bodies['broadsideTurretBarrelOuterRight'+n] =
- section_segments: 16
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [15,15,15,15,15,15,7].mult(-size)
- y: [-22,-27,0,1,9,14,15].mult(size)
- z: [0,0,0,0,0,0,0].mult(size)
- width: [0,1.7,2,2.4,2.6,2,0].mult(size*0.8)
- height: [0,1.7,2,2.4,2.6,2,0].mult(size*0.8)
- texture: [17,3,17,2,3,3]
- angle: angle
- addSideCannon = (n, xpos, ypos, zpos, size, angle) ->
- model.bodies['sideCannonTop'+n] =
- section_segments: 10
- offset:
- x: xpos
- y: ypos
- z: zpos+(3*size)
- position:
- x: [0,0,0,0,0,0,0,0,0].add(7*size)
- y: [-20,-30,-30,-20,-20,0,0,8,8].mult(size*0.8)
- z: [0,0,0,0,0,0,0,0,0]
- width: [0,0.5,1,1,1.5,2,1.5,0].mult(size)
- height: [0,0.5,1,1,1.5,2,1.5,0].mult(size)
- texture: [17,2,2,2,3,2]
- angle: angle-90
- laser:
- damage: [20,20]
- rate: 4
- speed: [180,180]
- number: 1
- error: 0
- model.bodies['SideCannonProngTop'+n] =
- section_segments: 8
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [0,0,0,0].add(7*size)
- y: [-25,-22,-19,-19].mult(size)
- z: [-0.5,0,-1,-1].add(4.4*size)
- width: [0,1,1,0].mult(size*0.5)
- height: [0,1,1,0].mult(size*0.5)
- texture: [1]
- angle: angle-90
- model.bodies['SideCannonProngBottom'+n] =
- section_segments: 8
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [0,0,0,0].add(7*size)
- y: [-25,-22,-19,-19].mult(size)
- z: [0.5,0,1,1].add(1.6*size)
- width: [0,1,1,0].mult(size*0.5)
- height: [0,1,1,0].mult(size*0.5)
- texture: [1]
- angle: angle-90
- model.bodies['SideCannonProngLeft'+n] =
- section_segments: 8
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [0.5,0,1,1].add(5.5*size)
- y:[-25,-22,-19,-19].mult(size)
- z: [0,0,0,0].add(3*size)
- width: [0,1,1,0].mult(size*0.5)
- height: [0,1,1,0].mult(size*0.5)
- texture: [1]
- angle: angle-90
- model.bodies['SideCannonProngRight'+n] =
- section_segments: 8
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [-0.5,0,-1,-1].add(8.5*size)
- y: [-25,-22,-19,-19].mult(size)
- z: [0,0,0,0].add(3*size)
- width: [0,1,1,0].mult(size*0.5)
- height: [0,1,1,0].mult(size*0.5)
- texture: [1]
- angle: angle-90
- addPropulsor = (n, xoff, zoff, xpos, ypos, zpos, size, angle, texture) ->
- model.bodies['engine'+n] =
- section_segments: 16
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: xoff.mult(size)
- y: [42,42,50,90,92,88].mult(size)
- z: zoff.mult(size)
- width: [0,2,7,10,8,0].mult(size)
- height: [0,2,7,10,8,0].mult(size)
- texture: [3,4,11,16,17]
- propeller: true
- angle: angle
- addHangarStripe = (n, xpos, ypos, zpos, size, angle) ->
- model.bodies['hangarStripe'+n] =
- section_segments: [45,90+45,180+45,270+45]
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [0,0,0,0]
- y: [-9,-9,8,8].mult(size)
- z: [4,4,0,0].mult(size)
- width: [0,6,6,0].mult(size)
- height: [0,6,6,0].mult(size)
- texture: [8]
- angle: angle
- addRamStripe = (n, zpos) ->
- model.bodies['ramStripeMain'+n] =
- section_segments: [45,90+45,180+45,270+45]
- offset:
- x: 0
- y: -294
- z: zpos
- position:
- x: [0,0,0,0]
- y: [-10,-10,14,14]
- z: [0,0,0,0]
- width: [0,8,17,0]
- height: [0,5,5,0]
- texture: [1]
- model.bodies['ramStripeInner'+n] =
- section_segments: [45,90+45,180+45,270+45]
- offset:
- x: 0
- y: -294.01
- z: zpos
- position:
- x: [0,0,0,0]
- y: [-10,-10,13,13]
- z: [0,0,0,0]
- width: [0,8,17,0]
- height: [0,4,4,0]
- texture: [15.001]
- model.bodies['ramStripeInnerTop'+n] =
- section_segments: [45,90+45,180+45,270+45]
- offset:
- x: 0
- y: -294.02
- z: zpos+2
- position:
- x: [0,0,0,0]
- y: [-10,-10,12,12]
- z: [0,0,0,0]
- width: [0,8,17,0]
- height: [0,0.5,0.5,0]
- texture: [17]
- model.bodies['ramStripeInnerBottom'+n] =
- section_segments: [45,90+45,180+45,270+45]
- offset:
- x: 0
- y: -294.02
- z: zpos-2
- position:
- x: [0,0,0,0]
- y: [-10,-10,12,12]
- z: [0,0,0,0]
- width: [0,8,17,0]
- height: [0,0.5,0.5,0]
- texture: [17]
- addShieldSupport = (n, xpos, ypos, zpos) ->
- model.bodies['shieldSupport'+n] =
- section_segments: 16
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [0,0,0,0,0,0,0,0]
- y: [-1,-1,-1,-1,4,4,4]
- z: [0,0,0,0,0,0,0]
- width: [0,0.5,0.5,0.5,0.5,0.5,0]
- height: [0,0.5,0.5,0.5,0.5,0.5,0]
- texture: [16]
- vertical: true
- addBridgeLowerStripeDetail = (n, xpos) ->
- model.bodies['bridgeLowerStripeDetail'+n] =
- section_segments: [45,90+45,180+45,270+45]
- offset:
- x: xpos
- y: 133.5
- z: 40
- position:
- x: [0,0,0,0]
- y: [0,0,2,2]
- z: [0,0,0,0]
- width: [0,0.5,0.5,0]
- height: [0,6,6,0]
- texture: [14]
- addBridgeBottomStripeMain = (n, zpos) ->
- model.bodies['bridgeBottomStripeMain'+n] =
- section_segments: [45,90+45,180+45,270+45]
- offset:
- x: 0
- y: 130
- z: zpos+0.4
- position:
- x: [0,0,0,0]
- y: [-1,-1,9,9]
- z: [0,0,0,0]
- width: [0,10,9.5,0]
- height: [0,0.3,0.3,0]
- texture: [1,11,1]
- addCitystructureDetail = (n, xpos, ypos, zpos, size, angle, texture) ->
- model.bodies['citystructureDetailMain'+n] =
- section_segments: [45,90+45,180+45,270+45]
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [0,0,0,0]
- y: [-9,-9,8,8].mult(size)
- z: [0,0,0,0].mult(size)
- width: [0,6,6,0].mult(size)
- height: [0,6,6,0].mult(size)
- texture: [3]
- angle: angle
- model.bodies['citystructureDetailTop'+n] =
- section_segments: [45,90+45,180+45,270+45]
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [0,0,0,0]
- y: [-9.4,-9.4,8.4,8.4].mult(size)
- z: [1.5,1.5,1.5,1.5].mult(size)
- width: [0,6.4,6.4,0].mult(size)
- height: [0,4,4,0].mult(size)
- texture: texture
- angle: angle
- model.bodies['citystructureDetailStripeFront'+n] =
- section_segments: [45,90+45,180+45,270+45]
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [0,0,0,0]
- y: [-8,-8,-7,-7].mult(size)
- z: [2,2,2,2].mult(size)
- width: [0,8,7,0].mult(size)
- height: [0,4,4,0].mult(size)
- texture: [4]
- angle: angle
- model.bodies['citystructureDetailStripeBack'+n] =
- section_segments: [45,90+45,180+45,270+45]
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [0,0,0,0]
- y: [6,6,7,7].mult(size)
- z: [2,2,2,2].mult(size)
- width: [0,7,8,0].mult(size)
- height: [0,4,4,0].mult(size)
- texture: [4]
- angle: angle
- model.bodies['citystructureDetailStripeCentral'+n] =
- section_segments: [45,90+45,180+45,270+45]
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [0,0,0,0]
- y: [-7,-7,6,6].mult(size)
- z: [2,2,2,2].mult(size)
- width: [0,0.6,0.6,0].mult(size)
- height: [0,4,4,0].mult(size)
- texture: [15.9]
- angle: angle
- model.bodies['citystructureDetailStripeCentralOuterOne'+n] =
- section_segments: [45,90+45,180+45,270+45]
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [2,2,2,2].mult(size)
- y: [-7,-7,6,6].mult(size)
- z: [2,2,2,2].mult(size)
- width: [0,0.6,0.6,0].mult(size)
- height: [0,4,4,0].mult(size)
- texture: [15.9]
- angle: angle
- model.bodies['citystructureDetailStripeCentralOuterTwo'+n] =
- section_segments: [45,90+45,180+45,270+45]
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [-2,-2,-2,-2].mult(size)
- y: [-7,-7,6,6].mult(size)
- z: [2,2,2,2].mult(size)
- width: [0,0.6,0.6,0].mult(size)
- height: [0,4,4,0].mult(size)
- texture: [15.9]
- angle: angle
- model.bodies['citystructureDetailStripeCentralOuterThree'+n] =
- section_segments: [45,90+45,180+45,270+45]
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [3.5,3.5,3.5,3.5].mult(size)
- y: [-2,-2,1,1].mult(size)
- z: [2,2,2,2].mult(size)
- width: [0,1,1,0].mult(size)
- height: [0,4,4,0].mult(size)
- texture: [16]
- angle: angle
- model.bodies['citystructureDetailStripeCentralOuterFour'+n] =
- section_segments: [45,90+45,180+45,270+45]
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [-3.5,-3.5,-3.5,-3.5].mult(size)
- y: [-2,-2,1,1].mult(size)
- z: [2,2,2,2].mult(size)
- width: [0,1,1,0].mult(size)
- height: [0,4,4,0].mult(size)
- texture: [16]
- angle: angle
- model.bodies['citystructureDetailStripeCentralHighlight'+n] =
- section_segments: [45,90+45,180+45,270+45]
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [0,0,0,0].mult(size)
- y: [-5,-5,4,4].mult(size)
- z: [0,0,0,0].mult(size)
- width: [0,6.8,6.8,0].mult(size)
- height: [0,2,2,0].mult(size)
- texture: [17]
- angle: angle
- addMainTurret = (n, xpos, ypos, zpos, size, angle, damage, rate, speed, number) ->
- model.bodies['MainTurretBase'+n] =
- section_segments: 12
- offset:
- x: xpos
- y: zpos
- z: -ypos
- position:
- x: [0,0,0,0,0,0]
- y: [-21,-21,-4,-4].mult(size)
- z: [0,0,0,0,0,0].mult(size)
- width: [0,22,18,0].mult(size)
- height: [0,22,18,0].mult(size)
- texture: [4,4,1]
- vertical: true
- model.bodies['MainTurret'+n] =
- section_segments: 6
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [0,0,0,0,0]
- y: [-14,-14,-12,12,18].mult(size)
- z: [-4,-4,-3,-2,-4.2].mult(size)
- width: [0,0,9,14,0].mult(size)
- height: [0,0,3,5,0].mult(size)
- texture: [3,3,2.9,2.9]
- angle: angle
- laser:
- damage: damage
- rate: rate
- speed: speed
- number: number
- model.bodies['MainTurretFront'+n] =
- section_segments: 6
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [0,0,0,0,0]
- y: [-11,-11,-11,2,3].mult(size)
- z: [-4,-4,-3,-2,-4.2].mult(size)
- width: [0,0,9,12,0].mult(size)
- height: [0,0,3,4,0].mult(size)
- texture: [15.9]
- angle: angle
- model.bodies['MainTurretBarrelInnerLeft'+n] =
- section_segments: 16
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [12,12,12,12,12,12,12].mult(size)
- y: [-22,-27,-1,0,8,12,12.4].mult(size)
- z: [-2,-2,-2,-2,-2,-2,-2].mult(size)
- width: [0,1.4,2,2.4,2.6,2,0].mult(size*0.8)
- height: [0,1.4,2,2.4,2.6,2,0].mult(size*0.8)
- texture: [17,2,17,3,11,2]
- angle: angle
- model.bodies['MainTurretBarrelInnerRight'+n] =
- section_segments: 16
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [-12,-12,-12,-12,-12,-12,-12].mult(size)
- y: [-22,-27,-1,0,8,12,12.4].mult(size)
- z: [-2,-2,-2,-2,-2,-2,-2].mult(size)
- width: [0,1.4,2,2.4,2.6,2,0].mult(size*0.8)
- height: [0,1.4,2,2.4,2.6,2,0].mult(size*0.8)
- texture: [17,2,17,3,11,2]
- angle: angle
- model.bodies['MainTurretBarrelCenterLeft'+n] =
- section_segments: 16
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [10,10,10,10,10,10,10].mult(size)
- y: [-28,-32,-11,0,8,8,8].mult(size)
- z: [-2,-2,-2,-2,-2,-2,-2].mult(size)
- width: [0,1,1.2,2,0,0,0].mult(size*0.8)
- height: [0,1,1.2,2,0,0,0].mult(size*0.8)
- texture: [17,4,3,3,11,2]
- angle: angle
- model.bodies['MainTurretBarrelCenterRight'+n] =
- section_segments: 16
- offset:
- x: xpos
- y: ypos
- z: zpos
- position:
- x: [-10,-10,-10,-10,-10,-10,-10].mult(size)
- y: [-28,-32,-11,0,8,8,8].mult(size)
- z: [-2,-2,-2,-2,-2,-2,-2].mult(size)
- width: [0,1,1.2,2,0,0,0].mult(size*0.8)
- height: [0,1,1.2,2,0,0,0].mult(size*0.8)
- texture: [17,4,3,3,11,2]
- angle: angle
- m=0.082
- sph=0.76
- finSize=0.3
- model =
- name: 'The Eternal Hunter'
- designer: 'Interdictor''unmatched OUTDENT' so it's manual now
- section_segments: 16
- offset:
- x: 0
- y: 144.5
- z: 38
- position:
- x: [0,0,0,0,0,0,0,0]
- y: [-30,-30,30,30,30,30].mult(0.2)
- z: [0,0,0,0,0,0,0,0]
- width: [0,0.7,0.7,0.7,0,0]
- height: [0,0.7,0.7,0.7,0,0]
- texture: [3]
- angle: -90
- bridgeDetailRod2:
- section_segments: 16
- offset:
- x: 0
- y: 144
- z: 40
- position:
- x: [0,0,0,0,0,0,0,0]
- y: [-30,-30,30,30,30,30].mult(0.2)
- z: [0,0,0,0,0,0,0,0]
- width: [0,0.7,0.7,0.7,0,0]
- height: [0,0.7,0.7,0.7,0,0]
- texture: [3]
- angle: -90
- bridgeDetailRod3:
- section_segments: 16
- offset:
- x: 0
- y: 143.5
- z: 42
- position:
- x: [0,0,0,0,0,0,0,0]
- y: [-30,-30,30,30,30,30].mult(0.2)
- z: [0,0,0,0,0,0,0,0]
- width: [0,0.7,0.7,0.7,0,0]
- height: [0,0.7,0.7,0.7,0,0]
- texture: [3]
- angle: -90
- bridgeDetailRod4:
- section_segments: 16
- offset:
- x: 0
- y: 143
- z: 44
- position:
- x: [0,0,0,0,0,0,0,0]
- y: [-30,-30,30,30,30,30].mult(0.2)
- z: [0,0,0,0,0,0,0,0]
- width: [0,0.7,0.7,0.7,0,0]
- height: [0,0.7,0.7,0.7,0,0]
- texture: [3]
- angle: -90
- bridgeDetailRod5:
- section_segments: 16
- offset:
- x: 0
- y: 142.5
- z: 46
- position:
- x: [0,0,0,0,0,0,0,0]
- y: [-30,-30,30,30,30,30].mult(0.2)
- z: [0,0,0,0,0,0,0,0]
- width: [0,0.7,0.7,0.7,0,0]
- height: [0,0.7,0.7,0.7,0,0]
- texture: [3]
- angle: -90
- bridgeDetailRod6:
- section_segments: 16
- offset:
- x: 0
- y: 142
- z: 48
- position:
- x: [0,0,0,0,0,0,0,0]
- y: [-30,-30,30,30,30,30].mult(0.2)
- z: [0,0,0,0,0,0,0,0]
- width: [0,0.7,0.7,0.7,0,0]
- height: [0,0.7,0.7,0.7,0,0]
- texture: [3]
- angle: -90
- # bridge bottom stripe details
- addBridgeBottomStripeMain(0,40.5)
- addBridgeBottomStripeMain(1,39.25)
- addBridgeBottomStripeMain(2,38)
- addBridgeBottomStripeMain(3,36.75)
- # bridge top stripe details
- addBridgeLowerStripeDetail(0,0)
- addBridgeLowerStripeDetail(1,1.5)
- addBridgeLowerStripeDetail(2,3)
- addBridgeLowerStripeDetail(3,4.5)
- #shield generator supports
- addShieldSupport(0,9,51,-123)
- addShieldSupport(1,9,51,-127)
- addShieldSupport(2,11,51,-125)
- addShieldSupport(3,7,51,-125)
- #battering ram deco
- addRamStripe(0,-15)
- addRamStripe(1,-36)
- addRamStripe(2,-57)
- addRamStripe(3,-78)
- #citystructure detail
- addCitystructureDetail(0,4,-50,15.4,0.15,0,[3,8,3])
- addCitystructureDetail(1,9,-30,16,0.15,0,[3,2,3])
- addCitystructureDetail(2,7,-25,16.4,0.15,0,[1,10,1])
- addCitystructureDetail(3,13,-5,16,0.15,0,[2,2,2])
- addCitystructureDetail(4,16,14,17,0.15,90,[3,3,3])
- addCitystructureDetail(5,6,18,19.6,0.15,0,[3,3,3])
- addCitystructureDetail(6,4,25,23,0.15,0,[3,3,3])
- addCitystructureDetail(7,21,32,19.9,0.15,0,[2,2,2])
- addCitystructureDetail(8,0,38,24.4,0.15,90,[2,2,2])
- addCitystructureDetail(9,6,41,24,0.15,0,[1,10,1])
- addCitystructureDetail(10,26,44,19.7,0.15,0,[3,8,3])
- addCitystructureDetail(11,35,92,22,0.15,90,[3,3,3])
- addCitystructureDetail(12,37,96,21.4,0.15,0,[2,2,2])
- addCitystructureDetail(13,39,126,24,0.15,0,[2,2,2])
- addCitystructureDetail(14,48,144,23.4,0.15,0,[3,3,3])
- addCitystructureDetail(15,42,180,22.5,0.15,90,[3,8,3])
- addCitystructureDetail(16,39,186,22,0.15,0,[2,2,2])
- addCitystructureDetail(17,10,219,25,0.15,0,[2,2,2])
- addCitystructureDetail(18,0,224,24.5,0.15,90,[2,2,2])
- addCitystructureDetail(19,4,250,22.5,0.15,0,[1,10,1])
- addCitystructureDetail(20,7,266,21.3,0.15,0,[3,3,3])
- addCitystructureDetail(21,19,0,12.5,0.18,0,[3,3,3])
- addCitystructureDetail(22,28,25,12,0.18,90,[3,3,3])
- addCitystructureDetail(23,31,19,11,0.18,90,[3,8,3])
- addCitystructureDetail(24,16,-22,12,0.18,0,[2,2,2])
- addCitystructureDetail(25,24,-8,10.8,0.18,0,[12,12,12])
- addCitystructureDetail(26,24,-50,8,0.18,0,[2,2,2])
- addCitystructureDetail(27,19,-59,8,0.18,90,[3,8,3])
- addCitystructureDetail(28,41,9,8,0.18,0,[3,8,3])
- addCitystructureDetail(29,48,12,6.8,0.18,0,[2,2,2])
- addCitystructureDetail(30,44,23,8.5,0.18,0,[3,3,3])
- addCitystructureDetail(31,74,123,9,0.18,0,[3,3,3])
- addCitystructureDetail(32,68,102,8.6,0.18,0,[2,2,2])
- addCitystructureDetail(33,76,98,8,0.18,0,[2,3,2])
- addCitystructureDetail(34,82,138,9,0.18,90,[3,3,3])
- addCitystructureDetail(35,84,130,8,0.18,0,[3,8,3])
- addCitystructureDetail(36,29,130,27.9,0.18,0,[3,8,3])
- addCitystructureDetail(37,25,104,26.8,0.18,0,[3,8,3])
- addCitystructureDetail(38,20,60,23.8,0.18,0,[3,3,3])
- addCitystructureDetail(39,25,168,32.4,0.18,0,[2,2,2])
- addCitystructureDetail(40,21,190,31.5,0.18,90,[2,3,2])
- addCitystructureDetail(41,14,-140,8,0.18,90,[2,3,2])
- addCitystructureDetail(42,24,-112,8,0.18,0,[2,3,2])
- addCitystructureDetail(43,19,-96,9.5,0.18,0,[2,2,2])
- addCitystructureDetail(44,5,-109,10.2,0.18,0,[3,8,3])
- addCitystructureDetail(45,5,104,35,0.18,0,[3,8,3])
- addCitystructureDetail(46,14,122,34,0.18,0,[3,3,3])
- addCitystructureDetail(47,17,150,36,0.18,90,[2,2,2])
- #structure turrets
- addStructureTurret(0,57,0,6.4,0.099,-40,[10,10],5,[140,140],1)
- addStructureTurret(1,55.4,-8,6.35,0.099,-40,[10,10],5,[140,140],1)
- addStructureTurret(2,53.8,-16,6.3,0.099,-40,[10,10],5,[140,140],1)
- addStructureTurret(3,52.2,-24,6.25,0.099,-40,[10,10],5,[140,140],1)
- addStructureTurret(4,50.6,-32,6.2,0.099,-40,[10,10],5,[140,140],1)
- addStructureTurret(5,46.4,-54,5.7,0.099,-40,[10,10],5,[140,140],1)
- addStructureTurret(6,44.8,-62,5.65,0.099,-40,[10,10],5,[140,140],1)
- addStructureTurret(7,43.2,-70,5.6,0.099,-40,[10,10],5,[140,140],1)
- addStructureTurret(8,41.6,-78,5.55,0.099,-40,[10,10],5,[140,140],1)
- addStructureTurret(8,37.4,-100,5,0.099,-40,[10,10],5,[140,140],1)
- addStructureTurret(9,35.8,-108,4.95,0.099,-40,[10,10],5,[140,140],1)
- addStructureTurret(10,34.2,-116,4.9,0.099,-40,[10,10],5,[140,140],1)
- addStructureTurret(11,32.6,-124,4.85,0.099,-40,[10,10],5,[140,140],1)
- addStructureTurret(12,31,-132,4.8,0.099,-40,[10,10],5,[140,140],1)
- addStructureTurret(13,29.4,-140,4.75,0.099,-40,[10,10],5,[140,140],1)
- addStructureTurret(14,27.8,-148,4.7,0.099,-40,[10,10],5,[140,140],1)
- addStructureTurret(15,26.2,-156,4.65,0.099,-40,[10,10],5,[140,140],1)
- addStructureTurret(16,24.6,-164,4.6,0.099,-40,[10,10],5,[140,140],1)
- addStructureTurret(17,23,-172,4.55,0.099,-40,[10,10],5,[140,140],1)
- addStructureTurret(18,18,-224,2.75,0.099,0,[10,10],5,[140,140],1)
- addStructureTurret(19,16.4,-232,2.7,0.099,0,[10,10],5,[140,140],1)
- addStructureTurret(20,14.8,-240,2.65,0.099,0,[10,10],5,[140,140],1)
- addStructureTurret(21,13.2,-248,2.6,0.099,0,[10,10],5,[140,140],1)
- addStructureTurret(22,11.6,-256,2.55,0.099,0,[10,10],5,[140,140],1)
- addStructureTurret(23,10,-264,2.5,0.099,0,[10,10],5,[140,140],1)
- addStructureTurret(24,8.4,-272,2.45,0.099,0,[10,10],5,[140,140],1)
- #structure turrets back
- addStructureTurret(25,91,92,5.7,0.099,-60,[10,10],5,[140,140],1)
- addStructureTurret(26,92.6,100,5.8,0.099,-60,[10,10],5,[140,140],1)
- addStructureTurret(27,94.2,108,5.9,0.099,-60,[10,10],5,[140,140],1)
- addStructureTurret(28,95.8,116,6,0.099,-60,[10,10],5,[140,140],1)
- addStructureTurret(29,97.4,124,6.1,0.099,-60,[10,10],5,[140,140],1)
- addStructureTurret(30,94,149,7.4,0.099,-75,[10,10],5,[140,140],1)
- addStructureTurret(31,95.6,157,7.5,0.099,-75,[10,10],5,[140,140],1)
- addStructureTurret(32,97.2,165,7.6,0.099,-75,[10,10],5,[140,140],1)
- addStructureTurret(33,98.8,173,7.7,0.099,-75,[10,10],5,[140,140],1)
- addStructureTurret(34,100.4,181,7.8,0.099,-75,[10,10],5,[140,140],1)
- addStructureTurret(35,102,189,7.9,0.099,-75,[10,10],5,[140,140],1)
- addStructureTurret(36,103.6,197,8,0.099,-75,[10,10],5,[140,140],1)
- addStructureTurret(37,80,206,9,0.099,-120,[10,10],5,[140,140],1)
- addStructureTurret(38,72,208.5,8.8,0.099,-120,[10,10],5,[140,140],1)
- addStructureTurret(39,64,211,8.6,0.099,-120,[10,10],5,[140,140],1)
- addStructureTurret(40,56,213.5,8.4,0.099,-120,[10,10],5,[140,140],1)
- addStructureTurret(41,31,290,11,0.099,-135,[10,10],5,[140,140],1)
- addStructureTurret(42,29,298,11.2,0.099,-135,[10,10],5,[140,140],1)
- addStructureTurret(43,27,306,11.4,0.099,-135,[10,10],5,[140,140],1)
- addStructureTurret(44,25,314,11.6,0.099,-135,[10,10],5,[140,140],1)
- addStructureTurret(45,23,322,11.8,0.099,-135,[10,10],5,[140,140],1)
- addStructureTurret(46,21,330,12,0.099,-135,[10,10],5,[140,140],1)
- addStructureTurret(47,19,338,12.2,0.099,-135,[10,10],5,[140,140],1)
- #broadside turrets
- addBroadsideTurret(0,70,12,5.8,0.149,-30,[40,40],2,[160,160],1)
- addBroadsideTurret(1,72,24,6,0.149,-30,[40,40],2,[160,160],1)
- addBroadsideTurret(2,74,36,6.2,0.149,-30,[40,40],2,[160,160],1)
- addBroadsideTurret(3,76,48,6.4,0.149,-30,[40,40],2,[160,160],1)
- addBroadsideTurret(4,32,214,22,0.109,-90,[40,40],2,[160,160],1)
- addBroadsideTurret(5,29.5,224,21.3,0.109,-90,[40,40],2,[160,160],1)
- addBroadsideTurret(6,27,234,20.6,0.109,-90,[40,40],2,[160,160],1)
- addBroadsideTurret(7,24.5,244,19.9,0.109,-90,[40,40],2,[160,160],1)
- addBroadsideTurret(8,22,254,19.2,0.109,-90,[40,40],2,[160,160],1)
- addBroadsideTurret(9,19.5,264,18.5,0.109,-90,[40,40],2,[160,160],1)
- addBroadsideTurret(10,17,274,17.8,0.109,-90,[40,40],2,[160,160],1)
- addBroadsideTurret(11,68.9999999,192,13,0.098,-120,[40,40],2,[160,160],1)
- addBroadsideTurret(12,72,184,12.5,0.098,-120,[40,40],2,[160,160],1)
- addBroadsideTurret(13,75,176,12,0.098,-120,[40,40],2,[160,160],1)
- addBroadsideTurret(14,78,168,11.5,0.098,-120,[40,40],2,[160,160],1)
- addBroadsideTurret(15,82,91,7.5,0.098,-90,[40,40],2,[160,160],1)
- addBroadsideTurret(16,83.6,99,7.7,0.098,-90,[40,40],2,[160,160],1)
- addBroadsideTurret(17,85.2,107,7.9,0.098,-90,[40,40],2,[160,160],1)
- addBroadsideTurret(18,86.8,115,8.1,0.098,-90,[40,40],2,[160,160],1)
- addBroadsideTurret(19,88.4,123,8.3,0.098,-90,[40,40],2,[160,160],1)
- addBroadsideTurret(20,90,131,8.5,0.098,-90,[40,40],2,[160,160],1)
- addBroadsideTurret(21,91.6,139,8.7,0.098,-90,[40,40],2,[160,160],1)
- addBroadsideTurret(22,40.5,35,11,0.098,-30,[40,40],2,[160,160],1)
- addBroadsideTurret(23,38.4,25,10.9,0.098,-30,[40,40],2,[160,160],1)
- addBroadsideTurret(24,36.3,15,10.8,0.098,-30,[40,40],2,[160,160],1)
- addBroadsideTurret(25,34.2,5,10.7,0.098,-30,[40,40],2,[160,160],1)
- addBroadsideTurret(26,32.1,-5,10.6,0.098,-30,[40,40],2,[160,160],1)
- addBroadsideTurret(27,30,-15,10.5,0.098,-30,[40,40],2,[160,160],1)
- addBroadsideTurret(28,27.9,-25,10.4,0.098,-30,[40,40],2,[160,160],1)
- addBroadsideTurret(29,25.8,-35,10.3,0.098,-30,[40,40],2,[160,160],1)
- #main body turrets
- addMainTurret(0,49,59,11,0.11,-20,[20,20],4,[180,180],1)
- addMainTurret(1,51.2,69,11.3,0.11,-20,[20,20],4,[180,180],1)
- addMainTurret(2,53.4,79,11.6,0.11,-20,[20,20],4,[180,180],1)
- addMainTurret(3,55.6,89,11.9,0.11,-20,[20,20],4,[180,180],1)
- addMainTurret(4,57.8,99,12.2,0.11,-20,[20,20],4,[180,180],1)
- addMainTurret(5,60,109,12.5,0.11,-20,[20,20],4,[180,180],1)
- addMainTurret(6,62.2,119,12.8,0.11,-20,[20,20],4,[180,180],1)
- addMainTurret(7,64.4,129,13.1,0.11,-20,[20,20],4,[180,180],1)
- addMainTurret(8,66.6,139,13.4,0.11,-20,[20,20],4,[180,180],1)
- addMainTurret(9,41,62,12.3,0.11,0,[20,20],4,[180,180],1)
- addMainTurret(10,43.2,72,12.6,0.11,0,[20,20],4,[180,180],1)
- addMainTurret(11,45.4,82,12.9,0.11,0,[20,20],4,[180,180],1)
- addMainTurret(12,47.6,92,13.2,0.11,0,[20,20],4,[180,180],1)
- addMainTurret(13,49.8,102,13.5,0.11,0,[20,20],4,[180,180],1)
- addMainTurret(14,52,112,13.8,0.11,0,[20,20],4,[180,180],1)
- addMainTurret(15,54.2,122,14.1,0.11,0,[20,20],4,[180,180],1)
- addMainTurret(16,56.4,132,14.4,0.11,0,[20,20],4,[180,180],1)
- addMainTurret(17,58.6,142,14.7,0.11,0,[20,20],4,[180,180],1)
- addMainTurret(18,7,47,30.3,0.101,0,[20,20],4,[180,180],1)
- addMainTurret(19,7.6,55,30.6,0.101,0,[20,20],4,[180,180],1)
- addMainTurret(20,8.2,63,30.9,0.101,0,[20,20],4,[180,180],1)
- addMainTurret(21,8.8,71,31.2,0.101,0,[20,20],4,[180,180],1)
- addMainTurret(22,9.4,79,31.5,0.101,0,[20,20],4,[180,180],1)
- addMainTurret(23,10,87,31.8,0.101,0,[20,20],4,[180,180],1)
- addMainTurret(24,0,47,30.8,0.101,0,[20,20],4,[180,180],1)
- addMainTurret(25,0,55,31.1,0.101,0,[20,20],4,[180,180],1)
- addMainTurret(26,0,63,31.4,0.101,0,[20,20],4,[180,180],1)
- addMainTurret(27,0,71,31.7,0.101,0,[20,20],4,[180,180],1)
- addMainTurret(28,0,79,32,0.101,0,[20,20],4,[180,180],1)
- addMainTurret(29,0,87,32.3,0.101,0,[20,20],4,[180,180],1)
- addMainTurret(30,10,170,35.5,0.101,-120,[20,20],4,[180,180],1)
- addMainTurret(31,9.2,178,35.2,0.101,-120,[20,20],4,[180,180],1)
- addMainTurret(32,8.4,186,34.9,0.101,-120,[20,20],4,[180,180],1)
- addMainTurret(33,7.6,194,34.6,0.101,-120,[20,20],4,[180,180],1)
- addMainTurret(34,6.8,202,34.3,0.101,-120,[20,20],4,[180,180],1)
- #engines
- addPropulsor(0,[0,0,0,0,0,0],[4,4,4,0,0,0,0],0,150,-71,0.95,0)
- addPropulsor(1,[0,0,0,0,0,0],[4,4,4,0,0,0,0],24,146,-72,0.95,0)
- addPropulsor(2,[0,0,0,0,0,0],[0,0,0,0,0,0,0],88,140,-42,0.7,0)
- addPropulsor(3,[0,0,0,0,0,0],[0,0,0,0,0,0,0],78,140,-54,0.7,0)
- addPropulsor(4,[-4,-4,-4,0,0,0],[0,0,0,0,0,0,0],94,75,-34,0.4,0)
- addPropulsor(5,[-4,-4,-4,0,0,0],[0,0,0,0,0,0,0],85.5,73,-39,0.425,0)
- addPropulsor(6,[-4,-4,-4,0,0,0],[0,0,0,0,0,0,0],77,75.5,-45,0.4,0)
- addPropulsor(7,[-20,-20,0,0,0,0],[0,0,0,0,0,0,0],115,150,-12,0.7,0)
- addPropulsor(8,[-20,-20,0,0,0,0],[0,0,0,0,0,0,0],73,147,-19,0.85,0)
- addPropulsor(9,[-20,-20,0,0,0,0],[0,0,0,0,0,0,0],73,149,-2.5,0.85,0)
- #hangar stripe things
- addHangarStripe(0,23.5,65,-63,1,0)
- addHangarStripe(1,14,65,-63,1,0)
- addHangarStripe(2,4.5,65,-63,1,0)
- addHangarStripe(3,23.5,34,-56,1,0)
- #missile launchers
- addSideCannon(0,75,8,-8,1,0)
- addSideCannon(1,76.4,13,-8,1,0)
- addSideCannon(2,77.8,18,-8,1,0)
- addSideCannon(3,79.2,23,-8,1,0)
- addSideCannon(4,80.6,28,-8,1,0)
- addSideCannon(5,82,33,-8,1,0)
- addSideCannon(6,83.4,38,-8,1,0)
- addSideCannon(7,84.8,43,-8,1,0)
- addSideCannon(8,86.2,48,-8,1,0)
- addSideCannon(9,88.6,53,-8,1,0)
- addSideCannon(10,90,58,-8,1,0)
- addSideCannon(11,91.4,63,-8,1,0)
- addSideCannon(12,92.8,68,-8,1,0)
- addSideCannon(13,94.2,73,-8,1,0)
- addSideCannon(14,95.6,78,-8,1,0)
- addSideCannon(15,97,83,-8,1,0)
- addSideCannon(90,75,8,-14,1,0)
- addSideCannon(91,76.4,13,-14,1,0)
- addSideCannon(92,77.8,18,-14,1,0)
- addSideCannon(93,79.2,23,-14,1,0)
- addSideCannon(94,80.6,28,-14,1,0)
- addSideCannon(95,82,33,-14,1,0)
- addSideCannon(96,83.4,38,-14,1,0)
- addSideCannon(97,84.8,43,-14,1,0)
- addSideCannon(98,86.2,48,-14,1,0)
- addSideCannon(99,88.6,53,-14,1,0)
- addSideCannon(910,90,58,-14,1,0)
- addSideCannon(911,91.4,63,-14,1,0)
- addSideCannon(912,92.8,68,-14,1,0)
- addSideCannon(913,94.2,73,-14,1,0)
- addSideCannon(914,95.6,78,-14,1,0)
- addSideCannon(915,97,83,-14,1,0)
- return model;
Add Comment
Please, Sign In to add comment