Visit Captain Sim web site  
  Welcome, Guest. Please Login or Register

 

Page Index Toggle Pages: [1] 2 3 4 Send TopicPrint
 25 My CS B-52  now drops bombs! (Read 58429 times)
barney
Full Member
*
Offline



Posts: 15
Joined: Feb 10th, 2011
My CS B-52  now drops bombs!
Feb 18th, 2011 at 2:39am
Print Post  
I finally got this to work,  couldnt get the Mk82 bomb launcher to work though. Anyone else done this or similar?
                                                              Barney. Grin



  
Back to top
 
IP Logged
 
Markoz
CS Team
*
Offline



Posts: 12368
Location: Victoria, Australia
Joined: Apr 24th, 2009
Gender: Male
Re: My CS B-52  now drops bombs!
Reply #1 - Feb 18th, 2011 at 7:42am
Print Post  
Nice work Barney!

Did you add it to the Captain Sim mods so we all get to use it? I know I would love to have it.

Mark
  

Mark Fletcher



PC: i7 10700K @3.8/5.1GHz | 64GB DDR4 3200 | 12GB RTX 4070 Super | 32" LCD Monitor | 1TB SSD & 2x2TB SSD | Win 11 Pro - FSX/FSX-SE/P3D3/P3D4/P3D5/P3D6/MSFS2020
15.6" Gaming Laptop: i7 7700HQ | 32GB DDR4 | 6GB GTX 1060 | 256GB SSD & 1TB HDD | Win 10 Pro 64bit - FSX-SE/P3D4
Back to top
 
IP Logged
 
Lost in Isaan
Senior Member
*
Offline



Posts: 325
Location: Udon Thani, THAILAND
Joined: Dec 11th, 2009
Re: My CS B-52  now drops bombs!
Reply #2 - Feb 18th, 2011 at 7:58am
Print Post  
Well done, now that's what I was talking about in another thread.
Just a starting point will do and I'll work the rest, keeps me out of the rice paddies. Grin Grin Grin
  

Regards Bruce

This message has been sent from my 1977 Apple II using 2 Hinze bake bean cans and piano wire!
Back to top
 
IP Logged
 
CoolP
Senior Member
*
Offline



Posts: 2568
Joined: Jan 17th, 2010
Gender: Male
Re: My CS B-52  now drops bombs!
Reply #3 - Feb 18th, 2011 at 9:25am
Print Post  
Finally! Great work.
Quote:
Did you add it to the Captain Sim mods so we all get to use it? I know I would love to have it.

I double Mark's post.  Wink
  
Back to top
 
IP Logged
 
barney
Full Member
*
Offline



Posts: 15
Joined: Feb 10th, 2011
Re: My CS B-52  now drops bombs!
Reply #4 - Feb 18th, 2011 at 11:35am
Print Post  
Thanks for the thumbs up guys. I havnt added it to the CS mods yet as it still needs lots of tweeking.  Its actually so simple i surprised myself when it worked. first i made the m60 shoot straight down, changed the default fire mode to single and positioned it roughly in the bomb bay of the CS B52.

<Station name="Center" params="0,2,-1.5,0,-4.712389,0,51" />

Next i changed these lines in the <shell> section for the m60 bullets:

               <Weight>500</Weight>
               <!-- shell weight -->
               <TargetWeight>5000</TargetWeight>
               <!-- target wight correction factor -->
               <Lifetime>99</Lifetime>
               <!-- shell physical liftime -->
               <CtrLifetime>99</CtrLifetime>
               <!-- shell simobject liftime -->
               <Efficiency>1.0</Efficiency>
               <!-- shell damage efficiency             -->
               <RadiusRatio>2.0</RadiusRatio>
               <!-- See SDK -->
               <DragCoeff>0.5</DragCoeff>
               <!-- shell drag coefficient -->
               <OpArea>0.456</OpArea>
               <!-- shell net area -->

And finally i renamed some third party bomb models to the same as the M60 bullets, it will even work with default flour bombs. For some reason unknown to me i couldnt get the mk82 launcher to work but im sure one of you can.  I destroyed several parked ai aircraft during testing so it works. Feel free to improve this and submit it to CS mods, i hope someone will.    
                                 Regards Barney.
  
Back to top
 
IP Logged
 
Captain Sim
CS Team
*
Offline



Posts: 4236
Joined: Nov 7th, 2005
Re: My CS B-52  now drops bombs!
Reply #5 - Feb 18th, 2011 at 3:03pm
Print Post  
Nice mode! Please share.

The mk82 launcher is INOP for now, so you did all right.

BTW, there's GBU-10 guided bomb simobject included in the pack.
No reason, just in case if someone interested to make a guided bombs mod  Wink

Hint: start with air-to-surface missile section and cut the engine  Wink
  
Back to top
IP Logged
 
barney
Full Member
*
Offline



Posts: 15
Joined: Feb 10th, 2011
Re: My CS B-52  now drops bombs!
Reply #6 - Feb 18th, 2011 at 8:53pm
Print Post  
Thanks Alex,
                   i hadnt noticed the GBU in the pack. Guided bomb was going to be my next project and your suggestion about the air to surface missile is exactly what i was going to try first.  As for uploading the mod, do i include the complete xml or just the lines i have changed? (im not real sure about the copywrite info).
                                                    Regards Barney.
  
Back to top
 
IP Logged
 
Lost in Isaan
Senior Member
*
Offline



