Results 1 to 4 of 4

Thread: back to menu after add mercenary unit in crusade pool

  1. #1
    HELLEKIN's Avatar Miles
    Join Date
    Nov 2007
    Location
    LISBON - PORTUGAL
    Posts
    356

    Default back to menu after add mercenary unit in crusade pool

    hello,i need help in this...my game backs to menu after i add a unit made by me to be a mercenary crusading unit,like pilgrims or religious fanatics...the unit works perfect because previously i add it like a regular troop in a faction and played a costum battle,what can cause this...i rewritted over and over and now i just canīt find the error.....one thing vereeeery wroooong...noob thing...didnīt back up the file.....

    my entry in the descr_mercenaries.txt in the imperial_campaign folder

    unit Pilgrin Peasants exp 0 cost 35 replenish 0.36 - 1.0 max 6 initial 2 start_year 1096 end_year 1500 religions { catholic } crusading

    the error log
    16:23:34.609 [script.err] [error] Script Error in data/world/maps/campaign/imperial_campaign/descr_mercenaries.txt, at line 75, column 20
    Unrecognised unit name found: 'Pilgrin Peasants exp 0 cost 35 replenish 0.36 - 1.0 max 6 initial 2 start_year 1096 end_year 1500 religions { catholic } crusading'


    the exp_descr_unit

    type Pilgrin Peasants
    dictionary Pilgrin_Peasants ; Pilgrin Peasants
    category infantry
    class light
    voice_type Light
    banner faction main_infantry
    banner holy crusade
    soldier Pilgrin_Peasants, 60, 0, 0.8
    officer pilgrins_flag
    attributes sea_faring, hide_forest, can_withdraw, mercenary_unit, is_peasant
    formation 1.2, 1.2, 2.4, 2.4, 6, square
    stat_health 1, 0
    stat_pri 5, 0, no, 0, 0, melee, melee_simple, piercing, spear, 25, 0.6
    ;stat_pri_ex 0, 0, 0
    stat_pri_attr no
    stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 25, 1
    ;stat_sec_ex 0, 0, 0
    stat_sec_attr no
    stat_pri_armour 1, 3, 1, flesh
    ;stat_armour_ex 0, 4, 0, 0, 3, 0, 0, flesh
    stat_sec_armour 0, 0, flesh
    stat_heat 2
    stat_ground 1, -2, 3, 2
    stat_mental 1, low, untrained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 110, 90, 65, 50, 110, 4, 20
    armour_ug_levels 1, 2
    armour_ug_models Pilgrin_Peasants, Pilgrin_Peasants_ug1
    ownership slave
    era 0 slave
    era 1 slave
    era 2 slave
    ;unit_info 5, 0, 5


    I canīt find any error....can someone help please.many thanks in advance
    Homo Homini Lupus

  2. #2
    Gigantus's Avatar And God promised men that good and obedient wives would be found in all corners of the world. Then He made the earth round...and laughed and laughed and laughed...
    Artifex

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    36,921
    Blog Entries
    7

    Default Re: back to menu after add mercenary unit in crusade pool

    Looks like you left a regular SPACE between Peasants and exp instead of a TAB and the game was reading the whole line as the unit name because of it.
    .



  3. #3
    HELLEKIN's Avatar Miles
    Join Date
    Nov 2007
    Location
    LISBON - PORTUGAL
    Posts
    356

    Default Re: back to menu after add mercenary unit in crusade pool

    Solved....thanks gigantus,when i put one tab didnt work but when i put 3 it worked...iīm in business again...
    Homo Homini Lupus

  4. #4
    Gigantus's Avatar And God promised men that good and obedient wives would be found in all corners of the world. Then He made the earth round...and laughed and laughed and laughed...
    Artifex

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    36,921
    Blog Entries
    7

    Default Re: back to menu after add mercenary unit in crusade pool

    One is glad to be of service
    .



Posting Permissions

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