CAPTAIN SIM FORUM
Weapon for FSX >> Weapon for FSX >> My CS B-52  now drops bombs!
https://www.captainsim.org/forum/csf.pl?num=1297996771

Message started by barney on Feb 18th, 2011 at 2:39am

Title: Re: My CS B-52  now drops bombs!
Post by Lost in Isaan on Feb 20th, 2011 at 6:15am
Hi guys,
Been working on Barney’s B52 Bombing capability and making progress. Have completed standalone weapon blocks without using the M60C and made other tweaks, I’m also starting to see portions of the HUD in VC but have no idea how I’m going to turn it into a bombsite.

Right now I’m stuck on an XML variable.  Where there are three A: variables available for the payload information but I can’t fine K: variables to reset the payload weight after dropping a cluster of bombs. Currently I’m dropping them in blocks of 10.

The variable (L:CSG_RdsRem, number) returns the number of Bombs remaining, I take off with 80 (2 x 20000 lb stations)

These are the lines I want to write into an XML routine:

(L:CSG_RdsRem, number) 500 * 2 / (>K:pAYLOAD_AT_POSITION.3, pounds)
(L:CSG_RdsRem, number) 500 * 2 / (>K:pAYLOAD_AT_POSITION.4, pounds)

Anyone know the correct syntax for ‘PAYLOAD_AT_POSITION’ if there is one?

I'm guessing that it could be written into all 3rd party aircraft if perfected.

Thanks

CAPTAIN SIM FORUM » Powered by YaBB 2.6.0!
YaBB Forum Software © 2000-2026. All Rights Reserved.