Results 1 to 10 of 10

Thread: City Revolts and "create_building" command

  1. #1
    Member Member Callicles's Avatar
    Join Date
    Sep 2007
    Location
    Acharnae
    Posts
    180

    Default City Revolts and "create_building" command

    When a city revolts to a different faction, I'm not sure that the AI knows to institute a government, and the script doesn't create one unless the AI takes a settlement by force. Is there a way to use the console command "create_building" to add the proper government buildings to AI controlled settlements?

    If so, is this how I would do it: create_building "Ankyra" "type2"

    Would I need to build the "pacify region" first?

  2. #2
    EB TRIBVNVS PLEBIS Member MarcusAureliusAntoninus's Avatar
    Join Date
    Jul 2006
    Location
    The State of Jefferson, USA
    Posts
    5,722

    Default Re: City Revolts and "create_building" command

    I don't think there is an easy way to do so, or else it would have been done already. And you only need to spawn the government, if you spawn the pacification then the government you will have two separate buildings, as the script cannot spawn a building over another even if it is in the same building tier.


  3. #3
    Member Member Callicles's Avatar
    Join Date
    Sep 2007
    Location
    Acharnae
    Posts
    180

    Default Re: City Revolts and "create_building" command

    The console doesn't recognize the "create_building" command. I guess you were right. It doesn't work.

  4. #4
    Member Member mrtwisties's Avatar
    Join Date
    Nov 2007
    Location
    Sydney, Australia
    Posts
    235

    Default Re: City Revolts and "create_building" command

    Some console commands only work through a script, and I'm pretty sure create_building is one of them. There's a generic script file in scripts/show_me which is pretty useful for running incidental stuff like this (or for testing new code). If you open up the file and put the console command in, you might have more success. Depends on whether the syntax for the command is correct, and I've got no idea about that.

    IIRC you run the generic script by hitting "F1", clicking the help button on the scroll and then clicking on "show me".

  5. #5
    Member Member Callicles's Avatar
    Join Date
    Sep 2007
    Location
    Acharnae
    Posts
    180

    Default Re: City Revolts and "create_building" command

    Can you explain further if you know? If there is a way to manually create the government structure for the AI, no matter how much work is required, I'll do it.

  6. #6
    Member Member mrtwisties's Avatar
    Join Date
    Nov 2007
    Location
    Sydney, Australia
    Posts
    235

    Default Re: City Revolts and "create_building" command

    Sorry, I'm not sure if I can help much more. I haven't done any modding relating to buildings and cities.

  7. #7

    Default Re: City Revolts and "create_building" command

    Same happens if you give a city over. It does build governments but extremely rarely. In .81, the Aedui did, but they built the wrong Arverni one in Narbo.

  8. #8
    Member Member Callicles's Avatar
    Join Date
    Sep 2007
    Location
    Acharnae
    Posts
    180

    Default Re: City Revolts and "create_building" command

    Hypothetically, if a settlement could not construct any buildings unless it had a government in place, the AI would then always build a government first because it would be the only option.

    Have I missed something?

  9. #9

    Default Re: City Revolts and "create_building" command

    My guess, but I think that the AI only does it when it's adjacent to the player or maybe in a war adjacent to someone else. It should build everywhere for its economy.

  10. #10
    Whatever Member konny's Avatar
    Join Date
    Oct 2007
    Location
    Germania Inferior
    Posts
    1,787

    Default Re: City Revolts and "create_building" command

    Quote Originally Posted by Callicles
    Hypothetically, if a settlement could not construct any buildings unless it had a government in place, the AI would then always build a government first because it would be the only option.
    The other option would be to don't build anything in that town.

    Disclaimer: my posts are to be considered my private opinion and not offical statements by the EB Team

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