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

 

Page Index Toggle Pages: [1] 2 3  Send TopicPrint
 25 Rockets (Read 12668 times)
florence
Full Member
*
Offline



Posts: 23
Joined: Feb 21st, 2011
Rockets
Apr 15th, 2011 at 6:47pm
Print Post  
Hello, use the airplane Weapons Lotussim L39, I have a problem when firing the rockets start I noticed that practically over my head, how can I reduce the start up of the rockets under the wings are positioned where the rocket launchers?
Thanks David
  
Back to top
 
IP Logged
 
boeing247
Senior Member
*
Offline


Pilots: Looking down on
people since 1903

Posts: 1506
Location: Southern CA
Joined: Feb 23rd, 2011
Gender: Male
Re: Rockets
Reply #1 - Apr 16th, 2011 at 1:04am
Print Post  
This is the code in the CS_Weapon.xml file (found in the folder of your aircraft) which sets up the rockets:

<Weapon>
           <Gun>Hydra 70</Gun>
           <Shell>Hydra 70</Shell>
           <Unlimited>0</Unlimited>
           <Station name="LeftWingOuter" params="-5,0,0,0,-0.039,0,30" />
           <Station name="LeftWingInner" params="-2,0,0,0,-0.039,0,30" />
           <Station name="RightWingInner" params="2,0,0,0,-0.039,0,30" />
           <Station name="RightWingOuter" params="5,0,0,0,-0.039,0,30" />
           <Mode name="AUTO" setshots="0" shotrate="30" sequence="1,2,3,4" reset="0" />
           <Mode name="X4" setshots="4" shotrate="30" sequence="1,2,3,4" reset="0" />
           <Mode name="1+4" setshots="2" shotrate="15" sequence="1,4" reset="0" />
           <Mode name="2+3" setshots="2" shotrate="15" sequence="2,3" reset="0" />
           <DefaultMode>AUTO</DefaultMode>
       </Weapon>
       <Weapon>
           <Gun>Zuni127</Gun>
           <Shell>Zuni127</Shell>
           <Unlimited>0</Unlimited>
           <Station name="LeftWingOuter" params="-5,0,0,0,-0.039,0,4" />
           <Station name="LeftWingInner" params="-2,0,0,0,-0.039,0,4" />
           <Station name="RightWingInner" params="2,0,0,0,-0.039,0,4" />
           <Station name="RightWingOuter" params="5,0,0,0,-0.039,0,4" />
           <Mode name="AUTO" setshots="4" shotrate="8" sequence="1,2,3,4" reset="0" />
           <Mode name="1+4" setshots="2" shotrate="8" sequence="1,4" reset="0" />
           <Mode name="2+3" setshots="2" shotrate="8" sequence="2,3" reset="0" />
           <Mode name="SINGL" setshots="1" shotrate="32" sequence="1,2,3,4" reset="0" />
           <DefaultMode>AUTO</DefaultMode>
       </Weapon>


You see those Station name bits? That's the start position. Now, I'm not sure, but the first three parameters (e.g. for RightWingOuter they are 5,0,0) are the X, Y, Z coordinates. Make the the third number (the Z coordinate) lower and the rocket should fire farther down. If this doesn't work, post and I'll look more into it.  Wink
  

-Bram Osterhout&&&&&&&&Dell XPS 8300 | Windows 7 64 Bit | AMD Radeon HD 6770 | Intel i7-2600 @ 3.40GHz | 1000GB Hard Drive
Back to top
WWWGTalkSkype/VoIP  
IP Logged
 
florence
Full Member
*
Offline



Posts: 23
Joined: Feb 21st, 2011
Re: Rockets
Reply #2 - Apr 16th, 2011 at 9:07am
Print Post  
Thank you for your answer but there are a couple of problems due perhaps to poor translation of Google Translate: 1 ° I opened the file CS_Weapon.xml how to change the parameters in a file. xml?
2 ° what would be the third number (the Z coordinate) to be replaced?
I can give an example?
  
Back to top
 
IP Logged
 
Markoz
CS Team
*
Offline



