Results 1 to 20 of 20

Thread: Crash when watching a huge city

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Crash when watching a huge city

    Hi all, not sure if this is a mapping or a coding issue...it sounds like a mix of issues!

    Anyway, in Diadochi Total War we have a huge city owned by the Indipendent People (faction slave) from the beginning of the campaign; that's to trigger a script for a roman army reform. Well, the problem is that when you have FoW off and look at the area in which that city is, the game crashes with no error message.

    We have thought for long that it was a problem of the map files in that area, but finally I've found out that these crashes are caused by the imperial palace owned by the slave faction. I can say it with absolute certainty because I replaced that huge_city\imperial palace with town\governors house and the game doesn't crash. But, setting any otherslave settlement with huge_city\imperial palace the game crashes.

    To sum up, it seems the slave faction can't have a huge city from the campaign start, while any other faction can.

    Any idea guys?

    EDIT: to be more clear, the red combination doesn't work, the green does.
    Code:
    ; Mariaba
    settlement
    {
        level huge_city
        region Saba
    
        year_founded 0
        population 400
        plan_set default_set
        faction_creator parthia
        building
        {
            type core_building imperial_palace
        }
        building
        {
            type hinterland_culture_east east_native
        }
    }
    Code:
    ; Mariaba
    settlement
    {
        level town
        region Saba
    
        year_founded 0
        population 400
        plan_set default_set
        faction_creator parthia
        building
        {
            type core_building governors_house
        }
        building
        {
            type hinterland_culture_east east_native
        }
    }
    Last edited by Spartan 666; April 03, 2010 at 01:47 PM.


  2. #2

    Default Re: Crash when watching a huge city

    Huge cities for rebels works fine for me. What's the faction-creator of the settlement and what's the sub-faction of the city's starting garrison?

  3. #3

    Default Re: Crash when watching a huge city

    The faction creator is parthia, both in descr_regions.txt and in descr_strat.txt. The garrison is also parthia.


  4. #4

    Default Re: Crash when watching a huge city

    Check the revolt associated with that city and the rebel army present in it as a garrison. Some of the units are possibly not having the slave ownership or a similar problem.

  5. #5

    Default Re: Crash when watching a huge city

    It can't be because of missing faction ownership for some units, if it was because of this the game would crash even with town\governors_house.

    What do you mean with "revolt associated with that city"?

    And anyway, it crashes with ANY rebel huge city, not with a particular city.
    Last edited by Spartan 666; April 03, 2010 at 08:51 AM.


  6. #6

    Default Re: Crash when watching a huge city

    He means the settlement's rebel faction.

    Can all your regular factions/cultures have huge settlements without any problems?

  7. #7

    Default Re: Crash when watching a huge city

    What do you mean with "revolt associated with that city"?
    Any region has a revolt/rebels mentioned in descr_regions. That revolt has an army composition mentioned in descr_rebel_factions. The units in there need to have the slave ownership or the game crashes. Problems with ownership of the units mentioned in descr_rebel_factions will result in crashes. I forgot exactly what in this line happened to me(something wrong with the units mentioned in one of the revolts) while I modded TIC, but the result was precisely a crash when scrolling over those rebel cities on the campaign map. That`s why I`ve said check the ownership of the units you have in those settlements and in the revolts of those settlements.

  8. #8

    Default Re: Crash when watching a huge city

    If that was the problem, he'd have a crash regardless of settlement level, no?

  9. #9

    Default Re: Crash when watching a huge city

    @ Florin80: thanks for the suggestion but that's not the case. I checked and it's all fine, as Aradan says it would have crashed regardless of the settlement level.

    @ Aradan: that's what I can't understand. Eastern factions can have huge cities, infact I tried to make Parthia start the campaign with a huge_city and it worked. The slave faction is "roman culture" in descr_sm_factions.txt, and Romans can have huge cities.


  10. #10

    Default Re: Crash when watching a huge city

    Try removing all buildings and garrison from the settlement and turning it into a village. Delete map.rwm, and start a campaign with fow turned off. Then, after a new map.rwm has been generated, go back to DS and make the settlement a huge city (again without buildings). Check if it works properly then (toggle fow off/on again).

  11. #11

    Default Re: Crash when watching a huge city

    Turning the city into a village works, since there is no imperial Palace. I'll try to do as you suggested, do you think there are corruption problems during the map generation?


  12. #12

    Default Re: Crash when watching a huge city

    Maybe. I remember having to turn a settlement to a village without any buildings with fow on in order to have a working map.rwm, and then I could add stuff to the city without problems.

  13. #13

    Default Re: Crash when watching a huge city

    Doesn't work. I made the game generate a working map.rwm, then added buildings but the game crashed.


  14. #14

    Default Re: Crash when watching a huge city

    An empty huge city (just the govt bldg and no garrison) won't work either?

  15. #15

    Default Re: Crash when watching a huge city

    No, the crash is caused by the governors core building (the imperial palace, in this case) itself! Any other governors core building works, but the Imperial palace doesn't.


  16. #16

    Default Re: Crash when watching a huge city

    If you change the settlement's faction-creator to another faction (try a different culture) does it crash?

  17. #17

    Default Re: Crash when watching a huge city

    I changed the faction_creator to greek_cities and it doesn't crash.

    EDIT: it didn't crash the first time, from the second time it began crashing...
    Last edited by Spartan 666; April 04, 2010 at 09:41 AM.


  18. #18

    Default Re: Crash when watching a huge city

    Is the EDB ownership referencing parthia individually, instead of grouping it with "eastern"? If yes, try changing that, and also try removing the parthia-specific description of the imperial palace from export_buildings (if there is one).

  19. #19

    Default Re: Crash when watching a huge city

    Btw, any idea why vanilla rtw groups parthia and eastern ownerships for the buildings even though parthia is included in the eastern culture in vanilla?

  20. #20

    Default Re: Crash when watching a huge city

    @ Aradan: I edited my previous post, it worked only the first time, after that it began crashing.

    Anyway, parthia is grouped under "eastern" in EDB, and it has a parthia-specific description for the imperial palace in export_buildings.txt...

    @ Florin: I remember I read about that a long time ago but can't remember...

    UPDATE: Well, this one beats them all. By changing the faction creator to a barbarian faction (which can't have an Imperial Palace) the game doesn't crash and the city looks like a greek\roman town.
    Last edited by Spartan 666; April 06, 2010 at 05:17 AM.


Posting Permissions

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