HUD mod and thm files

Mattastic

Warlord
Joined
Jan 4, 2006
Messages
101
Location
Cheltenham, UK
Hi all.

I'm working on modding the HUD, and I've come across a couple of issues that I don't know how to fix. Any help or advice would be greatly appreciated. :)

By the way, most of the graphics are modified from another game, Victoria, hence the attatchment names. Victoria, it must be said, is one of the worst games I've ever played, but at least the HUD was attractive.

1) Firstly, I've found that the game stretches "HUD_corner.tga" to fit the screen res. In the attatchment "victoria-screen-marked.jpg" the first red arrow points to this happening. My question is, is there any way to make it repeat the beaded texture rather than stretch it out? I've found that all these files are controlled by "Civ4Theme_HUD.thm", but I don't know how to edit it. Would it be possible to, perhaps, stop it from stretching the image, and instead keep repeating a new image from where "HUD_corner.tga" ends until it reaches the edge of the screen?

2) The second two arrows indicate "HUD_top_spires.tif", which, as you can see, is squeezed up tight. This is because my version is 8 pixels taller than the original file. Again, I can't make sense of "Civ4Theme_HUD.thm" enough to fix it, but is there any way to allow the image stretch down to a normal size, and so the horizontal bars are below the research bar?

3) The last arrow on that screen, and the only one on "victoria-city-marked.jpg" indicate where I would like to add new objects to frame the flag and city title. "victoria-top" is an example of what i'd like to put around the city title. How would I go about doing this?

4) Is there any way to stop the flag from being applied as a texture to that ugly banner pole, and instead just have it as a flat image? As I'm framing it, I can now live without it being horribly distorted and tied to a stick.

5) How would I be able to change the blue to a nicer burgandy colour? On that note, is it even possible to apply a texture to it?

Thanks in advance for all and any help with these questions. :)
 

Attachments

  • victoria-screen-marked.jpg
    victoria-screen-marked.jpg
    186.6 KB · Views: 102
  • victoria-top.jpg
    victoria-top.jpg
    13.6 KB · Views: 129
  • victoria-city-marked.jpg
    victoria-city-marked.jpg
    143.1 KB · Views: 94
You may be able to edit sizes in the cvMainInterface.py file, its in the python/screens folder. I was able to do some things in that file to make religion icons smaller on the city overlay, etc.
 
Back
Top Bottom