Results 1 to 16 of 16

Thread: Simulating Unit Military Careers

Hybrid View

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

    Default Simulating Unit Military Careers

    hello


    is it possible to simulate a simple military career for units?


    i would like that after X turns starting as soon as any unit is recruited, it dies (preferably desbands)


    it's kinda stupid when you've the same units for centuries



    i would like to simulate a army career, so basicly it would work like this as a simple example:

    turn 1, recruits X unit

    20 turns after the unit is disbanded



    this should work for all units that are recruited, no matter wich faction, wich rank, etc


    so is it possible?

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


  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: Simulating Unit Military Careers

    Don't think you can do that for units. There is no way of keeping track of that as you cannot attach a label to individual units.
    You can do that with characters.

    But why would a unit disband after a certain time? They still have the 6th cavalry in the Us I believe. They didn't disband after Custer's death!










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

    Default Re: Simulating Unit Military Careers

    Quote Originally Posted by gigantus View Post
    Don't think you can do that for units. There is no way of keeping track of that as you cannot attach a label to individual units.
    You can do that with characters.

    But why would a unit disband after a certain time? They still have the 6th cavalry in the Us I believe. They didn't disband after Custer's death!

    but the soldiers are not the same



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


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

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

    Default Re: Simulating Unit Military Careers

    Quote Originally Posted by Swagger View Post
    and let's wait for Lucifer


    As has been stated, doing things on a unit by unit level is just stabbing in the dark. In this post I explained some of the inherent complications with units, but that idea was still feasible. This one makes to many assumptions. It assumes all units will be attached to a general, it assumes they won't change generals, etc.

    You can kill units on the battle map, but with no way of attaching a tenure label to each unit it would be hit and miss, not to mention annoy the player profoundly if it wasn't done through spawned/terminated battles(which I've heard are problematic).

  5. #5
    Lord Condormanius's Avatar Artifex
    Join Date
    Dec 2006
    Location
    Derby, CT U.S.A.
    Posts
    6,439

    Default Re: Simulating Unit Military Careers

    It can't be done.
    "There is a difference between what is wrong and what is evil. Evil is committed when clarity is taken away from what is clearly wrong, allowing wrong to be seen as less wrong, excusable, right, or an obligatory commandment of the Lord God Almighty.

    Evil is bad sold as good, wrong sold as right, injustice sold as justice. Like the coat of a virus, a thin veil of right can disguise enormous wrong and confer an ability to infect others."
    -John G. Hartung

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

    Default Re: Simulating Unit Military Careers

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


  7. #7
    Lord Condormanius's Avatar Artifex
    Join Date
    Dec 2006
    Location
    Derby, CT U.S.A.
    Posts
    6,439

    Default Re: Simulating Unit Military Careers

    Quote Originally Posted by Swagger View Post
    not even anything similar?
    You can't label military units like you can characters. You may be able to script something that keeps those units from being created, but not to disband them automatically. You can disband them manually, in-game.
    "There is a difference between what is wrong and what is evil. Evil is committed when clarity is taken away from what is clearly wrong, allowing wrong to be seen as less wrong, excusable, right, or an obligatory commandment of the Lord God Almighty.

    Evil is bad sold as good, wrong sold as right, injustice sold as justice. Like the coat of a virus, a thin veil of right can disguise enormous wrong and confer an ability to infect others."
    -John G. Hartung

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

    Default Re: Simulating Unit Military Careers

    Quote Originally Posted by Lord Condormanius View Post
    You can't label military units like you can characters. You may be able to script something that keeps those units from being created, but not to disband them automatically. You can disband them manually, in-game.
    yes but that will not work for the AI
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  9. #9
    Lord Condormanius's Avatar Artifex
    Join Date
    Dec 2006
    Location
    Derby, CT U.S.A.
    Posts
    6,439

    Default Re: Simulating Unit Military Careers

    Quote Originally Posted by Swagger View Post
    yes but that will not work for the AI
    That is correct.
    "There is a difference between what is wrong and what is evil. Evil is committed when clarity is taken away from what is clearly wrong, allowing wrong to be seen as less wrong, excusable, right, or an obligatory commandment of the Lord God Almighty.

    Evil is bad sold as good, wrong sold as right, injustice sold as justice. Like the coat of a virus, a thin veil of right can disguise enormous wrong and confer an ability to infect others."
    -John G. Hartung

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

    Default Re: Simulating Unit Military Careers

    and i want this to work for the AI and player is possible
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  11. #11
    Lord Condormanius's Avatar Artifex
    Join Date
    Dec 2006
    Location
    Derby, CT U.S.A.
    Posts
    6,439

    Default Re: Simulating Unit Military Careers

    Quote Originally Posted by Swagger View Post
    and i want this to work for the AI and player is possible
    As far as I know, this is not possible.
    "There is a difference between what is wrong and what is evil. Evil is committed when clarity is taken away from what is clearly wrong, allowing wrong to be seen as less wrong, excusable, right, or an obligatory commandment of the Lord God Almighty.

    Evil is bad sold as good, wrong sold as right, injustice sold as justice. Like the coat of a virus, a thin veil of right can disguise enormous wrong and confer an ability to infect others."
    -John G. Hartung

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

    Default Re: Simulating Unit Military Careers

    can't something like this be done:

    recruits unit

    starts countdown

    action -> disband/kill unit

    ----


    i know there's a trigger to kill units, but i don't think there's a condition to pick specific units or so... the same for a countdown thing
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  13. #13
    Pnutmaster's Avatar Dominus Qualitatium
    Join Date
    Jan 2006
    Location
    Brooklyn, NY
    Posts
    1,572

    Default Re: Simulating Unit Military Careers

    If all units were recruited in the same turn, attached to the governor that recruited them, and all destroyed at the same time, you could have a form of time-based disbandment. However, units are constantly exchanged between armies and the only way to disband an army's units is through the battle map (last time I checked). The code would be more convoluted than convenient.

    Pretend units maintain their number by recruiting and retiring soldiers.
    Under the patronage and bound to the service of the
    artist formerly known as Squeakus Maximus
    Stoic Pantheist of S.I.N

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

    Default Re: Simulating Unit Military Careers

    ASFAIK, you can only disband all units of a certain type at once. Say you have a counter starting when the first unit of Knights Templars is recruited, and when the counter has reached a certain value you can disband all of them per script, including those that had been recruited the very same turn.

    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

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

    Default Re: Simulating Unit Military Careers

    It's really not so bad realism-wise as you imagine. What makes you think that the soldiers in this unit are the same? The UNIT remains, but its soldiers could disband, enlist, rotate, all the time.


    "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

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

    Default Re: Simulating Unit Military Careers

    Perhaps a script that checks and reduces experience when it's been at a certain level for a certain amount of time... (i don't know if that's possible)

Posting Permissions

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