Skip to main content

Mission Offsets

Information

  • All offsets are for files from the official 1.1 patch.
  • Numbers are in hexadecimal, or suffixed to indicate their type:
SuffixTypeSize
ffloat4 bytes
ddouble8 bytes
iinteger4 bytes
bbyte1 byte (-128 to 127)

A value like "0F 85 -> 90 E9" means replace the original bytes on the left with the new bytes on the right. (The bytes are given in file order, they don't represent a number like the offset.)

Scripted Missions

Default ValueFileOffsetByDescription
74 -> EBserver.dll03A03EM0tahBypass mission check on player invite (beware, may bug up RandomMissions).
74 -> EBserver.dll03A438M0tahRemove mission check on group invite accept (beware, may bug up RandomMissions).
75 17 -> EB 0Econtent.dll019A59M0tahPrevent mission failures due to attacking a neutral/friendly object.

Random Missions

Default ValueFileOffsetByDescription
34 -> 00content.dll0518C7adoxaAllow fc_n_grp for randommissions (Part 1).
34 -> 00content.dll0519B7adoxaAllow fc_n_grp for randommissions (Part 2).
2500fcontent.dll11C2C4VitalDistance at which NPC mission target ships in randommissions are created.
2625fcontent.dll0F17D9VitalDistance at which NPC wave ships in randommissions are created.
7500fcontent.dll11C2B0VitalDistance at which mission target solars in randommissions are created.
6000fcontent.dll11CBCCVitalDistance from 1st mission waypoint that second waypoint (and ships at it) in randommissions are created.
3500fcontent.dll11C2C8VitalCore retreat distance from randommission waypoint, modified by below offset.
250fcontent.dll11CAB4VitalAmount to add to the core retreat distance (above) to work out a real retreat distance, and amount to subtract from the core retreat distance (above) to work out a real back-in-range distance.
2000fcontent.dll11C2CCVitalMax range at which randommission NPCs will engage enemies; outside of this range, their behavior will be strange (fly around in circles, ignore fire, etc).
300fcontent.dll117608adoxaMultiplier for zone distance; increase to allow randommissions further from base.
30fcontent.dll12E778adoxaReturn to battle time (SP).
45fcontent.dll11C2DCadoxaReturn to battle time (MP).
5fcontent.dll0ECED5adoxaReturn to battle update interval.
89 44 E4 04 D9 44 E4 20 D8 64 E4 1C EB 04 66 B8 FB 06 DB 44 E4 04 D8 0D D0 97 39 06 DE C9 D8 44 E4 1C 5E 83 C4 10 C3
->
99 B9 03 00 00 00 F7 F9 85 D2 74 33 D9 05 30 B2 FB 06 DD 5C 24 04 FF D6 99 DD 44 24 04 B9 03 00 00 00 F7 F9 8D 54 12
content.dll0AAD7AadoxaMake MP job difficulty exactly between min and max difficulty in mbases.ini.
100fcontent.dll1143D4adoxaMaximum value of misn difficulty in mbases.ini.
100fcontent.dll1175F0adoxaMaximum value of DestroyMission difficulty (I think; it's part of the StateMachine) in mbases.ini.
100fcontent.dll11B22CadoxaMaximum value of rank_diff and generated mission difficulty.
0f, 0f, 3f, 9f, 6f, 2f, 1f, 1f, 1fcontent.dll11CC58adoxaWeighted vector used to determine how many ships should occur in random missions. Starts at 0 ships up to 8 ships. (SP)
0f, 0f, 2f, 3f, 9f, 6f, 4f, 2f, 1fcontent.dll11CC7CadoxaWeighted vector used to determine how many ships should occur in random missions. Starts at 0 ships up to 8 ships. (MP)
58CCFB -> 00CBFCcontent.dll0F8A4BadoxaUse 30-float array at 12CB08 (created manually!) for SP ship weighting vector
7CCCFB -> 80CBFCcontent.dll0F8A54adoxaUse 30-float array at 12CB88 (created manually!) for MP ship weighting vector
FF10 -> 9090common.dll0995B6adoxadisable ArchDB::Get random mission spew warning. (Part 1)
FF10 -> 9090common.dll0995FCadoxadisable ArchDB::Get random mission spew warning. (Part 2)
1i -> 7icontent.dll0F20F0BC46Random mission NPCs will use missiles. Effectively changes their attack_preference flags to "GUNS | GUIDED | UNGUIDED".
1i -> 15icontent.dll0F20F0BC46Random mission NPCs will use missiles and torpedoes. Effectively changes their attack_preference flags to "GUNS | GUIDED | UNGUIDED | TORPEDO".