Heroes.reld

From OHRRPGCE-Wiki
Jump to: navigation, search
Wip.png
This article discusses a brand new feature which is not included in the latest stable version, and may not even be in the next stable version. It can, however, be found in a nightly build, which can be found on the Downloads page. If you wish to discuss this feature, feel free to use the talk page.

A RELOAD format lump intended to replace DT0 for the storage of hero definitions.

  • heroes - this is the root node
    • hero int - one node for each hero. value is id number
      • name string
        • maxlen int - max length of name when renaming. if node not present use default
      • appearance contains appearance data
        • walkabout
          • pic int - picture id
          • pal int - palette number. If not is not present use default palette for pic
        • battle
          • pic int - picture id
          • pal int - palette number. If not is not present use default palette for pic
          • hand_a - node containing hand offset data for attack frame A
            • x int - x offset of hand
            • y int - y offset of hand
          • hand_b - node containing hand offset data for attack frame B
            • x int - x offset of hand
            • y int - y offset of hand
        • portrait
          • pic int - picture id
          • pal int - palette number. If not is not present use default palette for pic
      • default_level int - value is level number, or -1 for default
      • default_weapon int - item id number
      • stats_at int - node appears twice, once with value 0 and once with value 99
        • stat int - one node for each stat. value is stat ID number 0-11
          • value int - value for this stat
      • battle_menus - stores the hero's battle menu data
        • menu int - one for each hero battle menu slot. value is slot index 0-5. Each will contain just of the following three child nodes.
          • attack int - if this node is present, this is an attack. Stores attack ID number
          • items - if this node it present, this is the item menu
          • spells int - if this node is present, this is a spell list. Value is list id 0-3
          • tag int - if this tag check passes the menu option will be visible (default "always")
      • spell_list int - one node for each spell list 0-3. value is list id number. Empty lists are not present.
        • name string - name of the spell list
        • spells - contains spells
          • spell int - one node for each defined spell. value is id 0-23
            • attack int - value is id number of attack to use for this spell
            • learnlev int - level at which the hero learns the spell. Not present if not used
            • itemlearn - node is present if the hero can learn this spell from an item
            • tag int - if this tag check passes, the spell is visible (default "always")
            • other nodes related to Plan for improved spell learning will go here later
        • random - if this node is present, an attack is automatically randomly selected from the list
        • use_lmp - if this node is present, all spells in this list require FF1-style level-based-mp
      • elements - stores the hero's elemental strengths and weaknesses
        • element int - an element; value is ID number
          • damage double - damage taken from this element (1.0 = 100% normal)
      • rename_on_add - if present, the hero is renamed when added to the party
      • rename_on_status - if present, the hero can be renamed on the status screen
      • hide_empty_lists - if present, the hero's empty spell lists are hidden
      • tags - contains tags automatically set by this hero
        • have_hero int - tag to turn ON if the hero is in the party
        • is_alive int - tag to turn ON if the hero is alive
        • is_leader int - tag to turn ON if the hero is the leader
        • is_active int - tag to turn on if the hero is a member of the active party


Personal tools