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

 

Page Index Toggle Pages: [1] 2  Send TopicPrint
 25 unlimited ammo (Read 18126 times)
Markoz
Beta Team
*
Offline



Posts: 11414
Location: Victoria, Australia
Joined: Apr 24th, 2009
Gender: Male
unlimited ammo
Feb 5th, 2011 at 9:35am
Print Post  
I know. Call me a cheat or whatever. But I now have unlimited ammo in my F/A-18! The AI traffics' (as well as the "enemies" in the scenarios) only respite is my running low/ot of fuel (unless I turn on unlimited fuel)! Yahoo!!!

I'm really having a lot fun out with this add-on. I just increased my AI traffic for more targets. Grin

Mark
  

Mark Fletcher



PC: i7 6700K @ 4.0GHz | Corsair H80i Liquid Cooling | 32GB DDR4 | 8GB RTX 2070 | 27" LCD Monitor | 1TB SSD, 1x2TB SSHD, 1x4TB HDD, 1x2TB HDD, 1x275GB SSD | Win 10 Pro 64 - FSX, FSX-SE, P3Dv3.4 & P3Dv4.5
15.6" Gaming Laptop: i7 7700HQ | 16GB DDR4 | 6GB GTX 1060 | 256GB SSD & 1TB HDD | Win 10 Pro 64bit - FSX-SE & P3Dv4.5
Back to top
 
IP Logged
 
Captain Sim
CS Team
*
Offline



Posts: 2655
Joined: Nov 7th, 2005
Re: unlimited ammo
Reply #1 - Feb 5th, 2011 at 3:32pm
Print Post  
Mark, it seems you are ready for a scramble!
Try the F-4 flight. There are tons of other military traffic included as well.

  
Back to top
IP Logged
 
Paul Gardner
New Member
Offline



Posts: 3
Joined: Feb 6th, 2011
Re: unlimited ammo
Reply #2 - Feb 6th, 2011 at 8:32pm
Print Post  
I have looked at this forum and downloaded the SDK for Weapon. I have never edited an SDK  before so could someone tell me how to edit for unlimited rounds/missiles etc and then how to apply.
Many thanks
Paul

PS Can you re-set the weapon stores while flying?
  
Back to top
 
IP Logged
 
Markoz
Beta Team
*
Offline



Posts: 11414
Location: Victoria, Australia
Joined: Apr 24th, 2009
Gender: Male
Re: unlimited ammo
Reply #3 - Feb 7th, 2011 at 1:25am
Print Post  
The only way I found to reload the weapon stores is to reload the aircraft ALT > A > A > ENTER. I have assigned a keyboard shortcut for reloading aircraft CTRL+R. When flying, and you run out of ammo, just press CTL+R and, viola, you have a freshly reloaded aircraft.

I edited the CSWeapon.xml in the aircraft folder (e.g. FSX\SimObjects\Airplanes\CS_FA-18) to give me unlimited ammo very time I fly it. I have no need to get more ammo. Smiley

Mark
  

Mark Fletcher



PC: i7 6700K @ 4.0GHz | Corsair H80i Liquid Cooling | 32GB DDR4 | 8GB RTX 2070 | 27" LCD Monitor | 1TB SSD, 1x2TB SSHD, 1x4TB HDD, 1x2TB HDD, 1x275GB SSD | Win 10 Pro 64 - FSX, FSX-SE, P3Dv3.4 & P3Dv4.5
15.6" Gaming Laptop: i7 7700HQ | 16GB DDR4 | 6GB GTX 1060 | 256GB SSD & 1TB HDD | Win 10 Pro 64bit - FSX-SE & P3Dv4.5
Back to top
 
IP Logged
 
Paul Gardner
New Member
Offline



Posts: 3
Joined: Feb 6th, 2011
Re: unlimited ammo
Reply #4 - Feb 7th, 2011 at 9:09am
Print Post  
Can you give me an example of the entries you edited in the .xml file for the Weapon to give unlimited ammo?

Cheers

Paul
  
Back to top
 
IP Logged
 
Markoz
Beta Team
*
Offline



Posts: 11414
Location: Victoria, Australia
Joined: Apr 24th, 2009
Gender: Male
Re: unlimited ammo
Reply #5 - Feb 7th, 2011 at 10:55am
Print Post  
Hi Paul.

The clues to what each entry in CSWeapon.xml file are inside it. The following is the entry in the CSWeapon.xml for the M60C:

       <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>0</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>

The Lines that start with <!--- tell you about the entry above it and the parameters involved. I have place the entry that deals with unlimited ammo in blue.

You need to change the line from <Unlimited>0</Unlimited> to <Unlimited>1</Unlimited> for every <Weapon> entry. There are fifteen (15) entries that need to be changed. Once you have done that, just copy that CSWeapon.xml file and overwrite the ones in each plane you have added the Weapon for FSX to. To change them back to normal, use the Loader to remove from the plane/chopper and then add it back again.

