Results 1 to 20 of 20

Thread: make other units replenish like genrals?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    IndianaJoe's Avatar Miles
    Join Date
    Jul 2008
    Location
    Not where you think I am
    Posts
    396

    Default make other units replenish like genrals?

    I was wondering if I could add the General's bodyguard replenish in friendly territory to units like knights, or peasants and levys, is this possible? if yes help appreciated

  2. #2
    Gorrrrrn's Avatar Citizen
    Join Date
    Jan 2007
    Location
    here
    Posts
    5,546

    Default Re: make other units replenish like genrals?

    Check the Mod squad's Ultimate docudemons

    has the command:

    replenish_units
    army identifier (the general's name)
    replenish all the units to full numbers for the army
    replenish_units Gaius Julius
    REPLENISH_UNITS

    (never tried to use it in m2tw but if you have success do let us know.)

  3. #3
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: make other units replenish like genrals?

    That won't work because requires the general's name, and won't take anonymously named units.


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  4. #4
    IndianaJoe's Avatar Miles
    Join Date
    Jul 2008
    Location
    Not where you think I am
    Posts
    396

    Default Re: make other units replenish like genrals?

    wait, sorry for my poor articulation, I didn't mean replenish per se, I ment it would increase over time in friendly territory like the bodyguard

  5. #5
    konny's Avatar Artifex
    Join Date
    Jul 2007
    Location
    Germania Inferior
    Posts
    3,631

    Default Re: make other units replenish like genrals?

    Certainly not possible.

    Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
    Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
    dHRR 0.8 beta released! get it here
    New: Native America! A mini-mod for Kingdoms America

  6. #6
    Gorrrrrn's Avatar Citizen
    Join Date
    Jan 2007
    Location
    here
    Posts
    5,546

    Default Re: make other units replenish like genrals?

    That won't work because requires the general's name, and won't take anonymously named units.
    OK with that but would it work with all units stacked with a named general as a console command?

    (Can one write a script to find the name of AI generals in settlements? I know the AI will, if it has the cash and the units can be built in the settlement, replenish units without being told to do so, but it doesn't seem to know about which units can be be replenished where, so being able to this would help the AI rebuild damaged units without having to move them to the correct settlement.)

    Apologies if that's moving away from the O/P.

  7. #7
    konny's Avatar Artifex
    Join Date
    Jul 2007
    Location
    Germania Inferior
    Posts
    3,631

    Default Re: make other units replenish like genrals?

    Quote Originally Posted by Rozanov View Post
    (Can one write a script to find the name of AI generals in settlements? I know the AI will, if it has the cash and the units can be built in the settlement, replenish units without being told to do so, but it doesn't seem to know about which units can be be replenished where, so being able to this would help the AI rebuild damaged units without having to move them to the correct settlement.)
    I don't think that there is a script command that can detect characters' names. One workaround to your problem could be to make all units recruitable for the AI everywhere; but those that actually should not be recruited in a specific settlement with 0.9 maximum number there. That way the AI would be able to replentish but not to recruit new units where it shouldn't.

    Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
    Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
    dHRR 0.8 beta released! get it here
    New: Native America! A mini-mod for Kingdoms America

  8. #8
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: make other units replenish like genrals?

    Even if there are other units stacked together with the general, the only unit that the command replenishes (as far as I know) is the general's itself.


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  9. #9
    IndianaJoe's Avatar Miles
    Join Date
    Jul 2008
    Location
    Not where you think I am
    Posts
    396

    Default Re: make other units replenish like genrals?

    ok so I can't make the knights turn into a 75 man unit over time like the bodyguard? (all of your mod-talk is hard to understand!)

  10. #10
    Gorrrrrn's Avatar Citizen
    Join Date
    Jan 2007
    Location
    here
    Posts
    5,546

    Default Re: make other units replenish like genrals?

    IJ

    in a word - NO

    I tried the replenish units as a console command and it doesn't work (not that it should as the docudemons only have it a a command you can use in scripts.)

    Only use I can see is if you spawn an army with a named character it should be able to replenish the units in that army if you put it in the campaign script. (But that would need testing to confirm.)

  11. #11
    IndianaJoe's Avatar Miles
    Join Date
    Jul 2008
    Location
    Not where you think I am
    Posts
    396

    Default Re: make other units replenish like genrals?

    ok, thanks anyway

  12. #12
    Swagger's Avatar Imperial Coffee-Runner
    Join Date
    Apr 2007
    Location
    Portugal
    Posts
    12,453

    Default Re: make other units replenish like genrals?

    where can i find those ultimate docudemons?

    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  13. #13
    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: make other units replenish like genrals?











  14. #14
    Swagger's Avatar Imperial Coffee-Runner
    Join Date
    Apr 2007
    Location
    Portugal
    Posts
    12,453

    Default Re: make other units replenish like genrals?

    ty
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  15. #15
    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: make other units replenish like genrals?

    one is glad to be of service










  16. #16

    Default Re: make other units replenish like genrals?

    sry to ask, but what about "retraining" the units in friendly lands.
    instead of retraining a unit at ur city or castle and taking up a training slot and turn. Could ur units replenish like X amount per turn on their own.

  17. #17
    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: make other units replenish like genrals?











  18. #18
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: make other units replenish like genrals?

    Gigantus? You're linking back to this thread.


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  19. #19
    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: make other units replenish like genrals?

    I am. Post #10 that is. Some people simply don't make an effort, do I have to support that? Sorry about the iness.










  20. #20

    Default Re: make other units replenish like genrals?

    Sry to waste your time.
    Last edited by Dietre; April 30, 2009 at 05:40 PM.

Posting Permissions

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