Turret Tracking Probs
Posted: Sat Sep 25, 2004 9:36 am
Hi all,
Many thanks to those of you who helped me with the bolt weapon problems I've been having. Now I want to base the weapon on a turret. I have created the MAG file and added all the properties into teh def file that I think you need to but the thing won't track for some reason. Could anyone help?
WEAPON
primary:{
name: "MaesonCannon",
group: "M-Cannon",
target_type: 0x0000000f,
value: 4,
capacity: 800,
recharge_rate: 20,
refire_delay: 0.5,
damage: 10,
speed: 18e3,
life: 5,
charge: 100,
min_charge: 99,
min_range: 1,
max_range: 50e3,
max_track: 45e3,
syncro: false,
self_aiming: true,
aim_az_max: 0.698,
aim_el_max: 0.1,
turret_axis: x,
turret: "MaesonCannon.mag",
scale: 4,
graphic_type: 2,
bitmap: "maeson.pcx",
scale: 1,
light: 1e3,
light_color: (179,242,70),
sound: "maeson.wav", //sound file to play during firing
sound_min_dist: 5000, // MAX distance at which the sound is at full volume
sound_max_dist: 25000, // MAX distance the weapon can be heard.
}
Many thanks to those of you who helped me with the bolt weapon problems I've been having. Now I want to base the weapon on a turret. I have created the MAG file and added all the properties into teh def file that I think you need to but the thing won't track for some reason. Could anyone help?
WEAPON
primary:{
name: "MaesonCannon",
group: "M-Cannon",
target_type: 0x0000000f,
value: 4,
capacity: 800,
recharge_rate: 20,
refire_delay: 0.5,
damage: 10,
speed: 18e3,
life: 5,
charge: 100,
min_charge: 99,
min_range: 1,
max_range: 50e3,
max_track: 45e3,
syncro: false,
self_aiming: true,
aim_az_max: 0.698,
aim_el_max: 0.1,
turret_axis: x,
turret: "MaesonCannon.mag",
scale: 4,
graphic_type: 2,
bitmap: "maeson.pcx",
scale: 1,
light: 1e3,
light_color: (179,242,70),
sound: "maeson.wav", //sound file to play during firing
sound_min_dist: 5000, // MAX distance at which the sound is at full volume
sound_max_dist: 25000, // MAX distance the weapon can be heard.
}