Results 1 to 30 of 44

Thread: City Revolt - questions and CTDs

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Axebitten Modder Senior Member Dol Guldur's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,550

    Default City Revolt - questions and CTDs

    Even after all this time I am still trying to understand the way city revolts work.

    With revolts from your faction to rebels it draws upon the rebel tribes, but when your conquered settlement reverts back to the faction you took it from it seems to depend upon recruitment buildings already present - remove all these before it revolts and you get an empty settlement after the revolt...

    But, in my build at least, mercs active for hire in such a region cause a CTD when this revolt occurs (to former faction, not rebels). If the merc is not present then it revolts to an empty settlement (assuming no recruitment bldgs). If there are recruitment buildings the merc will be found in the settlement. Mercs are set to slave and to the faction ownership of the land in which they are hireable.

    This is very perplexing.
    "One of the most sophisticated Total War mods ever developed..."

  2. #2

    Default Re: City Revolt - questions and CTDs

    If a city revolts back to a previous owner the units in the city afterwards depend on what that faction can build. if that faction can't build any units e.g because you just destroyed all the buildings, then as you say it pulls the units from the local merc pool.

    Sometimes this causes the game to crash. Not entirely sure why as mercs should all by definiton be usable by all factions.

    But i guess the answer is in that. Some mercs that aren't usable by the faction that gets the revolt?

    (Might be some other reason though as maybe the reason the peasants in vanilla were all recruited in the indestructible governor building was a workaround for whatever the real cause is.)
    Last edited by nikolai1962; 12-10-2006 at 09:41.
    It's not a map.

  3. #3

    Default Re: City Revolt - questions and CTDs

    Been experimenting with this a bit as it seems to be a recurring problem with a lot of mods.

    I don't think this problem is ever likely to happen when a city revolts to rebels because it draws units from the descr_rebel_factions list and if there are any errors in the record for the local rebels then the game crashes on load. The game also crashes on load if that record has zero units in it.

    When a city revolts back to a previous owner the game doesn't crash if there are zero units available. The city garrison is empty afterwards, but that is all.

    As mentioned previously, if there are no units buildable for that faction in the city then it draws units from the merc pool for that region.

    One thing I did find is that in this case, factions can get units they don't have ownership of. I think this is the only time that can happen.

    Unfortunately I haven't modded units/models/textures type stuff much so I don't know the type of errors you get but my guess is that it is one of those type of errors which doesn't normally show up because that faction can never normally use that unit.

    Maybe?
    It's not a map.

  4. #4
    The Dark Knight Member wlesmana's Avatar
    Join Date
    Jan 2005
    Location
    Indonesia
    Posts
    602

    Default Re: City Revolt - questions and CTDs

    Yes, factions can get assigned units they don't normally have or appear to have in EDU. But it crashes when you load a battle unless you specify the texture for that faction in DMB. I've seen it happen in early SPQR.

  5. #5
    Axebitten Modder Senior Member Dol Guldur's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,550

    Default Re: City Revolt - questions and CTDs

    Yes, that's true. Best to make sure all units have slave textures then. Though I'm still not quite clear as to why it should ctd on city loyalist revolts if the garrison can be an empty one.
    "One of the most sophisticated Total War mods ever developed..."

  6. #6

    Default Re: City Revolt - questions and CTDs

    Dunno why it should--just thought it might be a clue, as maybe the code that spawns the loyalist mercs has a bug when there is an ownership mismatch with textures or something. Not very familiar with unit/texture type bugs as I've never modded that stuff, so not sure how to set up a deliberate error to test the theory.
    Last edited by nikolai1962; 12-19-2006 at 07:43.
    It's not a map.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO