Page 2 of 2 FirstFirst 12
Results 21 to 31 of 31

Thread: Recruiting Generals

  1. #21

    Default Re: Recruiting Generals

    I doesn't have export_descr_building in my mtw 2 files help me

  2. #22

    Default Re: Recruiting Generals

    There is a unpacked export_descr_building in bare geomod.
    http://www.twcenter.net/forums/showt...ld-Bare-Geomod

    Speaking of unpacking:
    http://www.twcenter.net/forums/showt...cking-the-Game

    Read on how to set your game for modding, bare geomod being the simplest, because even the most minor change won't work on the base game without a proper set up. And modding directly in the main data without a mod folder is a bad idea.

  3. #23

    Default Re: Recruiting Generals

    u can use Late Bodyguard

    recruit_pool "NE Late Bodyguard" 0.1 1 1 0 requires factions { hre, } ofc u choose the faction u wanna use. u can use at any Bodyguard. not only NE. have fun

  4. #24

    Default Re: Recruiting Generals

    Hi, sorry for the necroposting but have some doubs and dont want to open a new thread about the same thematic.

    Adding in the EDB the code line its easy:

    recruit_pool "NE Late Bodyguard" 0.1 1 1 0 requires factions { hre, }

    I understand the unit in the EDU have the general_unit attribute, but what happen If I want to do 2 types of generals? for example If I create a unit of peasants, with a copypaste of the same stats, size, etc, except this new unit have the general_unit. When I recruit this peasant unit, a general spawn with the peasants bodyguards? How is related the creation of unit X with a General spawn?

    Can do different types of bodyguards depends the unit I modding? Like generals with knights like vanilla or different types of leaders/captains/warchiefs/noblemen, etc?

    Im very interested in explore that option, anyone here to answer or discuss that?


    See more about Tierra Santa TW and other projects in Discord
    Join the official Discord server of the mod: https://discord.gg/u6VFKgDzpX
    Download TSTW here: https://www.moddb.com/mods/tierra-santa-tw-mod
    Rise of Quetzal TW (WIP) in https://www.moddb.com/mods/rise-of-quetzal-tw

  5. #25
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,132
    Blog Entries
    35

    Default Re: Recruiting Generals

    I think you get mixed because of the EDU attribute 'general_unit'. This attribute indicates that the first unit with this attribute in the EDU and the ownership of a particular faction with be used as the default body guard unit for named characters added later to the game. Any following 'general_unit' units in the EDU for the same faction will be ignored as bodyguard units.

    In the EDB, as far as I know, this attribute means that you will recruit a 'named character' who can obtain traits - commonly referred to as general. Where both effects are concerned it doesn't matter what model you use or what stats as long as the attribute 'general_unit' is present in the EDU.










  6. #26

    Default Re: Recruiting Generals

    Ok, now understand the only way to create for example a peasant bodyguard is via script?

    See more about Tierra Santa TW and other projects in Discord
    Join the official Discord server of the mod: https://discord.gg/u6VFKgDzpX
    Download TSTW here: https://www.moddb.com/mods/tierra-santa-tw-mod
    Rise of Quetzal TW (WIP) in https://www.moddb.com/mods/rise-of-quetzal-tw

  7. #27
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,132
    Blog Entries
    35

    Default Re: Recruiting Generals

    If the peasant model used hasn't got the attribute (and placement) in EDU to be used as default then that's the only way: script or descr_strat, both times by listing the unit in the first army line.

    That's how William Wallace got the highlanders in the brittania (?) campaign.
    Last edited by Gigantus; April 17, 2022 at 01:05 PM.










  8. #28

    Default Re: Recruiting Generals

    Only via script is ok for me, I have a idea to "cheat" the game, I can create a set of "buildings" like "Peasant Recruitment" or "Noble Levies" , etc and when this building is finished can activate a script who spawn an army near your capital or X,Y coordinates for example, that can be valid ?

    See more about Tierra Santa TW and other projects in Discord
    Join the official Discord server of the mod: https://discord.gg/u6VFKgDzpX
    Download TSTW here: https://www.moddb.com/mods/tierra-santa-tw-mod
    Rise of Quetzal TW (WIP) in https://www.moddb.com/mods/rise-of-quetzal-tw

  9. #29
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,132
    Blog Entries
    35

    Default Re: Recruiting Generals

    It will be a complex script unless you restrict the building to a small number of settlements as each settlement will need to be monitored for it's creation (BuildingCompleted event)
    Last edited by Gigantus; April 17, 2022 at 02:14 PM.










  10. #30

    Default Re: Recruiting Generals

    Yeah can be complex but, with hidden resources can be possible, at least only in a few regions

    See more about Tierra Santa TW and other projects in Discord
    Join the official Discord server of the mod: https://discord.gg/u6VFKgDzpX
    Download TSTW here: https://www.moddb.com/mods/tierra-santa-tw-mod
    Rise of Quetzal TW (WIP) in https://www.moddb.com/mods/rise-of-quetzal-tw

  11. #31
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,132
    Blog Entries
    35

    Default Re: Recruiting Generals

    Agreed, hidden resources will be the way to restrict.










Page 2 of 2 FirstFirst 12

Posting Permissions

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