zzz,
Those are the old light methods, and should be replaced with the new ones which include extended parameters for better control of the lights.
var cockpit_spot = {x:0.2,y:0.2,z:0.26};
var cp = {color:cockpit_spot, angle:80, size:0.05, edge:0.99, range:0.9, intensity:0.01, fadeout:0.1};
this.add_spot_light({x:-0.432,y:2.041,z:0.059}, {z:-0.754, y:-.656}, cp); //_Frontal panel light 1 (from left to right)
var cockpit_indicators = {x:0.0,y:0.1,z:0.013};
var ci = {color:cockpit_indicators, size:0.005, range:0.1, intensity:0.01, fadeout:0.0};
this.add_point_light({x:0.366,y:2.02,z:-0.06264}, ci); //Light 7 Pitch/Roll Indicator - Point
Regards,
Uriah