View Single Post
  #6  
Old August 2nd, 2005, 08:01 AM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,989
Thanks: 486
Thanked 1,923 Times in 1,251 Posts
Mobhack is on a distinguished road
Default Re: Re-naming existing nations

Quote:
jvankessel said:
Quote:
Mobhack said:
The names for nations are hard coded inthe game code, together with thier leader ratings, battle locations and so on.

Ouch. You guys have done a great job on the Windows conversions, but I'm slightly disappointed by the adherence to an IMHO outdated game design; compiled resources instead of xml, lbm/shp instead of paletted pngs. Oh well, can't have it all. ;-)

With regards to MarkSheppard's remarks: As the strings are zero terminated, lengths can be varied AS LONG AS some other strings are adjusted in length to compensate. [EDIT: Nevermind that; it doesn't work].

And a follow up: How would I go about changing the USMC flags (or any other flags for that matter) by my own spiffy Numenorean flag?
Strings are in the data segment as constants, so you will neeed to overwrite with something exactly the same length for the full national name and any associated short name (e.g. Great Britain and GB).

To change flags - learn how to use SHPED, and then find the several spots in the game's SHP files where the various sized flags live, and overwrite those with your new ones, I would suppose. (They will not be in the ter or icon shp file sets is about all I know !


Cheers
Andy
Reply With Quote