Another missile question

This is the place for all questions related to modding Starshatter.
Post Reply
User avatar
Dragonlead
Posts: 303
Joined: Sun May 16, 2004 6:25 am

Another missile question

Post by Dragonlead »

Milo, et al.

I am having a devil of a time getting this missile to lock-up and shoot at anything. It will fire straight ahead if no target is locked, but won't engage anything. Here's the .def file info.

WEAPON

missile: {
name: "torpedo",
group: "torpedo",
target_type: 0xfff0,
value: 5,
ammo: 12,
refire_delay: 100,
damage: 3000,
lethal_radius: 750,
speed: 250,
life: 1200,
charge: 1,
min_charge: 1,
carry_mass: 5.0,
carry_resist: 0.0,
mass: 5.0,
thrust: 2e3,
drag: 1,
roll_rate: 5,
pitch_rate: 5,
yaw_rate: 5,
roll_drag: 3,
pitch_drag: 3,
yaw_drag: 3,
guided: 1,
syncro: true,
min_range: 1e3,
max_range: 80e3,
max_track: 1e5,
graphic_type: 1,
model: "AFHawk.mag",
sound: "mlaser.wav",
sound_min_dist: 1e3,
sound_max_dist: 15e3
}

I've tried changing it to drone as well, but no luck. I am hoping to make this much like a US Navy torpedo (one shot, one kill) idea. I know it is slow, but that isn't my problem. Any assistance would be greatly appreciated.

V/R
USAF Ret.
Mehrunes
Posts: 257
Joined: Wed Mar 31, 2004 6:56 am
Contact:

RE: Another missile question

Post by Mehrunes »

Add

aim_el_max: 1.0,
aim_az_max: 1.0,

to the weapon and see if that works.
User avatar
Dragonlead
Posts: 303
Joined: Sun May 16, 2004 6:25 am

RE: Another missile question

Post by Dragonlead »

Tried it. No luck.

V/R
USAF Ret.
Mehrunes
Posts: 257
Joined: Wed Mar 31, 2004 6:56 am
Contact:

RE: Another missile question

Post by Mehrunes »

Ok, try adding "self_aiming: true," as well.
User avatar
TheDeadlyShoe
Posts: 549
Joined: Tue Apr 06, 2004 3:06 pm

RE: Another missile question

Post by TheDeadlyShoe »

Your target type parameter appears to be too short. For example, an anti-ship missile uses:

target_type: 0x0000fff0

and a counter missile uses:

target_type: 0x0000000f
@TheDeadlyShoe> Unless, say, you could make black holes at will.
@Razeam> I can do that but I don't want to.
User avatar
Dragonlead
Posts: 303
Joined: Sun May 16, 2004 6:25 am

RE: Another missile question

Post by Dragonlead »

Mehrunes, Shoe,

Thanks!![&o]They work now. I have to think it was the self-aiming thing, because I had already tried the extra 0s in the target-type line with no success. You guys are great.

V/R
USAF Ret.
Post Reply

Return to “Starshatter Modding Forum”