Results 1 to 13 of 13

Thread: More Men

Hybrid View

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

    Default More Men

    Searched the forums but couldnt find the exact one, is it possible too get more units... i mean when a greyed out unit says available next turn, is it possible instead of 1 unit appearing more of the unit appears... eg.

    0 Swordsmen= Available next turn - End Turn - 3 Swordsmen available...

    Sorry for any inconnveniance of being in the wrong place or being asked before...

  2. #2
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: More Men

    From the Ultimate Docudemons:

    Identifier: set_recruit_pool
    Parameters: region_name|region_id value unit_name
    Description: Set specified amount of units to the unit pool of the specified type of unit in the specified region. Sample use: set_recruit_pool York_Province 5 temp heavy spearmen
    Class: SET_RECRUIT_POOL










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

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

    Default Re: More Men

    You can just change the replenish rate in the EDB(export_descr_buildings.txt).

    Find a line like this similar for whatever unit you want to use:
    Code:
    recruit_pool "Song Zhanmadao"  1   1   8  1  requires factions { song, }
    The number in red gives you 1 unit each turn in that example. Change it to 3 and the building will get 3 units each turn up to a maximum of 8(in blue). The scripting command seems promising at first glance, but I'm fairly certain there's no way to gauge the stock of a specific unit in a specific settlement, so you couldn't say:

    if "stock in York of Archers" = 1
    set_recruit_pool York 3 Archers
    end_if

    Because I'm fairly certain there's no such Condition.

  4. #4

    Default Re: More Men

    Quote Originally Posted by Augustus Lucifer View Post
    You can just change the replenish rate in the EDB(export_descr_buildings.txt).

    Find a line like this similar for whatever unit you want to use:
    Code:
    recruit_pool "Song Zhanmadao"  1   1   8  1  requires factions { song, }

    When i tried this it CTD at the splsh screen so... yea i dunno...

  5. #5

    Default Re: More Men

    Great JOb both you guys +Rep

    But i still need help, im runnig TA:TW (Third Age) and its quite different...
    Last edited by BeingOwned:)SPQR; August 20, 2009 at 03:25 AM.

  6. #6
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: More Men

    I suggest you find a different way to ask your question, the way you have asked it means that you have already been given the answer here:
    Quote Originally Posted by Augustus Lucifer View Post
    You can just change the replenish rate in the EDB(export_descr_buildings.txt).

    Find a line like this similar for whatever unit you want to use:
    Code:
    recruit_pool "Song Zhanmadao"  1   1   8  1  requires factions { song, }
    The number in red gives you 1 unit each turn in that example. Change it to 3 and the building will get 3 units each turn up to a maximum of 8(in blue).
    If that is not the answer then what you have asked is not the question... so what is it?

  7. #7
    Byg's Avatar Read The Manual
    Patrician

    Join Date
    Nov 2005
    Posts
    4,569

    Default Re: More Men

    What is the question, that is the question. Better than shakespeare

    NEW BGR V 20150324! . . . . . . . .. . . .BGRIV_E

  8. #8
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: More Men

    You will need to copy and paste the bit you edited here for us to be able help you.

    What you've been told to do is completely correct, but the manner in which you've tried to implement it must be incorrect if you haven't got the result you asked for.
    Last edited by Taiji; August 20, 2009 at 08:52 AM.

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

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

    Default Re: More Men

    If you copied my line exactly it will CTD, because Song Zhanmadao is a unit from All Under Heaven, not Third Age(it was just an example of context). You need to find the line for the specific unit you want to change and only edit the numbers in that line as specified. You'll have to do it a multitude of times if you want it to change it for multiple units(or use regular expressions, but that's another matter entirely). I'm not sure what the third age EDB looks like but all recruit pools use the same format.

  10. #10

    Default Re: More Men

    Code:
    recruit_pool "Dismounted Kofm"  1   1.0   7  3  requires factions { sicily, }  and region_religion numenorian 25
                    recruit_pool "Axemen of Lossarnach"  1   1.0   2  1  requires factions { sicily, }  and hidden_resource lossarnach 
                    recruit_pool "Marines"  1   1.0   6  3  requires factions { sicily, }  and hidden_resource pelargir
                    recruit_pool "Gondor Spearmen"  1   1.0   3  1  requires factions { sicily, }  and region_religion numenorian 75
                    recruit_pool "Gondor Infantry"  1   1.0   3  1  requires factions { sicily, }  and region_religion numenorian 75
                    recruit_pool "Dismounted Swan Knights"  1   1.0   2  1  requires factions { sicily, }  and hidden_resource amroth
    ;               recruit_pool "Fountain Guard"  1   1.0   2  1  requires factions { sicily, }  and hidden_resource minas_tirith
                    recruit_pool "Desert Spearmen"  1   1.0   7  3  requires factions { spain, }  and region_religion catholic 25
                    recruit_pool "Southron Spearmen"  1   1.0   4  2  requires factions { spain, }  and region_religion catholic 45
                    recruit_pool "Corsairs"  1   1.0   4  2  requires factions { spain, }  and hidden_resource coast 
                    recruit_pool "Southron Pikemen"  1   1.0   4  2  requires factions { spain, }  and region_religion catholic 60
                    recruit_pool "Beastmaster"  1   1.0   2  1  requires factions { spain, }  and region_religion catholic 45
                    recruit_pool "Miners"  1   1.0   6  3  requires factions { moors, }  and region_religion islam 25
                    recruit_pool "Dwarven Warriors"  1   1.0   6  2  requires factions { moors, }  and region_religion islam 30
                    recruit_pool "Clan Warriors"  1   1.0   3  1  requires factions { moors, }  and region_religion islam 45
                    recruit_pool "Axemen of Erebor"  1   1.0   4  1  requires factions { moors, }  and hidden_resource erebor
                    recruit_pool "Dwarven Halberdmen"  1   1.0   4  1  requires factions { moors, }  and region_religion islam 45
                    recruit_pool "Dragonslayers"  1   1.0   2  1  requires factions { moors, }  and hidden_resource grey_mountains
                    recruit_pool "Khazad Guard"  1   1.0   1  1  requires factions { moors, }  and hidden_resource moria
                    recruit_pool "Orc Band"  1   1.0   7  3  requires factions { england, }  and region_religion catholic 25
                    recruit_pool "Mordor Orcs"  1   1.0   7  3  requires factions { england, }  and region_religion catholic 30
                    recruit_pool "2handed Orcs"  1   1.0   3  1  requires factions { england, }  and region_religion catholic 45
                    recruit_pool "Mordor Halberd"  1   1.0   3  1  requires factions { england, }  and region_religion catholic 60
                    recruit_pool "Mordor Uruks"  1   1.0   2  1  requires factions { england, }  and region_religion catholic 90
                    recruit_pool "Dale Militia"  1   1.0   7  3  requires factions { scotland, }  and region_religion northmen 25
                    recruit_pool "Esgaroth Town Guards"  1   1.0   5  3  requires factions { scotland, }  and hidden_resource esgaroth 
                    recruit_pool "Dale Spearmen"  1   1.0   5  2  requires factions { scotland, }  and region_religion northmen 30
                    recruit_pool "Dale Swordsmen"  1   1.0   2  1  requires factions { scotland, }  and region_religion northmen 45
                    recruit_pool "Dale Axemen"  1   1.0   2  1  requires factions { scotland, }  and region_religion northmen 45
                    recruit_pool "Dale Man-at-Arms"  1   1.0   2  1  requires factions { scotland, }  and region_religion northmen 90
                    recruit_pool "High Sword"  1   1.0   5  2  requires factions { egypt, }  and region_religion orthodox 25
                    recruit_pool "Elf Spear"  1   1.0   3  1  requires factions { egypt, }  and region_religion orthodox 75
                    recruit_pool "Elf Sword"  1   1.0   2  1  requires factions { egypt, }  and region_religion orthodox 75
                    recruit_pool "Elf Nobel"  1   1.0   2  1  requires factions { egypt, }  and region_religion orthodox 90
                    recruit_pool "Silvan Spear"  1   1.0   4  2  requires factions { mongols, }  and region_religion orthodox 25
                    recruit_pool "Silvan Sword"  1   1.0   4  2  requires factions { mongols, }  and region_religion orthodox 45
                    recruit_pool "Silvan Heavy Spearmen"  1   1.0   2  1  requires factions { mongols, }  and region_religion orthodox 75 
                    recruit_pool "Silvan Heavy Swordsmen"  1   1.0   2  1  requires factions { mongols, }  and region_religion orthodox 75
                    recruit_pool "Snaga Skirmishers"  1   1.0   7  3  requires factions { france, }  and region_religion catholic 25
                    recruit_pool "Dunlendings"  1   1.0   7  3  requires factions { france, }  and hidden_resource dunland
                    recruit_pool "Uruk-Hai Raiders"  1   1.0   4  2  requires factions { france, }  and region_religion catholic 45
                    recruit_pool "Uruk-Hai Infantry"  1   1.0   2  1  requires factions { france, }  and region_religion catholic 60
                    recruit_pool "Uruk-Hai Pikemen"  1   1.0   2  1  requires factions { france, }  and region_religion catholic 60
                    recruit_pool "Berserkers"  1   1.0   1  0  requires factions { france, }  and region_religion catholic 90
                    recruit_pool "Balchoth Horde"  1   1.0   7  3  requires factions { venice, }  and region_religion catholic 25
                    recruit_pool "Easterling Clansmen"  1   1.0   6  2  requires factions { venice, }  and region_religion catholic 30
                    recruit_pool "Halberdiers"  1   1.0   4  2  requires factions { venice, }  and region_religion catholic 60
                    recruit_pool "Rhunnic Swordsmen"  1   1.0   3  1  requires factions { venice, }  and region_religion catholic 45
                    recruit_pool "Lumber Men"  1   1.0   6  2  requires factions { turks, }  and region_religion northmen 25
                    recruit_pool "Town Militia"  1   1.0   6  2  requires factions { turks, }  and region_religion northmen 30
                    recruit_pool "Suburb Militia"  1   1.0   7  3  requires factions { turks, }  and region_religion northmen 30
                    recruit_pool "Bandits"  1   1.0   6  2  requires factions { turks, }  and region_religion northmen 45
                    recruit_pool "militia"  1   1.0   7  3  requires factions { milan, }  and region_religion northmen 25
                    recruit_pool "Rohan Axemen"  1   1.0   4  2  requires factions { milan, }  and region_religion northmen 30
                    recruit_pool "Special Axemen"  1   1.0   2  1  requires factions { milan, }  and hidden_resource riddermark
                    recruit_pool "warriors"  1   1.0   2  1  requires factions { milan, }  and region_religion northmen 60
                    recruit_pool "Dismounted Royal Guard"  1   1.0   2  1  requires factions { milan, }  and hidden_resource edoras
    What do i need to change exactly?

  11. #11
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: More Men

    Code:
    recruit_pool "Dismounted Kofm"  1  1.0   7  3  requires factions { sicily, }  and region_religion numenorian 25
    With whichever unit you want more frequently available you raise that number I put in bold.

    It looks like that unit will produce '1 per turn', because it says '1'. If, for example, you want 3 available per turn just raise it to '3'.

    Note: The '.0' after the after the number is utterly superfluous, but you can, for example, set the number to '0.5' to get 1 unit every 2 turns.
    Last edited by Taiji; August 21, 2009 at 08:49 AM.

  12. #12

    Default Re: More Men

    Great! I got it to work... + Rep to you all!

  13. #13
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: More Men

    Good to hear, well done

Posting Permissions

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