Results 1 to 4 of 4

Thread: Scripting a process_cq event?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    MiiKLL's Avatar Semisalis
    Join Date
    May 2006
    Location
    Spokane, Washington
    Posts
    451

    Default Scripting a process_cq event?

    Hello, I have never tried scripting. I am wondering if it is possible to script into the campaign.txt file the " process_cq " cheat? I know that people use the " add_money " cheat in scripts.

    What I'm looking for is to have the " process_cq " cheat fire every 10 turns for AI controled cities. I think this could give the AI some help in upgrading their cities.

    What I'm hoping for is that someone here knows how to do this and could give me a quick example for a castle and city, Nottingham and London.

    I know from looking at other persons scripts that I need to things like:

    declare_counter
    set_counter
    inc_counter

    I just have no idea how to start...:hmmm:

    Any help on this would be much appreciated....Thank you.

    "Nothing is more destructive than the charge of artillery on a crowd."
    Napoleon Bonaparte

  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: Scripting a process_cq event?

    It should be possible but I don't get the reason behind it. The AI is already building something when you apply the 'cheat'. You might shave the odd turn of the building time, but that doesn't mean that the AI will build something new right away again.
    Same with humans = the priorities need sorting out, not the speed of the act.










  3. #3
    MiiKLL's Avatar Semisalis
    Join Date
    May 2006
    Location
    Spokane, Washington
    Posts
    451

    Default Re: Scripting a process_cq event?

    Hello Gigantus, thank you for the reply. I see your point, there is a thread in the Stainless Steel Mod,

    http://www.twcenter.net/forums/showthread.php?t=182955

    where some of the issues being discussed are that the AI builds military buildings a lot of times to the detriment of the welfare of the city or castle.
    I was just wondering that if the AI got a small boost in building time every once in awhile if that might encourage the AI to build more happiness, law and health type buildings. Just looking for things that may help is all.

    "Nothing is more destructive than the charge of artillery on a crowd."
    Napoleon Bonaparte

  4. #4
    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: Scripting a process_cq event?











Posting Permissions

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