Beam Weapon issues.
Posted: Tue Mar 29, 2005 4:37 am
Having trouble with AI, using mod beam weapon.
Ship keeps flying around and won't hit ship with beam weapon. Just circles ship and fires.
here def for weapon. Appreciate any help.
WEAPON
beam: {
name: "Phaser Array",
group: "Phaser",
target_type: 0xffffffff,
value: 5,
capacity: 20000,
recharge_rate: 5000,
refire_delay: 1.5,
salvo_delay: 8,
charge: 5000,
min_charge: 5000,
damage: 10,
speed: 1,
light_color: (0,0,215),
damage_type: normal,
life: 3,
min_range: 0,
max_range: 2e4,
max_track: 2e4,
self_aiming: true,
guided: 1,
syncro: false,
aim_az_max: 0.015,
aim_el_max: 0.015,
graphic_type: 3,
bitmap: "blue phaser.pcx",
flash: "HBF.pcx",
flash_scale: 0.2,
light: 1000,
sound: "e029.wav",
sound_min_dist: 2e2,
sound_max_dist: 1e3,
width: 4,
length: 2e4,
}
Ship keeps flying around and won't hit ship with beam weapon. Just circles ship and fires.
here def for weapon. Appreciate any help.
WEAPON
beam: {
name: "Phaser Array",
group: "Phaser",
target_type: 0xffffffff,
value: 5,
capacity: 20000,
recharge_rate: 5000,
refire_delay: 1.5,
salvo_delay: 8,
charge: 5000,
min_charge: 5000,
damage: 10,
speed: 1,
light_color: (0,0,215),
damage_type: normal,
life: 3,
min_range: 0,
max_range: 2e4,
max_track: 2e4,
self_aiming: true,
guided: 1,
syncro: false,
aim_az_max: 0.015,
aim_el_max: 0.015,
graphic_type: 3,
bitmap: "blue phaser.pcx",
flash: "HBF.pcx",
flash_scale: 0.2,
light: 1000,
sound: "e029.wav",
sound_min_dist: 2e2,
sound_max_dist: 1e3,
width: 4,
length: 2e4,
}