+ Reply to Thread
Results 1 to 3 of 3

Thread: [TUTO] Make Fight Profile (FightConfig)

  1. #1
    Administrator rival has disabled reputation
    Join Date
    Sep 2009
    Location
    France
    Posts
    403
    Blog Entries
    8

    Default [TUTO] Make Fight Profile (FightConfig)

    Profile of combat (Fight Config):

    It is necessary to know a minimum Xml, nothing complicated good: Structure d'un document XML

    The Council:
    Publish the XML file with Notepad++ and choose the XML format: Browse Notepad++ Files on SourceForge.net

    Profile of combat (Fight Config): To manage the spells and buffs

    Profiles of engagements this place in the dir “Fight”.

    Here is an example of structure:

    HTML Code:
    <?xml version="1.0"encoding="utf-8"?>
    
    <meta http-equiv="Content-Type"content="text/html; charset=UTF-8">
    <config_fight xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <fightprofil>
      
    <profil> <!-- Profile number 1 (for the lvl X with X--> 
        <min_level>Minimum Level of the zone</min_level>
        <max_level>Maximum level of the zone</max_level>
        <range> Distance from combat </range>
        <type> Mana, Rage, Energy, Rune </type>
    
    
      <use_pet>true</use_pet> <!-- To enter this line to use familiar --> 
      <key_pet>(</key_pet> <!-- This is the short cut keyboard to call upon the familiar one --> 
    
    <spell_pull> <!-- Leaves has to launch to begin the combat --> 
          <name> Name of the Pull Spell </name>
          <key> Key of the Pull Spell (Enter the key of clavié, if you enter no value, the spell will be launched by its name) </key>
          <range> Distance (Carried) from the Pull Spell </range>
          <cost> Cost of the Pull Spell (in mana, or energy,…)</cost>
          <cooldown> Time of Refill of the Pull Spell in second </cooldown>
          <duration> Duration of the effects of the Pull Spell in second </duration>
    </spell_pull>
      
      <spells_list> <!-- Beginning of the list of the Spells--> 
    
    
        <spell> <!-- Beginning of Spell 1 --> 
    
          <name> Name of spell 1 </name>
          <key> Key of spell 1 (Enter the key of clavié, if you enter no value, the spell will be launched by its name) </key>
          <range> Distance (Carried) from spell 1 </range>
          <cost> Cost of spell 1 (in mana, or energy,…)</cost>
          <cooldown> Time of Refill of spell 1 in second </cooldown>
          <duration> Duration of the effects of spell 1 in second </duration>
          <max_health> Maximum Life to launch the spell Sort 1 (If you enter 50, the character will launch this spell that if it with less than 50% of points of life) </max_health>
          <max_health_target> Maximum Life of the target to launch the spell Sort 1 (If you enter 30, the character will launch this spell that if the target with less than 30% of points of life) </max_health_target>
       
        </spell><!--End of Spell 1 --> 
    
        
    <meta http-equiv="Content-Type"content="text/html; charset=UTF-8">
    <spell> <!-- Beginning of Spell 2 --> 
    
          <name> Name of spell 2 </name>
          <key> Key of spell 2 (Enter the key of the keyboard, if you enter no value, the spell will be launched by its name) </key>
          <range> Distance (Carried) from spell 2 </range>
          <cost> Cost of spell 2 (in mana, or energy,…)</cost>
          <cooldown> Time of Refill of spell 2 in second </cooldown>
          <duration> Duration of the effects of spell 2 in second </duration>
          <max_health> Maximum Life to launch the spell Sort 2 (If you enter 50, the character will launch this spell that if it with less than 50% of points of life) </max_health>
          <max_health_target> Maximum Life of the target to launch the spell Sort 2 (If you enter 30, the character will launch this spell that if the target with less than 30% of points of life) </max_health_target>
    
        </spell><!--End of Spell 2 --> <!-- You can add as many spells as you want, or even delete all ;) -->  
    
      </spells_list><!-- End of list of Spell --> 
      
      
    
    
      <buffs_list> <!-- Top of the list of Buffs --> 
    
        <spell>
    
          <name> Name of Buff 1 </name>
          <key> Key of Buff 1 (Enter the key of clavié, if you enter no value, the spell will be launched by its name) </key>
          <cost> Cost of Buff 1 (in mana, or energy,…)</cost>
          <cooldown> Time of Refill of Buff 1 in second </cooldown>
          <duration> Duration of the effects of Buff 1 in second </duration>
    
        </spell>
    
    
        <spell>
    
          <name> Name of Buff 2 </name>
          <key> Key of Buff 2 (Enter the key of clavié, if you enter no value, the spell will be launched by its name) </key>
          <cost> Cost of Buff 2 (in mana, or energy,…)</cost>
          <cooldown> Time of Refill of Buff 2 in second </cooldown>
          <duration> Duration of the effects of Buff 2 in second </duration>
    
        </spell>
    
    
    <!-- You can add as many buffs as you want, or even delete all --> 
    
      </buffs_list> <!-- End of list Buffs --> 
      
      </profil><!-- Profile FIN number 1 (for lvl x to x ---> 
    
      
      
    <profil> <!-- PProfile number 2 (for lvl x to x--> 
        <min_level></min_level>
        <max_level></max_level>
        <range>..................................................
    </profil><!-- Profile FIN No. 2 (for lvl x to x--> 
      
      
      <spells_list>
      </fightprofil><!-- End of Setup--> 
    </config_fight><!-- End of Setup --> 

  2. #2
    GRB
    GRB is offline
    Junior Member GRB is on a distinguished road
    Join Date
    Sep 2009
    Posts
    29

    Default

    Ok here i have other question, Why my rogue profile cast random spells instead of it cast it on the order i create the spell list? and no i dont have a <order>Random</order>.

  3. #3
    Junior Member Gotlyfe is an unknown quantity at this point
    Join Date
    Jun 2010
    Posts
    7

    Default

    Quote Originally Posted by GRB View Post
    Ok here i have other question, Why my rogue profile cast random spells instead of it cast it on the order i create the spell list? and no i dont have a <order>Random</order>.
    Same Issue, Anyone here know whats up?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts