5 different colours for your UI

amazing to see that after all this time, my initial groundbreaking work in this development area is still being credited to me!

I did some poking around, and I'm sad to see that scaleform doesn't seem to have come through with their promise of releasing an end-user guide to their UI package.

As a bit of an update to where I've been and why my work ultimately stopped... I joined the US Air Force and have been in training for quite some time. I will soon be stationed in Okinawa, where I will possibly have some free time again to work on this type of stuff. I am eager to see if some of my age-old ideas may still spring to life, such as the era-specific HUD designs I was last working on (I seem to recall them being possible, but a lot of work... and I needed to continue to disassemble the meanings in the theme files so I could build a better vocabulary to work with)

LOL. Welcome back after 2 years! :lol: Come on more. Your probably one of the best "discoverers" here. :p
 
Edit : OOOOOPSSSSS !!! I see in first post that you already know that... Sorry for that post.
I call for help to fix this problem...



Forgot you have to edit the "CIV4ArtDefines_Misc.xml" to the correct path too ;)

Thanks. I've found it on my own. It runs perfectly except for the "Resource\Civ4\HUD\HUD_BTS_icons.tga" (I suppose it's it...) : icons of the buttons "Corporation" & "Spy", at the top right of main screen. Those icons are there when I copy/paste the original BTS "Resource" folder in my Mod. But they are not there with your Red "Resource" folder : the 2 buttons are empty...

Look at the screenshot attached.
 

Attachments

  • capture_SPY_CORPO.jpg
    capture_SPY_CORPO.jpg
    11.7 KB · Views: 142
I placed the resource folder next to the asset folder and placed the artdefineMisc in the XML art folder.

i need a gold one also.

About the folder question... then I ment which of the 2 mod folders:

C:\program files\firaxis\civ4\bts\mods
or
users\my documents\my games\bts\mods

*shortened the paths a little... hope you get my point. It only works in "C:\program files\firaxis\civ4\bts\mods" for me...

And if you changed the mod name, or copied the folders from within this mod into an existing mod, then you need to alter some files before it works.

I'll make a gold UI soon, but my apartment is being renovated ATM. So I'm stuck with this old temporary PC...
 
About the folder question... then I ment which of the 2 mod folders:

C:\program files\firaxis\civ4\bts\mods
or
users\my documents\my games\bts\mods

*shortened the paths a little... hope you get my point. It only works in "C:\program files\firaxis\civ4\bts\mods" for me...

And if you changed the mod name, or copied the folders from within this mod into an existing mod, then you need to alter some files before it works.

I'll make a gold UI soon, but my apartment is being renovated ATM. So I'm stuck with this old temporary PC...

OH ok, well i never use my documents\my games\bts\mods anyways except to place maps there.
and none of the UI colors work for me and even when i place the correct name in the MISC file (second from the bottom) it still gives me a GFC error(s)??:blush:
 
I guess I'm not the only one then, I've done the same thing as seen in this thread and trying to get the UI to work with my mod is not happening.



Can someone explain all that needs to be changed?
 
It's not too hard. Simply take the "resource" folder from the UI you downloaded, put it in the mod folder, then copy the XML and make the same directory from the UI to your mod. It's all copy/paste.
 
I've gone and tried just using UIwhite as a mod and UIblack.

Both have given the same errors as when trying to use them with the mod. At this point I can only draw conclusion that the files are bad?

Load Error is in the window name and in it, it says "GFC Error: failed to initialize the primary control theme "

So that's the error I've been getting.
 
Ah! You must use this directory:
C:Program files/firaxis games/sid meiers.../BTS/Mods
Not
Documents Settings/My Games/etc.
Did you try that?
 
Actually I was using my \My Documents\My Games\Beyond the Sword\MODS\

instead of the program files\firaxis\ etc. one.


Thank you. The UI mods by themselves are working now.

So I'm guessing I should move my mod's folder to the one with \program files\firaxis\sid meiers'\beyond the sword\mods in order to get them to work together ?

Thanks for the help.
 
Ok It's working now. Er as well as it does (as noted before Corporation and Espionage buttons are blank )

Everything else works just fine, and wow its good to have a new UI color.
 
Good. Glad to hear it! Meanwhile I'll be browsing the tutorial section...
*IDEA! Toft, you should write up a tutorial on modding the UI! :D
 
Good. Glad to hear it! Meanwhile I'll be browsing the tutorial section...
*IDEA! Toft, you should write up a tutorial on modding the UI! :D

I put mine in the "C:Program files/firaxis games/sid meiers.../BTS/Mods"
and changed the Mis file to my MOD and still GFC error, doesnt matter which color i use???:crazyeye:
 
Edit : OOOOOPSSSSS !!! I see in first post that you already know that... Sorry for that post.
I call for help to fix this problem...





Thanks. I've found it on my own. It runs perfectly except for the "Resource\Civ4\HUD\HUD_BTS_icons.tga" (I suppose it's it...) : icons of the buttons "Corporation" & "Spy", at the top right of main screen. Those icons are there when I copy/paste the original BTS "Resource" folder in my Mod. But they are not there with your Red "Resource" folder : the 2 buttons are empty...

Look at the screenshot attached.

Thx :) I'll see if I can get to my computer tonight, and update the files.
 
amazing to see that after all this time, my initial groundbreaking work in this development area is still being credited to me!

I did some poking around, and I'm sad to see that scaleform doesn't seem to have come through with their promise of releasing an end-user guide to their UI package.

As a bit of an update to where I've been and why my work ultimately stopped... I joined the US Air Force and have been in training for quite some time. I will soon be stationed in Okinawa, where I will possibly have some free time again to work on this type of stuff. I am eager to see if some of my age-old ideas may still spring to life, such as the era-specific HUD designs I was last working on (I seem to recall them being possible, but a lot of work... and I needed to continue to disassemble the meanings in the theme files so I could build a better vocabulary to work with)

And yep! Welcome back :) I hope you are looking into the .dds UI :D
 
  • MODIFY "THM" FILES :

    I dont have any idea how to do that, or even which program to use to change a thm extension?? Its all greek to me.:rolleyes:

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

  • FIX PROBLEMS WITH BTS ICONS :

    It runs perfectly except for the "Resource\Civ4\HUD\HUD_BTS_icons.tga" (I suppose it's it...) : icons of the buttons "Corporation" & "Spy", at the top right of main screen.

    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 :

    Still need a gold one, thx.
 
  • MODIFY "THM" FILES :

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



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

    And gold and a light green would be great.
 
Back
Top Bottom