Computer Fire-Control Issue
Posted: Sun Apr 11, 2004 8:28 pm
For some reason, when the computer uses the BWA destroyer it wont fire the missiles, only the main guns, does anybody have ANY idea what could cause this? I attached the BWA def file and one of the missile def files, all the missiles use the same basic def format.
You can fire the missiles just fine, and they work, if you use the ship youself.
SHIP
//
name: BWA_DD_Atlas
display_name: BWA_DD_Atlas
class: Destroyer
//
//
beauty: "beauty.pcx"
//
//
detail_0: "CUBE.mag"
feature_0: 30
//
//
detail_1: "BODYL.mag"
detail_1: "END.mag"
feature_1: 13
//
//
detail_2: "BODYM.mag"
detail_2: "END.mag"
feature_2: 3
//
//
detail_3: "BODY.mag"
detail_3: "END.mag"
detail_3: "HANGER.mag"
feature_3: 1.5
//
//
// Scale
scale: 4
explosion_scale: 2
//
// Performance
mass: 1.3e7
integrity: 2.5e6
repair_teams: 3
vlimit: 65
trans_x: 1e8
trans_y: 1e8
trans_z: 1e8
roll_rate: 2
yaw_rate: 5
pitch_rate: 5
drag: 0.0004
roll_drag: 1.5
pitch_drag: 1.5
yaw_drag: 1.5
detet: 250000 //Range it can be picked up at
acs: 3 //Radar Cross Section
//
splash_radius: 2000
// View
chase: (0,-1250,366)
bridge: (0, 292,0)
//
//
power: {
type: Fusion,
design: "Fusion Reactor",
max_output: 1e8,
loc: (100, 0, 0),
size: 12,
hull_factor: 0.3,
explosion: 7
}
//
//
drive: {
type: Fusion,
name: "Fusion Drive",
design: "Fusion Drive",
thrust: 3e6,
scale: 6,
//port: (99, 63, -135), //X,Z,Y
port: (72, 63, -135), //X,Z,Y
port: (126, 63, -135), //X,Z,Y
port: (99,28, -135), //X,Z,Y
port: (66, 28, -135), //X,Z,Y
port: (137,28, -135), //X,Z,Y
//port: (99,-10, -135), //X,Z,Y
port: (72, -10, -135), //X,Z,Y
port: (126,-10, -135), //X,Z,Y
loc: (50, 0,0),
size: 12,
hull_factor: 0.3,
explosion: 7
}
// RAMDAR MISSILES
weapon: {
type: "BWA_D_SMOOTHBORE",
design: "Bolt Weapon",
name: "SMOOTHBORE",
abrv: "SMOOTHBORE",
elevation: 0.0,
azimuth: 0.0,
muzzle: (4,-4,165),
loc: (-30, -90, -23),
size: 12,
hull_factor: 0.2,
explosion: 2
}
// RAMDAR MISSILES
weapon: {
type: "BWA_D_NUKE",
design: "Missile Weapon",
name: "NUKE",
abrv: "NUKE",
elevation: 0.0,
azimuth: 0.0,
muzzle: (62,26,279),
//loc: (70, 0, 440),
size: 12,
hull_factor: 0.2,
explosion: 2
}
// RAMDAR MISSILES
weapon: {
type: "BWA_D_CLUSTER",
design: "Missile Weapon",
name: "CLUSTER",
abrv: "CLUSTER",
elevation: 0.0,
azimuth: 0.0,
muzzle: (-13,15,200),
//loc: (70, 0, 440),
size: 12,
hull_factor: 0.2,
explosion: 2
}
// RAMDAR MISSILES
weapon: {
type: "BWA_D_STRIKER",
design: "Missile Weapon",
name: "STRIKER",
abrv: "STRIKER",
elevation: 0.0,
azimuth: 0.0,
muzzle: (-123,28,275),
//loc: (70, 0, 440),
size: 12,
hull_factor: 0.2,
explosion: 2
}
// RAMDAR MISSILES
weapon: {
type: "BWA_D_STRIKER",
design: "Missile Weapon",
name: "STRIKER",
abrv: "STRIKER",
elevation: 0.0,
azimuth: 0.0,
muzzle: (-118,28,275),
//loc: (70, 0, 440),
size: 12,
hull_factor: 0.2,
explosion: 2
}
// RAMDAR MISSILES
weapon: {
type: "BWA_D_STRIKER",
design: "Missile Weapon",
name: "STRIKER",
abrv: "STRIKER",
elevation: 0.0,
azimuth: 0.0,
muzzle: (179,15,182),
//loc: (70, 0, 440),
size: 12,
hull_factor: 0.2,
explosion: 2
}
//
thruster: {
design: Thruster,
scale: 3,
loc: (0, 0, 0),
port_fore: (-12, 66,58),
port_fore: (-12, -19,58),
port_fore: (-12, -60,15),
port_fore: (179, -12,99),
port_aft: (-13, 66, -101),
port_aft: (-13, 26, -140),
port_aft: (-13, -60, -101),
port_aft: (180,30, -103),
port_top: (-138, 140,19),
port_top: (-107, 140,19),
port_top: (46, 123,-20),
port_top: (153, 123,-20),
port_bottom: (-138, -30,19),
port_bottom: (-107, -30,19),
port_bottom: (153, -14,-20),
port_bottom: (48, -14,-20),
port_left: (-230,28,83),
port_left: (-230,28,72),
port_left: (-230,28,-211),
port_left: (-230,28,-221),
port_right: (245,28,83),
port_right: (245,28,72),
port_right: (245,28,-211),
port_right: (245,28,-221),
size: 12,
hull_factor: 0.3
}
//
//
power: {
type: "Auxilliary Reactor",
design: "Auxilliary Reactor",
max_output: 1e6
}
//
//
power: {
type: Battery,
design: Battery,
max_output: 1000,
loc: (-50, 0, 0),
}
//
//
probe: {
type: "Sensor Drone",
abrv: "Probe",
muzzle: (0, 0, 211),
loc: (0, 0, 211),
size: 16,
hull_factor: 0.2
}
//
//
sensor: {
design: Sensor,
pcs: 20,
active_efficiency: 1e6,
passive_efficiency: 10e3,
range: 25e3,
range: 50e3,
range: 100e3,
range: 200e3,
loc: (0, 0, 0),
size: 12,
hull_factor: 0.1
}
//
//
computer: {
name: "Avionics Package",
abrv: "HUD",
type: 1,
design: Computer,
loc: (-100, 0,0),
size: 12,
hull_factor: 0.5
}
//
//
nav: {
loc: (150, 0, 0),
design: Computer,
size: 12,
hull_factor: 0.1
}
//
//
computer: {
name: "Flight Computer",
abrv: "Flight",
type: 2,
design: Computer,
loc: (20, 0, 0),
size: 12,
hull_factor: 0.2
}
//
// Front Flashers
navlight: {
scale: 0.6,
period: 6,
//
light: { loc: (4, 78, 245), pattern: 0x0000f0f0, type: 2 },
light: { loc: (119,78, 245), pattern: 0x0000f0f0, type: 2 },
light: { loc: (4, -27, 245), pattern: 0xf0f00000, type: 2 },
light: { loc: (119,-27, 245), pattern: 0xf0f00000, type: 2 },
light: { loc: (-63, 96, 163), pattern: 0x0000f0f0, type: 2 },
light: { loc: (-182,96, 163), pattern: 0x0000f0f0, type: 2 },
light: { loc: (-63, -42, 163), pattern: 0xf0f00000, type: 2 },
light: { loc: (-182,-42, 163), pattern: 0xf0f00000, type: 2 },
}
//
//
death_spiral: {
time: 12,
//Front
explosion_type: 11,
explosion_time: 1,
explosion_loc: (150, 0, 0),
//Front
explosion_type: 12,
explosion_time: 2,
explosion_loc: (100, 0, 0),
//Left Blast Shield
explosion_type: 11,
explosion_time: 1,
explosion_loc: (50, 0, 0),
//Right Blast Shield
explosion_type: 11,
explosion_time: 1,
explosion_loc: (0, 0, 0),
//Right Blast Shield
explosion_type: 12,
explosion_time: 2,
explosion_loc: (-50, 0, 0),
// Front Left
explosion_type: 11,
explosion_time: 1,
explosion_loc: (-100, 0, 0),
// Front Right
explosion_type: 11,
explosion_time: 1,
explosion_loc: (-150, 0, 0),
// Middle Nova 1
explosion_type: 13,
explosion_time: 1,
explosion_loc: (0, 0, 0),
// Front Left
explosion_type: 11,
explosion_time: 1,
explosion_loc: (0, 0, 0),
// Front Right
explosion_type: 11,
explosion_time: 1,
explosion_loc: (0, 0, 0),
final_type: 13, // LARGE_EXPLOSION
final_loc: (0, 0,0),
final_type: 13, // NUKE_EXPLOSION
final_scale: 2,
final_loc: (50, 0, 0),
final_type: 13, // LARGE_BURST
final_loc: (-50, 0, 0),
final_type: 13, // LARGE_EXPLOSION
final_loc: (-100, 0, 0),
final_type: 13, // NUKE_EXPLOSION
final_scale: 2,
final_loc: (150, 0, 0),
final_type: 13, // LARGE_BURST
final_loc: (0, 0, 0),
debris: "CUBE.mag",
debris_loc: (0, 0, 0),
debris_mass: 15000,
debris_count: 26,
debris_life: 6,
debris_fire: (1,1,1),
debris: "BWAD1.mag",
debris_loc: (0, 0, 200),
debris_mass: 3000,
debris_count: 1,
debris_life: 6,
debris_fire: (1,1,1),
debris: "BWAD2.mag",
debris_loc: (0, 0, -200),
debris_mass: 10000,
debris_count: 1,
debris_life: 6,
debris_fire: (1,1,1),
debris: "BWAD3.mag",
debris_loc: (0, 0, 100),
debris_mass: 15000,
debris_count: 1,
debris_life: 6,
debris_fire: (1,1,1),
debris: "BWAD4.mag",
debris_loc: (0, 100, 100),
debris_mass: 20000,
debris_count: 1,
debris_life: 6,
debris_fire: (1,1,1),
}
map: {
sprite: "m0.pcx",
sprite: "m1.pcx",
sprite: "m2.pcx",
sprite: "m3.pcx",
sprite: "m4.pcx",
sprite: "m5.pcx",
sprite: "m6.pcx",
sprite: "m7.pcx"
}
// EOF //
WEAPON
drone: {
name: "BWA_D_NUKE",
group: NUKE,
target_type: 0x0000fff0,
value: 5,
integrity: 100,
damage: 200000,
speed: 1500,
capacity: 10,
refire_delay: 2,
charge: 1,
min_charge: 0.9,
life: 10,
eject: (0,0,3000),
mass: 20,
carry_mass: 10,
carry_resist: 10,
thrust: 8000,
drag: 0.004,
roll_drag: 0.4,
pitch_drag: 0.4,
yaw_drag: 0.4,
roll_rate: 200,
pitch_rate: 200,
yaw_rate: 200,
guided: 1,
lethal_radius: 100,
syncro: false,
self_aiming: true,
aim_az_max: 0.78,
aim_el_max: 0.78,
spread_az: 0,
spread_el: 0,
min_range: 1000,
max_range: 50000,
max_track: 100000,
visible_stores: false,
graphic_type: 1, // solid
scale: 0.6,
light: 50,
light_color: (210, 157, 13),
model: "BWA_D_MISS/MISS.mag",
trail: "BWA_D_MISS/SMOKE.pcx",
trail_width: 20,
flare: "BWA_D_MISS/MISSILEFLAIR.pcx",
flare_scale: 0.5,
sound: "BWA_D_MISS/MISS.wav",
sound_min_dist: 1e3,
sound_max_dist: 10e3
}
You can fire the missiles just fine, and they work, if you use the ship youself.
SHIP
//
name: BWA_DD_Atlas
display_name: BWA_DD_Atlas
class: Destroyer
//
//
beauty: "beauty.pcx"
//
//
detail_0: "CUBE.mag"
feature_0: 30
//
//
detail_1: "BODYL.mag"
detail_1: "END.mag"
feature_1: 13
//
//
detail_2: "BODYM.mag"
detail_2: "END.mag"
feature_2: 3
//
//
detail_3: "BODY.mag"
detail_3: "END.mag"
detail_3: "HANGER.mag"
feature_3: 1.5
//
//
// Scale
scale: 4
explosion_scale: 2
//
// Performance
mass: 1.3e7
integrity: 2.5e6
repair_teams: 3
vlimit: 65
trans_x: 1e8
trans_y: 1e8
trans_z: 1e8
roll_rate: 2
yaw_rate: 5
pitch_rate: 5
drag: 0.0004
roll_drag: 1.5
pitch_drag: 1.5
yaw_drag: 1.5
detet: 250000 //Range it can be picked up at
acs: 3 //Radar Cross Section
//
splash_radius: 2000
// View
chase: (0,-1250,366)
bridge: (0, 292,0)
//
//
power: {
type: Fusion,
design: "Fusion Reactor",
max_output: 1e8,
loc: (100, 0, 0),
size: 12,
hull_factor: 0.3,
explosion: 7
}
//
//
drive: {
type: Fusion,
name: "Fusion Drive",
design: "Fusion Drive",
thrust: 3e6,
scale: 6,
//port: (99, 63, -135), //X,Z,Y
port: (72, 63, -135), //X,Z,Y
port: (126, 63, -135), //X,Z,Y
port: (99,28, -135), //X,Z,Y
port: (66, 28, -135), //X,Z,Y
port: (137,28, -135), //X,Z,Y
//port: (99,-10, -135), //X,Z,Y
port: (72, -10, -135), //X,Z,Y
port: (126,-10, -135), //X,Z,Y
loc: (50, 0,0),
size: 12,
hull_factor: 0.3,
explosion: 7
}
// RAMDAR MISSILES
weapon: {
type: "BWA_D_SMOOTHBORE",
design: "Bolt Weapon",
name: "SMOOTHBORE",
abrv: "SMOOTHBORE",
elevation: 0.0,
azimuth: 0.0,
muzzle: (4,-4,165),
loc: (-30, -90, -23),
size: 12,
hull_factor: 0.2,
explosion: 2
}
// RAMDAR MISSILES
weapon: {
type: "BWA_D_NUKE",
design: "Missile Weapon",
name: "NUKE",
abrv: "NUKE",
elevation: 0.0,
azimuth: 0.0,
muzzle: (62,26,279),
//loc: (70, 0, 440),
size: 12,
hull_factor: 0.2,
explosion: 2
}
// RAMDAR MISSILES
weapon: {
type: "BWA_D_CLUSTER",
design: "Missile Weapon",
name: "CLUSTER",
abrv: "CLUSTER",
elevation: 0.0,
azimuth: 0.0,
muzzle: (-13,15,200),
//loc: (70, 0, 440),
size: 12,
hull_factor: 0.2,
explosion: 2
}
// RAMDAR MISSILES
weapon: {
type: "BWA_D_STRIKER",
design: "Missile Weapon",
name: "STRIKER",
abrv: "STRIKER",
elevation: 0.0,
azimuth: 0.0,
muzzle: (-123,28,275),
//loc: (70, 0, 440),
size: 12,
hull_factor: 0.2,
explosion: 2
}
// RAMDAR MISSILES
weapon: {
type: "BWA_D_STRIKER",
design: "Missile Weapon",
name: "STRIKER",
abrv: "STRIKER",
elevation: 0.0,
azimuth: 0.0,
muzzle: (-118,28,275),
//loc: (70, 0, 440),
size: 12,
hull_factor: 0.2,
explosion: 2
}
// RAMDAR MISSILES
weapon: {
type: "BWA_D_STRIKER",
design: "Missile Weapon",
name: "STRIKER",
abrv: "STRIKER",
elevation: 0.0,
azimuth: 0.0,
muzzle: (179,15,182),
//loc: (70, 0, 440),
size: 12,
hull_factor: 0.2,
explosion: 2
}
//
thruster: {
design: Thruster,
scale: 3,
loc: (0, 0, 0),
port_fore: (-12, 66,58),
port_fore: (-12, -19,58),
port_fore: (-12, -60,15),
port_fore: (179, -12,99),
port_aft: (-13, 66, -101),
port_aft: (-13, 26, -140),
port_aft: (-13, -60, -101),
port_aft: (180,30, -103),
port_top: (-138, 140,19),
port_top: (-107, 140,19),
port_top: (46, 123,-20),
port_top: (153, 123,-20),
port_bottom: (-138, -30,19),
port_bottom: (-107, -30,19),
port_bottom: (153, -14,-20),
port_bottom: (48, -14,-20),
port_left: (-230,28,83),
port_left: (-230,28,72),
port_left: (-230,28,-211),
port_left: (-230,28,-221),
port_right: (245,28,83),
port_right: (245,28,72),
port_right: (245,28,-211),
port_right: (245,28,-221),
size: 12,
hull_factor: 0.3
}
//
//
power: {
type: "Auxilliary Reactor",
design: "Auxilliary Reactor",
max_output: 1e6
}
//
//
power: {
type: Battery,
design: Battery,
max_output: 1000,
loc: (-50, 0, 0),
}
//
//
probe: {
type: "Sensor Drone",
abrv: "Probe",
muzzle: (0, 0, 211),
loc: (0, 0, 211),
size: 16,
hull_factor: 0.2
}
//
//
sensor: {
design: Sensor,
pcs: 20,
active_efficiency: 1e6,
passive_efficiency: 10e3,
range: 25e3,
range: 50e3,
range: 100e3,
range: 200e3,
loc: (0, 0, 0),
size: 12,
hull_factor: 0.1
}
//
//
computer: {
name: "Avionics Package",
abrv: "HUD",
type: 1,
design: Computer,
loc: (-100, 0,0),
size: 12,
hull_factor: 0.5
}
//
//
nav: {
loc: (150, 0, 0),
design: Computer,
size: 12,
hull_factor: 0.1
}
//
//
computer: {
name: "Flight Computer",
abrv: "Flight",
type: 2,
design: Computer,
loc: (20, 0, 0),
size: 12,
hull_factor: 0.2
}
//
// Front Flashers
navlight: {
scale: 0.6,
period: 6,
//
light: { loc: (4, 78, 245), pattern: 0x0000f0f0, type: 2 },
light: { loc: (119,78, 245), pattern: 0x0000f0f0, type: 2 },
light: { loc: (4, -27, 245), pattern: 0xf0f00000, type: 2 },
light: { loc: (119,-27, 245), pattern: 0xf0f00000, type: 2 },
light: { loc: (-63, 96, 163), pattern: 0x0000f0f0, type: 2 },
light: { loc: (-182,96, 163), pattern: 0x0000f0f0, type: 2 },
light: { loc: (-63, -42, 163), pattern: 0xf0f00000, type: 2 },
light: { loc: (-182,-42, 163), pattern: 0xf0f00000, type: 2 },
}
//
//
death_spiral: {
time: 12,
//Front
explosion_type: 11,
explosion_time: 1,
explosion_loc: (150, 0, 0),
//Front
explosion_type: 12,
explosion_time: 2,
explosion_loc: (100, 0, 0),
//Left Blast Shield
explosion_type: 11,
explosion_time: 1,
explosion_loc: (50, 0, 0),
//Right Blast Shield
explosion_type: 11,
explosion_time: 1,
explosion_loc: (0, 0, 0),
//Right Blast Shield
explosion_type: 12,
explosion_time: 2,
explosion_loc: (-50, 0, 0),
// Front Left
explosion_type: 11,
explosion_time: 1,
explosion_loc: (-100, 0, 0),
// Front Right
explosion_type: 11,
explosion_time: 1,
explosion_loc: (-150, 0, 0),
// Middle Nova 1
explosion_type: 13,
explosion_time: 1,
explosion_loc: (0, 0, 0),
// Front Left
explosion_type: 11,
explosion_time: 1,
explosion_loc: (0, 0, 0),
// Front Right
explosion_type: 11,
explosion_time: 1,
explosion_loc: (0, 0, 0),
final_type: 13, // LARGE_EXPLOSION
final_loc: (0, 0,0),
final_type: 13, // NUKE_EXPLOSION
final_scale: 2,
final_loc: (50, 0, 0),
final_type: 13, // LARGE_BURST
final_loc: (-50, 0, 0),
final_type: 13, // LARGE_EXPLOSION
final_loc: (-100, 0, 0),
final_type: 13, // NUKE_EXPLOSION
final_scale: 2,
final_loc: (150, 0, 0),
final_type: 13, // LARGE_BURST
final_loc: (0, 0, 0),
debris: "CUBE.mag",
debris_loc: (0, 0, 0),
debris_mass: 15000,
debris_count: 26,
debris_life: 6,
debris_fire: (1,1,1),
debris: "BWAD1.mag",
debris_loc: (0, 0, 200),
debris_mass: 3000,
debris_count: 1,
debris_life: 6,
debris_fire: (1,1,1),
debris: "BWAD2.mag",
debris_loc: (0, 0, -200),
debris_mass: 10000,
debris_count: 1,
debris_life: 6,
debris_fire: (1,1,1),
debris: "BWAD3.mag",
debris_loc: (0, 0, 100),
debris_mass: 15000,
debris_count: 1,
debris_life: 6,
debris_fire: (1,1,1),
debris: "BWAD4.mag",
debris_loc: (0, 100, 100),
debris_mass: 20000,
debris_count: 1,
debris_life: 6,
debris_fire: (1,1,1),
}
map: {
sprite: "m0.pcx",
sprite: "m1.pcx",
sprite: "m2.pcx",
sprite: "m3.pcx",
sprite: "m4.pcx",
sprite: "m5.pcx",
sprite: "m6.pcx",
sprite: "m7.pcx"
}
// EOF //
WEAPON
drone: {
name: "BWA_D_NUKE",
group: NUKE,
target_type: 0x0000fff0,
value: 5,
integrity: 100,
damage: 200000,
speed: 1500,
capacity: 10,
refire_delay: 2,
charge: 1,
min_charge: 0.9,
life: 10,
eject: (0,0,3000),
mass: 20,
carry_mass: 10,
carry_resist: 10,
thrust: 8000,
drag: 0.004,
roll_drag: 0.4,
pitch_drag: 0.4,
yaw_drag: 0.4,
roll_rate: 200,
pitch_rate: 200,
yaw_rate: 200,
guided: 1,
lethal_radius: 100,
syncro: false,
self_aiming: true,
aim_az_max: 0.78,
aim_el_max: 0.78,
spread_az: 0,
spread_el: 0,
min_range: 1000,
max_range: 50000,
max_track: 100000,
visible_stores: false,
graphic_type: 1, // solid
scale: 0.6,
light: 50,
light_color: (210, 157, 13),
model: "BWA_D_MISS/MISS.mag",
trail: "BWA_D_MISS/SMOKE.pcx",
trail_width: 20,
flare: "BWA_D_MISS/MISSILEFLAIR.pcx",
flare_scale: 0.5,
sound: "BWA_D_MISS/MISS.wav",
sound_min_dist: 1e3,
sound_max_dist: 10e3
}