Multiple Flags

Started by MEGAMIND, Jun 10, 2018, 09:42 AM

Previous topic - Next topic

MEGAMIND

hi everyone i have a question
i have a car with flags of tank which means that car can fire
<?xml version="1.0" encoding="ASCII"?>
<vehicle>
 <basic>
 <type>car</type>
 <name>D.R-2</name>
 <anims>null</anims>
 <comprules>0</comprules>
<!-- below r the extra flags of tank which can fire-->
 <extraflags>40</extraflags>
 <wheelmodel>237</wheelmodel>
 <wheelscale>0.85</wheelscale>
 </basic>
 
 <aidata>
 <class>executive</class>
 <freq>7</freq>
 <level>6</level>
 </aidata>
 
 <colors>
 <carcol>2,2</carcol>
 <carcol>11,11</carcol>
 <carcol>12,12</carcol>
 <carcol>35,35</carcol>
 <carcol>36,36</carcol>
 </colors>
 
 <audio>
 <enginefarsample>274</enginefarsample>
 <enginenearsample>10</enginenearsample>
 <hornsample>1</hornsample>
 <hornfreq>12017</hornfreq>
 <sirensample>0</sirensample>
 <sirenfreq>9900</sirenfreq>
 <doorsounds>1</doorsounds>
 </audio>
 
 <handling>
 <mass>2500.0</mass>
 <percentsubmerged>70</percentsubmerged>
 <steeringlock>30.0</steeringlock>
 <seatoffset>0.2</seatoffset>
 <damagemultiplier>0.0</damagemultiplier>
 <value>1000000000</value>
 <flags>00004003</flags>
 
 <dimensions>
 <x>2.2</x>
 <y>5.0</y>
 <z>2.3</z>
 </dimensions>
 
 <centreofmass>
 <x>0.0</x>
 <y>0.00</y>
 <z>-0.5</z>
 </centreofmass>
 
 <traction>
 <multiplier>1.50</multiplier>
 <loss>1.00</loss>
 <bias>0.50</bias>
 </traction>
 
 <transmission>
 <numofgears>5</numofgears>
 <maxspeed>700.0</maxspeed>
 <acceleration>50.0</acceleration>
 <drivetype>Rear</drivetype>
 <enginetype>P</enginetype>
 </transmission>
 
 <brakes>
 <deceleration>10.0</deceleration>
 <bias>0.48</bias>
 <abs>0</abs>
 </brakes>
 
 <suspension>
 <forcelevel>2.3</forcelevel>
 <dampening>0.13</dampening>
 <upperlimit>0.25</upperlimit>
 <lowerlimit>-0.18</lowerlimit>
 <bias>0.5</bias>
 <antidive>0.0</antidive>
 </suspension>
 
 <lights>
 <front>1</front>
 <rear>1</rear>
 </lights>
 </handling>

</vehicle>
so can we add other flags too like
<extraflags>40</extraflags><extraflags>2000</extraflags> // flags of taxi jumpi also tried combining them like this
<extraflags>20040</extraflags>but they donot work only one of em will work like if value 200 is added first before 40 so taxi boost jump will work, if 40 is added before 200 so tank cannon will work , os is there any other possible way to load both flags together

thanks,
regards

MEGAMIND