What determines the target lock effect location? [Solved]
Moderator: Moderators
- minilogoguy18
- Master Bounty Hunter

- Posts: 1512
- Joined: Wed Nov 09, 2005 11:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
What determines the target lock effect location? [Solved]
Having a strange problem with the B-Wing, always thought that the engine used the dummyroot to lock onto targets for seeking ordinance but for some reason with the B-Wing it's off to the side. Anyone know how to make it in the center of the craft or how to define where the lock on should attach?
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: What tells the engine where to place the target lock eff
i think what you need is that line, from the atats odf:
it allows to/makes the targetmarking appear on the legs.
Code: Select all
TargetableCollision = "p_front_left_thigh"
TargetableCollision = "p_front_left_shin"- minilogoguy18
- Master Bounty Hunter

- Posts: 1512
- Joined: Wed Nov 09, 2005 11:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: What tells the engine where to place the target lock eff
That works, I'll just make the main engine section of the b-wing targetable since I had to use primitives for the entire collision since there isn't an unanimated part.
-
Noobasaurus
- Droid Pilot Assassin

- Posts: 2006
- Joined: Tue Aug 17, 2010 5:56 pm
Re: What tells the engine where to place the target lock eff
That means you can make it lock on anywhere? AWESOME, never knew that!DarthD.U.C.K. wrote:i think what you need is that line, from the atats odf:it allows to/makes the targetmarking appear on the legs.Code: Select all
TargetableCollision = "p_front_left_thigh" TargetableCollision = "p_front_left_shin"
- minilogoguy18
- Master Bounty Hunter

- Posts: 1512
- Joined: Wed Nov 09, 2005 11:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: What determines the target lock effect location? [Solved
Yeah not sure exactly how the engine figures where to place the targeter but on both the B-Wing and Lambda it appears off, possibly to do with their size and COG being different between landed and flying (my guess). This seems to work well and rather than using the objects local center it does it by its COG. Gonna change this for all my custom ships.
