Results 1 to 12 of 12

Thread: Adding unit to recruitment pool not showing!

  1. #1
    Miles
    Join Date
    Feb 2012
    Location
    Denmark, Europe
    Posts
    336

    Default Adding unit to recruitment pool not showing!

    Hi!

    I'm adding a unit(a general) to a stable, but in game it not showing? What could be wrong?
    I can't recruit it, though this is my codes:

    Entry in export_descr_buildings:
    recruit_pool "Mounted BG" 1 0.03 1 2 requires factions { turks, } and region_religion islam 50 and hidden_resource hr_BG
    Entry in export_descr_units:
    type Mounted BG
    dictionary Mounted_BG ; Bodyguards
    category cavalry
    class heavy
    voice_type Heavy
    banner faction main_cavalry
    banner holy crusade
    soldier mounted_br, 12, 0, 1
    mount northern heavy horse
    mount_effect elephant -4, camel -4
    attributes sea_faring, hide_forest, very_hardy, can_withdraw, can_formed_charge, knight, general_unit
    move_speed_mod 0.95
    formation 2, 4.4, 3, 6, 2, square
    stat_health 1, 3
    stat_pri 6, 14, no, 0, 0, melee, melee_blade, piercing, spear, 45, 1
    stat_pri_attr no
    stat_sec 12, 5, no, 0, 0, melee, melee_blade, piercing, sword, 0, 1
    stat_sec_attr no
    stat_pri_armour 16, 5, 5, metal
    stat_sec_armour 0, 0, flesh
    stat_heat 8
    stat_ground -1, -2, -3, 0
    stat_mental 18, disciplined, highly_trained
    stat_charge_dist 20
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 1000, 30, 75, 75, 1000, 4, 100
    armour_ug_levels 3, 4
    armour_ug_models mounted_br, mounted_br_upg
    ownership turks
    era 0 turks
    era 1 turks
    era 2 turks
    recruit_priority_offset 5
    The hidden ressource is at the cities wich should be able to recruit the generals. I have description, and ingame stuff set up under the same name as the unit, so this should work as soon i can recruit the unit

    Hope you guys will help me out here
    //ThaDoews

    TATW + MOS 1.
    6.2
    SS6.4 + BftB

  2. #2

    Default Re: Adding unit to recruitment pool not showing!

    did you add hr_BG to the list at the top of EDB and also delete the map.rwm file?

  3. #3
    Miles
    Join Date
    Feb 2012
    Location
    Denmark, Europe
    Posts
    336

    Default Re: Adding unit to recruitment pool not showing!

    Quote Originally Posted by makanyane View Post
    did you add hr_BG to the list at the top of EDB and also delete the map.rwm file?
    Yes i did. And also added the IO entry in the .cfg-file.
    //ThaDoews

    TATW + MOS 1.
    6.2
    SS6.4 + BftB

  4. #4
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: Adding unit to recruitment pool not showing!

    Does the region have >= 50% islam? Any errors in the log?

  5. #5
    Miles
    Join Date
    Feb 2012
    Location
    Denmark, Europe
    Posts
    336

    Default Re: Adding unit to recruitment pool not showing!

    Quote Originally Posted by Withwnar View Post
    Does the region have >= 50% islam? Any errors in the log?
    Yes it his and no errors in the log that i think might be it.

    [script.err] [error] Script Error in mods/testing mod/data/export_descr_buildings.txt, at line 18578, column 2
    Building DB error - faction slave has gap in building prior to saus_lodge_dd (unavailable at level zero)
    Which is the very bottom of that document.....? And there is no column 2... There is only a blank column 1.
    //ThaDoews

    TATW + MOS 1.
    6.2
    SS6.4 + BftB

  6. #6
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: Adding unit to recruitment pool not showing!

    Quote Originally Posted by ThaDoews View Post
    saus_lodge_dd
    Looks like TATW. Is this MOS by any chance? I believe that MOS has reached the 500 unit limit, or is getting close, so if this unit of yours is new then that might be why.

  7. #7
    Miles
    Join Date
    Feb 2012
    Location
    Denmark, Europe
    Posts
    336

    Default Re: Adding unit to recruitment pool not showing!

    Quote Originally Posted by Withwnar View Post
    Looks like TATW. Is this MOS by any chance? I believe that MOS has reached the 500 unit limit, or is getting close, so if this unit of yours is new then that might be why.
    Yes, i'm trying to do a little modulation to it
    But in this case, i'm not adding an extra unit?

    Actually, i'm trying to make one of the existing generals unit recruitable. I don't think that will create this as a NEW unit?
    //ThaDoews

    TATW + MOS 1.
    6.2
    SS6.4 + BftB

  8. #8
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: Adding unit to recruitment pool not showing!

    That is not a new unit, no. Are you sure that you have that recruit_pool line in the right building, and that it exists in the settlements you're checking?

  9. #9

    Default Re: Adding unit to recruitment pool not showing!

    recruit_pool "Mounted BG" 1 0.03 1 2 requires factions { turks, } and region_religion islam 50 and hidden_resource hr_BG
    try changing the replenish rate up to something higher like 1 or 0.5

    if it's not recognising the conditions instantly it might actually be active just not giving you the initial unit and taking 33.3 turns to actually get the first unit
    (in some instances you don't see the greyed out unit till you get a first one...)

  10. #10

    Default Re: Adding unit to recruitment pool not showing!

    Quote Originally Posted by Withwnar View Post
    Looks like TATW. Is this MOS by any chance? I believe that MOS has reached the 500 unit limit, or is getting close, so if this unit of yours is new then that might be why.
    How close would MOS be to the hidden resource limit? The limit is 52 iirc.


  11. #11
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: Adding unit to recruitment pool not showing!

    The limit is 64. No idea what MOS has.

  12. #12

    Default Re: Adding unit to recruitment pool not showing!

    ahhh, the other limit is 9 hidden resources per region - check that one...

Posting Permissions

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