There is a file "client/data/Encounters.dat" which is used by client with the Scout Perk, it allows players to see on mouseover each tile which random encounters can happen there.
The problem is that when adding new encounters, this file does not update automatically and I have not found any tool or script that would update it.
Supposedly mojuk from FOClassic: Reloaded knows how to edit it.
I made my own research, this is a screenshot of the logic behind the file:
first 2 bytes are the size of the world map, basically 42 x 60 always
each entry starts with a byte of 0 and followed with one byte representation of the number of encounters, however this is possible that it's 2 bytes representation of the number of encounters to follow, because the 0 cannot be used as separator, as encounter index 0 exists and its valid.
followed by 1 byte representation of the encounter number/ID (fogm.msg from 19999999, or worldmap_h.fos defines)
this is loaded in the client_fef.fos at InitDrawEncounters()
The task is to find a way to update this file, without manually entering values in a hex editor.
either get a tool that can be publicly published from mojuk
or write a script that will process the encounters from the server files and create this file, that can be copied over to client side
There is a file "client/data/Encounters.dat" which is used by client with the Scout Perk, it allows players to see on mouseover each tile which random encounters can happen there. The problem is that when adding new encounters, this file does not update automatically and I have not found any tool or script that would update it. Supposedly mojuk from FOClassic: Reloaded knows how to edit it. I made my own research, this is a screenshot of the logic behind the file:
The task is to find a way to update this file, without manually entering values in a hex editor.