[Help] trying to make AGM114 guided by SIMRAD with TSWireGuided

Making or wanting help making your own asset? Check in here
Post Reply
velosong
Posts: 49
Joined: 2007-11-20 00:42

[Help] trying to make AGM114 guided by SIMRAD with TSWireGuided

Post by velosong »

i try to make a AGM114 LOAL launch mode of AH1z Cobra(lockon after launch)
This fire mode system is composed of 2 parts,

1, the new missile start seeking and tracking after launch (name AGM114LOAL). THIS IS much different from the LaserTarget guiding missile in vbf2, i think. The one in vbf2 have to lock on target before firing, then it can provide with a Fire and Forget capability. What i try to do is making sure the missile fly free when firing, after 2 or 3 seconds start tracking, locking and following the sigal.

2, the ground guiding by SIMRAD in another player`s hand. i ve add LP comp to a new SIMRAD, calling SIMRADwireGuide

here s my code.
For the part 1, i replace the "seek.targetType TTLaser" with "seek.targetType TTUnique" in AGM114LOAL file.

Code: Select all

rem ---BeginComp:SeekClosestTargetComp ---
ObjectTemplate.createComponent SeekClosestTargetComp
ObjectTemplate.seek.targetType TTUnique
ObjectTemplate.seek.trackingDelay 0.01
ObjectTemplate.seek.maxAngleLock 360
ObjectTemplate.seek.maxDistLock 9200
ObjectTemplate.seek.directionBonus 0.5
ObjectTemplate.seek.reLockTime 0
In additional, i write a new GFA for AH1z, which fire AGM114LOAL without any target ability.(delete MultiFireArmTargetComp )



For part 2, i add LPTargetComp to SIMRADwireGuide

Code: Select all

rem ---BeginComp:LPTargetComp ---
ObjectTemplate.createComponent LPTargetComp
ObjectTemplate.target.maxDistance 9999
ObjectTemplate.target.setTargetAtMaxDistance 1
ObjectTemplate.target.targetSystem TSWireGuided
ObjectTemplate.target.targetObjectTemplate UniqueTarget
ObjectTemplate.target.disableFireWhenActiveMissile 1
ObjectTemplate.target.disableGuidanceOnReload 0
rem ---EndComp ---



By far the AGM114LOAL has no response to SIMRADwireGuide. Could someone tell me how should i do could make it work?
Birds Birds Birds
Alex6714
Posts: 3900
Joined: 2007-06-15 22:47

Re: [Help] trying to make AGM114 guided by SIMRAD with TSWireGuided

Post by Alex6714 »

I don?t think you will get anywhere with wire guided. You can mod the current in game laser guided ones to lock onto whatever they see after launch, without locking first anyway.

In the hellfire laser.

Code: Select all

rem ---BeginComp:SeekClosestTargetComp ---
ObjectTemplate.createComponent SeekClosestTargetComp
ObjectTemplate.seek.targetType TTLaser
ObjectTemplate.seek.trackingDelay 0
ObjectTemplate.seek.maxAngleLock 15
ObjectTemplate.seek.maxDistLock 2300
ObjectTemplate.seek.directionBonus 0.001
ObjectTemplate.seek.reLockTime 9999
Try lowering (or removing, putting 0) for relock time. Raise the direction bonus (I think up to 1, 1 would be the missile having a 100% probability of finding a laser target). and adjusting the maxanglelock so it can have a wider view of available targets. Someone with more knowledge can correct but its more or less like that.

Beware though, because if you adjust these too much and there is more than one laser target, the missile will go for the one it likes best (nearest, most in view, or whatever) even if you lock onto a different one first. With a direction bonus of 1, the missile will go for a laser, if it loses lock, and there is one near the lock angle it will go for that. It will get to the point where locking onto something first or not has no meaning, once launched the missile will go where it wants. Not a huge problem in PR since there are few lasers at one time.
"Today's forecast calls for 30mm HE rain with a slight chance of hellfires"


"oh, they're fire and forget all right...they're fired then they forget where the target is"
velosong
Posts: 49
Joined: 2007-11-20 00:42

Re: [Help] trying to make AGM114 guided by SIMRAD with TSWireGuided

Post by velosong »

thank you so much! My AGM114LOAL works fine with your help :D
Birds Birds Birds
Post Reply

Return to “PR:BF2 Community Modding”