Posts: 12370
Location: Victoria, Australia
Joined: Apr 24th, 2009
Gender: Male
Re: Rockets
Reply #3 - Apr 16th, 2011 at 1:19pm
Print Post  
Maybe this is a better example because it has a guide to what the numbers refer to when changing the actual location of the weapons:

<Weapon>
  <!-- weapon sub-type section. unlimited number of -->
  <Gun>M60C</Gun>
  <!-- weapon sub-type name. must match GunInfo>Gun>Name -->
  <Shell>M60C Bullet</Shell>
  <!-- shell name. must match GunInfo>Shell>Name -->
  <Unlimited>1</Unlimited>
  <!-- unlimited ammo fire. 1-yes, 0-no -->
  <Station name="Nose" params="0,9,0,0,-0.039,0,200" />
  <!-- Station position (x,y,z) meters, angle of incidence, ammo units quantity -->

  <Mode name="AUTO" shotrate="10" setshots="0" sequence="1" />
  <!-- fire mode section. unlimited number of. name= dispayed on HUD in weapon info string. -->
  <Mode name="X3" shotrate="10" setshots="3" sequence="1" />
  <Mode name="SINGL" shotrate="10" setshots="1" sequence="1" />
  <DefaultMode>AUTO</DefaultMode>
  <!-- default fire mode. Any from the list above  -->
</Weapon>


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
 
florence
Full Member
*
Offline



Posts: 23
Joined: Feb 21st, 2011
Re: Rockets
Reply #4 - Apr 16th, 2011 at 2:20pm
Print Post  
I changed the third number (coordinate z) 0 to -1, the height of the rockets' ok
but I noticed that editing the. xml occur two problems: 1) effect disappeared smoke rockets. 2) the rocket launcher out of the shot otherwise
BIG CASINO HELPMEEEEEE!!!!!!!!!
VERY VERY THANKS !!
  
Back to top
 
IP Logged
 
boeing247
Senior Member
*
Offline


Pilots: Looking down on
people since 1903

Posts: 1506
Location: Southern CA
Joined: Feb 23rd, 2011
Gender: Male
Re: Rockets
Reply #5 - Apr 16th, 2011 at 3:16pm
Print Post  
That's odd. You didn't change anything other than the position, did you? (Oh, thanks Mark, for providing the example, that was probably much more helpful than my explanation  Wink)

Perhaps the smoke effect needs to be moved downwards too? I'll look in the xml file later and see if I can find anything.
I can't seem to figure out what your 2) means (the Google Translation is poor). What language are you translating from?  Smiley
  

-Bram Osterhout&&&&&&&&Dell XPS 8300 | Windows 7 64 Bit | AMD Radeon HD 6770 | Intel i7-2600 @ 3.40GHz | 1000GB Hard Drive
Back to top
WWWGTalkSkype/VoIP  
IP Logged
 
florence
Full Member
*
Offline



Posts: 23
Joined: Feb 21st, 2011
Re: Rockets
Reply #6 - Apr 16th, 2011 at 3:33pm
Print Post  
Translation Italian - English
Let me know if I can modify the file as a parameter to change CS_Weapon.xml height of the rockets, now go over my head
and 'possible under the wings ??
I hope I was clear SORRY FOR MY ENGLISH
when I change the file automatically creates two problems CS_Weapon.xml
serious, no smoke rockets, launching rockets on the contrary
Hello and thank you
  
Back to top
 
IP Logged
 
Markoz
CS Team
*
Offline



Posts: 12370
Location: Victoria, Australia
Joined: Apr 24th, 2009
Gender: Male
Re: Rockets
Reply #7 - Apr 16th, 2011 at 4:11pm
Print Post  
boeing247 said - Perhaps the smoke effect needs to be moved downwards too?
No you don't. The smoke effects is tied to the rockets. So if you lower the rockets, the smoke lower as well.

florence said - I hope I was clear SORRY FOR MY ENGLISH
You are doing good with your English so far, so we will do our best to help you get the rockets in the right place on the wings. Smiley
I'm soryy, but I do not own the Lotus Simulations L-39 Albatross. So it is hard for me to show what to change the numbers to in CSWeapon.xml Sad

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
 
boeing247
Senior Member
*
Offline


