Announcement

Collapse
No announcement yet.

Strange problem creating new unit, plz help!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Strange problem creating new unit, plz help!

    I did my first unit this evening,a self-propelled-howitzer following Sorovan's guide.
    So i basically copied modern_armor in all relevant files, changed the name and the description, made a loadable Mod out of it. Problem is, when MOD is loading i get an:
    XML error
    Tag:UNITCLASS_SELF_PROPELLED_HOWITZER in Infoclass was incorrect
    Current XML file is: ..Units/Civ4UnitInfos.xml

    Game loads, can't build my unit. The real strange thing is, in Civilopedia there are:
    1)NormalModern Armor
    2)Second entry modern armor, but replaces modern armor, WTF?
    3)my SelfProHoW, REPLACES GALLEY, National Unit: 77849 allowed
    Team project: 49831 allowed
    World Wonder: 23758 allowed
    So again WTF? I didn't even changed unit stats for now, only all textreferences in german&english.
    Only thing not Vanila in my configuration is BlueMarble and the unpacked Art.pak file.

    Edit: deleted Blue Marble, checked all relevant files (second time now):
    No double entry for modern armor, so where does this come from?
    and sure as hell no replaced Galley

  • #2
    Have you edited Civ4UnitClassInfos.xml? You have to add a similar entry.

    Also, check to make sure you didn't misplace the /UnitInfos or /UnitClassInfos tag. Note the "s" in those tags, as that's very important but easy to overlook.
    Mylon Mod - Adressing game pace and making big cities bigger.
    Inquisition Mod - Exterminating heretic religions since 1200 AD

    Comment


    • #3
      Reinstalled, repatched, crap.
      After your tip Mylon i checked that i get the filenames and folderstructure, everything seems correct. Even checked the .xml files for the strange numbers occuring(national/project/teamunit), they are nowhere. Guess i will just try it from start again this evening.
      Edit: Sry forgot, thx nonetheless!

      Comment


      • #4
        When you get this unit done, please put make it available for download. Self-propelled artillery is something I want. I hate having to wait for my very slow artillery to catch up with my blitzing armor columns
        I don't know what I've been told!
        Deirdre's got a Network Node!
        Love to press the Buster Switch!
        Gonna nuke that crazy witch!

        Comment

        Working...
        X