Ergebnis 1 bis 7 von 7

Thema: Fix of two "wrong production icons" for all mods with extra resources

  1. #1
    Registrierter Benutzer
    Registriert seit
    03.12.09
    Beiträge
    262

    Fix of two "wrong production icons" for all mods with extra resources

    Here the fix that corrects two "wrong production icons" on both main and city screen.

    1. How look these errors?

    - Main screen (Before)



    - City screen (before)



    Unfortunately, these errors are typical for all mods with extra resources. I tested "PlantationEconomy_v0.09", "TAC-Test 0204", my mods of "1492: Global Colonization" series.

    2. Source of these errors.

    The program uses [ICON_PRODUCTION] icon in both CIV4GameTextInfos_Original.xml and CIV4GameText_Colonization.xml files. However, as [ICON_PRODUCTION] the game takes the icon No.16 from GameFont_75.tga.



    I made a special test and 100% sure.

    If you add some new yields before [ICON_PRODUCTION] icon (that is No.16 from GameFonts files), you must use this fix. Or the game will read wrong icons as shown in two screens above.

    3. I propose a very simple fix.

    As far as I remember the CivIVColonization don't use Gold Age, thus, [ICON_GOLDENAGE] is free.

    I exchanged [ICON_GOLDENAGE] icon on HAMMER icon (similar to [ICON_PRODUCTION] No.16).

    I edited both CIV4GameTextInfos_Original.xml and CIV4GameText_Colonization.xml files and used [ICON_GOLDENAGE] instead [ICON_PRODUCTION].

    I did not added a new line as
    Code:
    				'hammer' : FontSymbols.HAMMER_CHAR,
    in OtherFontIcons section of the CvUtil.py file.
    I also did not changed

    Code:
    				'goldenage' : FontSymbols.GOLDEN_AGE_CHAR,
    on
    Code:
    				'goldenage' : FontSymbols.HAMMER_CHAR,
    in CvUtil.py. To my opinion, it's unnecessary.

    I only made small corrections in both GameFonts files and edit both CIV4GameTextInfos_Original.xml and CIV4GameText_Colonization.xml files. Two small new files are included in archive. Copy these xml files in
    Code:
    C:\Program Files\2K Games\Firaxis Games\Sid Meier's Civilization IV Colonization\Mods\Medieval Tech 1.1b\Assets\XML\Text
    directory.

    After these changes we have the correct icons on

    - Main screen (after)



    - City screen (after)



    The attached "fix.rar" file contains both fixed GameFonts and couple additional xml files.
    Angehängte Dateien Angehängte Dateien
    • Dateityp: rar fix.rar (170,2 KB, 46x aufgerufen)

  2. #2
    Col-Modder Avatar von raystuttgart
    Registriert seit
    19.03.10
    Ort
    Stuttgart
    Beiträge
    4.585
    Zitat Zitat von KJ_Jansson Beitrag anzeigen
    Here the fix that corrects two "wrong production icons" on both main and city screen.
    Hi KJ_Jansson,

    I had already fixed this for TAC months ago.
    (DLL-side)

    Take a look at TAC 2.02a (which has new yields for Whaling and Cocoa).
    You won't find this error there.

    @TAC:
    This error cannot occur in your Mod anymore, don't worry.

    Edit:
    The error existed in TAC-Test 0204.
    We noticed it there and I fixed it.

    Edit 2:
    As I remember, there were 6 locations (possible errors), where I fixed it.
    Geändert von raystuttgart (16. Januar 2011 um 22:09 Uhr)
    Teammitgleid dieses Projekt für Colonization:
    [Mod] We The People
    (Nachfolgerprojekt von Religion and Revolution)

    Davor Teammitgleid dieses Projekt für Colonization:
    [Mod] Religion and Revolution

    Vor-Vorheriges Projekt für Colonization:
    [ModMod] ray's Wunschliste

    Und wiederum davor Teammitglied von:
    [Mod] The Authentic Colonization (TAC)

  3. #3
    Registrierter Benutzer
    Registriert seit
    03.12.09
    Beiträge
    262
    Zitat Zitat von raystuttgart Beitrag anzeigen
    Hi KJ_Jansson,

    I had already fixed this for TAC months ago.
    (DLL-side)

    Take a look at TAC (which has new yields for Whaling and Cocoa).
    You won't find this error there.

    @TAC:
    This error cannot occur in your Mod anymore, don't worry.
    Great! However I tested "TAC-Test 0204" version and found this problem. I re-downloaded this version yesterday and CvGameCoreDLL.dll dated "Friday, July 02, 2010, 4:49:54 PM". I am glad to know that you made a DLL-fix for the final "TAC-204".

    TAC 2.02a! OK, I will download this version and see how to fix this error in source codes. Thank you very much for your information!

  4. #4
    Col-Modder Avatar von raystuttgart
    Registriert seit
    19.03.10
    Ort
    Stuttgart
    Beiträge
    4.585
    Zitat Zitat von KJ_Jansson Beitrag anzeigen
    Great! However I tested "TAC-Test 0204" version and found this problem. I re-downloaded this version yesterday and CvGameCoreDLL.dll dated "Friday, July 02, 2010, 4:49:54 PM". I am glad to know that you made a DLL-fix for the final "TAC-204".
    Yes the error occured in "TAC-Test 0204".
    However it is definitely fixed in the current version "TAC 2.02a".

    Edit:

    Search for this:
    (8 little fixes)

    //ray Hammer Icon Fix

    Of course you also have to adjust the messages in XML.
    Geändert von raystuttgart (16. Januar 2011 um 22:21 Uhr)
    Teammitgleid dieses Projekt für Colonization:
    [Mod] We The People
    (Nachfolgerprojekt von Religion and Revolution)

    Davor Teammitgleid dieses Projekt für Colonization:
    [Mod] Religion and Revolution

    Vor-Vorheriges Projekt für Colonization:
    [ModMod] ray's Wunschliste

    Und wiederum davor Teammitglied von:
    [Mod] The Authentic Colonization (TAC)

  5. #5
    Registrierter Benutzer
    Registriert seit
    03.12.09
    Beiträge
    262
    Zitat Zitat von raystuttgart Beitrag anzeigen
    Yes the error occured in "TAC-Test 0204".
    However it is definitely fixed in the current version "TAC 2.02a".
    Downloading TAC 2.02a_inoffiziell...

  6. #6
    Col-Modder Avatar von raystuttgart
    Registriert seit
    19.03.10
    Ort
    Stuttgart
    Beiträge
    4.585
    @W.B., Stöpsel:

    Ihr könnt den Thread löschen, wenn ihr wollt.
    Ich hab KJ alle Infos gegeben, die er braucht.

    Den Bug gibts ja bei TAC nicht mehr.
    Teammitgleid dieses Projekt für Colonization:
    [Mod] We The People
    (Nachfolgerprojekt von Religion and Revolution)

    Davor Teammitgleid dieses Projekt für Colonization:
    [Mod] Religion and Revolution

    Vor-Vorheriges Projekt für Colonization:
    [ModMod] ray's Wunschliste

    Und wiederum davor Teammitglied von:
    [Mod] The Authentic Colonization (TAC)

  7. #7
    Registrierter Benutzer Avatar von Fankman
    Registriert seit
    21.11.08
    Ort
    Lyss, Switzerland
    Beiträge
    3.326
    Thanks for your note, KJ

    Now, i will close this thread.

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •