Quest Format (MHG) - GReinoso96/XXModding GitHub Wiki

Byte Description
0x00 Always seems to point to 0x48, likely safe to use as an identifier
0x04 Address of Player Start points
0x08 Address of Supply definitions
0x0C Address of Reward definitions
0x10 Address of Objective definitions
0x14 Small Monsters Address
0x18 Large Monsters Address
0x1C Zone Transition Nodes Address
0x20 Unknown, two 0x10 size entries per zone
0x24 Unknown
0x28 Address to Gathering nodes
0x2C Interactables (Uniques)
0x30 Address to strings for quest progress
0x34 Unknown
0x38 HRP
0x3C Unknown, HRP deduction?
0x40 Boss Size
0x42 Monster Difficulty (0 = Village, 2 = GR)
0x43 Spawn Rules? (2 = Random?)
0x44 Unknown
0x48 Quest Type
0x49 Boss size base value?
0x4A Quest Stars
0x4B Unknown
0x4C Quest Fee in Zenny
0x50 Quest Reward in Zenny
0x54 Amount of Zenny lost with each faint
0x58 Time Limit, divide this value by 1800 to get it in Minutes
0x5C Quest Location
0x60 Address to quest strings
0x64 Quest Special Conditions
0x66 Quest ID

Large Monsters

Byte Description
0x00 Wave Number?
0x04 Unknown, always zero?
0x08 Offset to boss list
0x0C Offset to boss data

Offset to Boss List

Likely used for asset loading, Boss monster wont show up unless it's in this list.

Byte Description
0x00 Monster 1 ID
0x04 Monster 2 ID
... Until FFFF

Offset to Boss Data

Contains the actual boss definition and information.

Size Description
int16 Monster ID
int16 Size Variation?
int8 Quantity?
int8 Strength Modifier?
int8 Unknown
int32 Stage (Area) where it spawns
byte[16] Unknown
int32 Unknown
int32 X Coordinate?
int32 Z Coordinate?
int32 Y Coordinate?

Small Monsters

Byte Description
0x00 Stage number
0x04 Unknown, always zero?
0x08 Offset to monster list
0x0C Offset to monster data
... Until FFFF

Offset to Monster List

Likely used for asset loading, monster wont show up unless it's in this list.

Byte Description
0x00 Monster 1 ID
0x04 Monster 2 ID
... Until FFFF

Offset to Monster Data

Contains the actual monster definition and information.

Size Description
int16 Monster ID
int16 Size Variation?
int32 Quantity?
byte[20] Unknown
int32 Unknown
int32 X Coordinate?
int32 Z Coordinate?
int32 Y Coordinate?
byte[16] Unknown
... Repeat until FFFF

Supplies Format

Byte Description
0x00 Item ID for Slot 1
0x02 Amount of Item in Slot 1
0x04 Item ID for Slot 2
0x06 Amount of Item in Slot 2
... And so on, until FFFF

Rewards Format

Pointers to Addresses

Byte Description
0x00 Unknown, always 0x0080?
0x02 Unknown, always 0
0x04 Address to Main Reward Table
... Extra Rewards
0x08 Unknown, Reward ID 1?
0x0A Unknown, always 0
0x0C Address to Extra Reward Table 1
... And so on, until FFFF

Reward Tables

Byte Description
0x00 Item 1 Chance
0x02 Item 1 ID
0x04 Item 1 Amount
0x06 Item 2 Chance
0x08 Item 2 ID
0x0A Item 2 Amount
... And so on, until FFFF

Locations

Value Description
0 -
1 Fortress
2 Forest and Hills
3 Desert
4 Swamp
5 Volcano
6 Jungle
7 Castle Schrade
8 Battleground
9 Great Arena
10 Arena

Special Conditions

Value Description
0 None
1 HR 5 or above only
2 HR 9 or above only
3 HR 13 or above only
4 HR 17 or above only
5 HR 21 or above only
6 HR 24 or above only
7 HR 27 or above only
8 HR 29 or above only
9 HR 30 or above only
10 HR 4 or below only
11 HR 8 or below only
12 HR 12 or below only
13 HR 16 or below only
14 HR 20 or below only
15 HR 23 or below only
16 HR 26 or below only
17 HR 1 to HR 12 only
18 HR 13 to HR 20 only
19 HR 21 to HR 30 only
20 HR 13 to HR 30 only
21 HR 30 only
22 Male Hunters only
23 Female Hunters only
24 Great Sword only
25 Lance only
26 Hammer only
27 Sword & Shield Only
28 Bowgun only
29 Unused
30 Hunted Monoblos
31 Hunted Village Lao-Shan Lung
32 HR 17 to HR 30 only
33 No Items
34 No Well-Done Steaks
35 No Armor
36 Hunter's Knife only
37 100z or less required
38 Defense 180 or more required
39 Defense 75 or less required
40 Fire Res 40 or more required
41 Fire Res -40 or less required
42 Water Res 40 or more required
43 Water Res -40 or less required
44 Thunder Res 40 or more required
45 Thunder Res -40 or less required
46 Dragon Res 40 or more required
47 Dragon Res -40 or less required
48 Hunted Town Lao-Shan Lung
49 Hunted Fatalis
50 Skilled Hunters only
51 Light Bowgun only
52 Heavy Bowgun only
53 Dual Blades only
54 50000z or more required
55 100000z or more required
56 200000z or more required
57 Defense 130 or less required
58 Defense 180 or less required
59 HR 27 to HR30 only

Zone Transition Nodes

Size Description
0x4 Pointer to Transition Node Data
- One per zone? FnH has 13

Node Data

Size Description
0x4 ID of the target stage to connect to
0x4 Float X
0x4 Float -Y
0x4 Float Z
0x4 Float Radius
0x4 Float Height? (Probably a cylinder)
0x4 Float X (Target)
0x4 Float -Y (Target)
0x4 Float Z (Target)
0x4 Byte Angle

Gathering Nodes

Size Description
0x4 Pointer to Unknown Data
0x4 Empty?
0x4 Pointer to nodes for every area in the game

Node Data

Size Description
0x4 Float X
0x4 Float -Y
0x4 Float Z
0x4 Float Radius
0x2 Gatherable List ID
0x2 Gather Times Left
0x2 Type
0x2 Unknown
- Repeat until Float X is -1

Node Types

Byte Description
0x0 Normal
0x3 Mining
0x4 Bugnet (Spawns fireflies)

Interactables

Size Description
0x4 Pointer to interactable data
- One for every stage (90)

Interactable Data

Size Description
0x2 ID (Increments for different fishing nodes, 0 for everything else)
0x2 Type
0x4 Float X
0x4 Float -Y
0x4 Float Z
0x4 Float Radius
0x4 Byte Angle