5 different colours for your UI

Sorry i have no text editor, just Notepad!!:blush:

Notepad is a text editor. It's a text file, so any .exe that can read/modify a .txt file can read/modify a .thm file. Notepad could do that.
If necessary, rignt-clic on the thm file, and select "open with...", then, choose notepad. And set notepad as default program to open all thm files.

And gold and a light green would be great.

I have made a green one. If it's not enought light tell me. Eventually attach a pict file with the green you need (a gif file made with paint ?)...
I'm waiting for validation from 3ddownload.com, and when I have it, I give you the link.
 
  • MODIFY "THM" FILES :
    With any text editor. the "thm" is a text file !!!
    I discovered that in this thread !


  • ok mine looks like that already!!

    with GFC_Control_Button_Image
    {
    .Default = GBitmap("Civ4/HUD/HUD_BTS_icons.tga", HVGrid, 5, 5, 1, 0);
    .Rollover = GBitmap("Civ4/HUD/HUD_BTS_icons.tga", HVGrid, 5, 5, 1, 1);
    .Press = .Default
    .Disable = GBitmap("Civ4/HUD/HUD_BTS_icons.tga", HVGrid, 5, 5, 1, 2);
    .Toggle = GBitmap("Civ4/HUD/HUD_BTS_icons.tga", HVGrid, 5, 5, 1, 3);
    .ToggleRollover = GBitmap("Civ4/HUD/HUD_BTS_icons.tga", HVGrid, 5, 5, 1, 4);
    .TogglePress = .Toggle;
    .ToggleDisable = .Disable;
    }

    ok heres the problem, i use it and it works great with "MY" computer but alot of people that use my MOD they get a GFC error when they use my MOD:rolleyes:
    But one thing i did notice is that when the MOD FallfromHeaven2024 is in the same folder it works great for me, but take it out and then i get the GFC error also?? wierd.
 
Did you copy/paste your resource folder from FallfromHeaven2024 ?

Did you try that :
  • Open the file "Resource\Civ4.thm" (with any text editor), and change the text to :
    Code:
    // *** Control Bitmap Theme file
    
    // Set the resource 
    resource_path	"Mods/[B][THE NAME OF YOUR MOD][/B]/Resource";
    
    // Setup common properties
    include			"Mods/[B][THE NAME OF YOUR MOD][/B]/Resource/Themes/Civ4/Civ4Theme.thm";
  • Open the file "Assets\XML\Art\CIV4ArtDefines_Misc.xml" and search for "DEFAULT_THEME_NAME". In the next line, change the "path" to :
    Code:
    <Path>Mods/[B][THE NAME OF YOUR MOD][/B]/Resource/Civ4.thm</Path>
 
In the tut, I'd give toft some credit, he was really the first one to start this stuff. :D
 
  • MODIFY "THM" FILES :



    With any text editor. the "thm" is a text file !!!
    I discovered that in this thread !

  • FIX PROBLEMS WITH BTS ICONS :



    I've found the solution !!!
    In the file "Resource\Themes\Civ4\Civ4Theme_HUD.thm", lines 882 to 892, you have this :
    Code:
    		with GFC_Control_Button_Image
    		{
    			.Default				= GBitmap("../Beyond the Sword/Resource/Civ4/HUD/HUD_BTS_icons.tga", HVGrid, 5, 5, 1, 0);
    			.Rollover				= GBitmap("../Beyond the Sword/Resource/Civ4/HUD/HUD_BTS_icons.tga", HVGrid, 5, 5, 1, 1);
    			.Press					= .Default
    			.Disable				= GBitmap("../Beyond the Sword/Resource/Civ4/HUD/HUD_BTS_icons.tga", HVGrid, 5, 5, 1, 2);
    			.Toggle					= GBitmap("../Beyond the Sword/Resource/Civ4/HUD/HUD_BTS_icons.tga", HVGrid, 5, 5, 1, 3);
    			.ToggleRollover			= GBitmap("../Beyond the Sword/Resource/Civ4/HUD/HUD_BTS_icons.tga", HVGrid, 5, 5, 1, 4);
    			.TogglePress			= .Toggle;
    			.ToggleDisable			= .Disable;
    		}

    replace with :
    Code:
    		with GFC_Control_Button_Image
    		{
    			.Default				= GBitmap("Civ4/HUD/HUD_BTS_icons.tga", HVGrid, 5, 5, 1, 0);
    			.Rollover				= GBitmap("Civ4/HUD/HUD_BTS_icons.tga", HVGrid, 5, 5, 1, 1);
    			.Press					= .Default
    			.Disable				= GBitmap("Civ4/HUD/HUD_BTS_icons.tga", HVGrid, 5, 5, 1, 2);
    			.Toggle					= GBitmap("Civ4/HUD/HUD_BTS_icons.tga", HVGrid, 5, 5, 1, 3);
    			.ToggleRollover			= GBitmap("Civ4/HUD/HUD_BTS_icons.tga", HVGrid, 5, 5, 1, 4);
    			.TogglePress			= .Toggle;
    			.ToggleDisable			= .Disable;
    		}

    And, then, it runs correctly !!! :)

  • NEW COLORS : GOLD & GREEN :



Thx Fabrysse. I would probably never have figured that out hehe... still have 2 weeks before my apartment is ready again.
 
When I get back, I'll try to create a little pack of different colours, that could be modular loaded. Would be a great addition to WoC.
 
When I get back, I'll try to create a little pack of different colours, that could be modular loaded. Would be a great addition to WoC.

WoC? I thought you meant WOL! :lol:
:joke:
Great job guys! Now I have to figure out how i can change the hud according to era... :mischief:
 
Wow, those screenshots look very good. I haven't tried to put this to work cause i have a small doubt: is there a way to put this to work on your custom assets folder? I'd like to get this to work as a permanent change rather than a mod.
 
Wow, those screenshots look very good. I haven't tried to put this to work cause i have a small doubt: is there a way to put this to work on your custom assets folder? I'd like to get this to work as a permanent change rather than a mod.

Then you should just use the Blue Marble feature IMO.
 
These are really nice graphics. I am thinking of using the Sepia one for a mod I'm working on (excellent work).

There are some small problems, though: several of the buttons still don't show up, as you noted, including the corporation and espionage buttons on the main interface. Also, the brown is now far too transparent, and for things like the city screen and event pop-ups the contrast of the words against the mostly transparent background is too confusing. Would it be possible to make it darker like you had it before the last update? :D

Once again, great work! :thumbsup:
 
There are approximately 912 individual files in that mod. When you say compare them, you are going to have to be more specific than that. ;)

However, I think I have found the solution. Thanks anyway. :)
 
toft,

Is there any chance you could re-upload these themes? They were lost to the hacker. Thanks.
 
Back
Top Bottom