Posts: 325
Location: Udon Thani, THAILAND
Joined: Dec 11th, 2009
Re: My CS B-52  now drops bombs!
Reply #7 - Feb 19th, 2011 at 4:45am
Print Post  
Thanks Barney, your the man.
Works a treat, just had to make one edit you may have done but not displayed:-

<InitSpeed>0</InitSpeed>
               <!-- shell initial velocity (meters per second) WAS 853-->

Now working on cleaning it all up and some tweaks of my own.
  

Regards Bruce

This message has been sent from my 1977 Apple II using 2 Hinze bake bean cans and piano wire!
Back to top
 
IP Logged
 
Johan
Full Member
*
Offline



Posts: 80
Joined: Feb 5th, 2011
Gender: Male
Re: My CS B-52  now drops bombs!
Reply #8 - Feb 20th, 2011 at 2:24am
Print Post  

[/quote]

Thanks Barney, your technique works very well and my FA/18 is dropping bombs now thanks to you. I hope CS will work on improving  the CSWeapon version to add the guided bomb feature. Thanks again for sharing.
  
Back to top
 
IP Logged
 
Lost in Isaan
Senior Member
*
Offline



Posts: 325
Location: Udon Thani, THAILAND
Joined: Dec 11th, 2009
Re: My CS B-52  now drops bombs!
Reply #9 - Feb 20th, 2011 at 6:15am
Print Post  
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 / (&gt;K:pAYLOAD_AT_POSITION.3, pounds)
(L:CSG_RdsRem, number) 500 * 2 / (&gt;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
  

Regards Bruce

This message has been sent from my 1977 Apple II using 2 Hinze bake bean cans and piano wire!
Back to top
 
IP Logged
 
barney
Full Member
*
Offline



Posts: 15
Joined: Feb 10th, 2011
Re: My CS B-52  now drops bombs!
Reply #10 - Feb 20th, 2011 at 10:57am
Print Post  
Glad to hear people are improving this mod, got the GBU-10`s working this afternoon. Man these things are deadly, still working out the optimum airspeed and alt to release at. Bruce, i did change that line but forgot to post it, hope it didnt cause too much frustration for  evryone. 
                                       
                                                           Regards Barney.
  
Back to top
 
IP Logged
 
James F. Chams
Full Member
*
Offline



Posts: 81
Joined: Aug 9th, 2008
Gender: Male
Re: My CS B-52  now drops bombs!
Reply #11 - Feb 20th, 2011 at 12:37pm
Print Post  
CS Staff,
I believe that releasing the sdk along with this product is going to prove to be a great success; not only in implementing these features on 3rd-Party aircraft, etc.  But, it has the added benefit of educating many young people in some programming steps and configuration file(s) methods.  Who knows, you may have begun to train someone here today that would be an employee of yours someday in the near future, maybe even the next V.P./CEO, or even the next "Bill Gates" for that matter. Cool

Good Going! Smiley

PS: Mr. "Barney,"
Congradulating on your achievement! Cool I look forward to trying it out myself.
  

Thank you very much.&&Sincerely,&&From,&&        James F. Chams&&
Back to top
 
IP Logged
 
Markoz
CS Team
*
Offline



Posts: 12368
Location: Victoria, Australia
Joined: Apr 24th, 2009
Gender: Male
Re: My CS B-52  now drops bombs!
Reply #12 - Feb 21st, 2011 at 4:35am
Print Post  
James F. Chams wrote on Feb 20th, 2011 at 12:37pm:
CS Staff,
I believe that releasing the sdk along with this product is going to prove to be a great success; not only in implementing these features on 3rd-Party aircraft, etc.  But, it has the added benefit of educating many young people in some programming steps and configuration file(s) methods.
I think you are spot on about that James.

My only thought is that the SDK needs to be a bit more informative. Or maybe even a little more information in the CSWeapon.xml (I think I'm showing that I am not that well versed in xml coding here). I can figure quite a bit of it out, but some of it leaves me at a loss. Of course the other side to that, is if someone can point out where I can get more information on xml coding, without having to buy a book unless I really have to.

Mark
  

Mark Fletcher



PC: i7 10700K @3.8/5.1GHz | 64GB DDR4 3200 | 12GB RTX 4070 Super | 32" LCD Monitor | 1TB SSD & 2x2TB SSD | Win 11 Pro - FSX/FSX-SE/P3D3/P3D4/P3D5/P3D6/MSFS2020
15.6" Gaming Laptop: i7 7700HQ | 32GB DDR4 | 6GB GTX 1060 | 256GB SSD & 1TB HDD | Win 10 Pro 64bit - FSX-SE/P3D4
Back to top
 
IP Logged
 
Johan
Full Member
*
Offline



Posts: 80
Joined: Feb 5th, 2011
Gender: Male
Re: My CS B-52  now drops bombs!
Reply #13 - Feb 21st, 2011 at 5:53pm
Print Post  

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.

Bruce,

You and Barney seem to be the ones progressing faster than others (including me). Were you able to develop a standalone weapon block for the Mk82, or another guided bomb? I hope you will be willing to share at some point if CS is ok....thanks.

Johan
  
Back to top
 
IP Logged
 
Astoroth
Full Member
*
Offline



Posts: 9
Joined: Feb 18th, 2011
Re: My CS B-52  now drops bombs!
Reply #14 - Feb 21st, 2011 at 7:11pm
Print Post  
Yes, please share! Some of us are all thumbs when it comes to xml, hehe.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 3 4
Send TopicPrint
 
  « Board Index ‹ Board  ^Top