KnightHawk75
Posts: 1450
Joined: 11/15/2018 Status: offline
|
So Anchored Sats are now in the game. Again this is a FANTASTIC addition, saving authors lots of headaches when trying to accomplish specific things.I thought this would help me debug other sat dlz issues, but turns out it I think inadvertently exacerbated my headache lol. The problem is when it comes to the Anchored sat the dlz projection is using the real\original data (more accurately the forward projection in time\location for the temp generated sat is getting copied to the temp generated contact), not the actual anchor\contact location data. So an anchored satellite will never (almost) clear DLZ checks, cause those checks are calculating the unit as nowhere near the anchor. You can see this play out by keeping an eye on a certain function (for reference the one that can report "error #100342"), in what appears is a while count < fuelamt loop. BTW If by hook or crook you get the munition to actually launch they seem fine and do attack the anchored location\contact. Though I did have to run at 2x or higher for them to track right otherwise at 1x it was like 50\50 if they would do that 'oscillate and stop following course' thing or not. Is it possible to adjust the related checks such that 'if anchored' the anchored location is used during dlz checks. Also is there a way via Lua to either set the anchor point, or enable\disable the anchor? Thanks. Repo: 1. Load attached scene. 2. Locate the anchored sat USA-281 (gulf of mexico) (lon:-88.77, lat:22.63, alt: 506km). 3. Note it's real location at this point in time would be over ~Russia, and at ~1080km alt not ~506km. 4. Go ahead and play and let time advance 2-3seconds so things update. 5. Select DDG 125 Jack H. Lucas<b>2</b> press Shift-f1 and try to target USA281.. will fail dlz checks. (if watching in dbger watch the lat,lons,head,speed,alt assigned to the temporary contact object, they will be that of an un-anchored usa281 during the while count < maxfuel iterations) 6. (optional) Select one of the IDLZ flagged units (Lucas 1) to target the unit, should not be a problem and it will succeed as will the shots themselves at the anchor location. att:SatPlayground-AnchoredSatDLZIssue.zip
Attachment (1)
|