Results 1 to 2 of 2

Thread: Error porting Building mod from MOS to DAC

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Re: Divide and Conquer Public Beta Release - Patch 0.4 Released

    Hi Guys

    I have been trying to add the Gondor Fiefdom Barracks which is present in Mos but instead of making it available just in Minas Tirith, I wanted it available everywhere to repair my damaged units that I can only recruit in a few provinces.

    Anyway I added the fiefdom barracks straight out of Mos and then changed the units types in export_describe_buildings to match DaC. Then I copied over the the fiefdom barracks pictures from ui/gondor/buildings +/construction. I had a few troubles with entering a unit wrong in export_describe_buildings but I was able to figure them out using the system log. However I fixed all of the problems that I could see with the system log but the mod is still crashing while loading. This is what the system log says:

    16:53:59.578 [system.rpt] [always] CPU: SSE2
    16:53:59.578 [system.rpt] [always] ==== system log start, build date: Sep 5 2014 version development ===
    16:53:59.581 [system.io] [always] mounted pack packs/data_0.pack
    16:53:59.582 [system.io] [always] mounted pack packs/data_1.pack
    16:53:59.582 [system.io] [always] mounted pack packs/data_2.pack
    16:53:59.583 [system.io] [always] mounted pack packs/data_3.pack
    16:53:59.583 [system.io] [always] mounted pack packs/data_4.pack
    16:53:59.583 [system.io] [always] mounted pack packs/localized.pack
    16:53:59.594 [system.io] [warning] open: mods/teutonic/data/text/shortcut.txt.strings.bin is missing
    16:53:59.597 [system.io] [warning] open: mods/teutonic/data/text/shortcut.txt is missing
    16:54:01.347 [data.missing] [warning] missing/invalid cursor for ANISELECT
    16:54:01.349 [data.missing] [warning] missing/invalid cursor for MODIFIER_SABOTAGE
    16:54:01.351 [data.missing] [warning] missing/invalid cursor for MODIFIER_TRADE
    16:54:01.361 [data.missing] [warning] missing/invalid cursor for DRAGGABLE
    16:54:01.361 [data.missing] [warning] missing/invalid cursor for DRAGGING
    16:54:01.362 [data.missing] [warning] missing/invalid cursor for MODIFIER_MULTIPLE_SELECT
    16:54:01.362 [data.missing] [warning] missing/invalid cursor for MODIFIER_ATTACK
    16:54:01.363 [data.missing] [warning] missing/invalid cursor for MODIFIER_PLACE_CHARACTER
    16:54:01.363 [data.missing] [warning] missing/invalid cursor for MODIFIER_PLACE_RESOURCE
    16:54:01.363 [data.missing] [warning] missing/invalid cursor for MODIFIER_PLACE_FORT
    16:54:01.363 [data.missing] [warning] missing/invalid cursor for MODIFIER_MOVE_OBJECT
    16:54:01.363 [data.missing] [warning] missing/invalid cursor for MODIFIER_PLACE_WATCHTOWER
    16:54:01.363 [data.missing] [warning] missing/invalid cursor for MODIFIER_DEPLOYMENT_AREA
    16:54:01.363 [data.missing] [warning] missing/invalid cursor for MODIFIER_PLACE_TILE
    16:54:01.363 [data.missing] [warning] missing/invalid cursor for MODIFIER_PLACE_SPECIAL_PIECE
    16:54:01.363 [data.missing] [warning] missing/invalid cursor for MODIFIER_PAINT
    16:54:01.363 [data.missing] [warning] missing/invalid cursor for MODIFIER_ADJUST_HEIGHTS
    16:54:01.363 [data.missing] [warning] missing/invalid cursor for MODIFIER_ADD_UNIT
    16:54:01.363 [data.missing] [warning] missing/invalid cursor for MODIFIER_PLACE_SETTLEMENT

    Can anyone see anything that I did wrong or need to change?

    Thanks

  2. #2

    Default Re: Divide and Conquer Public Beta Release - Patch 0.4 Released

    Sorry I was able to work out the last issue but now I have a new one. I finished updated the data/text/export_buildings files which look light this:

    {gondor_fief_barracks}Gondor Fiefdom Barracks
    {gondor_fief_barracks_desc}DO NOT TRANSLATE
    {gondor_fief_barracks_desc_short}DO NOT TRANSLATE
    {gondor_fief_barracks_northern_european}Gondor Fiefdom Barracks
    {gondor_fief_barracks_northern_european_desc}In times of war the Fiefdoms of Gondor all send troops to aid the White City.
    {gondor_fief_barracks_northern_european_desc_short}Gondor's Fiefdom units can be retrained if a Gondor Fiefdom Barracks is present in the settlement.
    {gondor_fief_barracks_mesoamerican}Gondor Fiefdom Barracks
    {gondor_fief_barracks_mesoamerican_desc}In times of war the Fiefdoms of Gondor all send troops to aid the White City.
    {gondor_fief_barracks_middle_eastern}Gondor Fiefdom Barracks
    {gondor_fief_barracks_middle_eastern_desc}In times of war the Fiefdoms of Gondor all send troops to aid the White City.
    {gondor_fief_barracks_middle_eastern_desc_short}Gondor's Fiefdom units can be retrained if a Gondor Fiefdom Barracks is present in the settlement.
    {gondor_fief_barracks_eastern_european}Gondor Fiefdom Barracks
    {gondor_fief_barracks_eastern_european_desc}In times of war the Fiefdoms of Gondor all send troops to aid the White City.
    {gondor_fief_barracks_eastern_european_desc_short}Gondor's Fiefdom units can be retrained if a Gondor Fiefdom Barracks is present in the settlement.
    {gondor_fief_barracks_greek}Gondor Fiefdom Barracks
    {gondor_fief_barracks_greek_desc}In times of war the Fiefdoms of Gondor all send troops to aid the White City.
    {gondor_fief_barracks_southern_european}Gondor Fiefdom Barracks
    {gondor_fief_barracks_southern_european_desc}In times of war the Fiefdoms of Gondor all send troops to aid the White City.
    {gondor_fief_barracks_southern_european_desc_short}Gondor's Fiefdom units can be retrained if a Gondor Fiefdom Barracks is present in the settlement.
    {gondor_fief_barracks_gondor}Gondor Fiefdom Barracks
    {gondor_fief_barracks_gondor_desc}In times of war the Fiefdoms of Gondor all send troops to aid the White City.
    {gondor_fief_barracks_gondor_desc_short}Gondor's Fiefdom units can be retrained if a Gondor Fiefdom Barracks is present in the settlement.
    ¬--------------

    but now I am getting this error in the system log:
    17:57:53.719 [script.err] [error] Script Error in mods/teutonic/data/export_descr_buildings.txt, at line 9245, column 5
    Expected '{', found 'levels'

    my export_descr_buildings.txt looks like this

    building gondor_fief_barracks
    {
    levels gondor_fief_barracks
    {
    gondor_fief_barracks requires factions { sicily, }
    {
    capability
    {
    recruit_pool "Reunited Minas Knights" 0 0.05 0.999 0 requires factions { sicily, denmark, } and region_religion numenorian 33
    }
    material wooden
    construction 4
    cost 4200
    settlement_min village
    upgrades
    {
    }
    }


    }
    plugins
    {
    }
    }

    any ideas?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •