Quote[/b] (Wellington @ Dec. 27 2002,03:59)]PanthaPower,
Yes. I spent a couple of daus many months ago going through the .exe with a Hex Editor. I was looking for 2 tables -
1) faction colours
2) the sea/land provinces (Lukmap) table
Could'nt find either I was specifially looking for RGB valuesd that I could 'recognise' as being either a faction colour or a province colour in the Lukmap.
I formed the opinions (be they right or wrong!
that maybe -
1) the faction colours table that is hardcoded may NOT be exactly the same RGB colours we see in the game. As we don't know exactly how the engine 'replaces' the pink/green colours in the BIF we can't assume the values in any such faction colour table are exactly as we see them (maybe there is a table of faction colours that are have RGB lower values than we expect - and such RGB values are merely added to the pink/green colours thus prodiuding the faction colour we see!
. Hard to tell without knowing exactly how the engine performs RGB colour transformations.
2) Looking for a lukmap table (of 240-256 entries) was also unsuccessful. I suspected the table may be built dynamically when MTW loads - it could easily build such a table from the palette in the Lukmap (thus making the engine more flexable for future amendments). I'm pretty sure that's how it does it although therte do appear to be certain unchangable considerations (colour 0 MUST always be the pink colour).
So, sorry but no success in either of these areas ...
Still, if anyone can add anything to either of the 2 comments above I'm willing to have a second look
Bookmarks