CAPTAIN SIM FORUM
Weapon for FSX >> Weapon for FSX >> CSWeapons.xml
https://www.captainsim.org/forum/csf.pl?num=1401149545

Message started by usb on May 27th, 2014 at 12:12am

Title: CSWeapons.xml
Post by usb on May 27th, 2014 at 12:12am
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.

Title: Re: CSWeapons.xml
Post by Markoz on May 27th, 2014 at 1:36am
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).

Title: Re: CSWeapons.xml
Post by gusher52002 on Feb 22nd, 2016 at 2:53am
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. :-/

Title: Re: CSWeapons.xml
Post by Markoz on Feb 23rd, 2016 at 12:39am
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>
    

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