Pilots: Looking down on
people since 1903

Posts: 1506
Location: Southern CA
Joined: Feb 23rd, 2011
Gender: Male
Re: Rockets
Reply #8 - Apr 16th, 2011 at 5:27pm
Print Post  
Could you post your version of the source code for the Hydra rocket (the code that I posted)? Maybe there's something in there that's messing everything up. By the way, Google is still messing up your second problem (I thought the Google Italian was really good, so that's odd), could you just post that problem in the original Italian, and I'll try translating it to Spanish to see if that translation is any better. I know you're doing your best. I hope that you can get weapon working!  Wink
  

-Bram Osterhout&&&&&&&&Dell XPS 8300 | Windows 7 64 Bit | AMD Radeon HD 6770 | Intel i7-2600 @ 3.40GHz | 1000GB Hard Drive
Back to top
WWWGTalkSkype/VoIP  
IP Logged
 
florence
Full Member
*
Offline



Posts: 23
Joined: Feb 21st, 2011
Re: Rockets
Reply #9 - Apr 16th, 2011 at 6:56pm
Print Post  
Ciao il mio codice sorgente del razzo Hydra e' perfettamente uguale a quello che mi hai postato tu .
Il vero problema e' che appena modifico il file CS_Weapon .xml scoppia un casino non capisco perche'
Grazie
  
Back to top
 
IP Logged
 
boeing247
Senior Member
*
Offline


Pilots: Looking down on
people since 1903

Posts: 1506
Location: Southern CA
Joined: Feb 23rd, 2011
Gender: Male
Re: Rockets
Reply #10 - Apr 16th, 2011 at 7:49pm
Print Post  
Thanks.  Wink

I can't figure out what's going wrong... hmmm. Try this: use the loader to remove weapon from that plane, then load weapon again and see if it works (if the rockets fire too high again, change that, then see if it still works). It seems like just some weird bug that might be fixed by just reloading weapon to that plane.  Wink
  

-Bram Osterhout&&&&&&&&Dell XPS 8300 | Windows 7 64 Bit | AMD Radeon HD 6770 | Intel i7-2600 @ 3.40GHz | 1000GB Hard Drive
Back to top
WWWGTalkSkype/VoIP  
IP Logged
 
florence
Full Member
*
Offline



Posts: 23
Joined: Feb 21st, 2011
Re: Rockets
Reply #11 - Apr 16th, 2011 at 9:27pm
Print Post  
It seems incredible that the Captain Sim can not find a solution to this problem
no one can explain that I have to change the parameter to fire rockets under the wings amazing!!
MANY THANKS to BOEING247 only one who has tried!
  
Back to top
 
IP Logged
 
boeing247
Senior Member
*
Offline


Pilots: Looking down on
people since 1903

Posts: 1506
Location: Southern CA
Joined: Feb 23rd, 2011
Gender: Male
Re: Rockets
Reply #12 - Apr 16th, 2011 at 10:43pm
Print Post  
Thanks for the gratitude, florence.  Wink

Have you tried the re-loading yet?
  

-Bram Osterhout&&&&&&&&Dell XPS 8300 | Windows 7 64 Bit | AMD Radeon HD 6770 | Intel i7-2600 @ 3.40GHz | 1000GB Hard Drive
Back to top
WWWGTalkSkype/VoIP  
IP Logged
 
Markoz
CS Team
*
Offline



Posts: 12370
Location: Victoria, Australia
Joined: Apr 24th, 2009
Gender: Male
Re: Rockets
Reply #13 - Apr 17th, 2011 at 1:00am
Print Post  
Hi David.

Can you copy the changes you made in the CSWeapon.xml and paste them in here so we can see if there is a mistake that is causing this problem.

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
 
florence
Full Member
*
Offline



Posts: 23
Joined: Feb 21st, 2011
Re: Rockets
Reply #14 - Apr 17th, 2011 at 6:09am
Print Post  
Boeing made ​​sure I re-loading, but unfortunately does not change the problems remain, I wanted to ask a question, we are sure that the. xml you can 'change again without problems? maybe you need a permit?


  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 3 
Send TopicPrint
 
  « Board Index ‹ Board  ^Top