Heroes.reld
From OHRRPGCE-Wiki
A RELOAD format lump for storage of hero definitions.
This lump replaced DT0 in all versions after Dec 21 2012. (CURRENT_RPG_VERSION >= 19)
- 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
- walkabout
- default_level int - value is level number. Use default if node is not present
- default_weapon int - item id number
- stats_at_zero - contains stats at level 0
- stat int - one node for each stat. value is stat ID number 0-11
- value int - value for this stat
- stat int - one node for each stat. value is stat ID number 0-11
- stats_at_max - contains stats at max level (often, but not always level 99)
- stat int - one node for each stat. value is stat ID number 0-11
- value int - value for this stat
- stat int - one node for each stat. value is stat ID number 0-11
- battle_menus - stores the hero's battle menu data
- menu - one for each hero battle menu slot.
- kind only has one child node. The valid options are listed below
- weapon - if this node is present, this is the attack specified by the hero's equipped weapon
- attack int - if this node is present, this is an attack. Value is 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
- caption string - the text of the of menu item. If blank or missing the default is used (the attack or spell list name, or the "Items" global string) (This is a WIP feature)
- color int - the text color, in the master palette. 0 or missing indicates to use the default, uilook(uiText). (This is a WIP feature)
- enable_tag1 int - if this tag check fails the menu option will be disabled. >= 0 is ON, < 0 is OFF. If not present, default 0 meaning "always" (This is a WIP feature)
- enable_tag2 int - same as above (This is a WIP feature)
- hide_disabled bool - if nonzero, indicates that if the menu item is disabled, it should be hidden instead of just unselectable. Spell lists with blank names are always hidden regardless, but all other things that disable a menu item (e.g. attack costs) do respect this. (This is a WIP feature)
- kind only has one child node. The valid options are listed below
- menu - one for each hero battle menu slot.
- spell_lists - Container for spell lists
- 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
- spell int - one node for each defined spell. value is id 0-23
- 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
- list int - one node for each spell list 0-3. value is list id number. Empty lists are not present.
- elements - stores the hero's elemental strengths and weaknesses
- element int - an element; value is ID number. Element nodes not present will use the default of 1.0
- damage double - damage taken from this element (1.0 = 100% normal)
- element int - an element; value is ID number. Element nodes not present will use the default of 1.0
- 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
- stat_options customize the display of stats
- stat int - zero or more nodes for containing stat options. The value is the stat ID number. If a stat has no node, it uses defaults
- hide - if this node is present, the stat should be hidden from this hero's status and equip screens
- stat int - zero or more nodes for containing stat options. The value is the stat ID number. If a stat has no node, it uses defaults
- name string
- hero int - one node for each hero. value is id number
ARCHINYM.LMP . ATTACK.BIN . BINSIZE.BIN . BROWSE.TXT . DEFPAL#.BIN . DEFPASS.BIN . distrib.reld . FIXBITS.BIN . heroes.reld . heroform.reld . LOOKUP1.BIN . MENUS.BIN . MENUITEM.BIN . PALETTES.BIN . PLOTSCR.LST . SFXDATA.BIN . slicetree_#_#.reld . SLICELOOKUP.TXT . SONGDATA.BIN . UICOLORS.BIN . GEN . general.reld . BAM . Map Format . T . P . E . D . L . N . Z . DOR . DOX . DT0 . DT1 . DT6 . EFS . FOR . FNT . HSP . HSZ . ITM . MAP . MAS . MN . MXS . PAL . PT0 . PT1 . PT2 . PT3 . PT4 . PT5 . PT6 . PT7 . PT8 . SAY . SHO . SNG . STF . STT . TAP . TIL . TMN . VEH