If you just want to add more ammo:

           <Station name="Nose" params="0,9,0,0,-0.039,0,200" />
           <!-- Station position (x,y,z) meters, angle of incidence, ammo units quantity -->

change the last parameter of the Station entry as shown in red above.

Hope this helps.

Mark
  

Mark Fletcher



PC: i7 6700K @ 4.0GHz | Corsair H80i Liquid Cooling | 32GB DDR4 | 8GB RTX 2070 | 27" LCD Monitor | 1TB SSD, 1x2TB SSHD, 1x4TB HDD, 1x2TB HDD, 1x275GB SSD | Win 10 Pro 64 - FSX, FSX-SE, P3Dv3.4 & P3Dv4.5
15.6" Gaming Laptop: i7 7700HQ | 16GB DDR4 | 6GB GTX 1060 | 256GB SSD & 1TB HDD | Win 10 Pro 64bit - FSX-SE & P3Dv4.5
Back to top
 
IP Logged
 
Paul Gardner
New Member
Offline



Posts: 3
Joined: Feb 6th, 2011
Re: unlimited ammo
Reply #6 - Feb 7th, 2011 at 12:03pm
Print Post  
Thanks very much Markoz.
Paul
  
Back to top
 
IP Logged
 
Markoz
Beta Team
*
Offline



Posts: 11414
Location: Victoria, Australia
Joined: Apr 24th, 2009
Gender: Male
Re: unlimited ammo
Reply #7 - Feb 7th, 2011 at 12:20pm
Print Post  
No worries Paul.

Just remember to switch to the default one, that doesn't use unlimited ammo, if you play in multiplayer with it. Wink

Mark
  

Mark Fletcher



PC: i7 6700K @ 4.0GHz | Corsair H80i Liquid Cooling | 32GB DDR4 | 8GB RTX 2070 | 27" LCD Monitor | 1TB SSD, 1x2TB SSHD, 1x4TB HDD, 1x2TB HDD, 1x275GB SSD | Win 10 Pro 64 - FSX, FSX-SE, P3Dv3.4 & P3Dv4.5
15.6" Gaming Laptop: i7 7700HQ | 16GB DDR4 | 6GB GTX 1060 | 256GB SSD & 1TB HDD | Win 10 Pro 64bit - FSX-SE & P3Dv4.5
Back to top
 
IP Logged
 
earnorbust
Full Member
*
Offline



Posts: 10
Joined: Feb 8th, 2011
Re: unlimited ammo
Reply #8 - Feb 8th, 2011 at 5:22pm
Print Post  
Sorry to say Mark...but this also doesn't work.

I am not getting any ammo at all now!  Cry
  
Back to top
 
IP Logged
 
Markoz
Beta Team
*
Offline



Posts: 11414
Location: Victoria, Australia
Joined: Apr 24th, 2009
Gender: Male
Re: unlimited ammo
Reply #9 - Feb 8th, 2011 at 5:49pm
Print Post  
earnorbust wrote on Feb 8th, 2011 at 5:22pm:
Sorry to say Mark...but this also doesn't work.

I am not getting any ammo at all now!  Cry

Hi earnorbust.

1] On the aircraft that you edited the CSWeapon.xml on, use the loader to remove it, the add it to it again. This will get it back to normal again.
2] You can't (well I can't) edit the CSWeapon.xml while the aircraft is in use by FSX. I found it best to make changes while FSX is not running.
3] You should always back up the file you are going to start modifying. I copy and past it into the folder it in (see image).
4] If you want unlimited ammo only change this: <Unlimited>0</Unlimited> To this: <Unlimited>1</Unlimited>
5] Only change the last number in <Station name="Nose" params="0,9,0,0,-0.039,0,200" /> if you want to increase the amount of ammo. If you are using unlimited ammo, it will work continuously even if you only have half a dozen rounds (6) in it.

I hope this helps.

Mark
  

backing_up_files.JPG (Attachment deleted)

Mark Fletcher



PC: i7 6700K @ 4.0GHz | Corsair H80i Liquid Cooling | 32GB DDR4 | 8GB RTX 2070 | 27" LCD Monitor | 1TB SSD, 1x2TB SSHD, 1x4TB HDD, 1x2TB HDD, 1x275GB SSD | Win 10 Pro 64 - FSX, FSX-SE, P3Dv3.4 & P3Dv4.5
15.6" Gaming Laptop: i7 7700HQ | 16GB DDR4 | 6GB GTX 1060 | 256GB SSD & 1TB HDD | Win 10 Pro 64bit - FSX-SE & P3Dv4.5
Back to top
 
IP Logged
 
earnorbust
Full Member
*
Offline



Posts: 10
Joined: Feb 8th, 2011
Re: unlimited ammo
Reply #10 - Feb 8th, 2011 at 9:02pm
Print Post  
Definately Mark...

unlimited>1< does not work. It even prohibits reloading the airplane - which reloads ammo also (but only when unlimited>0< stays set).

Setting unlimited>1< was a great idea...but malfunctions completely.  Huh

sorry...
Robert
  
Back to top
 
IP Logged
 
Markoz
Beta Team
*
Offline



Posts: 11414
Location: Victoria, Australia
Joined: Apr 24th, 2009
Gender: Male
Re: unlimited ammo
Reply #11 - Feb 9th, 2011 at 2:35am
Print Post  
Hi Robert.

What OS are you using? Where is FSX installed?

Just changing each incidence of <Unlimited>0</Unlimited> to <Unlimited>1</Unlimited> should work. The line below it in the CSWeapon.xml file, <!-- unlimited ammo fire. 1-yes, 0-no -->, shows that it can be either 1 =yes = unlimited ammo or 0 = no = NO unlimited ammo, without causing it to not work. This is stated in the CSWeapon_SDK.pdf on page 5:

PARAMETERS DESCRIPTION
For convenience most of details on the CSWeapon.xml settings are listed right in the file comments. SDK
provides additional info on the parameters that have 'See SDK' mark in the comments.


With Windows Vista and 7 administrative rights can come into play. IF FSX is installed in its default location, C:\Program Files\etc..., then those operating systems have a tight hold on the programs within. I'm just saying this if that is the case. If not. Well it is something else going wrong. And then the only thing I can do is give out the modified CSWeapon.xml and ONLY that. And I will ONLY do that with Captain Sim permission.

Mark
  

Mark Fletcher



PC: i7 6700K @ 4.0GHz | Corsair H80i Liquid Cooling | 32GB DDR4 | 8GB RTX 2070 | 27" LCD Monitor | 1TB SSD, 1x2TB SSHD, 1x4TB HDD, 1x2TB HDD, 1x275GB SSD | Win 10 Pro 64 - FSX, FSX-SE, P3Dv3.4 & P3Dv4.5
15.6" Gaming Laptop: i7 7700HQ | 16GB DDR4 | 6GB GTX 1060 | 256GB SSD & 1TB HDD | Win 10 Pro 64bit - FSX-SE & P3Dv4.5
Back to top
 
IP Logged
 
earnorbust
Full Member
*
Offline



Posts: 10
Joined: Feb 8th, 2011
Re: unlimited ammo
Reply #12 - Feb 9th, 2011 at 8:52am
Print Post  
Sorry Mark...

But citing the manual doesn't help. I know what the program SHOULD do...but it's not doing it!

I use Vista 64bit. FSX is installed on a seperate drive!
I have all programs running in admin mode.

Changing all 15 unlimited>0< to unlimited>1< (FSX shut down)deletes all ammunition in the plane and shows 0000 on all ammunition displays when I restart FSX!

I am beginning to question if the program is Vista compatible.

...getting frustrated   Undecided
  
Back to top
 
IP Logged
 
earnorbust
Full Member
*
Offline



Posts: 10
Joined: Feb 8th, 2011
Re: unlimited ammo
Reply #13 - Feb 9th, 2011 at 9:58am
Print Post  
The problem is becoming more subtil now.

After changing all unlimited>1< settings back to unlimited>0< again (since it didn't work) I was amazed to see that the ammo still is completely missing - (0000) on all weapon displays!

That proves to me that changing the CSWeapon.xml is causing trouble somewhere else also - which unfortunately isn't being explained here by CS.

The most frustrating thing about the product is the incapability to calibrate the hud sites of user plane installments, causing all weapons on user planes to fire way to high for practical use. The only plane that is correctly calibrated is the FA18 which the program installs automatically. I couldn't calibrate any plane I wanted to fly!

My experience tells me this product has been prematurely released and needs much better testing by those who developed it...and not by the customers.

Sorry...but I have spent too much time already with no worthwhile success.

I am heading back to peaceful flying until this product does what it is supposed to.

Have a happy day everybody  Roll Eyes
Robert
  
Back to top
 
IP Logged
 
Markoz
Beta Team
*
Offline



Posts: 11414
Location: Victoria, Australia
Joined: Apr 24th, 2009
Gender: Male
Re: unlimited ammo
Reply #14 - Feb 9th, 2011 at 11:30am
Print Post  
Hi Robert.

I'm not having any trouble at all in regards to changing the parameters in CSWeapon.xml, then saving those changes and then seeing the result of those changes in FSX. It doesn't make any sense that you can't do the same. Sad

Mark
  

Mark Fletcher



PC: i7 6700K @ 4.0GHz | Corsair H80i Liquid Cooling | 32GB DDR4 | 8GB RTX 2070 | 27" LCD Monitor | 1TB SSD, 1x2TB SSHD, 1x4TB HDD, 1x2TB HDD, 1x275GB SSD | Win 10 Pro 64 - FSX, FSX-SE, P3Dv3.4 & P3Dv4.5
15.6" Gaming Laptop: i7 7700HQ | 16GB DDR4 | 6GB GTX 1060 | 256GB SSD & 1TB HDD | Win 10 Pro 64bit - FSX-SE & P3Dv4.5
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint
 
  « Board Index ‹ Board  ^Top