The Great Apple
Big Cheese
So I've been looking lately into tweaking Civ 4's HUD and it would seem that it has been implimented in a rather odd way.
Firstly, all the art files, seemingly for the HUD are stored in the art folder... however aren't actually used. After a bit of reasearch I found a project somebody was doing shortly after the game's release. (http://forums.civfanatics.com/showthread.php?p=3270763).
Basically, the HUD is loaded separetly in "Theme" files, rather than as you would expect - in the art files. This seems rather strange, as there is a large lump of files simply not being used. This would seem to be a rather daft idea, soaking up disk space. I don't know if the reduntant ones are loaded into the game at the start, but given the fact that everything else in the assets folder is I'd guess so. I really hope the game doesn't load both sets into memory...
Anyway, the conclusion of the project was that the only way to mod the HUD files was to mess around insde the theme directory and do all sorts of clever stuff which I skimmed over when reading.
This conclusion, in my opinion, is just plain wrong. If you pop into CvMainInterface.py you can just make it so that the HUD is loaded from the art files instead of the silly theme files, by tweaking around with the files. I have no idea why they chose to use silly theme files.
On a side note - if you check around line 200 in CvMainInterface.py there is a little bug which means that the left lower panel is loaded twice, once from the art files, and then overwriten with the theme file one. Weird.
This is quite advantageous. It should be very easy this way to have the HUD changing mid-game (era-specific), or even making the HUD race specifc in certain mods.
Firstly, all the art files, seemingly for the HUD are stored in the art folder... however aren't actually used. After a bit of reasearch I found a project somebody was doing shortly after the game's release. (http://forums.civfanatics.com/showthread.php?p=3270763).
Basically, the HUD is loaded separetly in "Theme" files, rather than as you would expect - in the art files. This seems rather strange, as there is a large lump of files simply not being used. This would seem to be a rather daft idea, soaking up disk space. I don't know if the reduntant ones are loaded into the game at the start, but given the fact that everything else in the assets folder is I'd guess so. I really hope the game doesn't load both sets into memory...
Anyway, the conclusion of the project was that the only way to mod the HUD files was to mess around insde the theme directory and do all sorts of clever stuff which I skimmed over when reading.
This conclusion, in my opinion, is just plain wrong. If you pop into CvMainInterface.py you can just make it so that the HUD is loaded from the art files instead of the silly theme files, by tweaking around with the files. I have no idea why they chose to use silly theme files.
On a side note - if you check around line 200 in CvMainInterface.py there is a little bug which means that the left lower panel is loaded twice, once from the art files, and then overwriten with the theme file one. Weird.
This is quite advantageous. It should be very easy this way to have the HUD changing mid-game (era-specific), or even making the HUD race specifc in certain mods.