Template:HEXheader: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
Legate (talk | contribs)
Created page with "<includeonly>{| class="wikitable" |- ! colspan=99 | Hex String (Start: {{{1}}}, End: {{{2}}}) |- | colspan=99 | {{{3}}} |- ! colspan=99 | Description</includeonly><noinclude> == Issues == # Template parameters don't seem to accept spans. == Usage == For use with Template: HEXrow # Starting Hex address # Ending Hex address # Hex string == Example == {{HEXheader|{{unk}}|{{unk}}|<span style="color:orange">GG</span>000000 <span style="color:lightgreen">RR</span>0000..."
 
Legate (talk | contribs)
mNo edit summary
 
Line 19: Line 19:


== Example ==
== Example ==
{{HEXheader|{{unk}}|{{unk}}|<span style="color:orange">GG</span>000000 <span style="color:lightgreen">RR</span>000000 <span style="color:blue">HH</span>000000 <span style="color:green">SO</span>000000 <span style="color:turquoise">OL</span>000000 <span style="color:teal">ST</span>000000 <span style="color:pink">TL</span>000000 <span style="color:brown">SB</span>000000 <span style="color:grey">SP</span>000000 <span style="color:gold">U1</span>000000 <span style="color:gold">U2</span>000000 <span style="color:gold">U3</span>000000 PS000000 PL000000 <span style="color:silver">R0 </span><span style="color:silver">AS </span><span style="color:silver">CO</span> 00}}
{{HEXheader|0x01|0xAA45BCDE|123456}}
{{HEXrow|c=orange   |GG| Gender: 00 is male, 01 is female.}}
{{HEXrow|c=lightgreen|RR| [[Hero race|Race]]. These are listed alphabetically, from Demon to Vampire. This has no in-game effect or visibility and the extensions preferred to default everyone to human, except [[Gelu]] who gets to be an elf.}}
{{HEXrow|c=blue     |HH| Classes go in order of factions, and within a faction the might class is listed first. Therefore, 00: Knight, 01: Cleric, 02: Ranger, 03: Druid, etc. Note, that HotA classes essentially "follow" this encoding.}}
|}
|}


[[Category: Table templates]]</noinclude>
[[Category: Table templates]]</noinclude>

Latest revision as of 19:53, 15 May 2025


Issues[edit | hide | hide all]

  1. Template parameters don't seem to accept spans.

Usage[edit | hide]

For use with Template: HEXrow

  1. Starting Hex address
  2. Ending Hex address
  3. Hex string

Example[edit | hide]

Hex String (Start: 0x01, End: 0xAA45BCDE)
123456
Description
GG Gender: 00 is male, 01 is female.
RR Race. These are listed alphabetically, from Demon to Vampire. This has no in-game effect or visibility and the extensions preferred to default everyone to human, except Gelu who gets to be an elf.
HH Classes go in order of factions, and within a faction the might class is listed first. Therefore, 00: Knight, 01: Cleric, 02: Ranger, 03: Druid, etc. Note, that HotA classes essentially "follow" this encoding.