Results 1 to 10 of 10

Thread: Stopping Bodyguards from Replenishing

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Moneybags14's Avatar Ordinarius
    Join Date
    May 2010
    Location
    United States
    Posts
    709

    Default Stopping Bodyguards from Replenishing

    Is it possible to keep a Bodyguard unit from replenishing in the campaign? I have been unable to do so at the moment but I am trying alot of ways to trick the game

  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: Stopping Bodyguards from Replenishing

    That is hard coded - most of the time you cannot retrain the bodyguard the regular way.










  3. #3
    Moneybags14's Avatar Ordinarius
    Join Date
    May 2010
    Location
    United States
    Posts
    709

    Default Re: Stopping Bodyguards from Replenishing

    Dang

    I have been trying to go around it but alas, no luck. I only want to keep one generals bodyguard unit from replenishing... Stupid hardcodes, they are the bane of my existence.

  4. #4

    Default Re: Stopping Bodyguards from Replenishing

    you can reduce/ increase generals bodyguards numbers with traits and ancillaries. traits like "HighPersonalSecurity 3" increase the numbers, whereas traits like "LaxPersonalSecurity 3" will decrease numbers.

    So you could possibly trick the ai with a trait perhaps!


  5. #5
    Moneybags14's Avatar Ordinarius
    Join Date
    May 2010
    Location
    United States
    Posts
    709

    Default Re: Stopping Bodyguards from Replenishing

    Hmmmmm,

    Thanks danny! Ill havee to try it out when I get home

  6. #6
    Moneybags14's Avatar Ordinarius
    Join Date
    May 2010
    Location
    United States
    Posts
    709

    Default Re: Stopping Bodyguards from Replenishing

    It did not work

    I even made it a ridiculous negative effect on personalsecurity and no dice... bah!

  7. #7

    Default Re: Stopping Bodyguards from Replenishing

    it could possibly take 1 or 2 turns before you notice any difference.


  8. #8
    Moneybags14's Avatar Ordinarius
    Join Date
    May 2010
    Location
    United States
    Posts
    709

    Default Re: Stopping Bodyguards from Replenishing

    Well I needed it to take effect immediately as I am trying to keep a 1 manned general a single unit, but the next turn he turns into 2.

    But another question, how can a general not have a bodyguard??? If I destroy the unit that is currently the bodyguard via script, the general says "no personal bodyguard to show" on his information. Shouldn't the next in line unit become the bodyguard?

    Or is there a way to script a unit to become the bodyguard?
    Last edited by Moneybags14; October 04, 2011 at 09:24 PM.

  9. #9
    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: Stopping Bodyguards from Replenishing

    It's through the capability 'general_unit' in the EDU - works only for the first unit in line for that faction. You would have to use the additional capability 'general_unit_upgrade' to use a second unit.










  10. #10
    Moneybags14's Avatar Ordinarius
    Join Date
    May 2010
    Location
    United States
    Posts
    709

    Default Re: Stopping Bodyguards from Replenishing

    Quote Originally Posted by Gigantus View Post
    It's through the capability 'general_unit' in the EDU - works only for the first unit in line for that faction. You would have to use the additional capability 'general_unit_upgrade' to use a second unit.
    So it is possible to have the next unit become the general bodyguard? Is "general_unit_upgrade" an attribute in the EDU of a unit or in the script?

    EDIT: I just tried it, it didn't work as an attribute in the EDU .... Still has the same reaction when the "destroy_units" command goes into effect.

    But I forgot to mention that if the general goes into a battle, a regular bodyguard unit which is at the top of the EDU, spawns right before the battle and becomes the new bodyguard...

    EDIT2: I just need to know why the bodyguard unit is not replaced after the "destroy_units" command via script, I would be able to finally realize the lofty goal I have set for myself. This is the only thing left in my way...
    Last edited by Moneybags14; October 04, 2011 at 10:29 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
  •