Results 1 to 6 of 6

Thread: added unit to EDB, all fixes failed

Hybrid View

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

    Default added unit to EDB, all fixes failed

    all I tried to do was add the Armenian archers to the the city barreck buildings and the castle missle buildings, but the game keeps crashing.

    Here is the log
    Code:
    13:20:05.889 [system.rpt] [always] CPU: SSE2
    13:20:05.890 [system.rpt] [always] ==== system log start, build date: Feb 25 2008 version development ===
    13:20:05.894 [system.io] [always] mounted pack packs/data_0.pack
    13:20:05.895 [system.io] [always] mounted pack packs/data_1.pack
    13:20:05.896 [system.io] [always] mounted pack packs/data_2.pack
    13:20:05.897 [system.io] [always] mounted pack packs/data_3.pack
    13:20:05.898 [system.io] [always] mounted pack packs/data_4.pack
    13:20:05.898 [system.io] [always] mounted pack packs/localized.pack
    13:20:10.656 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/export_descr_buildings.txt, at line 666, column 5
    Invalid capability specifier: and
    13:20:10.658 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/export_descr_buildings.txt, at line 707, column 3
    Invalid capability specifier: and
    13:20:10.658 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/export_descr_buildings.txt, at line 709, column 2
    Invalid capability specifier: and
    13:20:10.660 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/export_descr_buildings.txt, at line 760, column 3
    Invalid capability specifier: and
    13:20:10.660 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/export_descr_buildings.txt, at line 762, column 2
    Invalid capability specifier: and
    13:20:10.660 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/export_descr_buildings.txt, at line 764, column 2
    Invalid capability specifier: and
    13:20:10.660 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/export_descr_buildings.txt, at line 776, column 131
    unit(Cossack Cavalry) does not match up to the ownership for faction(russia)
    13:20:10.661 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/export_descr_buildings.txt, at line 811, column 117
    unit(Mercenary Frankish Knights) does not match up to the ownership for faction(knights_templar)
    13:20:10.662 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/export_descr_buildings.txt, at line 854, column 3
    Invalid capability specifier: and
    13:20:10.662 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/export_descr_buildings.txt, at line 856, column 2
    Invalid capability specifier: and
    13:20:10.663 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/export_descr_buildings.txt, at line 858, column 2
    Invalid capability specifier: and
    13:20:10.663 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/export_descr_buildings.txt, at line 879, column 138
    unit(Cossack Cavalry) does not match up to the ownership for faction(russia)
    13:20:10.663 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/export_descr_buildings.txt, at line 938, column 149
    unit(NE Bodyguard) does not match up to the ownership for faction(knights_templar)
    13:20:10.664 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/export_descr_buildings.txt, at line 945, column 118
    unit(Mercenary Frankish Knights) does not match up to the ownership for faction(knights_templar)
    13:20:10.665 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/export_descr_buildings.txt, at line 1003, column 3
    Invalid capability specifier: and
    13:20:10.665 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/export_descr_buildings.txt, at line 1005, column 2
    Invalid capability specifier: and
    13:20:10.666 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/export_descr_buildings.txt, at line 1007, column 2
    Invalid capability specifier: and
    13:20:10.666 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/export_descr_buildings.txt, at line 1042, column 137
    unit(Cossack Cavalry) does not match up to the ownership for faction(russia)
    13:20:10.666 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/export_descr_buildings.txt, at line 1101, column 127
    unit(Templar Confrere Knights) does not match up to the ownership for faction(knights_templar)
    13:20:10.667 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/export_descr_buildings.txt, at line 1118, column 149
    unit(NE Bodyguard) does not match up to the ownership for faction(knights_templar)
    13:20:10.667 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/export_descr_buildings.txt, at line 1124, column 118
    unit(Mercenary Frankish Knights) does not match up to the ownership for faction(knights_templar)
    13:20:10.669 [script.err] [error] Script Error in mods/Stainless_Steel_6/data/export_descr_buildings.txt, at line 1178, column 199
    Unexpected in condition parsing: 'recruit_pool'
    and here are the EDB entries:
    Code:
    recruit_pool "Armenian Archers"  1   0.34   2  0  requires factions { southern_european, northern_european, middle_eastern, eastern_european, greek, }  and hidden_resource armenia
    recruit_pool "armenian archers"  1   0.3   2  0  requires factions { southern_european, northern_european, middle_eastern, eastern_european, greek, }  and hidden_resource armenia
    recruit_pool "armenian archers"  1   0.34   2  0  requires factions { southern_european, northern_european, middle_eastern, eastern_european, greek, }  and hidden_resource armenia
    recruit_pool "armenian archers"  1   0.34   3  0  requires factions { southern_european, northern_european, middle_eastern, eastern_european, greek, }  and hidden_resource armenia
    recruit_pool "armenian archers"  1   0.4   3  0  requires factions { southern_european, northern_european, middle_eastern, eastern_european, greek, }  and hidden_resource armenia
    recruit_pool "armenian archers"  1   0.5   4  0  requires factions { southern_european, northern_european, middle_eastern, eastern_european, greek, }  and hidden_resource armenia
    recruit_pool "armenian archers"  2   0.67   6  1  requires factions { southern_european, northern_european, middle_eastern, eastern_european, greek, }  and hidden_resource armenia
    recruit_pool "armenian archers"  1   0.25   2  0  requires factions { southern_european, northern_european, middle_eastern, eastern_european, greek, }  and hidden_resource armenia
    recruit_pool "armenian archers"  1   0.3   2  0  requires factions { southern_european, northern_european, middle_eastern, eastern_european, greek, }  and hidden_resource armenia
    recruit_pool "armenian archers"  1   0.34   2  0  requires factions { southern_european, northern_european, middle_eastern, eastern_european, greek, }  and hidden_resource armenia
    recruit_pool "armenian archers"  1   0.4   3  0  requires factions { southern_european, northern_european, middle_eastern, eastern_european, greek, }  and hidden_resource armenia
    the EDU entry
    Code:
    type             Armenian Archers
    dictionary       Armenian_Archers      ; Armenian Archers
    category         infantry
    class            missile
    voice_type       Light
    accent         East_European
    banner faction   main_missile
    banner holy      crusade
    soldier          Armenian_Archers, 48, 0, 0.8
    attributes       sea_faring, hide_forest, can_withdraw, mercenary_unit
    formation        1.2, 1.2, 2.4, 2.4, 3, square
    stat_health      1, 0
    stat_pri         4, 1, composite_arrow, 200, 30, missile, missile_mechanical, piercing, none, 0, 1
    stat_pri_attr    no
    stat_sec         2, 1, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
    stat_sec_attr    no
    stat_pri_armour  0, 3, 3, flesh
    stat_sec_armour  0, 0, flesh
    stat_heat        0
    stat_ground      1, 1, 0, -1
    stat_mental      8, normal, trained
    stat_charge_dist 10
    stat_fire_delay  0
    stat_food        60, 300
    stat_cost        1, 380, 235, 65, 50, 380, 4, 90
    armour_ug_levels 0
    armour_ug_models Armenian_Archers
    ownership        southern_european, northern_european, middle_eastern, eastern_european, greek
    era 0            knights_templar
    era 1            knights_templar
    era 2            turks, knights_templar
    recruit_priority_offset    10
    To compare, here is my entry for the armenian cavalry and infantry, which work just fine
    Code:
    recruit_pool "Armenian Cavalry"  1   0.25   2  0  requires factions { southern_european, northern_european, middle_eastern, eastern_european, greek, }  and hidden_resource armenia
    Code:
    recruit_pool "Armenian Infantry"  1   0.25   2  0  requires factions { northern_european, middle_eastern, eastern_european, greek, southern_european, }  and hidden_resource armenia
    the game starts if i ";" the entry out, so it isn't anything else...
    Last edited by impspy; April 03, 2009 at 12:40 PM.


    "Do you know, my son, with what little understanding the world is ruled?"Pope Julius III
    Want to add your own mercenaries? Read my Tutorial

  2. #2

    Default Re: added unit to EDB, all fixes failed

    recruit_pool "Armenian Archers"
    recruit_pool "armenian archers"

    is it not case sensitive?
    Hr. Alf han hugg til han var mod, Han sto i femten Ridderes Blod; Så tog han alle de Kogger ni Og sejlede dermed til Norge fri. Og der kom tidende til Rostock ind, Der blegned saa mangen Rosenkind. Der græd Enker og der græd Børn, Dem hadde gjort fattig den skadelige Ørn.
    Anders Sørensen Vedel

  3. #3

    Default Re: added unit to EDB, all fixes failed

    no, that wasn't the problem


    "Do you know, my son, with what little understanding the world is ruled?"Pope Julius III
    Want to add your own mercenaries? Read my Tutorial

  4. #4

    Default Re: added unit to EDB, all fixes failed

    Try this:
    recruit_pool "Armenian Archers" 1 0.34 2 0 requires hidden_resource armenia

    Coder on Dark Ages: Roman Revival, the alternate history mod for BI.

    Under the Patronage of Augustus Lucifer, member of the House of Ward.

  5. #5
    Augustus Lucifer's Avatar Life = Like a beanstalk
    Patrician Citizen

    Join Date
    Aug 2006
    Location
    Mote of Dust
    Posts
    10,725

    Default Re: added unit to EDB, all fixes failed

    Erm, why do you have culture names in the ownership line for the EDU entry? I've never seen culture lines used, they very well could cause a CTD.

    Also, it keeps saying invalid capability specifier "and". Do you have and on a new line there or something?

  6. #6

    Default Re: added unit to EDB, all fixes failed

    The culture names aren't the problem - I'm using those and they're working fine.

    Coder on Dark Ages: Roman Revival, the alternate history mod for BI.

    Under the Patronage of Augustus Lucifer, member of the House of Ward.

Posting Permissions

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