Right now is not possible to remove elements with the same name (with same parent element). Which is the case (multiple elements with the name "MELE" and parent "Objects").
is it possible now ? if so can you please re-answer my post number 27 ? (when you get the time)
purpose is to make Smart Barabas melee replace that of the vanilla or the brutal AI one. currently smart barabas melee profile section is built on the modified AI melee profile so if you install it you get Brutal AI too whether you want it or not, if it were made into a patch then only barabas's section would be applied to either vanilla melee profile or if player installs Brutal AI then it applies to Brutal AI melee profile
More info here:
http://wiki.oni2.net/XmlTools
I'm planning as Iritsceen said to give total freedom to modders to edit the xml files using some script language. That will solve this problem and anothers. The problem with this is that I may give too much freedom, not only as security problem but I can also imagine multiple patch files removing sections which they shouldn't making them incompatible with each other.
This advanced xml editing using a script language still needs some more brainstorming, feel free to give your ideas at bugs.oni2.net.
]]>Edit: Wow, I must be new to this forum. I didn't see s10k's reply and yours to him when I wrote my post.
]]>what I want to do is have the patch remove Barabas's melee profile .. but the thing is if Brutal AI is installed that section is different than if Brutal AI is not installed
If Brutal AI is installed this is what it should remove
<MELE Id="8310">
<Header>
<Flags></Flags>
<Position>140.253983 -15.2457275 -64.63251</Position>
<Rotation>0 0 0</Rotation>
</Header>
<OSD>
<MeleeId>25</MeleeId>
<Name>BARABAS TCTF D</Name>
<CharacterClass>barabus</CharacterClass>
<Notice>100</Notice>
<Dodge>
<Base>30</Base>
<Extra>25</Extra>
<ExtraDamageThreshold>20</ExtraDamageThreshold>
</Dodge>
<BlockSkill>
<Single>100</Single>
<Group>100</Group>
</BlockSkill>
<NotBlocked>2</NotBlocked>
<MustChangeStance>1.2</MustChangeStance>
<BlockedButUnblockable>1.5</BlockedButUnblockable>
<BlockedButHasStagger>1.2</BlockedButHasStagger>
<BlockedButHasBlockstun>0.7</BlockedButHasBlockstun>
<Blocked>0.9</Blocked>
<ThrowDanger>10</ThrowDanger>
<DazedMinFrames>60</DazedMinFrames>
<DazedMaxFrames>100</DazedMaxFrames>
<Attacks>
<Technique>
<Name>GetupAttackForward</Name>
<Flags></Flags>
<Weight>100</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Attack Type="GETUP_KF" />
</Moves>
</Technique>
<Technique>
<Name>GetupBack</Name>
<Flags>Interruptible GenerousDir</Flags>
<Weight>80</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Maneuver Type="GetUpBackward" Duration="0.5" />
<Position Type="StartToCrouch" />
<Maneuver Type="BarabasWave" MaxRange="60" />
</Moves>
</Technique>
<Technique>
<Name>GetupLeft</Name>
<Flags>Interruptible GenerousDir</Flags>
<Weight>80</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Maneuver Type="GetUpRollLeft" Duration="0.5" />
<Position Type="StartToCrouch" />
<Maneuver Type="BarabasWave" MaxRange="60" />
</Moves>
</Technique>
<Technique>
<Name>GetupAttackBackward</Name>
<Flags></Flags>
<Weight>100</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Attack Type="GETUP_KB" />
</Moves>
</Technique>
<Technique>
<Name>GetupFront</Name>
<Flags>Interruptible GenerousDir</Flags>
<Weight>80</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Maneuver Type="GetUpForward" Duration="0.5" />
<Position Type="StartToCrouch" />
<Maneuver Type="BarabasWave" MaxRange="60" />
</Moves>
</Technique>
<Technique>
<Name>GetupRight</Name>
<Flags>Interruptible GenerousDir</Flags>
<Weight>80</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Maneuver Type="GetUpRollRight" Duration="0.5" />
<Position Type="StartToCrouch" />
<Maneuver Type="BarabasWave" MaxRange="60" />
</Moves>
</Technique>
<Technique>
<Name>Throw_Behind_1</Name>
<Flags></Flags>
<Weight>100</Weight>
<Importance>10</Importance>
<RepeatDelay>60</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="40" ToleranceRange="20" />
<Throw Type="P_Behind" />
</Moves>
</Technique>
<Technique>
<Name>Throw_Behind_2</Name>
<Flags></Flags>
<Weight>100</Weight>
<Importance>10</Importance>
<RepeatDelay>60</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="40" ToleranceRange="20" />
<Throw Type="P_Behind" />
</Moves>
</Technique>
<Technique>
<Name>Run_Throw_Behind</Name>
<Flags>Interruptible</Flags>
<Weight>50</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Position Type="RunForward" MinRunInDist="0" MaxRunInDist="10" ToleranceRange="30" />
<Throw Type="RP_Behind" />
</Moves>
</Technique>
<Technique>
<Name>Punch_Bk</Name>
<Flags></Flags>
<Weight>100</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Position Type="CloseBack" MinRunInDist="0" MaxRunInDist="5" ToleranceRange="0" />
<Attack Type="PB" />
</Moves>
</Technique>
<Technique>
<Name>Punch_Lt</Name>
<Flags>GenerousDir</Flags>
<Weight>100</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Position Type="CloseLeft" MinRunInDist="0" MaxRunInDist="5" ToleranceRange="5" />
<Attack Type="PL" />
</Moves>
</Technique>
<Technique>
<Name>Punch_Rt</Name>
<Flags>GenerousDir</Flags>
<Weight>100</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Position Type="CloseRight" MinRunInDist="0" MaxRunInDist="5" ToleranceRange="5" />
<Attack Type="PR" />
</Moves>
</Technique>
<Technique>
<Name>Run_Throw</Name>
<Flags>Interruptible</Flags>
<Weight>100</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Position Type="RunForward" MinRunInDist="0" MaxRunInDist="60" ToleranceRange="40" />
<Throw Type="RP_Front" />
</Moves>
</Technique>
<Technique>
<Name>Throw_Front</Name>
<Flags>Interruptible</Flags>
<Weight>75</Weight>
<Importance>10</Importance>
<RepeatDelay>180</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="10" ToleranceRange="5" />
<Throw Type="P_Front" />
</Moves>
</Technique>
<Technique>
<Name>Punch_Cmbo</Name>
<Flags>Interruptible</Flags>
<Weight>50</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="10" ToleranceRange="0" />
<Attack Type="P" />
<Attack Type="PP" />
<Attack Type="PPP" />
</Moves>
</Technique>
<Technique>
<Name>Punch_Kick_Feint</Name>
<Flags>Interruptible</Flags>
<Weight>50</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="10" ToleranceRange="0" />
<Attack Type="P" />
<Attack Type="K" />
<Position Type="Crouch" />
<Attack Type="C_K1" />
</Moves>
</Technique>
<Technique>
<Name>Punch_Low</Name>
<Flags>Interruptible</Flags>
<Weight>15</Weight>
<Importance>10</Importance>
<RepeatDelay>60</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="5" ToleranceRange="0" />
<Attack Type="PD" />
</Moves>
</Technique>
<Technique>
<Name>Punch_Special</Name>
<Flags>GenerousDir</Flags>
<Weight>100</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Maneuver Type="Retreat" Duration="1E-08" MaxRange="15" ThresholdRange="0" />
<Maneuver Type="Advance" Duration="1E-08" MinRange="10" ThresholdRange="0" />
<Maneuver Type="Pause" Duration="0.1" />
<Position Type="StartToCrouch" />
<Attack Type="CS_P" />
</Moves>
</Technique>
<Technique>
<Name>Kick_Special</Name>
<Flags>GenerousDir</Flags>
<Weight>100</Weight>
<Importance>10</Importance>
<RepeatDelay>120</RepeatDelay>
<Moves>
<Position Type="StartToCrouch" />
<Maneuver Type="BarabasWave" MaxRange="60" />
</Moves>
</Technique>
<Technique>
<Name>Crouch_Punch_Fw</Name>
<Flags>Interruptible</Flags>
<Weight>30</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="5" ToleranceRange="0" />
<Position Type="Crouch" />
<Attack Type="C_PF" />
</Moves>
</Technique>
<Technique>
<Name>Kick_Fw</Name>
<Flags>Interruptible</Flags>
<Weight>50</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="10" ToleranceRange="0" />
<Attack Type="KF" />
</Moves>
</Technique>
<Technique>
<Name>Sweep</Name>
<Flags>Interruptible</Flags>
<Weight>15</Weight>
<Importance>10</Importance>
<RepeatDelay>120</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="5" ToleranceRange="5" />
<Position Type="Crouch" />
<Attack Type="C_K1" />
</Moves>
</Technique>
<Technique>
<Name>Crouch_Kick_Fw</Name>
<Flags>Interruptible</Flags>
<Weight>30</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="5" ToleranceRange="0" />
<Position Type="Crouch" />
<Attack Type="C_KF" />
</Moves>
</Technique>
<Technique>
<Name>Kick_Low</Name>
<Flags>Interruptible</Flags>
<Weight>15</Weight>
<Importance>10</Importance>
<RepeatDelay>120</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="5" ToleranceRange="0" />
<Attack Type="KD" />
</Moves>
</Technique>
<Technique>
<Name>Run_Kick</Name>
<Flags>Interruptible</Flags>
<Weight>30</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Position Type="RunForward" MinRunInDist="10" MaxRunInDist="60" ToleranceRange="10" />
<Attack Type="R_K" />
</Moves>
</Technique>
<Technique>
<Name>Crouch</Name>
<Flags>Interruptible</Flags>
<Weight>75</Weight>
<Importance>10</Importance>
<RepeatDelay>120</RepeatDelay>
<Moves>
<Maneuver Type="Crouch" Duration="0.1" />
<Maneuver Type="RandomStop" Chance="30" />
<Maneuver Type="Crouch" Duration="0.1" />
<Maneuver Type="RandomStop" Chance="60" />
<Maneuver Type="Crouch" Duration="0.1" />
</Moves>
</Technique>
<Technique>
<Name>Taunt</Name>
<Flags>Interruptible</Flags>
<Weight>100</Weight>
<Importance>10</Importance>
<RepeatDelay>1200</RepeatDelay>
<Moves>
<Maneuver Type="Advance" Duration="1E-08" MinRange="50" ThresholdRange="0" />
<Maneuver Type="Pause" Duration="0.2" />
<Maneuver Type="Jump" Duration="0.1" />
<Maneuver Type="Pause" Duration="0.7" />
<Maneuver Type="Jump" Duration="0.1" />
<Maneuver Type="Retreat" Duration="0.9" MaxRange="70" ThresholdRange="0" />
</Moves>
</Technique>
</Attacks>
<Evades>
<Technique>
<Name>Roll Back</Name>
<Flags></Flags>
<Weight>80</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Evade Type="RollBackward" />
</Moves>
</Technique>
<Technique>
<Name>Roll Left</Name>
<Flags></Flags>
<Weight>40</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Evade Type="RollLeft" />
</Moves>
</Technique>
<Technique>
<Name>Roll Right</Name>
<Flags></Flags>
<Weight>40</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Evade Type="RollRight" />
</Moves>
</Technique>
<Technique>
<Name>Roll Forward</Name>
<Flags></Flags>
<Weight>40</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Evade Type="RollForward" />
</Moves>
</Technique>
</Evades>
<Maneuvers />
</OSD>
</MELE>
if it's not installed it should remove this
<MELE Id="8310">
<Header>
<Flags></Flags>
<Position>140.253983 -15.2457275 -64.63251</Position>
<Rotation>0 0 0</Rotation>
</Header>
<OSD>
<MeleeId>25</MeleeId>
<Name>BARABAS TCTF D</Name>
<CharacterClass>barabus</CharacterClass>
<Notice>100</Notice>
<Dodge>
<Base>30</Base>
<Extra>25</Extra>
<ExtraDamageThreshold>20</ExtraDamageThreshold>
</Dodge>
<BlockSkill>
<Single>75</Single>
<Group>75</Group>
</BlockSkill>
<NotBlocked>2</NotBlocked>
<MustChangeStance>1.2</MustChangeStance>
<BlockedButUnblockable>1.5</BlockedButUnblockable>
<BlockedButHasStagger>1.2</BlockedButHasStagger>
<BlockedButHasBlockstun>0.7</BlockedButHasBlockstun>
<Blocked>0.5</Blocked>
<ThrowDanger>2</ThrowDanger>
<DazedMinFrames>60</DazedMinFrames>
<DazedMaxFrames>100</DazedMaxFrames>
<Attacks>
<Technique>
<Name>Getup Kick Front</Name>
<Flags></Flags>
<Weight>80</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Attack Type="GETUP_KF" />
</Moves>
</Technique>
<Technique>
<Name>Getup Kick Back</Name>
<Flags></Flags>
<Weight>80</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Attack Type="GETUP_KB" />
</Moves>
</Technique>
<Technique>
<Name>Punch Cmbo</Name>
<Flags>Interruptible</Flags>
<Weight>70</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="12" ToleranceRange="2" />
<Attack Type="P" />
<Attack Type="PP" />
<Attack Type="PPP" />
<Maneuver Type="Pause" Duration="0.3" />
</Moves>
</Technique>
<Technique>
<Name>Kick Cmbo</Name>
<Flags>Interruptible</Flags>
<Weight>70</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="12" ToleranceRange="2" />
<Attack Type="K" />
<Attack Type="KK" />
<Attack Type="KKK" />
<Maneuver Type="Pause" Duration="0.3" />
</Moves>
</Technique>
<Technique>
<Name>Body Crush</Name>
<Flags></Flags>
<Weight>60</Weight>
<Importance>120</Importance>
<RepeatDelay>120</RepeatDelay>
<Moves>
<Position Type="RunForward" MinRunInDist="4" MaxRunInDist="20" ToleranceRange="4" />
<Throw Type="RP_Behind" />
</Moves>
</Technique>
<Technique>
<Name>Run Shoulder Slam</Name>
<Flags></Flags>
<Weight>50</Weight>
<Importance>120</Importance>
<RepeatDelay>120</RepeatDelay>
<Moves>
<Position Type="RunForward" MinRunInDist="12" MaxRunInDist="20" ToleranceRange="3" />
<Attack Type="R_K" />
</Moves>
</Technique>
<Technique>
<Name>Run Shoulder Left</Name>
<Flags></Flags>
<Weight>40</Weight>
<Importance>120</Importance>
<RepeatDelay>120</RepeatDelay>
<Moves>
<Position Type="RunLeft" MinRunInDist="10" MaxRunInDist="20" ToleranceRange="4.5" />
<Attack Type="RL_K" />
</Moves>
</Technique>
<Technique>
<Name>Run Shoulder Right</Name>
<Flags></Flags>
<Weight>40</Weight>
<Importance>120</Importance>
<RepeatDelay>120</RepeatDelay>
<Moves>
<Position Type="RunRight" MinRunInDist="10" MaxRunInDist="20" ToleranceRange="4.5" />
<Attack Type="RR_K" />
</Moves>
</Technique>
<Technique>
<Name>run back elbow</Name>
<Flags></Flags>
<Weight>30</Weight>
<Importance>10</Importance>
<RepeatDelay>120</RepeatDelay>
<Moves>
<Position Type="RunBack" MinRunInDist="8" MaxRunInDist="15" ToleranceRange="3.5" />
<Attack Type="RB_P" />
</Moves>
</Technique>
<Technique>
<Name>Forward Kick</Name>
<Flags></Flags>
<Weight>30</Weight>
<Importance>120</Importance>
<RepeatDelay>120</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="8" ToleranceRange="3.5" />
<Attack Type="KF" />
</Moves>
</Technique>
<Technique>
<Name>Body Throw</Name>
<Flags></Flags>
<Weight>30</Weight>
<Importance>360</Importance>
<RepeatDelay>600</RepeatDelay>
<Moves>
<Position Type="RunForward" MinRunInDist="4" MaxRunInDist="20" ToleranceRange="4" />
<Throw Type="RP_Front" />
<Maneuver Type="Pause" Duration="0.2" />
</Moves>
</Technique>
<Technique>
<Name>Disarm</Name>
<Flags></Flags>
<Weight>30</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="8" ToleranceRange="3.5" />
<Throw Type="P_FrontDisarm" />
</Moves>
</Technique>
<Technique>
<Name>Stomp</Name>
<Flags></Flags>
<Weight>20</Weight>
<Importance>10</Importance>
<RepeatDelay>120</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="4" MaxRunInDist="10" ToleranceRange="4" />
<Attack Type="KD" />
</Moves>
</Technique>
<Technique>
<Name>Kick Right</Name>
<Flags></Flags>
<Weight>10</Weight>
<Importance>180</Importance>
<RepeatDelay>10</RepeatDelay>
<Moves>
<Position Type="CloseRight" MinRunInDist="0" MaxRunInDist="8" ToleranceRange="3.5" />
<Attack Type="PR" />
</Moves>
</Technique>
<Technique>
<Name>Kick Left</Name>
<Flags></Flags>
<Weight>10</Weight>
<Importance>180</Importance>
<RepeatDelay>10</RepeatDelay>
<Moves>
<Position Type="CloseLeft" MinRunInDist="0" MaxRunInDist="8" ToleranceRange="3.5" />
<Attack Type="KL" />
</Moves>
</Technique>
<Technique>
<Name>Kick Behind</Name>
<Flags></Flags>
<Weight>10</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Position Type="CloseBack" MinRunInDist="0" MaxRunInDist="8" ToleranceRange="4" />
<Attack Type="KB" />
</Moves>
</Technique>
<Technique>
<Name>Retreat</Name>
<Flags>Interruptible</Flags>
<Weight>10</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Maneuver Type="Retreat" Duration="1.1" MaxRange="25" ThresholdRange="8" />
</Moves>
</Technique>
<Technique>
<Name>Disarm Behind</Name>
<Flags></Flags>
<Weight>10</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Throw Type="P_BehindDisarm" />
</Moves>
</Technique>
<Technique>
<Name>Grab-N-Punch</Name>
<Flags></Flags>
<Weight>10</Weight>
<Importance>360</Importance>
<RepeatDelay>360</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="8" ToleranceRange="3.5" />
<Throw Type="P_Front" />
<Maneuver Type="Pause" Duration="0.5" />
</Moves>
</Technique>
<Technique>
<Name>Circle Left X</Name>
<Flags></Flags>
<Weight>10</Weight>
<Importance>360</Importance>
<RepeatDelay>360</RepeatDelay>
<Moves>
<Maneuver Type="CircleLeft" Duration="0.7" MinAngle="0" MaxAngle="270" />
<Maneuver Type="RandomStop" Chance="50" />
<Maneuver Type="CircleLeft" Duration="0.7" MinAngle="0" MaxAngle="270" />
<Maneuver Type="RandomStop" Chance="50" />
<Maneuver Type="CircleLeft" Duration="0.7" MinAngle="0" MaxAngle="270" />
</Moves>
</Technique>
<Technique>
<Name>Circle Right X</Name>
<Flags></Flags>
<Weight>10</Weight>
<Importance>360</Importance>
<RepeatDelay>360</RepeatDelay>
<Moves>
<Maneuver Type="CircleRight" Duration="0.7" MinAngle="0" MaxAngle="90" />
<Maneuver Type="RandomStop" Chance="50" />
<Maneuver Type="CircleRight" Duration="0.7" MinAngle="0" MaxAngle="90" />
<Maneuver Type="RandomStop" Chance="50" />
<Maneuver Type="CircleRight" Duration="0.7" MinAngle="0" MaxAngle="90" />
</Moves>
</Technique>
<Technique>
<Name>Sonic Stomp</Name>
<Flags></Flags>
<Weight>10</Weight>
<Importance>10</Importance>
<RepeatDelay>600</RepeatDelay>
<Moves>
<Maneuver Type="Crouch" Duration="0.35" />
<Position Type="StartToCrouch" />
<Maneuver Type="BarabasWave" MaxRange="25" />
</Moves>
</Technique>
</Attacks>
<Evades>
<Technique>
<Name>Jump Back</Name>
<Flags></Flags>
<Weight>80</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Evade Type="JumpBack" />
</Moves>
</Technique>
<Technique>
<Name>Jump Left</Name>
<Flags></Flags>
<Weight>40</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Evade Type="JumpLeft" />
</Moves>
</Technique>
<Technique>
<Name>Jump Right</Name>
<Flags></Flags>
<Weight>40</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Evade Type="JumpRight" />
</Moves>
</Technique>
</Evades>
<Maneuvers />
</OSD>
</MELE>
then add this (Smart Barabas melee profile)
<MELE Id="8310">
<Header>
<Flags></Flags>
<Position>140.253983 -15.2457275 -64.63251</Position>
<Rotation>0 0 0</Rotation>
</Header>
<OSD>
<MeleeId>25</MeleeId>
<Name>BARABAS TCTF D</Name>
<CharacterClass>barabus</CharacterClass>
<Notice>100</Notice>
<Dodge>
<Base>100</Base>
<Extra>100</Extra>
<ExtraDamageThreshold>5</ExtraDamageThreshold>
</Dodge>
<BlockSkill>
<Single>30</Single>
<Group>25</Group>
</BlockSkill>
<NotBlocked>2</NotBlocked>
<MustChangeStance>1.2</MustChangeStance>
<BlockedButUnblockable>1.5</BlockedButUnblockable>
<BlockedButHasStagger>1.2</BlockedButHasStagger>
<BlockedButHasBlockstun>0.7</BlockedButHasBlockstun>
<Blocked>0.9</Blocked>
<ThrowDanger>10</ThrowDanger>
<DazedMinFrames>60</DazedMinFrames>
<DazedMaxFrames>100</DazedMaxFrames>
<Attacks>
<Technique>
<Name>GetupAttackForward</Name>
<Flags></Flags>
<Weight>100</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Attack Type="GETUP_KF" />
<Evade Type="RollBackward" />
</Moves>
</Technique>
<Technique>
<Name>GetupBack</Name>
<Flags>Interruptible GenerousDir</Flags>
<Weight>80</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Maneuver Type="GetUpBackward" Duration="0.1" />
<Throw Type="P_Front" />
<Evade Type="RollLeft" />
</Moves>
</Technique>
<Technique>
<Name>GetupLeft</Name>
<Flags>Interruptible GenerousDir</Flags>
<Weight>80</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Maneuver Type="GetUpRollLeft" Duration="0.1" />
<Throw Type="P_Front" />
<Evade Type="RollLeft" />
</Moves>
</Technique>
<Technique>
<Name>GetupAttackBackward</Name>
<Flags></Flags>
<Weight>100</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Attack Type="GETUP_KB" />
<Evade Type="RollBackward" />
</Moves>
</Technique>
<Technique>
<Name>GetupFront</Name>
<Flags>Interruptible GenerousDir</Flags>
<Weight>80</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Maneuver Type="GetUpForward" Duration="0.1" />
<Throw Type="P_Front" />
<Evade Type="RollBackward" />
</Moves>
</Technique>
<Technique>
<Name>GetupRight</Name>
<Flags>Interruptible GenerousDir</Flags>
<Weight>80</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Maneuver Type="GetUpRollRight" Duration="0.1" />
<Throw Type="P_Front" />
<Evade Type="RollRight" />
</Moves>
</Technique>
<Technique>
<Name>Throw_Behind</Name>
<Flags></Flags>
<Weight>100</Weight>
<Importance>10</Importance>
<RepeatDelay>60</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="40" ToleranceRange="20" />
<Throw Type="P_Behind" />
<Position Type="StartToCrouch" />
<Maneuver Type="BarabasWave" MaxRange="60" />
</Moves>
</Technique>
<Technique>
<Name>Run_Throw_Behind</Name>
<Flags>Interruptible</Flags>
<Weight>50</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Position Type="RunForward" MinRunInDist="0" MaxRunInDist="10" ToleranceRange="30" />
<Throw Type="RP_Behind" />
<Position Type="StartToCrouch" />
<Maneuver Type="BarabasWave" MaxRange="60" />
</Moves>
</Technique>
<Technique>
<Name>Punch_Bk</Name>
<Flags></Flags>
<Weight>100</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Position Type="CloseBack" MinRunInDist="0" MaxRunInDist="5" ToleranceRange="0" />
<Attack Type="PB" />
</Moves>
</Technique>
<Technique>
<Name>Punch_Lt</Name>
<Flags>GenerousDir</Flags>
<Weight>100</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Position Type="CloseLeft" MinRunInDist="0" MaxRunInDist="5" ToleranceRange="5" />
<Attack Type="PL" />
</Moves>
</Technique>
<Technique>
<Name>Punch_Rt</Name>
<Flags>GenerousDir</Flags>
<Weight>100</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Position Type="CloseRight" MinRunInDist="0" MaxRunInDist="5" ToleranceRange="5" />
<Attack Type="PR" />
</Moves>
</Technique>
<Technique>
<Name>Run_Throw</Name>
<Flags>Interruptible</Flags>
<Weight>100</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Position Type="RunForward" MinRunInDist="0" MaxRunInDist="60" ToleranceRange="40" />
<Throw Type="RP_Front" />
</Moves>
</Technique>
<Technique>
<Name>Throw_Front</Name>
<Flags>Interruptible</Flags>
<Weight>100</Weight>
<Importance>10</Importance>
<RepeatDelay>1800</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="10" ToleranceRange="5" />
<Throw Type="P_Front" />
</Moves>
</Technique>
<Technique>
<Name>Punch_Cmbo</Name>
<Flags>Interruptible</Flags>
<Weight>50</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="15" ToleranceRange="5" />
<Attack Type="P" />
<Attack Type="PP" />
<Attack Type="PPP" />
</Moves>
</Technique>
<Technique>
<Name>Punch_Kick_Feint</Name>
<Flags>Interruptible</Flags>
<Weight>50</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="10" ToleranceRange="0" />
<Attack Type="P" />
<Attack Type="K" />
<Position Type="Crouch" />
<Attack Type="C_K1" />
</Moves>
</Technique>
<Technique>
<Name>Punch_Low</Name>
<Flags>Interruptible</Flags>
<Weight>15</Weight>
<Importance>10</Importance>
<RepeatDelay>60</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="5" ToleranceRange="0" />
<Attack Type="PD" />
</Moves>
</Technique>
<Technique>
<Name>Kick_Combo</Name>
<Flags>Interruptible</Flags>
<Weight>50</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="15" ToleranceRange="5" />
<Attack Type="K" />
<Attack Type="KK" />
<Attack Type="KF" />
</Moves>
</Technique>
<Technique>
<Name>Kick_Special</Name>
<Flags>GenerousDir</Flags>
<Weight>25</Weight>
<Importance>10</Importance>
<RepeatDelay>3600</RepeatDelay>
<Moves>
<Position Type="StartToCrouch" />
<Maneuver Type="BarabasWave" MaxRange="40" />
</Moves>
</Technique>
<Technique>
<Name>Crouch_Punch_Fw</Name>
<Flags>Interruptible</Flags>
<Weight>30</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="5" ToleranceRange="0" />
<Position Type="Crouch" />
<Attack Type="C_PF" />
</Moves>
</Technique>
<Technique>
<Name>Kick_Fw</Name>
<Flags>Interruptible</Flags>
<Weight>50</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="10" ToleranceRange="0" />
<Attack Type="KF" />
</Moves>
</Technique>
<Technique>
<Name>Sweep</Name>
<Flags>Interruptible</Flags>
<Weight>15</Weight>
<Importance>10</Importance>
<RepeatDelay>120</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="5" ToleranceRange="5" />
<Position Type="Crouch" />
<Attack Type="C_K1" />
</Moves>
</Technique>
<Technique>
<Name>Crouch_Kick_Fw</Name>
<Flags>Interruptible</Flags>
<Weight>30</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="5" ToleranceRange="0" />
<Position Type="Crouch" />
<Attack Type="C_KF" />
</Moves>
</Technique>
<Technique>
<Name>Kick_Low</Name>
<Flags>Interruptible</Flags>
<Weight>15</Weight>
<Importance>10</Importance>
<RepeatDelay>120</RepeatDelay>
<Moves>
<Position Type="CloseForward" MinRunInDist="0" MaxRunInDist="5" ToleranceRange="0" />
<Attack Type="KD" />
</Moves>
</Technique>
<Technique>
<Name>Run_Kick</Name>
<Flags>Interruptible</Flags>
<Weight>50</Weight>
<Importance>10</Importance>
<RepeatDelay>300</RepeatDelay>
<Moves>
<Position Type="RunForward" MinRunInDist="10" MaxRunInDist="60" ToleranceRange="10" />
<Attack Type="R_K" />
</Moves>
</Technique>
<Technique>
<Name>Jump_Right</Name>
<Flags></Flags>
<Weight>75</Weight>
<Importance>10</Importance>
<RepeatDelay>600</RepeatDelay>
<Moves>
<Maneuver Type="Retreat" Duration="1E-08" MaxRange="25" ThresholdRange="0" />
<Maneuver Type="Pause" Duration="0.2" />
<Maneuver Type="Jump" Duration="0.1" />
<Maneuver Type="CircleRight" Duration="1" MinAngle="0" MaxAngle="360" />
</Moves>
</Technique>
<Technique>
<Name>Jump_Back</Name>
<Flags></Flags>
<Weight>50</Weight>
<Importance>10</Importance>
<RepeatDelay>600</RepeatDelay>
<Moves>
<Maneuver Type="Retreat" Duration="1E-08" MaxRange="25" ThresholdRange="0" />
<Maneuver Type="Pause" Duration="0.2" />
<Maneuver Type="Jump" Duration="0.1" />
<Maneuver Type="Retreat" Duration="1" MaxRange="70" ThresholdRange="0" />
</Moves>
</Technique>
<Technique>
<Name>Jump_Left</Name>
<Flags></Flags>
<Weight>75</Weight>
<Importance>10</Importance>
<RepeatDelay>600</RepeatDelay>
<Moves>
<Maneuver Type="Retreat" Duration="1E-08" MaxRange="25" ThresholdRange="0" />
<Maneuver Type="Pause" Duration="0.2" />
<Maneuver Type="Jump" Duration="0.1" />
<Maneuver Type="CircleLeft" Duration="1" MinAngle="0" MaxAngle="360" />
</Moves>
</Technique>
</Attacks>
<Evades>
<Technique>
<Name>Roll Back</Name>
<Flags>Interruptible</Flags>
<Weight>100</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Evade Type="RollBackward" />
</Moves>
</Technique>
<Technique>
<Name>Roll Left</Name>
<Flags>Interruptible</Flags>
<Weight>100</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Evade Type="RollLeft" />
</Moves>
</Technique>
<Technique>
<Name>Roll Right</Name>
<Flags>Interruptible</Flags>
<Weight>100</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Evade Type="RollRight" />
</Moves>
</Technique>
<Technique>
<Name>Roll Forward</Name>
<Flags>Interruptible</Flags>
<Weight>10</Weight>
<Importance>10</Importance>
<RepeatDelay>0</RepeatDelay>
<Moves>
<Evade Type="RollForward" />
</Moves>
</Technique>
<Technique>
<Name>Jump Forward</Name>
<Flags>Interruptible</Flags>
<Weight>10</Weight>
<Importance>10</Importance>
<RepeatDelay>600</RepeatDelay>
<Moves>
<Evade Type="JumpForward" />
</Moves>
</Technique>
<Technique>
<Name>Jump Back</Name>
<Flags>Interruptible</Flags>
<Weight>10</Weight>
<Importance>10</Importance>
<RepeatDelay>600</RepeatDelay>
<Moves>
<Evade Type="JumpBack" />
</Moves>
</Technique>
<Technique>
<Name>Jump Left</Name>
<Flags>Interruptible</Flags>
<Weight>10</Weight>
<Importance>10</Importance>
<RepeatDelay>600</RepeatDelay>
<Moves>
<Evade Type="JumpLeft" />
</Moves>
</Technique>
<Technique>
<Name>Jump Right</Name>
<Flags>Interruptible</Flags>
<Weight>10</Weight>
<Importance>10</Importance>
<RepeatDelay>600</RepeatDelay>
<Moves>
<Evade Type="JumpRight" />
</Moves>
</Technique>
<Technique>
<Name>Run Jump Forward</Name>
<Flags>Interruptible</Flags>
<Weight>10</Weight>
<Importance>10</Importance>
<RepeatDelay>600</RepeatDelay>
<Moves>
<Evade Type="RunJumpForward" />
</Moves>
</Technique>
<Technique>
<Name>Run Jump Back</Name>
<Flags>Interruptible</Flags>
<Weight>10</Weight>
<Importance>10</Importance>
<RepeatDelay>600</RepeatDelay>
<Moves>
<Evade Type="RunJumpBack" />
</Moves>
</Technique>
<Technique>
<Name>Run Jump Left</Name>
<Flags>Interruptible</Flags>
<Weight>10</Weight>
<Importance>10</Importance>
<RepeatDelay>600</RepeatDelay>
<Moves>
<Evade Type="RunJumpLeft" />
</Moves>
</Technique>
<Technique>
<Name>Run Jump Right</Name>
<Flags>Interruptible</Flags>
<Weight>10</Weight>
<Importance>10</Importance>
<RepeatDelay>600</RepeatDelay>
<Moves>
<Evade Type="RunJumpRight" />
</Moves>
</Technique>
</Evades>
<Maneuvers />
</OSD>
</MELE>
the purpose is if player only wants Smart Barabas but the other AI not affected he can install this patch .. the patch will then remove the barabas vanilla melee and then add the Smart Barabas section instead. will also work if he installs Brutal Konoko mod which has vanilla melee profiles for all characters including barabas except konoko.
if the player wants Smart Barabas + brutal AI (affecting other characters) he will install brutal AI pack the patch then will also remove Brutal Barabas's section add add Smart Barabas instead.
so what I want is to be able to remove all lines between <MELE Id="8310"> and first </MELE> flag regardless of what the lines are or how many they are, because the lines in between are different between Brutal Konoko\Vanilla Melee and Brutal AI.
the files : https://dl.dropboxusercontent.com/u/226 … ofiles.zip the file in question is BINACJBOMelee Profile
]]>