1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

How to Create a Civilization in BTS

Discussion in 'Civ4 - Modding Tutorials & Reference' started by CaptainLepidus, Jan 3, 2010.

  1. The_J

    The_J Say No 2 Net Validations Retired Moderator Supporter

    Joined:
    Oct 22, 2008
    Messages:
    32,846
    Location:
    DE/NL/FR
    PHP:
                <NIF>Art/Interface/African Marine/marines.nif</NIF>
                <
    KFM>Art/Interface/African Marine/marines.kfm</KFM>
                <
    SHADERNIF>Art/Interface/African Marine/marines_fx.nif</SHADERNIF>
    there you go :).
     
  2. civlearner99

    civlearner99 Chieftain

    Joined:
    May 1, 2011
    Messages:
    42
    Location:
    MA, USA
    One last error on the text file. Please help.
    P.S. Thanks for all your help.
     

    Attached Files:

  3. The_J

    The_J Say No 2 Net Validations Retired Moderator Supporter

    Joined:
    Oct 22, 2008
    Messages:
    32,846
    Location:
    DE/NL/FR
    What is the error?

    (you have to tell me exactly, because i can't load it, i'm not at my gaming computer)
     
  4. civlearner99

    civlearner99 Chieftain

    Joined:
    May 1, 2011
    Messages:
    42
    Location:
    MA, USA
    Invalid source at beginning of Civ4textyourciv.xml Source: <GameText>
     
  5. civlearner99

    civlearner99 Chieftain

    Joined:
    May 1, 2011
    Messages:
    42
    Location:
    MA, USA
    Please reply!!
     
  6. The_J

    The_J Say No 2 Net Validations Retired Moderator Supporter

    Joined:
    Oct 22, 2008
    Messages:
    32,846
    Location:
    DE/NL/FR
    I have to guess now:
    PHP:
    <!-- Game Text - New -->
    If you put the - in the middle, then remove it please.
    Else i'll need the precise error text
     
  7. Civ'ed

    Civ'ed I ain't gotta explain a thing

    Joined:
    Oct 7, 2010
    Messages:
    6,315
    Gender:
    Female
    Location:
    Aberdonia et Banffia
    I tried modding again, adding Finland, and the mod works, except for the fact that a lot of things have the TXT_SOMETHING_CIV or that instead of the real name. But it works :)
     
  8. civlearner99

    civlearner99 Chieftain

    Joined:
    May 1, 2011
    Messages:
    42
    Location:
    MA, USA
    Exact Error: Failed Loading XML file xml/text/gametextinfos_yourciv.xml. [.\FXml.cpp:133] Error parsing XML File-
    File: xml\text\gametextinfos_yourciv.xml
    Reason: Invalid at the top level of the document.
    Line: 1,1
    Source: ?<!--Game Text Objects-->
    By the way... I could have related errors.
     
  9. The_J

    The_J Say No 2 Net Validations Retired Moderator Supporter

    Joined:
    Oct 22, 2008
    Messages:
    32,846
    Location:
    DE/NL/FR
    Nice to hear :).
    Check, if the TXT_KEY references to the text files are really correct.

    With what programm did you edit the file?
    Because it added some signs to the beginning, , which screw up the loading.
    (no idea why i did not see that before :confused:)
     
  10. civlearner99

    civlearner99 Chieftain

    Joined:
    May 1, 2011
    Messages:
    42
    Location:
    MA, USA
    Notepad
     
  11. civlearner99

    civlearner99 Chieftain

    Joined:
    May 1, 2011
    Messages:
    42
    Location:
    MA, USA
    P.S. Please reply... I need help:(:(:(:(:(:(:sad::sad::sad::sad:
     
  12. civlearner99

    civlearner99 Chieftain

    Joined:
    May 1, 2011
    Messages:
    42
    Location:
    MA, USA
    here's a copy of my updated file:(
     

    Attached Files:

  13. Asaf

    Asaf Sleep Deprived

    Joined:
    Mar 22, 2010
    Messages:
    1,326
    The file was encoded in UTF-8 with BOM (byte order mark) - these were the characters The_J saw.
    In addition it didn't have the XML header which specified the encoding.

    Try the attached file (can't try it myself right now, but I think it'll work).

    BTW, there's really no need to post every couple of minutes if no one has posted since. If you want to add information you can edit your last post ;)

    And I suggest moving on to Notepad++. It's free and much more comfortable for text editing than notepad.
    You can also see the current encoding at the bottom right, and you have a menu for changing it.
     

    Attached Files:

  14. Civ'ed

    Civ'ed I ain't gotta explain a thing

    Joined:
    Oct 7, 2010
    Messages:
    6,315
    Gender:
    Female
    Location:
    Aberdonia et Banffia
    Point is, TXT_KEY_JUSTANIAN shouldn't be a problem, since I only added a civ. Maybe it's that I took the Hippodrome art for the Pesapällo field (UB, replaces Colloseum)
     
  15. The_J

    The_J Say No 2 Net Validations Retired Moderator Supporter

    Joined:
    Oct 22, 2008
    Messages:
    32,846
    Location:
    DE/NL/FR
    ...er...do i understand you right, that you did not edit any of the original text files (or a copy of them in your mod folder), but there are still entries broken which should get loaded out of these files?
     
  16. Civ'ed

    Civ'ed I ain't gotta explain a thing

    Joined:
    Oct 7, 2010
    Messages:
    6,315
    Gender:
    Female
    Location:
    Aberdonia et Banffia
    No, I edited the text files, but some of the file links i did NOT touch are broken.
     
  17. The_J

    The_J Say No 2 Net Validations Retired Moderator Supporter

    Joined:
    Oct 22, 2008
    Messages:
    32,846
    Location:
    DE/NL/FR
    All links from one file, or only some of them?
     
  18. Civ'ed

    Civ'ed I ain't gotta explain a thing

    Joined:
    Oct 7, 2010
    Messages:
    6,315
    Gender:
    Female
    Location:
    Aberdonia et Banffia
    only some. For example, all Byzantine Text Files.
     
  19. civlearner99

    civlearner99 Chieftain

    Joined:
    May 1, 2011
    Messages:
    42
    Location:
    MA, USA
    AnotherProblem. Error on tags not matching in text file. By the way, this is a different mod.:cry::cry::cry::cry::cry::cry:
     

    Attached Files:

  20. The_J

    The_J Say No 2 Net Validations Retired Moderator Supporter

    Joined:
    Oct 22, 2008
    Messages:
    32,846
    Location:
    DE/NL/FR
    :confused: please attach the file.

    Hey man, next time the exact error message please, would be helpful ;).

    If you take a look at the line mentioned in the text, you will see at the end:
    PHP:
     your pleasBye and Die.English>
    There's a < missing ;).
     

Share This Page