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

 

Page Index Toggle Pages: 1 Send TopicPrint
CSWeapons.xml (Read 2313 times)
usb
Full Member
*
Offline



Posts: 17
Location: Reno
Joined: May 24th, 2014
Gender: Male
CSWeapons.xml
May 27th, 2014 at 12:12am
Print Post  
I understand how to use the xml but where might I get an example breakdown of what I can change and what that chang ewill do like changing unlimited from 0 to 1 and such.
  
Back to top
 
IP Logged
 
Markoz
Beta Team
*
Offline



Posts: 11172
Location: Victoria, Australia
Joined: Apr 24th, 2009
Gender: Male
Re: CSWeapons.xml
Reply #1 - May 27th, 2014 at 1:36am
Print Post  
I simply made changes to the CSWeapon.xml to see what did what.
You can even add your own weapons, if you like, but you will need to make your own 3D model (using Gmax or Flight Sim Design Studio).
  

Mark Fletcher



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


http://www.captainsi
m.com/user/dl/w001/w
eapon.jpg

Posts: 3
Joined: Feb 22nd, 2016
Re: CSWeapons.xml
Reply #2 - Feb 22nd, 2016 at 2:53am
Print Post  
Hello im new to Weapons for FSX ,and i like to know how to get the unlimited weapons. and where to find the Xml files for CS weapons Thank you. Undecided
  
Back to top
 
IP Logged
 
Markoz
Beta Team
*
Offline



Posts: 11172
Location: Victoria, Australia
Joined: Apr 24th, 2009
Gender: Male
Re: CSWeapons.xml
Reply #3 - Feb 23rd, 2016 at 12:39am
Print Post  
I opened the CSWeapon.xml with Notepad, and changed the <Unlimited>0</Unlimited>: to <Unlimited>1</Unlimited>, in each of the Weapons listed in the <WeaponInfo> section. Like this:

<WeaponInfo>
        <Weapon>
            <Gun>SPPU-30</Gun>
            <Shell>GS-30-1 Bullet</Shell>
            <Unlimited>1</Unlimited>
            <Station name="LeftWingOuter" params="-2.55, 0, -0.2, 0, 0.095, 0, 1000" />
            <Station name="LeftWingInner" params="-2.35, 0, -0.2, 0, 0.095, 0, 1000" />
            <Station name="RightWingInner" params="2.55, 0, -0.2, 0, 0.095, 0, 1000" />
            <Station name="RightWingOuter" params="2.35, 0, -0.2, 0, 0.095, 0, 1000" />
            <Mode name="AUTO" shotrate="15" setshots="0" sequence="1+2+3+4" />
            <Mode name="X8" shotrate="30" setshots="30" sequence="1+2+3+4" />
            <DefaultMode>AUTO</DefaultMode>
        </Weapon>
  

Mark Fletcher



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